Commit Graph

24830 Commits

Author SHA1 Message Date
Amy Zhang
0857d7caa0 Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated
parameterized tests.

This test can be disabled on the phone target once there is
a cuttlefish tv target enabled to run the test continuously.

The test will be removed from the exception list afterwards.

Test: make VtsHalTvTunerV1_0TargetTest
Bug: 161805444
Change-Id: I7a2ad0e8a43c6262628354be316c530ab00ac520
Merged-In: I7a2ad0e8a43c6262628354be316c530ab00ac520
2020-07-21 23:35:29 +00:00
Amy Zhang
f122309667 Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated
parameterized tests.

This test can be disabled on the phone target once there is
a cuttlefish tv target enabled to run the test continuously.

The test will be removed from the exception list afterwards.

Test: make VtsHalTvTunerV1_0TargetTest
Bug: 161805444
Change-Id: I7a2ad0e8a43c6262628354be316c530ab00ac520
2020-07-21 21:51:40 +00:00
Roshan Pius
6d0af445ee wifi(vts): Use blocking getService to wait for service to come up
Switch away from using wifi's custom implementation to block for
supplicant/hostapd daemon to come up.

Bug: 161682236
Test:
vts-tradefed run commandAndExit vts --module VtsHalWifiHostapdV1_0Target
vts-tradefed run commandAndExit vts --module VtsHalWifiSupplicantV1_0Host

Change-Id: Ia05f93ba4a28c036315558edbba30f19c2e6ac95
2020-07-21 14:28:28 -07:00
Xin Li
f73fe6b6bc Merge stage-aosp-rvc-ts-dev into rvc-dev
Bug: 148878042
Merged-In: Ia102f1a63fddcaa43365e35680ea04242fe2ee80
Change-Id: I5d6d34f01bd3bdfcb80349f1337dcd9d89388f62
2020-07-21 20:31:11 +00:00
Mikhail Naganov
b9743d4728 Audio VTS: Suppress empty parameter list failures
GTest has introduced a check verifying that the parameter list
for TEST_P tests isn't empty. Having an empty parameter list
isn't actually a problem when the VTS test runs on a device
that lacks the corresponding HAL version.

Bug: 161758075
Test: atest VtsHalAudioV4_0TargetTest
Test: atest VtsHalAudioV5_0TargetTest
Test: atest VtsHalAudioV6_0TargetTest
Test: atest VtsHalAudioEffectV4_0TargetTest
Test: atest VtsHalAudioEffectV5_0TargetTest
Test: atest VtsHalAudioEffectV6_0TargetTest
Change-Id: Ib2a017b74f69b1608d8985f403e9b2a8e54b8311
2020-07-21 10:57:03 -07:00
Treehugger Robot
2b9a4dbae4 [automerger skipped] Merge changes I6c1af92f,Icf594d40 am: e6849d568a am: 33c8a2614d -s ours am: 40fc6c7244 -s ours
am skip reason: Change-Id I6c1af92f640fde833d2d93f7db4576c92a6f9719 with SHA-1 886f321139 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1363545

Change-Id: I3a1b9ab98d14c4de45f3494f5f55d9c52437c86b
2020-07-21 13:07:35 +00:00
Slava Shklyaev
cbdc3d8912 [automerger skipped] Fix stale NNAPI documentation am: d23380f0a3 am: c3431d60f2 -s ours am: e8ae4affcd -s ours
am skip reason: Change-Id Icf594d40c73ff8c05044c320ac9eb6a9c5a89754 with SHA-1 456f6d7c91 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1363544

Change-Id: Idf526a001fc6b2deffe5aa8ee8e5412e18035488
2020-07-21 13:07:33 +00:00
Treehugger Robot
40fc6c7244 [automerger skipped] Merge changes I6c1af92f,Icf594d40 am: e6849d568a am: 33c8a2614d -s ours
am skip reason: Change-Id I6c1af92f640fde833d2d93f7db4576c92a6f9719 with SHA-1 886f321139 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1363545

Change-Id: I930d9468ac61e7eb3db712e13bdce7074faacacf
2020-07-21 12:54:41 +00:00
Slava Shklyaev
e8ae4affcd [automerger skipped] Fix stale NNAPI documentation am: d23380f0a3 am: c3431d60f2 -s ours
am skip reason: Change-Id Icf594d40c73ff8c05044c320ac9eb6a9c5a89754 with SHA-1 456f6d7c91 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1363544

Change-Id: I1b5d6b555d10a9c6fb9718dfcc0fc71c59b750e8
2020-07-21 12:54:38 +00:00
Treehugger Robot
33c8a2614d Merge changes I6c1af92f,Icf594d40 am: e6849d568a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1363545

