Commit graph

1147 commits

Author SHA1 Message Date
Eino-Ville Talvala
4f03969e11 Merge "Camera: Update documentation for rolling shutter skew" into rvc-dev am: 6d9c200198
Change-Id: Ic3c20086cec1c58e47941206b42d78913cd13375
2020-05-15 15:53:59 +00:00
Lev Proleev
74b04e9649 Merge "NNAPI: Clarify behaviour of REDUCE_* ops" into rvc-dev 2020-05-15 10:28:39 +00:00
Eino-Ville Talvala
6d9c200198 Merge "Camera: Update documentation for rolling shutter skew" into rvc-dev 2020-05-14 16:49:42 +00:00
Eino-Ville Talvala
34bb3064fe Camera: Update documentation for rolling shutter skew
Existing definition was inconsistent, so update it to be consistent
and match what implementations have actually done.

Test: Builds
Bug: 150331548
Change-Id: I5dfbe7c802bf4ac98f0c5556d5ac3af5d79cff7a
2020-05-13 21:13:20 +00:00
Lev Proleev
d4bba83f6a NNAPI: Clarify behaviour of ops that reduce dimensions
Clarify behaviour of the following ops in the case when inputs would
cause an output to have an empty shape:
* MEAN
* ARGMIN/ARGMAX
* STRIDED_SLICE

Bug: 155508675
Bug: 155660285
Bug: 155508675
Bug: 155238914
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I92d1c3866a462a99b4eed7782b72f62bb6a076c6
2020-05-13 21:57:58 +01:00
Lev Proleev
eec7d86b44 NNAPI: Clarify behaviour of REDUCE_* ops
Add a clarification on the behaviour of REDUCE_* ops when all dimensions
of an input tensor are reduced.

Bug: 155508675
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I3a67225c3af80af40a11362ca5d0f55350cbfa05
2020-05-13 15:00:32 +01:00
Steven Moreland
75b5d37af3 Freeze audiocontrol@1.0::types.
This was caught by R process, but due to a bug in hidl-gen, not
enforced.

Bug: 155593324
Test: build checks hash

Merged-In: Ied59b4ba94c8b6bb9e3ead869d8341cffa86f1e8
Change-Id: I2bf135bb10ad052bcfe4d8f2035ed8368d5ea9ac
2020-05-12 18:01:11 -07:00
Andy Hung
86c4afc1aa Merge "AudioMetadata: Add documentation" into rvc-dev am: 425e365256
Change-Id: I6eccb936048721536462760cba4303001ad6e089
2020-05-11 21:56:03 +00:00
Andy Hung
e6b9c77789 AudioMetadata: Add documentation
Update comments only for IStreamOutEventCallback::onCodecFormatChanged

Test: compiles, this is a comment change only.
Bug: 150175043
Change-Id: I1895c737997fbf3cb509b4078b545658d11df198
2020-05-08 13:43:56 -07:00
Steven Moreland
0239729262 Merge "android.hardware.tests.lazy@1.0::ILazy" into rvc-dev 2020-04-25 00:14:18 +00:00
Steven Moreland
0c6e08d07a android.hardware.tests.lazy@1.0::ILazy
For testing lazy HALs in HIDL on continuous integration.

Bug: 148114689
Test: hidl_lazy_test
Change-Id: I710c11c0cb59f04b4f162d627ca0d11135ab1437
(cherry picked from commit 1f9aa386ba)
Merged-In: I710c11c0cb59f04b4f162d627ca0d11135ab1437
2020-04-24 14:09:38 -07:00
TreeHugger Robot
6ba63a1e6c Merge "Minor corrections on USER_SWITCH documentation." into rvc-dev am: bb0349f722
Change-Id: Ib42464404d95b7eae51c9dacfde6ee5f95c6d1ed
2020-04-23 23:48:54 +00:00
Felipe Leme
0fd963cad8 Minor corrections on USER_SWITCH documentation.
Also removed the hash check on Vehicle HAL files, as they're still being
worked on.

Test: m
Bug: 15249991

Change-Id: I214ebc9b5bbd71e5db1a1332296ceb4e426c50cf
2020-04-23 14:28:30 -07:00
TreeHugger Robot
9a703261ae Merge "Update CodeType comment for adding BDS B1C" into rvc-dev am: bfcedb7a39
Change-Id: Ib4c02bfcaa60e5f9a6116ea3da07a4f45b6d607e
2020-04-17 23:07:22 +00:00
Yu-Han Yang
62b79417a4 Update CodeType comment for adding BDS B1C
Bug: 154267746

Test: doc update only. Builds
Change-Id: I997f1febef4f7b266cc51fe59a645ee1a48fd971
2020-04-17 02:49:05 +00:00
Steven Moreland
dbac5d2482 Merge "Update freezing notes." am: d05127d16d am: be4fc8b108
Change-Id: Ia857cb01e876ef23107a7a9a893f894a4fb8465e
2020-04-17 02:13:44 +00:00
Steven Moreland
d05127d16d Merge "Update freezing notes." 2020-04-17 01:31:06 +00:00
Slava Shklyaev
17a0b4fcdc Merge changes I866fe138,I0096a2fc
* changes:
  Remove BLOB AHWB tests from 1.2 VTS.
  Update loopTimeoutDuration documentation in NNAPI
2020-04-16 12:45:32 +00:00
Sarah Chin
c3bfce6359 Merge "Update HAL Bands" 2020-04-15 21:08:14 +00:00
Steven Moreland
277cff8074 Update freezing notes.
Since it was a big problem for little gain, we are reverting back to the
old practice of waiting to freeze interfaces for release.
vts_treble_vintf_*_test no longer checks hashes in non-release branches.

