Commit graph

1118 commits

Author SHA1 Message Date
Tyler Trephan
09c95ea265 Updated WHEEL_TICK configArray documentation in VHAL. am: 0e6c4ce873
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15994748

Change-Id: I3d603deefa46992add3284700d94dac3a5889e8c
2021-10-06 19:21:03 +00:00
Tyler Trephan
0e6c4ce873 Updated WHEEL_TICK configArray documentation in VHAL.
It now specifies that the micrometers-per-wheel-tick values are static
and approximations.

Test: None
Bug: 169364681
Change-Id: Ia002bdcf7c9a91d82d8f6d543d2476d227256046
Merged-In: Ia002bdcf7c9a91d82d8f6d543d2476d227256046
(cherry picked from commit c0653a4452)
2021-10-06 16:44:07 +00:00
Ian Hua
92d26020a7 Merge "Fix HAL and AIDL files to be consistent with API generation tool." am: 650dc957ee am: df56bdcee9 am: 159bc14bad
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1818131

Change-Id: I0a8d9ad1344fb0f67bdde7dbff4078d5660ac055
2021-09-09 13:28:31 +00:00
Ian Hua
df56bdcee9 Merge "Fix HAL and AIDL files to be consistent with API generation tool." am: 650dc957ee
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1818131

Change-Id: I4f275432c7beb4e97b50f9a4a8e5343bb57235da
2021-09-09 12:59:34 +00:00
Ian Hua
650dc957ee Merge "Fix HAL and AIDL files to be consistent with API generation tool." 2021-09-09 12:32:56 +00:00
Ian Hua
d910bd6aaa Fix HAL and AIDL files to be consistent with API generation tool.
Bug: 161426966
Test: generate_api.sh
Change-Id: I4f4cc108ccdf2f37a1a7fa154ba8e8a186295276
2021-09-08 17:41:10 +01:00
Hongbo Zeng
c39d782a95 move the fields in RouteSelectionDescriptorParams to RouteSelectionDescriptor
Bug: 178075054
Test: full build pass
Change-Id: I283514bd63cb3ae7c37d8e3d4740e38f7e79a09e
Merged-In: I283514bd63cb3ae7c37d8e3d4740e38f7e79a09e
2021-09-07 10:40:26 -07:00
TreeHugger Robot
828a063f3c Merge "Update Documentation for EPOCH_TIME." into sc-qpr1-dev am: 922f2b0bca
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15618006

Change-Id: Iada15d1177104ca60713d927c8457dd1ca26c766
2021-08-20 21:23:09 +00:00
Ashutosh Agarwal
52799bd05d Update Documentation for EPOCH_TIME.
This is a change in behaviour for EPOCH_TIME to align it with a future revisions.

Bug: 157504928
Test: atest CarServicesTest
Test: atest VehiclePropertyIdsTest

Change-Id: I81881a03a1a562afc93cb1a2fe8a8fffa43f093d
2021-08-19 18:54:54 +00:00
Ilya Matyukhin
ca3f4c0ac1 Merge "Update comments for IBiometricsFingerprint@2.3" into sc-dev am: 70b9c17191
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15364786

Change-Id: If1aae2740b54c5539d7bced35a47bda6e5022358
2021-07-24 03:08:17 +00:00
Ilya Matyukhin
ac11a2e824 Update comments for IBiometricsFingerprint@2.3
This CL adds a comment that discourages use of this interface. The AIDL
interface, IFingerprint, should be used instead.

Bug: 160189286
Test: hidl-gen -L check android.hardware.biometrics.fingerprint@2.3::IBiometricsFingerprint
Change-Id: Ifafb191ac16e03e60d677fce6dc9e41e87bad0c0
2021-07-22 19:39:21 -07:00
Jayant Chowdhary
d118c942de Merge "camera: Clarify that ANDROID_JPEG_MAX_SIZE applies to default sensor pixel mode." into sc-dev am: b4d21c8e80
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15261060

Change-Id: Ief39671f3986903c9842120d608628fdd1a3f888
2021-07-13 23:35:38 +00:00
Jayant Chowdhary
b4d21c8e80 Merge "camera: Clarify that ANDROID_JPEG_MAX_SIZE applies to default sensor pixel mode." into sc-dev 2021-07-13 23:22:55 +00:00
Jayant Chowdhary
36f01d9083 camera: Clarify that ANDROID_JPEG_MAX_SIZE applies to default sensor pixel mode.
Bug: 193346383

Test: builds

Change-Id: I451e4a8da7598f878f8fa5024e6bda5d8dbb1868
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2021-07-12 15:34:09 -07:00
TreeHugger Robot
4822518271 Merge "Camera: Fix a typo in the 3.7 device comment" into sc-dev am: bca91a0fde
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15190373

Change-Id: Iac7b67e3a3a4adeb138a8d5c15694e8ea945f0d3
2021-07-08 18:43:39 +00:00
Shuzhen Wang
753a594aec Camera: Fix a typo in the 3.7 device comment
Test: Build
Bug: 192701691
Change-Id: Iba9ce48fc7e50bf632e93408072c89d3eb74ab99
2021-07-03 00:07:37 +00:00
Yu-Han Yang
98b17b0862 Merge "Fix ADR half cycle ambiguity doc (hardware/interfaces)" into sc-dev am: 9f834f1a91
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14948497

Change-Id: Ifb89bcc59594127a24510be3b1655e09267b7a2c
2021-06-22 19:33:35 +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
d07ca3e966 Merge "freeze @1.1::ILazy, which is causing cf to fail VTS" into sc-dev am: 60fc573267
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15015603

Change-Id: Ic8b00e9fa597bfaf0904533332621ba16ca13c29
2021-06-17 20:34:33 +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
a4f17f36a3 Merge "Camera: Add framework-only enum value to test pattern mode" into sc-dev am: 0dd1d3909f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14752518

Change-Id: Idbd307dcad51da023032d8b85496498ee338f793
2021-06-15 17:47:18 +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
6d62caf7f3 Merge "Freeze Vehicle HAL interface" into sc-dev am: 25f22b6441
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14891329

Change-Id: Iadf65d9d77edf60a9d5010e4978185e47fc2fdee
2021-06-10 23:29:04 +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