Change-Id: I215b9462e277696c8456f70c4cab3bd9270863dc
2020-07-21 12:40:02 +00:00
Slava Shklyaev
c3431d60f2 Fix stale NNAPI documentation am: d23380f0a3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1363544

Change-Id: Id5436153df19086e7482a89541c0ebfb5c1b692b
2020-07-21 12:40:01 +00:00
Treehugger Robot
e6849d568a Merge changes I6c1af92f,Icf594d40
* changes:
  Fix typo in NNAPI documentation
  Fix stale NNAPI documentation
2020-07-21 12:24:31 +00:00
Xin Li
94c6cdce56 Merge ab/6692658 into stage-aosp-rvc-ts-dev
Bug: 148878042
Merged-In: I236e5c9c16b4ba730677cd4c980a7071ba25840e
Change-Id: Ia102f1a63fddcaa43365e35680ea04242fe2ee80
2020-07-21 05:14:42 +00:00
TreeHugger Robot
cd4510d8d8 Merge changes I6c1af92f,Icf594d40 into rvc-dev-plus-aosp am: ea758da957
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12183964

Change-Id: I2aef13ff126859f843a42cfab9d75cf72c2d811e
2020-07-21 00:54:44 +00:00
Slava Shklyaev
a8abf8dc6a Fix stale NNAPI documentation am: 456f6d7c91
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12183963

Change-Id: I96129c9f11ffa2fb8eb21fd851e1d67060b598ce
2020-07-21 00:54:41 +00:00
TreeHugger Robot
ea758da957 Merge changes I6c1af92f,Icf594d40 into rvc-dev-plus-aosp
* changes:
  Fix typo in NNAPI documentation
  Fix stale NNAPI documentation
2020-07-21 00:40:47 +00:00
Treehugger Robot
3f213994a6 [automerger skipped] Merge "Use shared variant of VNDK libmedia_helper" am: cd6d4fc277 am: c527a74f0b -s ours am: 3378017466 -s ours
am skip reason: Change-Id I56ad69125811ff768d8064af34acf5603b575b4b with SHA-1 d6db130a2b is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1367606

Change-Id: Ic6961a3114608e6f1e5a87bd9d6db9cbeb3bd5da
2020-07-21 00:31:06 +00:00
Treehugger Robot
3378017466 [automerger skipped] Merge "Use shared variant of VNDK libmedia_helper" am: cd6d4fc277 am: c527a74f0b -s ours
am skip reason: Change-Id I56ad69125811ff768d8064af34acf5603b575b4b with SHA-1 d6db130a2b is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1367606

Change-Id: I0832909fb1a5475730a20c6345a8ddf0269a9854
2020-07-21 00:18:07 +00:00
Devin Moore
806c8613b6 [automerger skipped] Merge changes from topic "nativehandle" am: d0fd93097c am: 19de4b7e04 -s ours am: efbc84068d -s ours
am skip reason: Change-Id Ie1d92a50dddf7e3e1bd473e2a957279c6dadb865 with SHA-1 926aa80f04 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364080

Change-Id: Id31f55fe69272dda589f8c47047dd0c789ae1c07
2020-07-21 00:00:33 +00:00
Steven Moreland
bc42d3496c [automerger skipped] *common: use package as name am: 014e70b1ea am: 6f32e963b1 -s ours am: 3bcbe2aacc -s ours
am skip reason: Change-Id Ie1d92a50dddf7e3e1bd473e2a957279c6dadb865 with SHA-1 926aa80f04 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364081

Change-Id: Ic5f4e967d8be891b4bd84947fefb4bb8b366a5d8
2020-07-21 00:00:31 +00:00
Steven Moreland
bb560bdf7d [automerger skipped] graphics common: fix AIDL BufferUsage calculation am: 2c7606b721 am: 1985ca3292 -s ours am: 1951c3f841 -s ours
am skip reason: Change-Id I1e2d7c0225aec8bf67375eb6b0cdc919b4ece847 with SHA-1 d9eb0d743c is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364097

Change-Id: I75e78cfb8a6e5f6918fa63efa277c50917d32585
2020-07-21 00:00:28 +00:00
Pawin Vongmasa
41d9ffa296 [automerger skipped] Add AIDL type for HardwareBuffer am: ae120eef52 am: c1a5b51ab1 -s ours am: 4bf517b6ac -s ours
am skip reason: Change-Id I86c9d2f0cb04b597da9a93b7b6210b041312e1ac with SHA-1 d535133127 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364096

Change-Id: Ibce6cbb84e0673c46f9b181448f59e385c4624cf
2020-07-21 00:00:26 +00:00
Treehugger Robot
c527a74f0b Merge "Use shared variant of VNDK libmedia_helper" am: cd6d4fc277
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1367606