Bug: 144366823
Test: N/A
Change-Id: I147025ffed053bc583055fbc4f39d9823e793c22
2020-04-15 05:11:02 +00:00
Sarah Chin
61a4657ed9 Update HAL Bands
Test: mm cf_x86_phone-userdebug
Test: atest VtsHalRadioV1_5Target
Bug: 151842542
Change-Id: I3d2b1328693b18cd4a51da6795228ef3b5d2b473
Merged-In: I3d2b1328693b18cd4a51da6795228ef3b5d2b473
2020-04-14 18:10:13 -07:00
Miao Wang
6048fd9dd5 Update the specification for the following operations
- RANDOM_MULTINOMIAL
 - L2_NORMALIZATION

Bug: 136279892
Bug: 140177375
Test: mm
Change-Id: Iab38ef29ebf6d1f5c0a408436b3d564e45e537a0
Merged-In: Iab38ef29ebf6d1f5c0a408436b3d564e45e537a0
(cherry picked from commit 077c0339d4)
2020-04-14 19:29:51 +01:00
Lev Proleev
f0401fe0b0 Clarify supported ranks for new ops in R
Fix: 151108533
Test: mma
Change-Id: I85b66ab5940d09b2786ecb14bff5bc1c1dee894a
Merged-In: I85b66ab5940d09b2786ecb14bff5bc1c1dee894a
(cherry picked from commit f161cc74a1)
2020-04-14 19:29:43 +01:00
Slava Shklyaev
6cf5f3e2a6 Update loopTimeoutDuration documentation in NNAPI
Bug: 149686804
Test: m
Change-Id: I0096a2fc2e579d39a2d59a605a4217d53a381691
Merged-In: I0096a2fc2e579d39a2d59a605a4217d53a381691
(cherry picked from commit 6a222a3eec)
2020-04-14 16:29:57 +01:00
Treehugger Robot
08ea51852b Merge "Remove IOperation and beginOp." 2020-04-10 16:23:49 +00:00
TreeHugger Robot
3c0df3f76f Merge "Update loopTimeoutDuration documentation in NNAPI" into rvc-dev am: cb141698c1
Change-Id: Id37eb2c69677552d77834c0c33da2b7071c35e58
2020-04-09 20:58:33 +00:00
Slava Shklyaev
6a222a3eec Update loopTimeoutDuration documentation in NNAPI
Bug: 149686804
Test: m
Change-Id: I0096a2fc2e579d39a2d59a605a4217d53a381691
2020-04-07 13:24:15 +01:00
Hayden Gomes
2cabc45b5c Merge "Fixing AudioFocusChange to be signed int" into rvc-dev am: b3bdf80113
Change-Id: I021a5a0164948778f14a22641c105ed115789cc4
2020-04-03 22:13:54 +00:00
Hayden Gomes
b3bdf80113 Merge "Fixing AudioFocusChange to be signed int" into rvc-dev 2020-04-03 21:59:30 +00:00
Changyeon Jo
fe96a7ae18 Merge changes from topic "evs_memory_management" into rvc-dev am: ce6f4b0676
Change-Id: Ib61d790c589642d2b2ee8b00e40a3221c5b24cda
2020-04-03 00:48:54 +00:00
Hayden Gomes
23f48e01b5 Fixing AudioFocusChange to be signed int
AudioFocusChange is expected to have negative values, but was originally
defined to be an unsigned int.

Bug: 153090512
Test: make -j
Change-Id: I27cd8134f9fe19fbefc788e5c2498947dc52967e
2020-04-02 14:13:40 -07:00
Shawn Willden
e32c142da4 Remove IOperation and beginOp.
The way I planned for this to work doesn't work.  We'll revisit in
Keymaster5.  For now, removing IOperation and beginOp.

Test: Build & boot
Merged-In: I017d17079380cc3bacc6f05b2486e1b6e6c3f675
Change-Id: I017d17079380cc3bacc6f05b2486e1b6e6c3f675
2020-04-02 12:47:32 -06:00
Changyeon Jo
3e69744f0f User allocated EVS camera capture buffers
This change introduces a new API to import frame capture buffers
allocated by the clients.

Bug: 152493110
Test: m -j and run /system/bin/evs_app --test --extmem
Change-Id: I679c61719e4d0e3a7d0c41110afe66e0a4ccb305
2020-03-31 17:45:22 -07:00
Steven Moreland
458e4fc5ef Merge "Add current.txt HAL sections for S." into rvc-dev-plus-aosp 2020-03-30 20:31:57 +00:00
TreeHugger Robot
f7dc28e310 Merge "Remove IOperation and beginOp." into rvc-dev am: 220b3237dd
Change-Id: Iaaca16e201fd1be871d78659a7de0f965e0af04f
2020-03-30 18:56:10 +00:00
TreeHugger Robot
220b3237dd Merge "Remove IOperation and beginOp." into rvc-dev 2020-03-30 17:59:00 +00:00
Steven Moreland
27dbfb2927 Merge "remove face@1.1 HAL from current.txt" into rvc-dev am: ef7c8a2544
Change-Id: Ida23dc5ca9f37791a9c0d4feffb8d5f5487a31ff
2020-03-30 17:53:19 +00:00
Steven Moreland
e6372d5cdd remove face@1.1 HAL from current.txt
It no longer exists. Accidentally added.

Bug: 147496715
Test: n/a
Change-Id: Id6f062618413d76d201aa46eb3a591adc1940cb6
2020-03-27 17:56:03 -07:00
Steven Moreland
57906836e6 Add current.txt HAL sections for S.
Adding these now, with a note that AIDL interfaces should be preserved,
to avoid some merge conflicts.

Bug: 147496715
Test: N/A
Change-Id: I67f6c5d583b853516c7203edb77f3c5fa841863b
(cherry picked from commit e6c11c9407)
Merged-In: I67f6c5d583b853516c7203edb77f3c5fa841863b
2020-03-27 17:12:57 -07:00
Steven Moreland
e6c11c9407 Add current.txt HAL sections for S.
Adding these now, with a note that AIDL interfaces should be preserved,
to avoid some merge conflicts.

