Commit Graph

30001 Commits

Author SHA1 Message Date
TreeHugger Robot
cd079c256f Merge "Add dtmSupported into 1.6 HAL for 2G network" into sc-dev 2021-02-04 16:12:24 +00:00
Zoey Chen
eb3939467a Add dtmSupported into 1.6 HAL for 2G network
Bug: 178328574
Test: make, VTS
Change-Id: Iba230acda8302df90e77d93701d9b0ba74196fc0
2021-02-04 11:28:15 +08:00
Edwin Wong
5cf2c6caf6 Fix potential decrypt src pointer overflow. am: c14f262876 am: 107233b3dd am: e289b4aa83 am: 92d4d99b98 am: c5f312b883
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13472562

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idb2e36a8815a0de2a769a330def6bb6c0d22383d
2021-02-04 01:57:50 +00:00
Edwin Wong
c5f312b883 Fix potential decrypt src pointer overflow. am: c14f262876 am: 107233b3dd am: e289b4aa83 am: 92d4d99b98
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13472562

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I726f9314c913abc14f267cd57a9b80e5542b0950
2021-02-04 01:09:29 +00:00
Edwin Wong
92d4d99b98 Fix potential decrypt src pointer overflow. am: c14f262876 am: 107233b3dd am: e289b4aa83
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13472562

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I670648e6ef343ad17c332c44ac9c5a2f29f9071c
2021-02-04 00:39:48 +00:00
Edwin Wong
e289b4aa83 Fix potential decrypt src pointer overflow. am: c14f262876 am: 107233b3dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13472562

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I000cf080faddadcf8773f84f7fd3a44d3edd7164
2021-02-03 23:32:35 +00:00
Edwin Wong
107233b3dd Fix potential decrypt src pointer overflow. am: c14f262876
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13472562

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I58ba75466b6851265836a1db65654eb63f18c793
2021-02-03 23:09:55 +00:00
Benjamin Schwartz
dbdfdc85c8 Merge "power/stats: Add VTS tests for power stats hal" into sc-dev 2021-02-03 20:39:38 +00:00
TreeHugger Robot
ddd29f49af Merge "Add MPEG-H enum." into sc-dev 2021-02-03 18:54:13 +00:00
Treehugger Robot
d1c2ec2e73 Merge "Add more vts tests related to limited use key. 1. Fix test case for usage count limit tag = 1 case, when hardware cannot enforce it, the tag should by enforced by keystore. 2. Add test case for usage count limit tag > 1. 3. Add test case to verify the usage count limit tag appears correctly in the attestation certificate for asymmetic key." am: 49ad4f04d8 am: d9d6f5c519 am: 7f6f8f52d2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1563792

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I464f643c7bd42baeb947e7cd8516646409988a57
2021-02-03 18:42:57 +00:00
Treehugger Robot
d2079d0fac Merge "Remove TV CEC HAL v2.0 definitions" am: 81eef45d64 am: aa0b6fed40 am: a33b0d41bd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1567421

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I282d77d7371fefba7cec48c0f07bf18df6ba2aba
2021-02-03 18:40:56 +00:00
Treehugger Robot
7f6f8f52d2 Merge "Add more vts tests related to limited use key. 1. Fix test case for usage count limit tag = 1 case, when hardware cannot enforce it, the tag should by enforced by keystore. 2. Add test case for usage count limit tag > 1. 3. Add test case to verify the usage count limit tag appears correctly in the attestation certificate for asymmetic key." am: 49ad4f04d8 am: d9d6f5c519
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1563792

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I187d13e0243189d706cd453e2473a20c7a53a6bc
2021-02-03 18:02:24 +00:00
Treehugger Robot
a33b0d41bd Merge "Remove TV CEC HAL v2.0 definitions" am: 81eef45d64 am: aa0b6fed40
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1567421

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I009da7ac4e3fa80d39fd6bc59b7d84dfd1dbaf6f
2021-02-03 17:59:47 +00:00
Treehugger Robot
d9d6f5c519 Merge "Add more vts tests related to limited use key. 1. Fix test case for usage count limit tag = 1 case, when hardware cannot enforce it, the tag should by enforced by keystore. 2. Add test case for usage count limit tag > 1. 3. Add test case to verify the usage count limit tag appears correctly in the attestation certificate for asymmetic key." am: 49ad4f04d8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1563792

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id5e1599eab685cba56f8b46bd3f777da985f6cb7
2021-02-03 17:59:31 +00:00
Shuo Qian
ea0443d109 Merge "Add emergencyDial_1_6 in the HAL to modify the multisim logic for pin lock" into sc-dev 2021-02-03 17:40:22 +00:00
Treehugger Robot
49ad4f04d8 Merge "Add more vts tests related to limited use key. 1. Fix test case for usage count limit tag = 1 case, when hardware cannot enforce it, the tag should by enforced by keystore. 2. Add test case for usage count limit tag > 1. 3. Add test case to verify the usage count limit tag appears correctly in the attestation certificate for asymmetic key." 2021-02-03 17:38:05 +00:00
Treehugger Robot
aa0b6fed40 Merge "Remove TV CEC HAL v2.0 definitions" am: 81eef45d64
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1567421

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I04ac6ea74282f2b12431662e18a9d71fac7b9d09
2021-02-03 17:20:20 +00:00
Treehugger Robot
6f5430adcb Merge "Remove TV CEC HAL v2.0 from compatibility matrices" am: 67555a295f am: 1cb74b555c am: 2004520833
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1567420

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iad61c57303b9779f69399eb50c94e7addbe0ad55
2021-02-03 17:15:11 +00:00
Treehugger Robot
81eef45d64 Merge "Remove TV CEC HAL v2.0 definitions" 2021-02-03 16:55:28 +00:00
Edwin Wong
c14f262876 Fix potential decrypt src pointer overflow.
There is a potential integer overflow to bypass the
source base size check in decrypt. The source pointer
can then point to the outside of the source buffer,
which could potentially leak arbitrary memory content
to destination pointer.