Change-Id: I9acfd2d948cda3d4db46cff370e475cd809effbf
2020-07-21 00:00:05 +00:00
Devin Moore
efbc84068d [automerger skipped] Merge changes from topic "nativehandle" am: d0fd93097c am: 19de4b7e04 -s ours
am skip reason: Change-Id Ie1d92a50dddf7e3e1bd473e2a957279c6dadb865 with SHA-1 926aa80f04 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364080

Change-Id: I20f24252c3aea1c1b9d01cdee5b4c12d1a09d890
2020-07-20 23:47:02 +00:00
Steven Moreland
3bcbe2aacc [automerger skipped] *common: use package as name am: 014e70b1ea am: 6f32e963b1 -s ours
am skip reason: Change-Id Ie1d92a50dddf7e3e1bd473e2a957279c6dadb865 with SHA-1 926aa80f04 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364081

Change-Id: Ib16da78f0b21c569926fa135eda3635a4aaab195
2020-07-20 23:46:59 +00:00
Steven Moreland
1951c3f841 [automerger skipped] graphics common: fix AIDL BufferUsage calculation am: 2c7606b721 am: 1985ca3292 -s ours
am skip reason: Change-Id I1e2d7c0225aec8bf67375eb6b0cdc919b4ece847 with SHA-1 d9eb0d743c is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364097

Change-Id: I7bf72186b114670e1a438be0b3e9bca19073f34c
2020-07-20 23:46:56 +00:00
Pawin Vongmasa
4bf517b6ac [automerger skipped] Add AIDL type for HardwareBuffer am: ae120eef52 am: c1a5b51ab1 -s ours
am skip reason: Change-Id I86c9d2f0cb04b597da9a93b7b6210b041312e1ac with SHA-1 d535133127 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364096

Change-Id: I0433a77240b515952b577514e767d091192cd983
2020-07-20 23:46:54 +00:00
Treehugger Robot
cd6d4fc277 Merge "Use shared variant of VNDK libmedia_helper" 2020-07-20 23:45:42 +00:00
Devin Moore
19de4b7e04 Merge changes from topic "nativehandle" am: d0fd93097c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364080

Change-Id: Id418a51aee8c7258a16c2ef69cf1a412745c4463
2020-07-20 23:32:26 +00:00
Steven Moreland
6f32e963b1 *common: use package as name am: 014e70b1ea
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364081

Change-Id: If2aaa0d17e8b77cba719b4a3515110ad8b36db26
2020-07-20 23:32:23 +00:00
Steven Moreland
1985ca3292 graphics common: fix AIDL BufferUsage calculation am: 2c7606b721
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364097

Change-Id: I1d5607558a08753ff79995cc0d36ce3a548e2daf
2020-07-20 23:32:20 +00:00
Pawin Vongmasa
c1a5b51ab1 Add AIDL type for HardwareBuffer am: ae120eef52
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364096

Change-Id: If23c0af55a237d0958d1bb4b43369b8e760afe13
2020-07-20 23:32:15 +00:00
Devin Moore
d0fd93097c Merge changes from topic "nativehandle"
* changes:
  *common: create current API dump
  *common: use package as name
  graphics common: fix AIDL BufferUsage calculation
  Add AIDL type for HardwareBuffer
2020-07-20 23:25:26 +00:00
Roman Kiryanov
411edccbb3 Provide defaults for android.hardware.audio@6.0-impl
This will allow vendors to create instances of
this library with other names. A different name
is required if a vendor wants to provide a custom
version (e.g. in HIDL) of
android.hardware.audio@6.0-impl and still
be able to use the library itself (e.g. to load
audio.r_submix.default) -
android.hardware.audio.service does not load both
libraries and prefers the default one.

Bug: 161485545
Test: boot emulator, check if audio works
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I55c4f9b1386be3464ad0f5f2568423843e7eae88
2020-07-20 16:08:17 -07:00
Inseob Kim
e396a3d004 Use shared variant of VNDK libmedia_helper
Vendor modules should use shared VNDK.