Bug: 147496715
Test: N/A
Change-Id: I67f6c5d583b853516c7203edb77f3c5fa841863b
2020-03-27 17:08:32 -07:00
Miao Wang
ce17e0be4f Merge "Update the specification for the following operations" into rvc-dev am: 6dbc481649
Change-Id: I187c80676737174767e89aa7b6dcc6a163381075
2020-03-27 22:14:11 +00:00
Miao Wang
6dbc481649 Merge "Update the specification for the following operations" into rvc-dev 2020-03-27 21:57:09 +00:00
Sarah Chin
85e938769c Merge "Update HAL Bands" into rvc-dev am: a3e5a6fc9c
Change-Id: If8b206365c9162f515675a08cc3b87ff9d26b01f
2020-03-27 00:46:56 +00:00
Sarah Chin
2aa757432a Update HAL Bands
Test: mm cf_x86_phone-userdebug
Test: atest VtsHalRadioV1_5Target
Bug: 151842542
Change-Id: I3d2b1328693b18cd4a51da6795228ef3b5d2b473
2020-03-26 14:57:35 -07:00
Shawn Willden
e0affee86b Remove IOperation and beginOp.
The way I planned for this to work doesn't work.  We'll revisit in
Keymaster5.  For now, removing IOperation and beginOp.

Bug: 152536287
Test: Build & boot
Change-Id: I017d17079380cc3bacc6f05b2486e1b6e6c3f675
2020-03-26 13:49:28 -06:00
Steven Moreland
182ecaa97b Merge "Freeze HALs for Android R" into rvc-dev am: 571e88eb77
Change-Id: I6e9f57cf1841b03b33c60eebde98b9eda6c474ab
2020-03-26 16:02:49 +00:00
Miao Wang
077c0339d4 Update the specification for the following operations
- RANDOM_MULTINOMIAL
 - L2_NORMALIZATION

Bug: 136279892
Bug: 140177375
Test: mm
Change-Id: Iab38ef29ebf6d1f5c0a408436b3d564e45e537a0
2020-03-25 16:46:13 -07:00
Steven Moreland
6b72cf0a74 Freeze HALs for Android R
Bug: 147496715
Test: none
Change-Id: Ied59b4ba94c8b6bb9e3ead869d8341cffa86f1e8
2020-03-25 13:49:29 -07:00
Steven Moreland
5b4492f940 Merge "android.hardware.tests.lazy@1.0::ILazy" am: a26d285844 am: 945f0b6d08
Change-Id: I2353decf80ba06afbee82334e5bf1d206a371ecb
2020-03-25 18:06:44 +00:00
Steven Moreland
1f9aa386ba android.hardware.tests.lazy@1.0::ILazy
For testing lazy HALs in HIDL on continuous integration.

Bug: 148114689
Test: hidl_lazy_test
Change-Id: I710c11c0cb59f04b4f162d627ca0d11135ab1437
2020-03-24 18:50:06 -07:00
Ilya Matyukhin
f17c21ac1e Update the hash for biometrics.fingerprint@2.2
Bug: 147496715
Bug: 139317981
Bug: 149502271
Test: atest vts_treble_vintf_vendor_test
Change-Id: I68d8977234a81eec2185fb57adea4fd9342863a8
2020-03-24 14:09:16 -07:00
Ilya Matyukhin
a69fd6ae73 Revert "Add biometrics.face@1.1 to current.txt"
This reverts commit 7b8a5c99d6.

Reason for revert: this interface is untested in R.

Bug: 151331855
Change-Id: I6e0f8096a1c9c02936d7f3fcc247566f80b37648
2020-03-24 14:09:16 -07:00
Jayant Chowdhary
9b56a5a538 Merge "Clarify getConcurrentStreamingCameraids may return hidden physical camera ids as well." into rvc-dev 2020-03-23 03:01:23 +00:00
Jayant Chowdhary
61c3ac2a69 Clarify getConcurrentStreamingCameraids may return hidden physical camera ids as well.
Bug: 151891611

Test: builds

Change-Id: I889065b379d9966e9cc8a225fb335685f2f065cd
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-03-20 16:25:05 -07:00
Nazish Tabassum
770b353705 Documentation for enum PersoSubstate
Documentation for Additional personalization categories.
        - SIM_SPN
        - SIM_SP_EHPLMN
        - SIM_ICCID
        - SIM_IMPI
        - SIM_NS_SP

Bug: 69389695
Change-Id: I011c4e67b4189e5db21883f3ac19bee5ea2af250
Merged-in: I011c4e67b4189e5db21883f3ac19bee5ea2af250
2020-03-20 22:49:04 +00:00
Nazish Tabassum
20c6369609 Documentation for enum PersoSubstate
Documentation for Additional personalization categories.
        - SIM_SPN
        - SIM_SP_EHPLMN
        - SIM_ICCID
        - SIM_IMPI
        - SIM_NS_SP

Bug: 69389695
Test: TH
Change-Id: I011c4e67b4189e5db21883f3ac19bee5ea2af250
(cherry picked from commit 0b7f4669ca26249165bba61eb4c65a02fe67edc7)
2020-03-20 15:43:41 -07:00
Steven Moreland
891b838925 sort 'HALs released in Android R'
For this section 'sort -k2'.

Bug: 147496715
Test: continues to compile (checks hashes)
Change-Id: I4dfcb24e5e864d1271e5e2a7e06619ef8ab9bb35
2020-03-19 12:09:15 -07:00
Steven Moreland
c2a724ef5f Remove identity@1.0 from current.txt
It does not exist.

Fixes: 151954406
Test: aosp-changes-report no longer shows identity as being incorrectly
    added
