Commit Graph

11997 Commits

Author SHA1 Message Date
Dan Albert
3df110feae Fix comparator operator() definition.
am: a6a529236e

Change-Id: I10a81993c08e251f2072ba6d34e93861a9f9e116
2019-01-13 01:47:32 -08:00
Dan Albert
a6a529236e Fix comparator operator() definition.
Comparators should be const. The libc++ update checks for this and
rejects non-const comparators.

Test: m
Bug: None
Change-Id: If2f76c020943b5bcb55803f0742990c9965afd6e
2019-01-11 14:48:55 -08:00
Nathan Harold
228d0c28c3 Merge "Require IRadio 1.4 for Devices Launching Q"
am: 15213e4175

Change-Id: I42b972ba2985fcb199a8f15ce067d1796686ab4c
2019-01-11 12:39:11 -08:00
Nathan Harold
15213e4175 Merge "Require IRadio 1.4 for Devices Launching Q" 2019-01-11 20:12:01 +00:00
Marissa Wall
af56d35175 graphics: update owners
am: 104ecb9e60

Change-Id: I1043e61233557a15a39707e515531503b14599ab
2019-01-11 09:53:58 -08:00
Nathan Harold
0bc890da0c Require IRadio 1.4 for Devices Launching Q
In order to continue providing the best Telephony
experience possible, Android devices that ship
with Q should implement the IRadio 1.4 HAL.

Likewise, new devices should ship with IRadioConfig
version 1.2.

Bug: 112764647
Test: compilation; boots with Pixel 2
Change-Id: I7ce1a7e81dc54d6e4e13b4bdaad8228465bf1570
2019-01-11 00:36:50 +00:00
Marissa Wall
104ecb9e60 graphics: update owners
With olv@ no longer on the graphics team we need to update the
owners file to remove him and add new owners.

For composer the new owners are: lpy@ and vhau@
For allocator/mapper the new owner is: marissaw@

Test: N/A
Change-Id: Ied297e9446d480629155e1d9a96575ee518c2135
2019-01-10 14:27:55 -08:00
Xusong Wang
a77dafd892 Add INSTANCE_NORMALIZATION to operation enum.
am: c3ea0775ba

Change-Id: I949c79503a4665e399d678a77969f78bd026fb07
2019-01-10 11:20:06 -08:00
Michael K. Sanders
5828e9815e Merge "Add support for QUANT8_SYMM_PER_CHANNEL as graph input"
am: 6049d17c3c

Change-Id: I428ff1856285213a2130340d0ce8db6f5a8a51ed
2019-01-10 10:59:33 -08:00
Przemyslaw Szczepaniak
071fa117dd mutateOperationOperandTypeSkip for new CONV_2D variant.
am: 2fadc84792

Change-Id: I8dd2d72747cd9bd185871f889b0ce88c704972dc
2019-01-10 10:59:15 -08:00
Michael K. Sanders
d28d569c0e Adds float16 support for RANDOM_MULTINOMIAL.
am: 41e6732a66

Change-Id: I57c83709d1ea2ea9a2fd31223e62cbc043ec7126
2019-01-10 10:59:00 -08:00
Przemyslaw Szczepaniak
e52aa140b8 Add TENSOR_QUANT8_SYMM_PER_CHANNEL to operand types
am: 4766f8b1a1

