Commit graph

1102 commits

Author SHA1 Message Date
Yu-Han Yang
8e3b6a1066 Merge "Fix ADR half cycle ambiguity doc (hardware/interfaces)" into sc-dev am: 9f834f1a91 am: c24e595991
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14948497

Change-Id: I5638e433d64edc3010e18aa74e8956798174d95b
2021-06-22 21:50:58 +00:00
Yu-Han Yang
9f834f1a91 Merge "Fix ADR half cycle ambiguity doc (hardware/interfaces)" into sc-dev 2021-06-22 19:07:54 +00:00
TreeHugger Robot
e7ae80aff7 Merge "freeze @1.1::ILazy, which is causing cf to fail VTS" into sc-dev am: 60fc573267 am: b4c8ee5367
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15015603

Change-Id: Ie62aa4c973a680862e8307352cd605206008a6f6
2021-06-17 21:34:28 +00:00
TreeHugger Robot
60fc573267 Merge "freeze @1.1::ILazy, which is causing cf to fail VTS" into sc-dev 2021-06-17 19:59:50 +00:00
Steven Moreland
0709a29350 freeze @1.1::ILazy, which is causing cf to fail VTS
This is used on cuttlefish for tests, and so it has to be frozen like
1.0 in order to avoid having to add an exception to the test (which is
considered the worst of all bad solutions here).

Bug: 191115626
Test: build (hash correctness check is done at build time)
Change-Id: I3bbe18e6f6e21c39f8e5efd0ddcbfb0c66385f8c
2021-06-17 18:15:44 +00:00
TreeHugger Robot
d0b313bbbb Merge "Camera: Add framework-only enum value to test pattern mode" into sc-dev am: 0dd1d3909f am: 8591da6d31
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14752518

Change-Id: I901f6bafc72a2cb9a8a5e486a0d25d7b8355e3dc
2021-06-15 18:02:28 +00:00
TreeHugger Robot
0dd1d3909f Merge "Camera: Add framework-only enum value to test pattern mode" into sc-dev 2021-06-15 17:29:24 +00:00
Sasha Kuznetsov
d262fa3f01 Fix ADR half cycle ambiguity doc (hardware/interfaces)
Bug: 190846015
Test: n/a
Change-Id: I6339018bc5b3764d51db61458d208ca7e99b4d81
2021-06-11 12:52:59 -07:00
TreeHugger Robot
d593ebfdf2 Merge "Freeze Vehicle HAL interface" into sc-dev am: 25f22b6441 am: 9c7d84734a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14891329

Change-Id: I937e92edb42a9550b0a0ebfa582f8b19fece6966
2021-06-10 23:41:32 +00:00
Kai
e41878b480 Freeze Vehicle HAL interface
Freeze vehicle hal interface for android s.

Bug: 157608908
Test: atest vts_treble_vintf_vendor_test
Change-Id: I092f7c7facbb08f381560840c449ae1211625c65
2021-06-07 22:54:16 -07:00
David Anderson
761a175291 Merge "Fix typo in IFastboot.hal." am: 45f16a5705 am: 14006f2e96
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1721770

Change-Id: Id1f5196c18bd04df4c2a074e00397a5384be327e
2021-06-03 01:03:25 +00:00
David Anderson
9046c8dc8c Fix typo in IFastboot.hal.
Bug: N/A
Test: N/A
Change-Id: I7de7e92c0941607945ce01d5a31bcdec0628512d
2021-06-02 16:01:53 -07:00
Eino-Ville Talvala
6d3fa0a331 Camera: Add framework-only enum value to test pattern mode
Adding TEST_PATTERN_MODE_BLACK to support the new sensor privacy
feature on more limited-capability camera implementations.

Also updating older docs due to an API being moved to public.

Test: Camera CTS continues to pass
Bug: 189507251
Change-Id: I043d011ad43070d6c402cdffbff3d2e9b70ffd7b
2021-05-27 17:36:54 -07:00
Anthony Stange
57323715d1 Merge "sensors: trivial fixes in comments" am: c75b96410e am: 056a7cd65d am: 51ae67e98e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/572085

Change-Id: Id06b20b5c52bc5e775d747b993071bd7258132aa
2021-05-13 15:39:17 +00:00
Sergii Piatakov
59bb6f9394 sensors: trivial fixes in comments
Fix trivial typos in HAL and VTS comments.