Change-Id: I878f8719175188c718d249251d051ff616def891
2020-03-19 11:54:54 -07:00
Yu-Han Yang
6668eab9dc Update inter-signal bias (HAL)
- Rename recieverInterSignalBiasNs into interSignalBiasNs, which refers
to the sum of receiver ISB and satellite ISB.

Bug: 150724332

Test: atest VtsHalGnssV2_1TargetTest

Change-Id: Ifae15cb482bc12e793a481fec7847c817ef3c34d
2020-03-17 20:42:32 +00:00
Lev Proleev
f161cc74a1 Clarify supported ranks for new ops in R
Fix: 151108533
Test: mma
Change-Id: I85b66ab5940d09b2786ecb14bff5bc1c1dee894a
2020-03-12 13:34:18 +00:00
Rambo Wang
218ea408e3 Update Barring HAL Structures to nest single-use unions/structs
Bug: 148102466
Test: compilation for both cuttlefish and sargo
Merged-In: I8a8e734011909b038c0d735c2bfde7ea773b71e6
Change-Id: I8a8e734011909b038c0d735c2bfde7ea773b71e6
(cherry picked from commit 24c3416b4f)
2020-03-11 18:16:25 -07:00
Rambo Wang
8d4a73b149 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
Merged-In: I74e6ab9ca9e0dd49846af774fd73773ff3737df7
Change-Id: I74e6ab9ca9e0dd49846af774fd73773ff3737df7
(cherry picked from commit 6894f89fd8)
2020-03-11 13:11:55 -07:00
Treehugger Robot
db3e1cb767 Merge "bluetooth: Reference Bluetooth core specification 5.2" 2020-03-10 20:59:09 +00:00
Alain Michaud
ae4e78df5a bluetooth: Reference Bluetooth core specification 5.2
Test: None
Bug: 151089119
Change-Id: I5c4ade22cda7bb8592625c6d0b7ec4aaf481aadd
Merged-In: I5c4ade22cda7bb8592625c6d0b7ec4aaf481aadd
2020-03-10 17:01:39 +00:00
TreeHugger Robot
d2a36d278a Merge "Update doc of proxyAppPackageName" into rvc-dev 2020-03-10 01:19:06 +00:00
Brad Ebinger
a4ed40b15b Clarify new setRadioPower documentation
There were some questions on how the new IRadio 1.5 setRadioPower
command should be implemented based on vendor feedback. This CL
clarifies this behavior.

Test: manual
Bug: 143683647
Change-Id: If08741f0ea156a5c2656a47e46f7e1f98bf54ec4
Merged-In: If08741f0ea156a5c2656a47e46f7e1f98bf54ec4
2020-03-09 14:03:08 -07:00
Alain Michaud
b19aac8c96 bluetooth: Reference Bluetooth core specification 5.2
Test: None
Bug: 151089119
Change-Id: I5c4ade22cda7bb8592625c6d0b7ec4aaf481aadd
2020-03-09 20:12:20 +00:00
Sarah Chin
39e563b200 Merge "Update 1.5 IRadio interface with missing structs/functions" 2020-03-09 19:50:26 +00:00
Yu-Han Yang
e8286f04b8 Update doc of proxyAppPackageName
Fixes: 151088537

Test: doc only and builds
Change-Id: If0c4c6d879a1a35293739838702a33ec770b0ed3
2020-03-09 11:43:36 -07:00
Sarah Chin
ca2610164c Update 1.5 IRadio interface with missing structs/functions
Structs: AppStatus, CardStatus
Responses: getDataCallListResponse_1_5, getIccCardStatusResponse_1_5
Indications: dataCallListChanged_1_5
Update VTS tests to use 1.5 CardStatus

Test: build cf_x86_phone-userdebug
Bug: 150246280
Change-Id: Ib26c6df804d99f2487e2bfa7b302a98fa25f55e1
Merged-In: Ib26c6df804d99f2487e2bfa7b302a98fa25f55e1
2020-03-09 11:03:49 -07:00
Slava Shklyaev
37cf4fd14b Merge changes from topic "cp-resize-params"
* changes:
  Add align_corners and half_pixel_centers parameters to resize ops
  Fix NNAPI QoS Deadline test
  Relax NNAPI QoS deadline parameter
2020-03-09 10:20:27 +00:00
Automerger Merge Worker
3c85c15505 Merge "Add more info on control key param" am: d3b99f52cf
Change-Id: I7d68bb7c955d47b1b597ee02b169fa24b37f2ba2
2020-03-02 23:26:43 +00:00
Jordan Liu
d3b99f52cf Merge "Add more info on control key param" 2020-03-02 23:07:33 +00:00
Sarah Chin
dafc9a99e9 Update 1.5 IRadio interface with missing structs/functions
Structs: AppStatus, CardStatus
Responses: getDataCallListResponse_1_5, getIccCardStatusResponse_1_5
Indications: dataCallListChanged_1_5
Update VTS tests to use 1.5 CardStatus

