Commit graph

38714 commits

Author SHA1 Message Date
ramindani
3d18f92380 Store the GraphicBuffer allocated so that SP pointer is not deallocated when this function exists to verify values in other related fuctions.
Test: atest VtsHalGraphicsComposer3_TargetTest
BUG: 199413815
Change-Id: I7e44311cf7a11220f80f41cef503b7b82b443ece
2021-12-14 01:49:19 +00:00
TreeHugger Robot
3e63928814 Merge "composer3: fix documentation to match aidl style" 2021-12-14 01:43:16 +00:00
Nathan Harold
d394ed451c Merge changes from topic "usage-setting-hal"
* changes:
  UsageSetting Compat Stubs
  Add UsageSetting to IRadioNetwork
2021-12-14 00:29:04 +00:00
Ady Abraham
a80531fdc0 composer3: fix documentation to match aidl style
Bug: 201008710
Test: N/A
Change-Id: Ie7030e4e0ccf817b8dfc6bf7f91fbd1bd4d18928
2021-12-13 23:27:39 +00:00
Ady Abraham
6679baf603 composer: add DisplayCapability::SUSPEND
Also remove the redundant APIs getDisplayBrightnessSupport
and getDozeSupport.

Bug: 209889459
Test: VTS
Change-Id: Id7e4da62fdcf65b279656a9f115e60b6145e8b5d
2021-12-13 23:27:12 +00:00
Ady Abraham
d82549d003 Merge "composer: move LayerCommand to be part of DisplayCommand" 2021-12-13 23:10:24 +00:00
Ady Abraham
c26756d5ee composer: move LayerCommand to be part of DisplayCommand
This CL also includes a few miscellaneous changes:
 - Remove ..composer3.command namespace
   (so all commands are in composer3)
 - Minor documentation update
 - Minor name changes

Bug: 201008710
Test: VTS
Change-Id: I3fc24392d6c019c39e4d7df735abacc2c793c4f9
2021-12-13 23:09:53 +00:00
Treehugger Robot
cf4ffbbbf9 Merge "Revert^2 "health: require AIDL HAL and deprecate HIDL HAL."" am: ac7e154391 am: 41aaa16fca am: ce2c6d611d am: 01881f45fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918954

Change-Id: Ia09c8e4e6f3373fb3b9596d47d2a87ddf6ca2cf0
2021-12-13 22:56:35 +00:00
Treehugger Robot
01881f45fb Merge "Revert^2 "health: require AIDL HAL and deprecate HIDL HAL."" am: ac7e154391 am: 41aaa16fca am: ce2c6d611d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918954

Change-Id: I89e78196a762820c76fb5a068683f69103c84a4b
2021-12-13 22:22:50 +00:00
Nathan Harold
055c02fcfb UsageSetting Compat Stubs
Bug: 210023167
Test: make android.hardware.radio-library.compat
Change-Id: Iea5e016878f375608a167ad0fdc232fd2e743fa6
2021-12-13 14:16:01 -08:00
Nathan Harold
3e777942d8 Add UsageSetting to IRadioNetwork
Add usage setting to IRadioNetwork(Response) and the associated
enum.

Expose the cellular usage setting to Android to be able to query and
set the modem to operate in a data-centric mode or a voice-centric
mode.
This facilitates "companion" subscriptions that might be data-only and
allows voice-centric devices to operate in data-centric mode on networks
that do not support voice service.

Bug: 210023167
Test: compilation
Change-Id: I61b559589a51d139374dc52599201b6412d93da5
2021-12-13 14:15:05 -08:00
Treehugger Robot
ce2c6d611d Merge "Revert^2 "health: require AIDL HAL and deprecate HIDL HAL."" am: ac7e154391 am: 41aaa16fca
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918954

Change-Id: I235300ecfc7cc1c8e2294d8ad476bfac31cc1ba4
2021-12-13 22:05:53 +00:00
Treehugger Robot
41aaa16fca Merge "Revert^2 "health: require AIDL HAL and deprecate HIDL HAL."" am: ac7e154391
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918954

Change-Id: I66e5209ddfba025f43ca0beb7067e6e0e29f9e46
2021-12-13 21:46:31 +00:00
Treehugger Robot
ac7e154391 Merge "Revert^2 "health: require AIDL HAL and deprecate HIDL HAL."" 2021-12-13 21:28:25 +00:00
David Drysdale
9758dcae18 Merge "Revert "KeyMint HAL: add curve 25519, bump version"" am: 391a772300 am: f121b2c2bb am: 4df4387267 am: 633046efb2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918632

Change-Id: I465283c26ef3a281a07a83dbe3c33a138c2eac75
2021-12-13 17:09:42 +00:00
Eran Messeri
3ef44eb5b0 Merge "Keymint: Test that corrupting the signature for HMAC verification fails" am: 924613950c am: 309c32adb7 am: a7ee9f53ed am: 4a9da1da1a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1915101