Test: n/a
Change-Id: Ib52d6e1e8e83290cb4b1cf142677b8c772d606e7
Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
2021-05-12 20:43:21 +00:00
junyulai
88b237cfb5 [SP37] Change requirement of older event callback.
Currently, vendors are asked to duplicate old events to onEvent()
and onEvent_1_1(). This is not the typically way other modules
would do. Thus, remove the requirement of duplicate events,
and replace it with only firing onEvent_1_1 when feasible.

Note no VTS is added currently, from vendor feedback, there is
no reliable way to guarantee the callbacks will be called in the
test.

Test: hidl-gen -L hash -r android.hardware:hardware/interfaces \
      android.hardware.tetheroffload.control@1.1
Bug: 149467454
Merged-In: I75c1a7788e5d48fb3e2836d54b4fd854c0247214
Change-Id: I75c1a7788e5d48fb3e2836d54b4fd854c0247214
  (cherry-picked from ag/14408065)
2021-05-10 11:37:57 +08:00
junyulai
6cb491a386 [SP37] Change requirement of older event callback.
Currently, vendors are asked to duplicate old events to onEvent()
and onEvent_1_1(). This is not the typically way other modules
would do. Thus, remove the requirement of duplicate events,
and replace it with only firing onEvent_1_1 when feasible.

Note no VTS is added currently, from vendor feedback, there is
no reliable way to guarantee the callbacks will be called in the
test.

Test: hidl-gen -L hash -r android.hardware:hardware/interfaces \
      android.hardware.tetheroffload.control@1.1
Bug: 149467454
Change-Id: I75c1a7788e5d48fb3e2836d54b4fd854c0247214
2021-05-03 14:00:17 +08:00
Yu-Han Yang
331db00232 Add HAL doc to clarify ISB sign
Bug: 162508535
Test: doc only
Change-Id: I8b79a153ebcd577dbbfc64b1c4dd6d7e621977a1
2021-04-28 11:35:39 -07:00
Steven Moreland
d116916ba2 Freeze HALs for Android S
Bug: 178221726
Test: none
Change-Id: If18355915c40e8d47c721c1e373efb95db4dcdfa
Merged-In: I77ee02664242827d9aa96c985764cfc109c52b84
2021-04-27 18:18:03 +00:00
Steven Moreland
88027aa3c4 Freeze HALs for Android S
Bug: 178221726
Test: none
Change-Id: I77ee02664242827d9aa96c985764cfc109c52b84
2021-04-26 21:57:24 +00:00
Andy Dyer-smith
a2555bb56a Merge "Fix typo in PAD_V2 comments" am: e1dd0085d9 am: d6537b480a am: 40e7a2c691
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1682425

Change-Id: I13f2dec95d33b79bd36a4b6ed0a9c5166894e01e
2021-04-26 19:52:03 +00:00
Andy Dyer-Smith
889c46c11a Fix typo in PAD_V2 comments
Bug: 158315823
Test: m

Change-Id: Ic7ba213f2e0ff523349e4b80926a302399db8d88
2021-04-23 16:25:12 +00:00
Michael Butler
382d513dff Change NNAPI time from steady_clock to boot_clock -- hal
Previously, the NNAPI used std::chrono::steady_clock to represent and
measure timings. However, steady_clock does not count while the system
is suspended. Instead, boot_clock is monotonic like steady_clock but
does include the time when the system is suspended.

This change also indicates that services may convert from
std::chrono::steady_clock::time_point to
android::base::boot_clock::time_point in the HIDL 1.3 NN HAL.

Bug: 183118340
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Test: VtsHalNeuralnetworksTargetTest
Test: presubmit
Change-Id: I5a7d039a31d9ce98602a301387ec99635f279f42
Merged-In: I5a7d039a31d9ce98602a301387ec99635f279f42
(cherry picked from commit b8cf54cf5a)
2021-04-06 15:00:49 -07:00
Michael Butler
4895b4df79 Change NNAPI time from steady_clock to boot_clock -- hal
Previously, the NNAPI used std::chrono::steady_clock to represent and
measure timings. However, steady_clock does not count while the system
is suspended. Instead, boot_clock is monotonic like steady_clock but
does include the time when the system is suspended.

This change also indicates that services may convert from
std::chrono::steady_clock::time_point to
android::base::boot_clock::time_point in the HIDL 1.3 NN HAL.