Test: build cf_x86_phone-userdebug
Bug: 150246280
Change-Id: Ib26c6df804d99f2487e2bfa7b302a98fa25f55e1
2020-02-28 20:42:19 -08:00
Jordan Liu
76b2cf3501 Add more info on control key param
Bug: 149957303
Test: no change to behavior
Change-Id: Id9d0e0e9cb2eb1eda83d7b5f1bd72be63216d976
(cherry picked from commit 8c2a986ee9)
2020-02-27 18:09:42 +00:00
Jordan Liu
ad21dc5d89 Add more info on control key param
Bug: 149957303
Test: no change to behavior
Change-Id: Id9d0e0e9cb2eb1eda83d7b5f1bd72be63216d976
Merged-In: Id9d0e0e9cb2eb1eda83d7b5f1bd72be63216d976
2020-02-27 18:09:09 +00:00
Automerger Merge Worker
9f0dc5f8aa Merge "Add parallel linking support for BIDIRECTIONAL_SEQUENCE_{LSTM|RNN}" am: ad54253647
Change-Id: I419f68824bf16a2368fc02026604c01c16020d92
2020-02-27 15:59:14 +00:00
Treehugger Robot
ad54253647 Merge "Add parallel linking support for BIDIRECTIONAL_SEQUENCE_{LSTM|RNN}" 2020-02-27 15:51:02 +00:00
Automerger Merge Worker
bc965dd1ad Merge changes from topics "caps_refactor", "phone-cap-revert", "radioconfig-revert" am: 48da0e3fe2
Change-Id: I7028108645ed0bcfff1519fb9b1846e3878e93af
2020-02-27 06:05:48 +00:00
Automerger Merge Worker
1b6ac8442f Revert "PhoneCapabilities changes for device capabilities" am: 6ba3da0d23
Change-Id: Ia32e50c14e9f138ed5a9ab3942445e691c16c3cf
2020-02-27 06:05:46 +00:00
Automerger Merge Worker
a757fa955d Revert "Update PhoneCapability to use 1.5 UTRAN bands" am: 7fac7578ca
Change-Id: I347ea8c57d2a12257d7f6c6c8f798e49036badfe
2020-02-27 06:05:42 +00:00
Sarah Chin
48da0e3fe2 Merge changes from topics "caps_refactor", "phone-cap-revert", "radioconfig-revert"
* changes:
  Revert "Set up IRadioConfig 1.3 skeleton"
  Revert "PhoneCapabilities changes for device capabilities"
  Revert "Update PhoneCapability to use 1.5 UTRAN bands"
2020-02-27 05:46:08 +00:00
Jayant Chowdhary
6ae828b6f0 ICameraProvider@2.6: Add documentation about resource cost constraints for concurrent camera combinations.
- Also clarify requirements for MONOCHROME devices supporting Y8 outputs.

Bug: 150225538

Test: builds (doc change only)

Change-Id: I992f1bcee4bf266b6e66ddb32ece8291381c8e56
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-02-26 22:44:00 +00:00
TreeHugger Robot
3e9669ff69 Merge "Add callback for output stream." into rvc-dev 2020-02-26 18:32:40 +00:00
Slava Shklyaev
c6018e2297 Merge changes from topic "nnapi-control-flow"
am: d7975bf8d5

Change-Id: I0de4c13d0ad4790282cc41283c64cf56875240d5
2020-02-26 08:25:35 -08:00
Slava Shklyaev
7f5d604c59 Add control flow performance to NNAPI Capabilities
am: 315e9b8924

Change-Id: Ic136af1a06ef98bf00c7d6a29e1d26dbf545834b
2020-02-26 08:24:27 -08:00
Lev Proleev
e3080db4e8 Add align_corners and half_pixel_centers parameters to resize ops
Fix: 135147454
Test: NNTest_static
Change-Id: I4115120c8b6261c5518d561c043cda913d47dd45
Merged-In: I4115120c8b6261c5518d561c043cda913d47dd45
(cherry picked from commit 3ab17d6b02)
2020-02-26 10:36:15 +00:00
Michael Butler
ff7d6c5493 Relax NNAPI QoS deadline parameter
Prior to this CL, the NNAPI QoS deadline is a strict deadline: a task
with a deadline must either complete or abort by the deadline. To
avoid as much overhead as possible, it is requested for Android R to
have a relaxed deadline, where the task *may* be aborted after the
deadline has passed or when the task is estimated to take too long.

Because the deadline is now relaxed, the querying method
IDevice::supportsDeadlines can be removed.

Bug: 149766387
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Ib9937b5bb95646c2fd82e1aa17f2b0b639e2c420
Merged-In: Ib9937b5bb95646c2fd82e1aa17f2b0b639e2c420
(cherry picked from commit 9b9a804fe4)
2020-02-26 10:36:09 +00:00
Lev Proleev
6be8f3ea67 Add parallel linking support for BIDIRECTIONAL_SEQUENCE_{LSTM|RNN}
Change-Id: I51396f82de8dd7282db85a26b0a1be84b236b8c1
Merged-In: I51396f82de8dd7282db85a26b0a1be84b236b8c1
Fix: 138653129
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
(cherry picked from commit 13c43c0059)
2020-02-26 10:35:43 +00:00
Slava Shklyaev
d7975bf8d5 Merge changes from topic "nnapi-control-flow"
* changes:
  Add NNAPI loop timeout API
  Add control flow support to NNAPI VTS tests
  Add control flow performance to NNAPI Capabilities
2020-02-26 10:30:31 +00:00
Andy Hung
77d161d09e Merge "audio hal: Update offload configuration" into rvc-dev 2020-02-25 21:04:00 +00:00
jiabin
5d11612694 Add callback for output stream.
The callback is targeted for events related to an output stream.
Currently, there is one callback event defined, which is codec
format changed event.

Bug: 133526565
Test: manual
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: I73a4914c1ffc30e1c88b8fedd61a031e24a069f6
2020-02-25 09:08:26 -08:00
Steven Moreland
bfefeddfef Merge "Clarify new setRadioPower documentation" into rvc-dev 2020-02-25 17:06:14 +00:00
Andy Hung
7aab1010d4 audio hal: Update offload configuration
Test: no regression with offloaded Play Music
Bug: 133526565
Merged-In: Ie655a96503be5a4ad1660d4b2183b01e514452fd
Change-Id: Ie655a96503be5a4ad1660d4b2183b01e514452fd
(cherry picked from commit c91b679ac1)
2020-02-25 09:06:09 -08:00
Sarah Chin
8f4e79a646 Remove IRadioConfig 1.3 hash
Bad merge conflict resolution when removing IRadioConfig 1.3

