Commit graph

1141 commits

Author SHA1 Message Date
Sally Qi
d43651c2a8 Expose COLOR_MODE_DISPLAY_BT2020.
Bug: 256551001
Test: build and flash; hidl-gen -L hash
android.hardware:hardware/interfaces
android.hardware.graphics.common@1.2::types >> current.txt

Change-Id: I33116c1b31bd981b04489bc9704a54e97332aed7
2022-12-01 22:07:33 -08:00
Antonio Kantek
5dbc8f091b Update CustomInputType functions comment
Update CustomInputType functions comment to reflect that they are now optional and OEMs are free to use any int32 to represent an custom input event.

Bug: 255390449
Test: m (built)
Change-Id: I8878c1330f7fe3ba35ea10307a4ba4c4c88b1d57
2022-11-22 01:16:59 +00:00
Gabriel Biren
13a8c20d60 Add hashes for android.hardware.wifi@1.6::IWifi
to current.txt

Bug: 232081804
Test: atest vts_treble_vintf_vendor_test
Change-Id: I97bd10476b57eeb45279fe69c7d937214b54a517
2022-05-10 23:16:34 +00:00
Steven Moreland
e779c76ccc Freeze another test HAL.
Easier to freeze these than adding an exception to the test for
cuttlefish.

Bug: 231907796
Test: build (checks hash)
Change-Id: I07a5e4d038270879aa3c58f774adbb257506fca0
2022-05-10 23:16:25 +00:00
Steven Moreland
4b6d5a48a7 Freeze HIDL HALs for Android T.
Let this be the last time! :)

Bug: 203103997
Test: build (checks hashes)
Change-Id: I8c6f7b0064b6df764f41b644a54e0e581fa74137
2022-04-25 16:35:42 +00:00
Cliff Wu
ba362a8c19 Added annotations to prevent misapply of this interface by OEM partners
- This interface is only suitable for special camera injection hal,
  general camera hal does not need to implement it.

Test: Camera VTS
Bug: 219684073
Change-Id: I9b70e4640dff205008f3d6270f402b720b6b4434
2022-02-24 15:39:36 +08:00
David Drysdale
ab1851e9f2 Alter spec text for RSA-PSS to match reality
The Key{Mint,Master} spec previously said that RSA-PSS mode should use
SHA-1 for the MGF1 digest, separately from whatever Tag::DIGEST gets
specified as the main digest.

However, both the reference implementation and the VTS/CTS tests
use BoringSSL's defaults, which is to re-use the main digest as the MGF1
digest if none is separately specified.

Given that this behaviour is embedded in many implementations over
several years (and given that there isn't a security implication),
change the spec to match this behaviour.  Also update the VTS test
code to make this clear/obvious.

Test: VtsAidlKeyMintTargetTest, VtsHalKeymasterV4_0TargetTest
Bug: 210424594
Change-Id: I4303f28d094ef4d4b9dc931d6728b1fa040de20d
Ignore-AOSP-First: target internal master first due to merge conflict
2022-01-13 09:13:39 +00:00
Snild Dolkow
5cd6212fee Revert "Clarify the ComposerClient comment for CONFIG_GROUP"
This reverts commit 37c5495c52.

This "clarification" was in fact a change of the HAL interface,
introducing a new requirement which was not present in earlier
Android releases. There are devices on the market that switch
seamlessly between configs that differ in resolution and DPI,
and therefore have those configs in a config group.

Bug: 200184776
Test: m
Change-Id: I5bba1c6532f5f46da874385164a0bc0cc0435225
2021-10-15 13:45:33 +02:00
Marin Shalamanov
051c72e1ff Merge "Update the Composer HAL docs for setContentType" 2021-10-11 09:48:20 +00:00
Emilian Peev
08e5e71c1d Merge "Camera: Add static metadata that can map device state to orientation" into sc-v2-dev am: 6621c1ad05
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15943423

Change-Id: I9fbc1699e84cf078fdedd13acc569a2fd1384a98
2021-10-07 23:05:20 +00:00
Emilian Peev
6621c1ad05 Merge "Camera: Add static metadata that can map device state to orientation" into sc-v2-dev 2021-10-07 22:53:25 +00:00
Marin Shalamanov
b00e11ff6f Update the Composer HAL docs for setContentType
setContentType can be called even if it's not supported.
On some devices this surves as a signal to disable on-device
post processing in order to reduce latency.

Bug: 202007307
Test: n/a
Change-Id: I9888d48979cd2442b54054730c78cf7b4ed6aab4
2021-10-07 18:09:15 +02:00
Emilian Peev
3387f1c84e Camera: Add static metadata that can map device state to orientation
Allow camera providers to advertise the mapping between device state
and camera orientation.

Bug: 201005727
Test: VtsHalCameraProviderV2_4TargetTest
--gtest_filter=PerInstance/CameraHidlTest.getCameraCharacteristics/0_internal_0

Change-Id: Ibb035f4dc3d8af1106ac08f86e43b953ddcbf55b
2021-10-06 16:42:25 -07:00
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
TreeHugger Robot
dfc583405c Merge "Updated WHEEL_TICK configArray documentation in VHAL." 2021-10-05 18:44:16 +00:00
Tyler Trephan
c0653a4452 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
2021-09-28 19:25:47 +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
4c002642b0 Merge "Update Documentation for EPOCH_TIME." into sc-qpr1-dev am: 922f2b0bca am: a66bac8e90
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15618006

Change-Id: I7c184383fd0a6720351947dac7808cfab34080cb
2021-08-20 22:28:55 +00: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
71db0bf6f1 Merge "Update comments for IBiometricsFingerprint@2.3" into sc-dev am: 70b9c17191 am: 3d4966ec06
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15364786

Change-Id: I9ab166b5328d1bebae376368527cd0aa5b92a105
2021-07-24 03:21:25 +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
74f8449d1c Merge "camera: Clarify that ANDROID_JPEG_MAX_SIZE applies to default sensor pixel mode." into sc-dev am: b4d21c8e80 am: eaa48006ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15261060

Change-Id: I9ea12b8b4a7d8d9b7bface8b77fb96328697f97f
2021-07-13 23:54:10 +00: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
a8431ed0e7 Merge "Camera: Fix a typo in the 3.7 device comment" into sc-dev am: bca91a0fde am: d7fd1346d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15190373

Change-Id: I7477f79a3c4b295aa492184e3d4b69714c08b682
2021-07-08 19:08:30 +00: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
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
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
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
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
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
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
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
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