Bug: 183118340
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Test: VtsHalNeuralnetworksTargetTest
Test: presubmit
Change-Id: I5a7d039a31d9ce98602a301387ec99635f279f42
Merged-In: I5a7d039a31d9ce98602a301387ec99635f279f42
2021-04-06 00:01:38 +00:00
Rambo Wang
6e1ce4d3c9 Merge "Deprecates obsoleted radio hal interfaces" 2021-03-10 01:31:12 +00:00
Slava Shklyaev
712f0592e0 Merge "Fix formatting" am: ce5a77cfcd am: 22dbbbe66a am: e6d56be030
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1621099

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3bc33ba66dce185b43ad73c5e41d066117b649f1
2021-03-09 15:07:36 +00:00
Rambo Wang
b6e354680f Deprecates obsoleted radio hal interfaces
Makes a ABI preserving change to radio hal by adding deprecation
comments for following interfaces:
- startLceService
- stopLceService
- pullLceData
- lceData
- setSimCardPower
- setIndicationFilter
- setupDataCall
- deactivateDataCall
- startNetworkScan
- startNetworkScan_1_2

Bug: 170288130
Test: make
Merged-In: I4563b7081dec6fa64b7faff7c8e3c2c3b1239880
Change-Id: I4563b7081dec6fa64b7faff7c8e3c2c3b1239880
(cherry picked from commit 1fd7cb029b)
2021-03-09 01:06:15 +00:00
Slava Shklyaev
4205aec1d5 Fix formatting
Bug: 160667417
Test: generate_api.sh
Test: m
Change-Id: I282b8bc1ae009a9ce2e46419eba7881849e999a7
2021-03-05 09:25:44 +00:00
Shuo Qian
9ea18728f9 Change range of SS-RSRQ per 3gpp
Bug: 159761054
Test: VTS
Merged-In: I377ef00015876b706ffeb20d9255c1b1ebf66c15
Change-Id: I377ef00015876b706ffeb20d9255c1b1ebf66c15
(cherry picked from commit cd3fd87d47)
2021-03-04 01:17:27 +00:00
Rambo Wang
1fd7cb029b Deprecates obsoleted radio hal interfaces
Makes a ABI preserving change to radio hal by adding deprecation
comments for following interfaces:
- startLceService
- stopLceService
- pullLceData
- lceData
- setSimCardPower
- setIndicationFilter
- setupDataCall
- deactivateDataCall
- startNetworkScan
- startNetworkScan_1_2

Bug: 170288130
Test: make
Change-Id: I4563b7081dec6fa64b7faff7c8e3c2c3b1239880
2021-03-03 21:52:10 +00:00
Treehugger Robot
1094427f88 Merge "Reformat neuralnetworks/1.2/types.hal according to clang-format" am: cefd92ec83 am: 258ed67a3a am: 8cdbc44d7f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1599276

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4aedff5e2b6425fc79aea23c4eddb5a443504de2
2021-02-24 02:49:08 +00:00
Treehugger Robot
258ed67a3a Merge "Reformat neuralnetworks/1.2/types.hal according to clang-format" am: cefd92ec83
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1599276

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifea6a452e8202e897ee13feefedce1e6f7196301
2021-02-24 01:19:58 +00:00
Treehugger Robot
736a899c85 Merge "Non ABI changes to neuralnetworks HAL" am: eff68753f9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1599275

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I83c5cc296f7f894139058d0cec57116e5d61d4c9
2021-02-23 15:15:02 +00:00
Slava Shklyaev
f62d99eadd Reformat neuralnetworks/1.2/types.hal according to clang-format
While we cannot run clang-format on types.hal directly, we can do so on
the canonical Types.h (which is generated from the same template) and
observe the difference. See change Ia43936d8.

Bug: 160667417
Test: m
Change-Id: Id6a237f29c8156b213455ab093d11ed4c2015460
Merged-In: Id6a237f29c8156b213455ab093d11ed4c2015460
(cherry picked from commit dfc4a2fa32)
2021-02-22 17:24:49 +00:00
Przemysław Szczepaniak
a02e5e517f Non ABI changes to neuralnetworks HAL
NNAPI HAL comment strings were reformated due to
template changes for new versioning scheme.

Test: Image built
Bug: 177298018
Change-Id: I67b3a38c087edf6ba3c295f5ac43ca02b8359f6a
Merged-In: I67b3a38c087edf6ba3c295f5ac43ca02b8359f6a
(cherry picked from commit 87ff8d20ae)
2021-02-22 17:24:43 +00:00
Przemysław Szczepaniak
87ff8d20ae Non ABI changes to neuralnetworks HAL
NNAPI HAL comment strings were reformated due to
template changes for new versioning scheme.