Bug: 149522248
Test: mm cf_x86_phone-userdebug
Change-Id: I055b94a2bf275d9ed5ecff6f271e8204e6ee7c0b
2020-02-25 01:19:49 +00:00
Brad Ebinger
92747ce5d1 Clarify new setRadioPower documentation
There were some questions on how the new IRadio 1.5 setRadioPower
command should be implemented based on vendor feedback. This CL
clarifies this behavior.

Test: manual
Bug: 143683674
Bug: 147496715
Merged-In: If08741f0ea156a5c2656a47e46f7e1f98bf54ec4
Change-Id: If08741f0ea156a5c2656a47e46f7e1f98bf54ec4
(cherry picked from commit 0eac27ccf3)
2020-02-25 01:16:15 +00:00
Sarah Chin
98c2c53f8c Revert "Set up IRadioConfig 1.3 skeleton"
This reverts commit b071f8ae53.

Reason for revert: Change will not be supported by vendor, so HAL for RadioConfig is no longer necessary.

Change-Id: I33bf652c6aa2f8516ee6ec1c462a1a575d2a5d27
Merged-In: I2eb83fd2356134ef45a782d99174fdd65f8c5a13
2020-02-24 16:55:00 -08:00
Sarah Chin
6ba3da0d23 Revert "PhoneCapabilities changes for device capabilities"
This reverts commit e1d1b0b92c.

Reason for revert: Change not supported by vendor

Change-Id: I5e2cdf0797124e0a1d272ca4b0525d2425954c3f
Merged-In: I9b268f41614149b5cd55caf3d730b25bb1f885e9
2020-02-24 16:20:36 -08:00
Sarah Chin
7fac7578ca Revert "Update PhoneCapability to use 1.5 UTRAN bands"
This reverts commit f0cfc3ef60.

Reason for revert: Change not supported by vendor

Change-Id: Ie148208a890834b0cd05b0ae4d6190e1a0b5dede
Merged-In: Ief5c5325f51a9bb3921bd2eb6e0ea8c9e7111581
2020-02-24 16:10:46 -08:00
Automerger Merge Worker
d5037bed93 Merge "HAL changes for 1.5 setLinkCapacityReportingCriteria" am: f595ab64ca
Change-Id: I050cbc739e74145c996cff81ca1fd2fd1d0089b7
2020-02-24 23:44:33 +00:00
Sarah Chin
f595ab64ca Merge "HAL changes for 1.5 setLinkCapacityReportingCriteria" 2020-02-24 23:32:55 +00:00
Automerger Merge Worker
de92e47213 Merge "NNAPI: Add state outputs for {UNI|BI}DIRECTIONAL_SEQUENCE_{RNN|LSTM}" am: e60fc46c56
Change-Id: I735d847175fd8f530d8aa2bfb8f07ae276fbea26
2020-02-24 18:07:00 +00:00
Treehugger Robot
e60fc46c56 Merge "NNAPI: Add state outputs for {UNI|BI}DIRECTIONAL_SEQUENCE_{RNN|LSTM}" 2020-02-24 17:56:00 +00:00
Andy Hung
6f3fdba631 Merge changes from topics "fix-b-133526565-setters-getters", "fix-b-133526565-setters-getters-2"
* changes:
  audio: Add playback rate parameters to IStreamOut
  audio: Add Dual Mono Mode and Audio Description Mix Level to IStreamOut
2020-02-21 23:37:33 +00:00
TreeHugger Robot
e69d939378 Merge "Add hash value for the interfaces in Tuner HAL" 2020-02-21 22:54:41 +00:00
Yin-Chia Yeh
24bcd6340c Merge "Camera: clarify depth camera requirement for OFFLINE_PROCESSING" 2020-02-21 21:43:49 +00:00
Henry Fang
b7a0685c9c Add hash value for the interfaces in Tuner HAL
bug: 148110220
Test: Manual
Change-Id: If73f5fc2cd17e6c784b5386b025003b716658dd2
2020-02-21 13:01:55 -08:00
Automerger Merge Worker
1ba075c9e1 IDumpstateDevice 1.1 tweak: "device" -> "verbose" am: 84dbf58f3c
Change-Id: Id339628165bc246241782a8a2851b0ee35a9a2b2
2020-02-21 15:41:32 +00:00
Lev Proleev
fe31a4dfa8 Merge "Add align_corners and half_pixel_centers parameters to resize ops" 2020-02-21 06:08:51 +00:00
Sarah Chin
2f8f6c328b HAL changes for 1.5 setLinkCapacityReportingCriteria
Add to IRadio, IRadioResponse, and VTS

Test: make cf_x86_phone-userdebug && mm
Bug: 149112073
Change-Id: I330d5be6bf531c93439f8f1d55718f71ec46c1c3
Merged-In: I330d5be6bf531c93439f8f1d55718f71ec46c1c3
2020-02-20 17:05:39 -08:00
Yin-Chia Yeh
6e082e8581 Camera: clarify depth camera requirement for OFFLINE_PROCESSING
Test: build (doc only change)
Bug: 135142453
Change-Id: I48589e6f7fad6ff291a57de305b4a549dbb843b2
2020-02-20 22:44:27 +00:00
Hunter Knepshield
84dbf58f3c 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
Merged-In: Ib71ce43e9168d82fd9ee0564db813c5a3538c459
(cherry picked from commit 09c8b5ba59)
2020-02-20 12:48:55 -08:00
Mikhail Naganov
973e4d33b5 audio: Add playback rate parameters to IStreamOut
Playback rate parameters allow changing the playback speed
of audio streams optionally preserving the pitch (this is
often referred to as "timestretch"). HALs can apply these
parameters when decoding of streams is done in hardware.