Change-Id: I86a5441d3f0126fc2e240e15346c68a940533b90
2019-01-10 10:58:41 -08:00
Xusong Wang
c3ea0775ba Add INSTANCE_NORMALIZATION to operation enum.
Bug: 120064464
Test: NeuralNetworksTest_static
Change-Id: Ia81c8e4a79e65275e4a85b93e3bc18a02ac2cbb0
Merged-In: Ia81c8e4a79e65275e4a85b93e3bc18a02ac2cbb0
(cherry picked from commit 897c0afbdf)
2019-01-10 18:08:27 +00:00
Michael K. Sanders
6049d17c3c Merge "Add support for QUANT8_SYMM_PER_CHANNEL as graph input" 2019-01-10 18:07:11 +00:00
Przemyslaw Szczepaniak
2fadc84792 mutateOperationOperandTypeSkip for new CONV_2D variant.
Bug: 119255406
Test: Vts NNAPI tests.
Change-Id: I265ae4968f5fe3589d79e5846a7d640a735a012f
Merged-In: I265ae4968f5fe3589d79e5846a7d640a735a012f
(cherry picked from commit f54f12634c)
2019-01-10 08:16:56 +00:00
Michael K. Sanders
41e6732a66 Adds float16 support for RANDOM_MULTINOMIAL.
Bug: 118607845
Test: VtsHalNeuralnetworksV1_2TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all
Change-Id: Iac8c0c23a8219702697a7a126e5e2e43ef0461f4
Merged-In: Iac8c0c23a8219702697a7a126e5e2e43ef0461f4
(cherry picked from commit 5b2615be21)
2019-01-10 08:16:38 +00:00
Przemyslaw Szczepaniak
4766f8b1a1 Add TENSOR_QUANT8_SYMM_PER_CHANNEL to operand types
Added ExtraParams union for extra Operand parameters.
It's a more sensible approach than adding more fields
to the Operand struct.

Bug: 119249581
Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_0TargetTest
Test: VtsHalNeuralnetworksV1_1TargetTest
Test: VtsHalNeuralnetworksV1_2TargetTest
Change-Id: I59731134cf0ea34cf9e10342686d331da9e9c3b3
Merged-In: I59731134cf0ea34cf9e10342686d331da9e9c3b3
(cherry picked from commit faa59b8a2c)
2019-01-10 08:15:58 +00:00
Baranidharan Muthukumaran
4da4c737bc Merge "Fix KM VTS tests for Strongbox implementations" into pie-vts-dev am: c08c73653a
am: 34986e08dc

Change-Id: I1aed33f922ec5e65ac085231cca9b37538d02942
2019-01-09 12:18:38 -08:00
Baranidharan Muthukumaran
34986e08dc Merge "Fix KM VTS tests for Strongbox implementations" into pie-vts-dev
am: c08c73653a

Change-Id: I0c214e412d2fe1c3eb0f843face90a6ccbf3b031
2019-01-09 12:06:30 -08:00
Treehugger Robot
c08c73653a Merge "Fix KM VTS tests for Strongbox implementations" into pie-vts-dev 2019-01-09 19:53:53 +00:00
vichang
563792625a Merge "Add libandroidicu as static lib in the VtsHalAudio"
am: e0a8935ebd

Change-Id: Ib12730d771f9af9ec8d6686bce80f7905bea415a
2019-01-09 11:16:08 -08:00
vichang
e0a8935ebd Merge "Add libandroidicu as static lib in the VtsHalAudio" 2019-01-09 19:03:52 +00:00
Przemyslaw Szczepaniak
c3da78ad14 Add support for QUANT8_SYMM_PER_CHANNEL as graph input
Bug: 119255406
Test: Vts/Cts NNAPI tests.
Change-Id: If7407355f7c1ac878f919369c06ec98592e3f3d4
Merged-In: If7407355f7c1ac878f919369c06ec98592e3f3d4
(cherry picked from commit 429096160d)
2019-01-09 14:15:52 +00:00
Slava Shklyaev
1bd40f6ff7 Merge "Add REDUCE_* operations"
am: 000c3dfcb7

Change-Id: I35d42ff3438095b43d6d9ea1065a9b453c305868
2019-01-09 03:12:03 -08:00
Treehugger Robot
000c3dfcb7 Merge "Add REDUCE_* operations" 2019-01-09 10:58:37 +00:00
Slava Shklyaev
edf67ee8e7 Add REDUCE_* operations
Bug: 113564646
Test: mma
Change-Id: I6088e270c0167bcf8fc6c4002ed7f4e939b6d435
Merged-In: I6088e270c0167bcf8fc6c4002ed7f4e939b6d435
(cherry picked from commit 4fdb8b5727)
2019-01-09 09:45:33 +00:00
Yi Kong
86f9078b54 Merge "Suppress null-dereference warning"
am: 3b7ecd55f8