Change-Id: Ifb396f5f61426d445dcbb20453f5b42ea42347e6
2021-12-13 17:09:17 +00:00
David Drysdale
633046efb2 Merge "Revert "KeyMint HAL: add curve 25519, bump version"" am: 391a772300 am: f121b2c2bb am: 4df4387267
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918632

Change-Id: I62794f74ce795658e6b5408c2e0a927b10e5f524
2021-12-13 16:52:02 +00:00
Eran Messeri
4a9da1da1a Merge "Keymint: Test that corrupting the signature for HMAC verification fails" am: 924613950c am: 309c32adb7 am: a7ee9f53ed
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1915101

Change-Id: Ia7c7155bbee6e7f4cd602415c785bb201a9d7937
2021-12-13 16:51:40 +00:00
David Drysdale
4df4387267 Merge "Revert "KeyMint HAL: add curve 25519, bump version"" am: 391a772300 am: f121b2c2bb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918632

Change-Id: I2cb8d4e77e93be8c0bfa84abf31190a30005f4b2
2021-12-13 16:36:59 +00:00
David Drysdale
f121b2c2bb Merge "Revert "KeyMint HAL: add curve 25519, bump version"" am: 391a772300
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918632

Change-Id: Ib4dac4d42b75c971d91ccad16744da8f6f9622e3
2021-12-13 16:31:04 +00:00
Eran Messeri
a7ee9f53ed Merge "Keymint: Test that corrupting the signature for HMAC verification fails" am: 924613950c am: 309c32adb7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1915101

Change-Id: I4b17ae4edc7a498feaaeb51e4ee861d3182bef03
2021-12-13 16:30:45 +00:00
David Drysdale
391a772300 Merge "Revert "KeyMint HAL: add curve 25519, bump version"" 2021-12-13 16:14:16 +00:00
Eran Messeri
309c32adb7 Merge "Keymint: Test that corrupting the signature for HMAC verification fails" am: 924613950c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1915101

Change-Id: Ie35fb7e130bbd0eab84ab5a67b1d9afba41f0130
2021-12-13 16:08:20 +00:00
David Drysdale
92b51f25f7 Merge "KeyMint HAL: add curve 25519, bump version" am: f21e1a5c4a am: 5a63e3ea57 am: e373da49f8 am: e274e87d59
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1900930

Change-Id: Id2cc500639fe34fdd84fbbaa67c5092033b51267
2021-12-13 16:06:50 +00:00
David Drysdale
e76045d7b0 Revert "KeyMint HAL: add curve 25519, bump version"
Revert "Bump keystore2 AIDL API version 1->2"

Revert "Advertise support of KeyMint V2"

Revert submission 1900930-version-bump

Reason for revert: Broken build on sc-qpr1-dev-plus-aosp, b/210450339
Reverted Changes:
I42a9b854f:keystore2: cope with new curve25519 enum
I167d568d6:Bump keystore2 AIDL API version 1->2
I3a16d072e:Advertise support of KeyMint V2
Ibf2325329:KeyMint HAL: add curve 25519, bump version

Change-Id: I78d4b07c41aa6bfeb367b56a58deeac6adb6ec46
2021-12-13 16:01:21 +00:00
Eran Messeri
924613950c Merge "Keymint: Test that corrupting the signature for HMAC verification fails" 2021-12-13 15:51:33 +00:00
David Drysdale
e274e87d59 Merge "KeyMint HAL: add curve 25519, bump version" am: f21e1a5c4a am: 5a63e3ea57 am: e373da49f8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1900930

Change-Id: I056c55e445fcedc90a6d238b9907225932d465aa
2021-12-13 15:34:45 +00:00
David Drysdale
e373da49f8 Merge "KeyMint HAL: add curve 25519, bump version" am: f21e1a5c4a am: 5a63e3ea57
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1900930

Change-Id: Ie07c4629dfbf32a8e3cdde205292576e93eb9c77
2021-12-13 15:12:09 +00:00
David Drysdale
5a63e3ea57 Merge "KeyMint HAL: add curve 25519, bump version" am: f21e1a5c4a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1900930

Change-Id: I21b806aea83eadfceb63308e7ec697ac5ae11a4c
2021-12-13 14:48:32 +00:00
David Drysdale
f21e1a5c4a Merge "KeyMint HAL: add curve 25519, bump version" 2021-12-13 14:25:22 +00:00
Treehugger Robot
ee18fa3bad Merge "Improve getModemActivityInfo API" am: aa8c59bea2 am: b60680edf3 am: 0331c954fc am: ab61ace977
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1895248

Change-Id: Ie15c0b7648f8414d3ca95d9f52f6e08bf7669dec
2021-12-13 04:46:41 +00:00
Treehugger Robot
ab61ace977 Merge "Improve getModemActivityInfo API" am: aa8c59bea2 am: b60680edf3 am: 0331c954fc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1895248