Bug: 133526565
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: Ie78cd924bd034b57bf5b6a74affd62641ffc0aba
2020-02-20 11:13:14 -08:00
Lev Proleev
3ab17d6b02 Add align_corners and half_pixel_centers parameters to resize ops
Fix: 135147454
Test: NNTest_static
Change-Id: I4115120c8b6261c5518d561c043cda913d47dd45
2020-02-20 11:01:07 +00:00
Jayant Chowdhary
fca2707a26 Merge "ICameraProvider@2.6 : Update documentation for getConcurrentStreamingCameraIds." 2020-02-20 06:43:14 +00:00
Jayant Chowdhary
94165c3514 Merge "ICameraProvider@2.6: Update mandatory concurrent stream combinations." 2020-02-20 03:04:01 +00:00
TreeHugger Robot
c2a7122706 Merge "Update constellation types in measurement corrections" 2020-02-20 02:48:29 +00:00
Sarah Chin
fbac448db1 Merge changes from topics "revert-10153355-dev_cap-JUKVIAUYRW", "revert-9919494-device_cap-HJIMIMXSXL", "revert-setup_iradioconfig_13"
* changes:
  Revert "Set up IRadioConfig 1.3 skeleton"
  Revert "PhoneCapabilities changes for device capabilities"
  Revert "Update PhoneCapability to use 1.5 UTRAN bands"
2020-02-20 00:06:18 +00:00
TreeHugger Robot
ef19939618 Merge "Remove oneway designator on contexthub HAL 1.1" 2020-02-19 23:33:28 +00:00
Michael Butler
f7a98b26ed Merge changes from topic "nnapi-relax-qos-deadlines"
* changes:
  Fix NNAPI QoS Deadline test
  Relax NNAPI QoS deadline parameter
2020-02-19 22:34:08 +00:00
Sasha Kuznetsov
6311a08910 Merge "Update getExtensionX HAL docs" 2020-02-19 22:21:07 +00:00
Jayant Chowdhary
3a0030faab ICameraProvider@2.6 : Update documentation for getConcurrentStreamingCameraIds.
Bug: 148995918

Test: builds

Change-Id: I89df3be9e15881e081b76d6c0312bc54da931dea
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-02-19 14:16:44 -08:00
Automerger Merge Worker
861e8b9ad8 Merge "Add UNSUPPORTED to health 2.1 types" am: 6a4ab26005 am: 49a258dd49 am: 0451d28dad
Change-Id: I711b7b1ed49618ea1abb7b92ca85ebbcc2b50b35
2020-02-19 22:16:25 +00:00
Jayant Chowdhary
653ea6c323 ICameraProvider@2.6: Update mandatory concurrent stream combinations.
Bug: 77960042

Test: builds

Change-Id: Ic56d6a10ee3521901aae5d8e7289dead7c20b086
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-02-19 13:36:39 -08:00
Sasha Kuznetsov
6678ffd8c5 Update constellation types in measurement corrections
Bug: 147504090
Test: atest VtsHalGnssV2_1TargetTest and manually injecting dummy
measurement corrections from GnssLocationProvider and verifying that
they are received below the HAL (on a cuttlefish implementation)

Change-Id: Ie6df224d63429193b39f06a6b60517f804fccbae
2020-02-19 13:32:14 -08:00
Sarah Chin
af09f9de94 Revert "Update PhoneCapability to use 1.5 UTRAN bands"
Revert "PhoneCapability cleanup"

Revert "Test PhoneCapability API"

Revert "PhoneCapability cleanup"

Revert submission 10153355-dev_cap

Reason for revert: Change not supported by modem
Reverted Changes:
Id86ad81d8: Update PhoneCapability to use 1.5 UTRAN bands
Ia44398852: Test PhoneCapability API
I2510de0ab: PhoneCapability cleanup
I29dfb51bf: PhoneCapability cleanup

Change-Id: Ief5c5325f51a9bb3921bd2eb6e0ea8c9e7111581
2020-02-19 12:08:30 -08:00
Anthony Stange
c64065c557 Remove oneway designator on contexthub HAL 1.1
According to the linter, the oneway designator should only be used on an
interface that only has oneway methods as it can have implications on
the threading model (among other things).

Bug: 149758462
Test: atest VtsHalContexthubV1_0TargetTest VtsHalContexthubV1_1TargetTest
Change-Id: I969ab2ead1e30f7f4cfa62e292a22833ec5e8471
2020-02-19 19:29:19 +00:00
Michael Butler
9b9a804fe4 Relax NNAPI QoS deadline parameter
Prior to this CL, the NNAPI QoS deadline is a strict deadline: a task
with a deadline must either complete or abort by the deadline. To
avoid as much overhead as possible, it is requested for Android R to
have a relaxed deadline, where the task *may* be aborted after the
deadline has passed or when the task is estimated to take too long.

Because the deadline is now relaxed, the querying method
IDevice::supportsDeadlines can be removed.

Bug: 149766387
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Ib9937b5bb95646c2fd82e1aa17f2b0b639e2c420
2020-02-19 10:07:56 -08:00
Slava Shklyaev
a96ab7407d Add NNAPI loop timeout API
Bug: 145906499
Bug: 136735929
Test: NNT_static
Change-Id: Ie40c248b174964676985403f9f1a5127b408a00a
Merged-In: Ie40c248b174964676985403f9f1a5127b408a00a
(cherry picked from commit f034bf9c92)
2020-02-19 11:58:35 +00:00
Slava Shklyaev
315e9b8924 Add control flow performance to NNAPI Capabilities
Bug: 139181916
Test: m
Change-Id: I62696a6519191e33568c9664c0047fb57426b99f
Merged-In: I62696a6519191e33568c9664c0047fb57426b99f
(cherry picked from commit 8a9b306571)
2020-02-19 11:58:32 +00:00
Lev Proleev
17689aa67d NNAPI: Add state outputs for {UNI|BI}DIRECTIONAL_SEQUENCE_{RNN|LSTM}
Fix: 138443991
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I0a3af22826d438f6f38de1f64042a50f98265e2d
Merged-In: I0a3af22826d438f6f38de1f64042a50f98265e2d
(cherry picked from commit 188a8f90f0)
2020-02-19 11:58:27 +00:00
TreeHugger Robot
6aefc5cf69 Merge "Add parallel linking support for BIDIRECTIONAL_SEQUENCE_{LSTM|RNN}" 2020-02-19 08:13:25 +00:00
Sasha Kuznetsov
935047e137 Update getExtensionX HAL docs
Test: hidl-gen -Lcheck android.hardware.gnss@2.1
Bug:147614118
Change-Id: Icc2453847519e449f753dc68bedc00c1c92e6744
2020-02-18 22:40:13 -08:00
TreeHugger Robot
88468c17b8 Merge changes from topic "update_sensors_hal"
* changes:
  Add VTS tests for Sensors HAL 2.1
  Add Hinge Angle Sensor to default impl for HAL 2.1
  Add default impl of Sensors HAL 2.1
  Create wrapper for 2.0/2.1 sensor HALs
  Add Sensors HAL 2.1