Test: sts-tradefed
  sts-tradefed run sts-engbuild-no-spl-lock -m StsHostTestCases --test android.security.sts.Bug_176496160#testPocBug_176496160

Test: push to device with target_hwasan-userdebug build
  adb shell /data/local/tmp/Bug-17649616064

Bug: 176496160
Bug: 176444786
Change-Id: I811a6f60948bde2a72906c2c6172fd7bc5feb6d9
2021-02-03 08:41:07 -08:00
Treehugger Robot
2004520833 Merge "Remove TV CEC HAL v2.0 from compatibility matrices" am: 67555a295f am: 1cb74b555c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1567420

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic54796c9a9054916308d9447a987a113818e1ba3
2021-02-03 16:32:18 +00:00
Treehugger Robot
1cb74b555c Merge "Remove TV CEC HAL v2.0 from compatibility matrices" am: 67555a295f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1567420

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie731f2860bf291f650331a4aac51af714a9e8590
2021-02-03 15:40:46 +00:00
Treehugger Robot
67555a295f Merge "Remove TV CEC HAL v2.0 from compatibility matrices" 2021-02-03 14:39:09 +00:00
TreeHugger Robot
028fd2c1e6 Merge "Update HAL 1.6 for 5G Slicing" into sc-dev 2021-02-03 07:36:26 +00:00
Jaegeuk Kim
ac57f7c596 Flush writebooster along with manual_gc am: 356c8371ca am: 61e659e46d am: 6387e94428
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1568873

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I06caa92c35e20c707af5a56e04be36f1fdca0ad3
2021-02-03 06:43:54 +00:00
Jaegeuk Kim
6387e94428 Flush writebooster along with manual_gc am: 356c8371ca am: 61e659e46d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1568873

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4e2c8879b88a65be6d1d756629eebf5ebad38a6d
2021-02-03 05:45:04 +00:00
Jaegeuk Kim
61e659e46d Flush writebooster along with manual_gc am: 356c8371ca
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1568873

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia9bfbf3aecaff1e01b6120c377ac330fc42d4cb3
2021-02-03 05:13:36 +00:00
Yifan Hong
6e1aecab64 Merge "matrix: Add version 1 to AIDL HALs (AOSP)" am: 4213f692b4 am: cf083dcb55 am: fc54253528
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1568874

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iec55b8cf92418f5b5936031ce97c51a308724075
2021-02-03 03:30:42 +00:00
Hsin-Yi Chen
f305817b53 Merge "Increase min delay of default gyro sensor" am: ab636a46ec am: 979205f58e am: c38dd4240b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1567261

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia5210d9c23c7ad8beef08f62fc53064143c58b0d
2021-02-03 03:30:19 +00:00
Kalesh Singh
52b1b9bcac Merge "VTS: Require memtrack::GetGpuDeviceInfo() on 5.4 kernels" am: 2af4c0663c am: 07a558e9b7 am: 03569965f7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1571162

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4a2beed4766ec2abbf4ff3376da3512121e938d1
2021-02-03 03:29:58 +00:00
Yifan Hong
fc54253528 Merge "matrix: Add version 1 to AIDL HALs (AOSP)" am: 4213f692b4 am: cf083dcb55
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1568874

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id51d2e8950eb5d995717318c81c54a7480ea838e
2021-02-03 02:56:19 +00:00
Hsin-Yi Chen
c38dd4240b Merge "Increase min delay of default gyro sensor" am: ab636a46ec am: 979205f58e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1567261

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I100dbf307f246fb7022d41c0fac7ee0d09a67bbe
2021-02-03 02:56:07 +00:00
Kalesh Singh
03569965f7 Merge "VTS: Require memtrack::GetGpuDeviceInfo() on 5.4 kernels" am: 2af4c0663c am: 07a558e9b7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1571162

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ieeb568f963b343212d8ee91959732d9a2f1fd6b8
2021-02-03 02:55:36 +00:00
Jaegeuk Kim
356c8371ca Flush writebooster along with manual_gc
If WB has lots of data, we should flush them by IdleMaint.

