Commit graph

848 commits

Author SHA1 Message Date
Treehugger Robot
20953a0be0 Merge "Fix VTS test for health HAL 2.1" am: 0935243c44 am: 65a070de36 am: 3458203ca7
Change-Id: Iea04d74cdbbc63bd80fc3b6bcd2692ef5150300d
2020-02-16 01:10:32 +00:00
Treehugger Robot
65a070de36 Merge "Fix VTS test for health HAL 2.1" am: 0935243c44
Change-Id: Ibb4705efef6c6faa472dbd4fcd580d2185cdc1fa
2020-02-16 00:35:18 +00:00
TreeHugger Robot
372b792efe Merge "Add control flow performance to NNAPI Capabilities" 2020-02-15 09:54:45 +00:00
Yu-Han Yang
850cba24ef Merge "Update measurement_correction reported accuracy HAL doc" 2020-02-15 03:55:33 +00:00
Yu-Han Yang
c08076e557 Merge "Address ANAPIC review comments" 2020-02-15 01:59:42 +00:00
Sasha Kuznetsov
041947e9b1 Merge "Clarify environment bearing docs in HAL" 2020-02-14 23:53:03 +00:00
Stephane Lee
32c4ec09d4 Fix VTS test for health HAL 2.1
Latest update on the ticket to use hard coded thresholds

Test: atest VtsHalHealthV2_1TargetTest
Bug: 149428646
Change-Id: Id7f86ba05a203a926e8d316bf7af4d24c7e0e2f0
2020-02-14 15:30:17 -08:00
Yu-Han Yang
428d25abfd Update measurement_correction reported accuracy HAL doc
Fixes: 144817918

Test: doc only and builds
Change-Id: I5aed4a17b5dea8949904f08809d3df9ec250fbeb
2020-02-14 11:20:25 -08:00
Treehugger Robot
9d51774201 Merge "Use design capacity instead of full charge capacity" am: 25c2de29b9 am: a4931f9b19 am: 979a72bef0
Change-Id: I5f31eef0aa684e23773980b3121c8a5a6ae00922
2020-02-14 06:23:05 +00:00
Treehugger Robot
a4931f9b19 Merge "Use design capacity instead of full charge capacity" am: 25c2de29b9
Change-Id: I4bba155589be27ed8f5c39f5dee8b2e0c57d8566
2020-02-14 01:55:50 +00:00
Treehugger Robot
25c2de29b9 Merge "Use design capacity instead of full charge capacity" 2020-02-14 01:35:16 +00:00
Michael Butler
4bf3b669cd NN 1.3 HAL: ANAPIC review follow up am: c3e1a29a60
Change-Id: Ibcfb43fcf0ee3d1545b6fd237efd4f4ea55bdee0
2020-02-14 00:46:24 +00:00
Yu-Han Yang
99b6d96736 Address ANAPIC review comments
- GnssMeasurementFlags extends v1.0
- add gnssSetCapabilitiesCb_2_1

Fixes: 149501257
Test: VTS tests pass on cuttlefish
Change-Id: I21dd284297d5f458945e7b5fa5e6ed0dab6a5dde
2020-02-13 16:16:43 -08:00
TreeHugger Robot
50d1592052 Merge "IDumpstateDevice 1.1 tweak: "device" -> "verbose"" 2020-02-13 23:31:11 +00:00
Stephane Lee
34714688d5 Use design capacity instead of full charge capacity
Full charge capacity is already included as part of
health HAL 1.0. Concluded in b/149121450 to add a value
that is valuable.

Bug: 149428646
Bug: 149121450
Test: lshal debug android.hardware.health@2.1::IHealth/default
Change-Id: Iadf3c14850df57034378dcc10cdbab0eb43c3aae
2020-02-13 15:19:56 -08:00
Sasha Kuznetsov
cee6a6759a Clarify environment bearing docs in HAL
Bug: 149299473
Test: build cuttlefish
Change-Id: Ie565d7ec96282985505b41961321998e58554aff
2020-02-13 15:11:19 -08:00
Sunil Ravi
2797c113c8 Merge "wifi: Improve documentation of hidl APIs." 2020-02-13 17:25:29 +00:00
Hunter Knepshield
09c8b5ba59 IDumpstateDevice 1.1 tweak: "device" -> "verbose"
Pixel has been dumping some non-sensitive information in bug reports
using IDumpstateDevice for a long time, and requiring nothing to be
dumped on user builds by default suddenly changes behavior.