Change-Id: Ib1b7406ffed7c9edb3715740b8e64b9571438d23
2019-01-08 20:24:11 -08:00
Yi Kong
3b7ecd55f8 Merge "Suppress null-dereference warning" 2019-01-09 04:12:51 +00:00
Victor Chang
fdd3300306 Add libandroidicu as static lib in the VtsHalAudio
libxml2 now depends on libandroidicu.
Add the same dependency into the VTS.

TODO: b/121468463 to remove ICU from VtsHalAudio

Bug: 117094880
Test: m checkbuild
Merged-In: I105e7ad1517ecf8780adfb730650e1ad82f65857
Change-Id: I105e7ad1517ecf8780adfb730650e1ad82f65857
2019-01-08 19:40:59 +00:00
Benjamin Schwartz
9d21a5b185 Merge changes from topic "power.stats HAL"
am: df43c41b27

Change-Id: If2885a2cc311171b0936bf5d8e1a905d21da36f0
2019-01-08 10:13:09 -08:00
Vinay Kalia
7ee2255d63 power/stats: Add VTS testcases
am: 810ba8df2b

Change-Id: I60387b1d957996207dd9974c002a70ddb4a61027
2019-01-08 10:12:33 -08:00
Vinay Kalia
504499c7af power/stats: Add default implementation
am: 7b3d7a0afc

Change-Id: Iec95b133788ed7dd06d8de6543553aea6792b0ab
2019-01-08 10:11:49 -08:00
Benjamin Schwartz
99f7216137 power/stats: Update HIDL to include power stats API
am: 6b8d778c36

Change-Id: I292cf035ac05842f5549a3d08613669a09712f4d
2019-01-08 10:10:54 -08:00
Vinay Kalia
415e22bb50 power/stats: Update HIDL to use synchronous FMQ
am: 3b91fd4ab6

Change-Id: I42197ee717685cd48f642981d1d0e457edf181a2
2019-01-08 10:09:48 -08:00
Vinay Kalia
12af3a42c8 power.stats: Add power.stats HIDL interface
am: f12c171b3a

Change-Id: Ic5d92a6390a75548464d499fb3ce25018a3da225
2019-01-08 10:08:33 -08:00
Benjamin Schwartz
df43c41b27 Merge changes from topic "power.stats HAL"
* changes:
  power/stats: Add VTS test cases for power.stats HAL
  power/stats: Add VTS testcases
  power/stats: Add default implementation
  power/stats: Update HIDL to include power stats API
  power/stats: Update HIDL to use synchronous FMQ
  power.stats: Add power.stats HIDL interface
2019-01-08 17:58:59 +00:00
Peter Kalauskas
6afe6b9ca6 Merge "Make health storage HAL lazy"
am: 063024b1b6

Change-Id: Ifbc401ff4b6023b14de0feca919b8b267432bc77
2019-01-07 15:33:11 -08:00
Treehugger Robot
063024b1b6 Merge "Make health storage HAL lazy" 2019-01-07 23:25:20 +00:00
Felix
0eb279618b health: Add CAP_WAKE_ALARM to service
am: 1fe2196f11

Change-Id: I9c3bf548f98533297dc8f5aa65f07778658c9526
2019-01-07 15:18:22 -08:00
Benjamin Schwartz
0a624b957a power/stats: Add VTS test cases for power.stats HAL
Adding VTS test cases for power.stats HAL functions
getPowerEntityInfo, getPowerEntityStateInfo, and getPowerEntityStateResidencyData

Bug: 118365266
Test: run vts -m VtsHalPowerStatsV1_0Target
Change-Id: Ib60ac0b37bd30663c5e7434546cdcfbf64915538
(cherry picked from commit a630f84814)
Merged-In: Ib60ac0b37bd30663c5e7434546cdcfbf64915538
2019-01-07 14:01:59 -08:00
Vinay Kalia
810ba8df2b power/stats: Add VTS testcases
VTS testcases to test following APIs:
1. getRailInfo(...)
2. getEnergyData(...)
3. streamEnergyData(...)