Bug: 179030981
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ib04a8c5f8b7153f2afe88b636415accbbf27c4f8
2021-02-03 02:41:13 +00:00
Yifan Hong
cf083dcb55 Merge "matrix: Add version 1 to AIDL HALs (AOSP)" am: 4213f692b4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1568874

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia5fc82f5b5694e5c48d423ebde8b0a1f19e28196
2021-02-03 02:35:55 +00:00
Yifan Hong
4213f692b4 Merge "matrix: Add version 1 to AIDL HALs (AOSP)" 2021-02-03 02:25:41 +00:00
Hsin-Yi Chen
979205f58e Merge "Increase min delay of default gyro sensor" am: ab636a46ec
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1567261

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I35913c050f495b3aea82dfdd352c22bafd5793e9
2021-02-03 02:19:44 +00:00
Hsin-Yi Chen
ab636a46ec Merge "Increase min delay of default gyro sensor" 2021-02-03 02:18:03 +00:00
Kalesh Singh
07a558e9b7 Merge "VTS: Require memtrack::GetGpuDeviceInfo() on 5.4 kernels" am: 2af4c0663c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1571162

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iffb2f65d6fcd8692de5afb572754945f293a4348
2021-02-03 02:18:00 +00:00
Kalesh Singh
2af4c0663c Merge "VTS: Require memtrack::GetGpuDeviceInfo() on 5.4 kernels" 2021-02-03 01:37:03 +00:00
Mikhail Naganov
acb49fddc2 Merge "audio: Create libraries for data types in core and effect" into sc-dev 2021-02-03 00:09:26 +00:00
Shuo Qian
3bf3e3323f Add emergencyDial_1_6 in the HAL to modify the multisim logic for pin lock
Test: vts
Bug: 171235919

Change-Id: I6d495199af4d2abbf22cf6dded4ee4ecf1407f3a
2021-02-02 22:30:52 +00:00
Marvin Ramin
a106772aea Remove TV CEC HAL v2.0 definitions
This HAL version is not supported by the framework. Remove the code to
avoid confusion.

Bug: 178772241
Test: make
Change-Id: I278415d1945fbf5010539840efdc9e9502957f3f
2021-02-02 21:47:49 +00:00
Kalesh Singh
a259c59189 VTS: Require memtrack::GetGpuDeviceInfo() on 5.4 kernels
Per buffer dmabuf changes can be backported to the 5.4 kernel.
Require the GetGpuDeviceInfo() to allow de-dupping imported dmabuf
memory form the total GPU memory for lost RAM calculation.

Test: atest VtsHalMemtrackTargetTest
Bug: 176477627
Change-Id: Ibaf48c84928b39d62f8552d1674c98d635e834f5
2021-02-02 15:44:01 -05:00
Treehugger Robot
7d92b37989 Merge "Address leftover comments on aosp/1212191" am: 962fcbfb73 am: f94741c3e0 am: 24933fc1a8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1565033

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I58f6d3ceef56fd52edee223f6371c13468e23caa
2021-02-02 18:33:19 +00:00
Mikhail Naganov
5ec48c2d4d audio: Create libraries for data types in core and effect
Add 'CoreUtils' library similar to 'HidlUtils' for the types
specific to the core HAL. Add 'EffectUtils' library similar to
'HidlUtils' for the types specific to the effects HAL.  Move into
them and de-duplicate code previously scattered across the
default HAL implementation and libaudiohal. Add unit tests.

Removed 'AUDIO_{INPUT|OUTPUT}_FLAG_NONE' from the list of
values in the XSD file to avoid additional complexity due to
equivalence of this value to an empty list of flags.

Bug: 142480271
Test: m android.hardware.audio@X.0-impl
Test: m android.hardware.audio.effect@X.0-impl
Test: atest android.hardware.audio@7.0-util_tests
Test: atest android.hardware.audio.common@7.0-util_tests
Test: atest android.hardware.audio.effect@7.0-util_tests
Change-Id: I71a95cbe07fcc162dc6d74ff9665747a17ce5a80
2021-02-02 18:17:26 +00:00
Treehugger Robot
24933fc1a8 Merge "Address leftover comments on aosp/1212191" am: 962fcbfb73 am: f94741c3e0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1565033

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I21b14eb7431961d28fc894d61b9a71f3a81e82d4
2021-02-02 17:36:57 +00:00
Treehugger Robot
f94741c3e0 Merge "Address leftover comments on aosp/1212191" am: 962fcbfb73
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1565033

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0b5f86f592dfa093b56e00c0445695cd42a4a963
2021-02-02 17:13:34 +00:00
Treehugger Robot
962fcbfb73 Merge "Address leftover comments on aosp/1212191" 2021-02-02 16:32:36 +00:00
Qi Wu
beefae4790 Add more vts tests related to limited use key.
1. Fix test case for usage count limit tag = 1 case, when
  hardware cannot enforce it, the tag should by enforced by keystore.
2. Add test case for usage count limit tag > 1.
3. Add test case to verify the usage count limit tag appears
  correctly in the attestation certificate for asymmetic key.

Test: atest -c VtsAidlKeyMintTargetTest

Change-Id: I01df278b42a91a78c8888c13c4f81b7ec70cfa22
2021-02-02 20:47:30 +08:00