2020-02-19 04:13:50 +00:00
Mikhail Naganov
0a675fcc88 audio: Add Dual Mono Mode and Audio Description Mix Level to IStreamOut
These properties are mainly used on TV platforms.

Bug: 133526565
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: I5dd2fe9cb987bf8435b8e5da96f8590288e5707c
2020-02-18 20:01:29 -08:00
TreeHugger Robot
69202c3562 Merge changes from topic "ch_hal_1.1_cf"
* changes:
  Add default (mock) Contexthub HAL 1.1 impl
  Create Contexthub HAL 1.1
2020-02-19 02:39:53 +00:00
Automerger Merge Worker
08e6bd392c Merge "Add proto dumpstate mode" am: 294cfe01fc
Change-Id: I09c95e155720dfb17efd74cc1206073abe6dc3f6
2020-02-19 00:52:14 +00:00
Mike Ma
294cfe01fc Merge "Add proto dumpstate mode" 2020-02-19 00:30:48 +00:00
Mike Ma
6165e2dd30 Add proto dumpstate mode
Add a "PROTO" dumpstate mode to request a protobuf dump from
IDumpstateDevice HAL, primarily used by incidentd to get
device-specific state as a proto for automated issue reporting and
debugging.
Since the format of these states can vary across vendors and devices,
the proto schema will not be defined in AOSP.

Bug: 140521164
Test: VtsHalDumpstateV1_1TargetTest
Change-Id: I1d586c99b654471db5028039792c3d9e6e2184bb
Merged-In: I1d586c99b654471db5028039792c3d9e6e2184bb
2020-02-18 15:13:35 -08:00
Mike Ma
039d8bd67a Merge "Add proto dumpstate mode" 2020-02-18 23:12:57 +00:00
Treehugger Robot
49a258dd49 Merge "Add UNSUPPORTED to health 2.1 types" am: 6a4ab26005
Change-Id: I2fdb7eca68377b0bcdb658c508b0d44d09c13975
2020-02-18 21:12:32 +00:00
TreeHugger Robot
e93e85d1b6 Merge "update SoundTrigger queryParameter" 2020-02-18 21:09:43 +00:00
Lev Proleev
13c43c0059 Add parallel linking support for BIDIRECTIONAL_SEQUENCE_{LSTM|RNN}
Change-Id: I51396f82de8dd7282db85a26b0a1be84b236b8c1
Fix: 138653129
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
2020-02-18 21:00:44 +00:00
Mike Ma
8908d6fd51 Add proto dumpstate mode
Add a "PROTO" dumpstate mode to request a protobuf dump from
IDumpstateDevice HAL, primarily used by incidentd to get
device-specific state as a proto for automated issue reporting and
debugging.
Since the format of these states can vary across vendors and devices,
the proto schema will not be defined in AOSP.

Bug: 140521164
Test: VtsHalDumpstateV1_1TargetTest
Change-Id: I1d586c99b654471db5028039792c3d9e6e2184bb
2020-02-18 12:08:40 -08:00
Anthony Stange
d8cafdbdfd Add Sensors HAL 2.1
Creates Sensors HAL 2.1 to support the addition of a new sensor type for
hinge angle sensors.

Bug: 144139857
Test: mma
Change-Id: Id78fb16324d28f2291b3ad1950197bfd2632d6f4
2020-02-18 13:34:56 -05:00
Anthony Stange
7a04231aaa Create Contexthub HAL 1.1
The HAL 1.1 update allows the contexthub framework to notify the HAL of
any settings changes the user makes.

Bug: 135951924
Test: compile
Change-Id: Ia523c89b2e546ec169eb4997a0af7f471c8185b5
2020-02-18 09:30:22 -08:00
Slava Shklyaev
f034bf9c92 Add NNAPI loop timeout API
Bug: 145906499
Bug: 136735929
Test: NNT_static
Change-Id: Ie40c248b174964676985403f9f1a5127b408a00a
2020-02-18 13:37:37 +00:00
Stephane Lee
0b6542c17b Add UNSUPPORTED to health 2.1 types
Test: lshal debug android.hardware.health@2.1::IHealth/default
Bug: 149429835
Change-Id: I084d225d49eada022e3f2504bacdb67c0c241697
2020-02-15 17:25:18 -08:00
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
Nicholas Ambur
2b43a5debe update SoundTrigger queryParameter
Update the documentation and usage when HAL implementation wants to
convey the parameter ID is not supported.

Bug: 141929369
Test: build and boot smoke test
&& verify unsupported parameter use case with test app

Change-Id: I2124d8e5e9b136bd0797c16e71aa0b4049c9ed58
2020-02-13 14:59:20 -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
Michael Butler
e8d82de36c Merge "NNAPI HAL: Remove priority from prepareModelFromCache_1_3" 2020-02-04 18:43:04 +00:00