Change-Id: If0ac3d85f7de6619267eaad5237b0d4582e50e77
2021-12-13 04:27:38 +00:00
Treehugger Robot
0331c954fc Merge "Improve getModemActivityInfo API" am: aa8c59bea2 am: b60680edf3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1895248

Change-Id: I6fbc96503333f87cfdcaf8d1021403a7c2f8dc56
2021-12-13 04:12:52 +00:00
Treehugger Robot
b60680edf3 Merge "Improve getModemActivityInfo API" am: aa8c59bea2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1895248

Change-Id: I8801ac7f54bd8e939870a81fee12e003285d1720
2021-12-13 03:54:35 +00:00
Treehugger Robot
aa8c59bea2 Merge "Improve getModemActivityInfo API" 2021-12-13 03:36:35 +00:00
Yifan Hong
e36f3492e9 Revert^2 "health: require AIDL HAL and deprecate HIDL HAL."
c223843fa7

Change-Id: I48d2bc41338dc3d5eb194c6f4e4602af407e3e56
2021-12-10 23:53:47 +00:00
TreeHugger Robot
c78d9ec768 Merge "Change the VHAL service name." 2021-12-10 23:52:13 +00:00
TreeHugger Robot
913220f3ba Merge "Change IVehicleHardware callbacks to shared_ptr." 2021-12-10 23:48:58 +00:00
David Gross
2569d1aa4a Merge "FL7: Refine REVERSE specification" am: dd26914af7 am: d90a3fdb5a am: 84924a175d am: 6c9a09cdc5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1915765

Change-Id: I5b3abc55ef5986a8bbcc5fe102e200d2944029fd
2021-12-10 23:19:26 +00:00
David Gross
6c9a09cdc5 Merge "FL7: Refine REVERSE specification" am: dd26914af7 am: d90a3fdb5a am: 84924a175d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1915765

Change-Id: I119983dd63aeb4355a5efd9b0dcf9a4ca227ff12
2021-12-10 23:00:56 +00:00
David Gross
84924a175d Merge "FL7: Refine REVERSE specification" am: dd26914af7 am: d90a3fdb5a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1915765

Change-Id: I872ee99828d61af69aaf4e0d2ecc192ca026ba49
2021-12-10 22:44:05 +00:00
David Gross
d90a3fdb5a Merge "FL7: Refine REVERSE specification" am: dd26914af7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1915765

Change-Id: I40a830417802f9230df06f86faf09f9ababd2dc4
2021-12-10 22:29:42 +00:00
Yifan Hong
b214b2e42a Merge "Revert "health: require AIDL HAL and deprecate HIDL HAL."" am: 5ad3bb1f87 am: e5f1c03414 am: fd797c42f0 am: 0f385bdb51
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918448

Change-Id: I7adc5d968de9f0ecf1c9f205c37aeb2630ff7305
2021-12-10 22:28:26 +00:00
David Gross
dd26914af7 Merge "FL7: Refine REVERSE specification" 2021-12-10 22:13:09 +00:00
Yifan Hong
0f385bdb51 Merge "Revert "health: require AIDL HAL and deprecate HIDL HAL."" am: 5ad3bb1f87 am: e5f1c03414 am: fd797c42f0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918448

Change-Id: Ibc2daf1701ba83419d77ba972dcffbc699e875ad
2021-12-10 22:09:41 +00:00
Yifan Hong
fd797c42f0 Merge "Revert "health: require AIDL HAL and deprecate HIDL HAL."" am: 5ad3bb1f87 am: e5f1c03414
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918448

Change-Id: I75809427bfc942a61e9d68cecb5b657b64b24e7f
2021-12-10 21:54:44 +00:00
Yifan Hong
e5f1c03414 Merge "Revert "health: require AIDL HAL and deprecate HIDL HAL."" am: 5ad3bb1f87
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918448

Change-Id: I0488ff4dc0e6d19c562ae6c771f7165886b3b683
2021-12-10 21:33:19 +00:00
Yifan Hong
5ad3bb1f87 Merge "Revert "health: require AIDL HAL and deprecate HIDL HAL."" 2021-12-10 21:11:24 +00:00
Yifan Hong
c223843fa7 Revert "health: require AIDL HAL and deprecate HIDL HAL."
Revert "Implement health AIDL HAL on cuttlefish."

Revert submission 1891478-health-aidl-cuttlefish

Reason for revert: break db845c build
Reverted Changes:
Ibd4dec0a2:health: require AIDL HAL and deprecate HIDL HAL.
Ic1c753b40:Implement health AIDL HAL on cuttlefish.

Fixes: 210084272

Change-Id: I5ad1bcb788598eb93053c85e5d56f49643ba9037
2021-12-10 20:53:30 +00:00
TreeHugger Robot
46b8a47444 Merge "uwb(hal): Add HAL API for session initialization" 2021-12-10 18:11:45 +00:00