Test: Image built
Bug: 177298018
Change-Id: I67b3a38c087edf6ba3c295f5ac43ca02b8359f6a
2021-02-16 20:25:37 +00:00
Yu-Han Yang
a23aa3ba71 Update HAL comment of AGC
Bug: 179157665
Test: doc update only
Change-Id: I9395a68d3154e8b4e47fd2fb6b0d8f5f33e48805
2021-02-08 14:30:43 -08:00
Anthony Stange
6001602853 Update Contexthub HAL 1.0 doc format
The HAL 1.0 docs are using the incorrect format for HALs. Update them to
match what is now used in 1.1/1.2.

Fixes: 177248013
Test: presubmits
Change-Id: If5bdac0cec9e271ba6b79ecc10f4b3a93aff040c
2021-01-11 15:53:30 -05:00
Anthony Stange
e351e3b321 Update Contexthub HAL 1.2
Update Contexthub HAL 1.2 to support passing permissions information
about host apps and nanoapps to the HAL and contexthub framework.

Bug: 166846988
Test: hidl-gen && Run VTS against default HAL
Change-Id: I483cb066b3228c4a80bab8f12f8bfee2610c9e6b
2020-12-17 16:33:51 -05:00
Steven Moreland
e7740ddbcc Merge "Remove ignored annotations." am: 8523de7588 am: 2bb38c61f0 am: 9404ba8923
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1519066

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I66ea4ffd478100286b27299ef95714f90b8a1c6d
2020-12-09 21:57:59 +00:00
Steven Moreland
9404ba8923 Merge "Remove ignored annotations." am: 8523de7588 am: 2bb38c61f0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1519066

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2c04325021abb048583ec1a28169505fe8d594ef
2020-12-09 21:08:02 +00:00
Steven Moreland
5700685f01 Remove ignored annotations.
HIDL never validated these, and these will be logspam/errors now (error
for interfaces where a new annotation, @SensitiveData, is important not
to have typoes, but warnings where otherwise the annotation is
inconsequential).

Bug: 173732508
Test: builds w/o warnings/errors
Change-Id: Ic95d58098fa0104a3a7f1c85644ab1a015bcdd19
2020-12-07 21:23:12 +00:00
Steven Moreland
f904febe7e Merge changes from topic "hidl-clear-buf" am: c86759a16b am: 14741dedcf am: e7d73fdaef
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1506836

Change-Id: I85ce0ef755e33fa8d83339ac91291b7b0239960e
2020-11-23 23:01:18 +00:00
Steven Moreland
e7d73fdaef Merge changes from topic "hidl-clear-buf" am: c86759a16b am: 14741dedcf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1506836

Change-Id: I0626052684fc975e8a29cacde7eb6c548bf2c759
2020-11-23 22:40:47 +00:00
Steven Moreland
28f2549765 HIDL HALs mark sensitive data
For extra precautious transaction clearing.

Bug: 171501998
Test: hidl_test + inspecting output
Change-Id: I813dc3dd6c85ad0e86c6b8c116b7a207517dd12e
2020-11-20 21:16:16 +00:00
Marin Shalamanov
ae48e3ae6f Merge "Clarify the ComposerClient comment for CONFIG_GROUP" am: f344363e64 am: 281a5870d0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1497983

Change-Id: Id82da0cdfe79545eabb69203e7d566a3c6c9703c
2020-11-19 14:22:06 +00:00
Marin Shalamanov
37c5495c52 Clarify the ComposerClient comment for CONFIG_GROUP
Clarify that configs with the same group should differ only
by refresh rate.

Test: n/a
Merged-In: I2b09689825fc9564665324ff18eb1907765b9016
Change-Id: I2b09689825fc9564665324ff18eb1907765b9016
2020-11-19 10:49:53 +00:00
Marin Shalamanov
657404c22c Clarify the ComposerClient comment for CONFIG_GROUP
Clarify that configs with the same group should differ only
by refresh rate.

Test: n/a
Change-Id: I2b09689825fc9564665324ff18eb1907765b9016
2020-11-18 12:02:30 +01:00
Jordan Liu
da8cd066ca Update CardState HAL and make setSimPower synchronous
Bug: 171433370
Test: make; make vts
Change-Id: I0d298209a00f5f194547b0d6e368baa44b0c18ec
Merged-In: I0d298209a00f5f194547b0d6e368baa44b0c18ec
2020-10-30 22:28:49 +00:00
Jordan Liu
e4f5f02726 Update CardState HAL and make setSimPower synchronous
Bug: 171433370
Test: make; make vts
Change-Id: I0d298209a00f5f194547b0d6e368baa44b0c18ec
Merged-In: I0d298209a00f5f194547b0d6e368baa44b0c18ec
2020-10-30 17:42:48 +00:00