To account for this use case, we instead change the meaning of the
toggle to control *verbose* logging, specifically anything with privacy,
storage, or battery impact.

VTS tests are updated appropriately.

Bug: 143183758
Bug: 143184495
Test: atest VtsHalDumpstateV1_1TargetTest
Change-Id: Ib71ce43e9168d82fd9ee0564db813c5a3538c459
2020-02-12 19:07:07 -08:00
Sunil Ravi
c8c0064e99 wifi: Improve documentation of hidl APIs.
Added changes as per ANAPIC review to improve
documentation of few hidl APIs.

Bug: 148617258
Test: Not tested as there is no code change.
Change-Id: I3f91c6b8aad3f34807534a3fbc3cf5a3c3233cd7
2020-02-12 18:22:01 -08:00
Michael Butler
c3e1a29a60 NN 1.3 HAL: ANAPIC review follow up
This CL makes the following three interface changes:
* Removes @1.3::Operand.ExtraParams, because it was the same as
  @1.2::Operand.ExtraParams
* Changes int32_t token to uint32_t for IDevice::allocate and for
  @1.3::Request.MemoryPool
* Renames OptionalTimePoint::nanoseconds to
  OptionalTimePoint::nanosecondsSinceEpoch

This CL also makes test changes in response to the interface changes,
and fixes a minor comment issue in @1.2::types.hal and @1.3::types.hal.

Bug: 148617339
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I95b49ab34b0b79f587dda035ede700b73dc44a38
Merged-In: I95b49ab34b0b79f587dda035ede700b73dc44a38
(cherry picked from commit 6a4172cd3d)
2020-02-12 17:52:34 -08:00
Sarah Chin
e5bc15c47b Merge "HAL changes for 1.5 setLinkCapacityReportingCriteria" 2020-02-12 20:38:26 +00:00
Slava Shklyaev
8a9b306571 Add control flow performance to NNAPI Capabilities
Bug: 139181916
Test: m
Change-Id: I62696a6519191e33568c9664c0047fb57426b99f
2020-02-12 14:29:27 +00:00
Lev Proleev
0b0d69e74f Merge "NNAPI: Add state outputs for {UNI|BI}DIRECTIONAL_SEQUENCE_{RNN|LSTM}" 2020-02-12 11:12:57 +00:00
Automerger Merge Worker
4ae48e66a6 Merge "Add STORAGE_KEY tag to keymaster 4.1" am: 9498310c3d
Change-Id: Ic9b254f0f1b9ccf7253547b92e123e461c4eb465
2020-02-12 01:07:26 +00:00
Sarah Chin
fec7c4e0a0 HAL changes for 1.5 setLinkCapacityReportingCriteria
Add to IRadio, IRadioResponse, and VTS

Test: make cf_x86_phone-userdebug && mm
Bug: 149112073
Change-Id: I330d5be6bf531c93439f8f1d55718f71ec46c1c3
2020-02-11 15:10:50 -08:00
Barani Muthukumaran
9e8014d1d5 Add STORAGE_KEY tag to keymaster 4.1
These are keymaster keys used specifically for storage
encryption. This provides the ability for keymaster implementations to
securely protect storage encryption keys.

Test: VtsHalKeymasterV4_1TargetTest
Bug: 147733587
Change-Id: I5f7f83755fcbed96d8f38fa51812aa6d2eb0927b
Merged-In: I5f7f83755fcbed96d8f38fa51812aa6d2eb0927b
2020-02-11 15:51:03 -07:00
Sasha Kuznetsov
5a832bc323 Merge "Revert^2 "Add GnssAntennaInfo to HAL"" 2020-02-11 22:29:32 +00:00
Lev Proleev
188a8f90f0 NNAPI: Add state outputs for {UNI|BI}DIRECTIONAL_SEQUENCE_{RNN|LSTM}
Fix: 138443991
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I0a3af22826d438f6f38de1f64042a50f98265e2d
2020-02-11 11:05:48 +00:00
Sasha Kuznetsov
768de57e4c Revert^2 "Add GnssAntennaInfo to HAL"
ce414351c5