Bug: 137178339
Test: m && boot blueline
Change-Id: I56ad69125811ff768d8064af34acf5603b575b4b
Merged-In: I56ad69125811ff768d8064af34acf5603b575b4b
2020-07-20 16:08:00 -07:00
Amy Zhang
de1d2b6cbe Fix bugs in the Tuner HAL 1.0 VTS
The previous implementation did not check some of the
Descrambler API test results to stop the test.
And the test itself was also implemented in a wrong way.

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150987138
Change-Id: Ie26db0ec1b231062d0314631eebec319382da1bc
(cherry picked from commit 6d774c89a1)
2020-07-20 18:12:54 +00:00
Slava Shklyaev
886f321139 Fix typo in NNAPI documentation
Fix: 160960007
Test: m
Change-Id: I6c1af92f640fde833d2d93f7db4576c92a6f9719
Merged-In: I6c1af92f640fde833d2d93f7db4576c92a6f9719
(cherry picked from commit 3bbc2aedd0)
2020-07-20 13:47:50 +01:00
Slava Shklyaev
456f6d7c91 Fix stale NNAPI documentation
The scale and zeroPoint fields are applicable to other types since 1.2.

Also makes some whitespaces changes due to the generated documentation
getting out of sync with the template in frameworks/ml/nn.

Fix: 160406237
Test: generate_api.sh
Test: m
Change-Id: Icf594d40c73ff8c05044c320ac9eb6a9c5a89754
Merged-In: Icf594d40c73ff8c05044c320ac9eb6a9c5a89754
(cherry picked from commit 0d6cefe90b)
2020-07-20 13:47:27 +01:00
Treehugger Robot
32253ad14f Merge "Fix segfault." am: b278ae0c1e am: 5446c9c172 am: b659a47fb2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1365592

Change-Id: I10556bc784394008c8243b730bbf9ee90146bfbe
2020-07-17 21:52:28 +00:00
Treehugger Robot
b659a47fb2 Merge "Fix segfault." am: b278ae0c1e am: 5446c9c172
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1365592

Change-Id: I6502829205ede2de914b27e6c2c5c42916af2b39
2020-07-17 21:40:10 +00:00
Treehugger Robot
5446c9c172 Merge "Fix segfault." am: b278ae0c1e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1365592

Change-Id: Iefeda021f623ae7bfd7ee26173a9bb5af8827a2b
2020-07-17 21:29:19 +00:00
Treehugger Robot
b278ae0c1e Merge "Fix segfault." 2020-07-17 21:20:11 +00:00
Yifan Hong
339c986606 Fix segfault.
Fix code that incorrectly transforms a hidl_string to String8
by using size of another field.

Test: none
Fixes: 161210887
Change-Id: I54a11e9beab4c825905dda37b121e1fc85658215
2020-07-17 12:57:58 -07:00
Devin Moore
815e9dc82d *common: create current API dump
Generated files with:
m android.hardware.common-update-api
m android.hardware.graphics.common-update-api

Test: Builds
We don't want this commit merged into branches that have added
these types already, as they may have changed.
Merged-In: Ie1d92a50dddf7e3e1bd473e2a957279c6dadb865
Change-Id: I2d83dfdb1d0ba75c76774ded26c4ce93b1807097
2020-07-17 16:48:59 +00:00
android-build-team Robot
3fe3ba022e Snap for 6687127 from 30d2573834 to rvc-release
Change-Id: I8014289cf550f4291e9beabfdb7e2c639d27f4c7
2020-07-17 01:09:22 +00:00
Ady Abraham
ac812b1160 composer: 2.4: fix VTS usage of desired time am: 30d2573834 am: 8c33403a10
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12171999

Change-Id: I0917a717a8078209dea9a09c05769a132a8e407c
2020-07-16 21:27:14 +00:00
Ady Abraham
30261db626 composer: 2.4: fix VTS usage of desired time am: 30d2573834 am: b672893691
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12171999

Change-Id: Ibbdc435742ff5d89553ae178c3924306400e8ca8
2020-07-16 21:26:54 +00:00
Ady Abraham
8c33403a10 composer: 2.4: fix VTS usage of desired time am: 30d2573834
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12171999

Change-Id: I41b741a51c52e8e09e20e2dbd7f46c2b2238f840
2020-07-16 21:15:52 +00:00
Ady Abraham
b672893691 composer: 2.4: fix VTS usage of desired time am: 30d2573834
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12171999

Change-Id: I04287c23a02aca07f6456c3b520ff61730ed7b8f
2020-07-16 21:15:46 +00:00
Ady Abraham
30d2573834 composer: 2.4: fix VTS usage of desired time
Test_setActiveConfigWithConstraints is setting the desired time
for a config change to be before the test starts.
This causes the test to use the same value for all configurations,
which becomes stale the more configurations the device supports.
This fix is setting the desired time before calling
to setActiveConfigWithConstraints.

Bug: 161023185
Test: adb shell data/nativetest64/VtsHalGraphicsComposerV2_4TargetTest/VtsHalGraphicsComposerV2_4TargetTest
Change-Id: I236e5c9c16b4ba730677cd4c980a7071ba25840e
2020-07-16 20:00:44 +00:00