BUG: 118365266
BUG: 111185513
Test: run vts -m VtsHalPowerStatsV1_0Target
Change-Id: Ie90ecfae937beebf96a9d66eb4b10954242ad07b
(cherry picked from commit fc48be1079)
Merged-In: Ie90ecfae937beebf96a9d66eb4b10954242ad07b
2019-01-07 14:01:34 -08:00
Vinay Kalia
7b3d7a0afc power/stats: Add default implementation
Add default implementation for power.stats HAL

BUG: 118777168
BUG: 111185513

Test: run vts -m VtsHalPowerStatsV1_0Target
Change-Id: Id81291f58a5cdfa0cc1f56356001b2862df0dbc2
(cherry picked from commit f94dda77a1)
Merged-In: Id81291f58a5cdfa0cc1f56356001b2862df0dbc2
2019-01-07 14:01:03 -08:00
Benjamin Schwartz
6b8d778c36 power/stats: Update HIDL to include power stats API
Adding new power.stats HAL api for subsystem low power stats collection that will eventually replace legacy power stats api.

BUG: 117887759
BUG: 111185513
Test: build successfully
Change-Id: I0da4de378ba0b5daeeb5c2b15435a0c22eff08b4
(cherry picked from commit f836c07bda)
Merged-In: I0da4de378ba0b5daeeb5c2b15435a0c22eff08b4
2019-01-07 14:00:36 -08:00
Vinay Kalia
3b91fd4ab6 power/stats: Update HIDL to use synchronous FMQ
Unsynchronous queue do not help solve the problem of
supporting multiple clients of power.stats. Since, there
is no current requirement to support multiple clients so
using synchronous queues instead.

BUG: 117424656
BUG: 111185513
Test: run vts -m VtsHalPowerStatsV1_0Target
Change-Id: Iab73de5a460e2a0ec5e949f8b021a87aefed58c8
(cherry picked from commit 84a48b8325)
Merged-In: Iab73de5a460e2a0ec5e949f8b021a87aefed58c8
2019-01-07 14:00:10 -08:00
Vinay Kalia
f12c171b3a power.stats: Add power.stats HIDL interface
Initial commit defines APIS to collect on-device
power-related data.

BUG: 117424656
BUG: 111185513
Test: Compilation and device boot
Change-Id: I6e3153c9fcd2d67e4a566a4621d7aa4c01da7636
(cherry picked from commit f91dcb5bfd)
Merged-In: I6e3153c9fcd2d67e4a566a4621d7aa4c01da7636
2019-01-07 13:58:41 -08:00
Peter Kalauskas
d2c86ff910 Make health storage HAL lazy
Make health storage HAL run only when needed.

Bug: 115675262
Test: Flash crosshatch, ensure android.hardware.health.storage@1.0-service
      is not running. Enable debug logging in vold. Run 'adb shell sm
      idle-maint run' and check logs to ensure vold runs "Start Dev GC
      on HAL"
Change-Id: I4bd48b5bb1b3ae7e1f4ccaff2042f1331e4cd76d
2019-01-07 10:45:31 -08:00
Felix
1fe2196f11 health: Add CAP_WAKE_ALARM to service
health/2.0/default/healthd_common.cpp wants to use
timerfd_create() to register a wakealarm.

To use the timerfd_create() syscall with CLOCK_BOOTTIME_ALARM,
CAP_WAKE_ALARM is needed.

Update the README to reflect the needed cap in the init file,
see also https://r.android.com/861532

Since the v1.0 HAL is in passthrough mode, the cap is needed for the 1.0
service as well.

Change-Id: I0e71da125eeef1360b5fd8bc7a69285e0b786511
Signed-off-by: Felix <google@ix5.org>
2019-01-06 16:07:50 +00:00
Felix
02f1e304e6 Merge "health: Fix typos in README"
am: b2dedd4938

Change-Id: Icd0ec686423072e453f96509ce01206f4c79ebf9
2019-01-05 05:17:20 -08:00
Treehugger Robot
b2dedd4938 Merge "health: Fix typos in README" 2019-01-05 13:09:18 +00:00
Sandeep Patil
06f0bd516d Merge "fcm: kernel: Remove 4.4 kernel from current matrix"
am: 2953251eff

Change-Id: Iae5c7205171b0375d38d9522142f0175b2502a1b
2019-01-04 18:53:32 -08:00