Change-Id: I791dcf8c26f3ed51c07987e79752ff3ce165fcbf
2020-02-11 06:00:10 +00:00
Yu-Han Yang
0615053089 Merge "Revert "Add GnssAntennaInfo to HAL"" 2020-02-11 04:16:46 +00:00
Yu-Han Yang
ce414351c5 Revert "Add GnssAntennaInfo to HAL"
Revert "Add GnssAntennaInfo framework APIs"

Revert "Add GnssAntennaInfo tests"

Revert submission 10111057-pco_pcv

Reason for revert: Build breakage
Reverted Changes:
I70e4014dd:Add GnssAntennaInfo framework APIs
I072958ecb:Add GnssAntennaInfo tests
Ia63a1f502:Add GnssAntennaInfo to HAL

Change-Id: I567fb52ca6c881f2e4c3c95c589bb4288f82becf
2020-02-11 04:02:18 +00:00
Sasha Kuznetsov
08dec500f7 Merge "Add GnssAntennaInfo to HAL" 2020-02-11 02:54:40 +00:00
Automerger Merge Worker
74f96cef00 Merge "IDumpstateDevice@1.1 polish" am: d05efa2c1f
Change-Id: Ib2fb4c0749f96fcfea01ab957f5da1bded3dd852
2020-02-10 20:53:37 +00:00
Treehugger Robot
d05efa2c1f Merge "IDumpstateDevice@1.1 polish" 2020-02-10 20:38:39 +00:00
Sasha Kuznetsov
44d2b0a75b Add GnssAntennaInfo to HAL
Test: End to end test: run "atest GnssAntennaInfoRegistrationTest" on cuttlefish and watch "adb logcat | grep -i GnssAntennaInfo". Other tests:  atest GnssAntennaInfoTest, atest GnssAntennaInfoProviderTest, atest GnssManagerServiceTest, atest VtsHalGnssV2_1TargetTest, atest LocationManagerFineTest.
Bug: 124556515
Change-Id: Ia63a1f5022efdda52ed583a56a50f32807e83130
2020-02-10 12:29:20 -08:00
Automerger Merge Worker
7c55cbca56 Merge "NNAPI HAL: Remove priority from prepareModelFromCache_1_3" am: ea14e3445e
Change-Id: Ia57863300b38b9e64f0db92ced5b04498c9d9c40
2020-02-08 00:59:56 +00:00
Rambo Wang
7afe23194b Merge "Add CellIdentity to getBarringInfoResponse" 2020-02-07 22:09:04 +00:00
Hunter Knepshield
256f77a588 IDumpstateDevice@1.1 polish
- Return a DumpstateStatus from dumpstateBoard_1_1
- Better toggle API surface: set/getDeviceLoggingEnabled
- Improved testing to allow for unsupported DumpstateMode values

Bug: 143183758
Bug: 143184495
Test: atest VtsHalDumpstateV1_1TargetTest
Merged-In: I505c2a790dc28ddce9b6f5b674394ef65b31c80c
(cherry picked from commit 6e278a3798)

Change-Id: Ibbd15f65674cfa6b9f5c1d6a633277a419499d9f
2020-02-06 18:23:38 -08:00
Michael Butler
aba3fc08f2 Merge "NN 1.3 HAL: ANAPIC review follow up" 2020-02-07 02:16:13 +00:00
Rambo Wang
6894f89fd8 Add CellIdentity to getBarringInfoResponse
Add CellIdentity to getBarringInfoResponse to make
the req/resp method match the existing indication.
The CellIdentity is used to prevent races where
barring is attributed to the wrong cell based on the
timing of separate polled or unsolicited inputs to
the framework.

Because the CellIdentity is already in IRadioIndication
the information to provide CID with BarringInfo is already
present and available. This just makes the unsol and the
polled APIs match.

Matching indication is IRadioIndication@1.5::barringInfoChanged

Bug: 148992393
Test: make && VtsHalRadioV1_5TargetTest
Change-Id: I74e6ab9ca9e0dd49846af774fd73773ff3737df7
2020-02-06 17:06:10 -08:00
Hunter Knepshield
3a76bddd1d Merge "IDumpstateDevice@1.1 polish" 2020-02-07 00:50:08 +00:00
Michael Butler
68a868b2ac NNAPI HAL: Remove priority from prepareModelFromCache_1_3
prepareModelFromCache_1_3 uses model cache and data cache that
represent a prepared model. Any argument that contributes in a
meaningful way to the prepared model is implicitly included in
this model cache and data cache. For example, "model" and
"executionPreference" appear in prepareModel_1_3 but not in
prepareModelFromCache_1_3 because they are implicitly included
in the model cache and data cache. In a similar way, because
it could affect the resulting model, "priority" should be
removed from prepareModelFromCache_1_3.

Fixes: 148802784
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I518e493ead8aa97220b16370cce8523b425c378c
Merged-In: I518e493ead8aa97220b16370cce8523b425c378c
(cherry picked from commit c90250ff57)
2020-02-06 11:38:08 +00:00
Hunter Knepshield
6e278a3798 IDumpstateDevice@1.1 polish
- Return a DumpstateStatus from dumpstateBoard_1_1
- Better toggle API surface: set/getDeviceLoggingEnabled
- Improved testing to allow for unsupported DumpstateMode values

Bug: 143183758
Bug: 143184495
Test: atest VtsHalDumpstateV1_1TargetTest
Change-Id: I505c2a790dc28ddce9b6f5b674394ef65b31c80c
2020-02-05 17:04:55 -08:00
Michael Butler
6a4172cd3d NN 1.3 HAL: ANAPIC review follow up
This CL makes the following three interface changes:
* Removes @1.3::Operand.ExtraParams, because it was the same as
  @1.2::Operand.ExtraParams
* Changes int32_t token to uint32_t for IDevice::allocate and for
  @1.3::Request.MemoryPool
* Renames OptionalTimePoint::nanoseconds to
  OptionalTimePoint::nanosecondsSinceEpoch

This CL also makes test changes in response to the interface changes,
and fixes a minor comment issue in @1.2::types.hal and @1.3::types.hal.

Bug: 148617339
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I95b49ab34b0b79f587dda035ede700b73dc44a38
2020-02-05 03:09:13 +00:00
Mikhail Naganov
33e0578cdd audio: Clarify documentation for some methods
- explain the meaning of "audio patch" in IDevice.supportsAudioPatches
  method;

- clarify effect insertion order in IDevice.addDeviceEffect

Bug: 148617378
Test: N/A
Change-Id: Ifd7ec3dc9a53c949be0c8c823df499e4b20db4bd
2020-02-04 19:05:44 -08:00
Mikhail Naganov
40549fae50 audio: Provide documentation for enums in 'common' package
Bug: 148617378
Test: N/A
Change-Id: Ia28c9217527509430f2daf274e14380bfe79f145
2020-02-04 18:59:12 -08:00
TreeHugger Robot
c470449287 Merge "Camera: Add ICameraDevice@3.6 subinterface" 2020-02-04 23:30:30 +00:00
Automerger Merge Worker
ece8ac2e68 Merge "Identity Credential: Require passing applicationId when generating attestation." am: 7175150e3f am: 396315d92f am: ef23d7de41
Change-Id: I6b75d668a3596351281caf141a4fea4c8c4f0882
2020-02-04 22:22:38 +00:00
Automerger Merge Worker
396315d92f Merge "Identity Credential: Require passing applicationId when generating attestation." am: 7175150e3f
Change-Id: I797946e69bc98ab490976bfd56c3b19e098a6f2d
2020-02-04 21:49:42 +00:00
Treehugger Robot
7175150e3f Merge "Identity Credential: Require passing applicationId when generating attestation." 2020-02-04 21:31:31 +00:00