Commit Graph

20663 Commits

Author SHA1 Message Date
Roman Kiryanov
761c93e3b9 Add vintf_fragments to android.hardware.biometrics.fingerprint@2.1-service
Bug: 144386336
Test: boot emulator, lshal | grep fingerprint
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: I97ad0451bb3edfe85d33300baaa41c3fbc5c3cc6
Change-Id: I11c8ebea731f5e7b24ee483d20a8cd25fd01be38
2020-04-13 21:12:53 -07:00
Roman Kiryanov
2d7820a6ef Add vintf_fragments to android.hardware.usb@1.0-service
Bug: 153739768
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: I324f226496d7cf1085f0a3687af6054c56c9dbf8
Change-Id: I032144a0774eb1580f9f027496f5bdfcd6abf603
2020-04-13 20:41:36 -07:00
TreeHugger Robot
e6ca1baa87 Merge "Remove redunant aidl api" into rvc-dev 2020-04-14 01:34:34 +00:00
Yifan Hong
432974a63e Merge changes from topic "battery_current_sign" into rvc-dev
* changes:
  health 2.0 vts: add battery current test.
  health 2.0 VTS: require GTEST_SKIP to be defined
2020-04-13 22:31:12 +00:00
Amy Zhang
4f6980571a Separate Demux and Filter fixture classes from the Tuner HAL VTS target
test

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150953857
Change-Id: I373c3ba56ab80e02c79d24f865a956dae4b44226
2020-04-13 15:23:58 -07:00
Amy Zhang
b3fb40bd05 Make VtsHalTvTunerV1_0FrontendTest an independent test.
Note that this refactoring extracts two header files for
VtsHalTvTunerV1_0FrontendTest and VtsHalTvTunerV1_0TargetTest.

Test: atest VtsHalTvTunerV1_0FrontendTest/VtsHalTvTunerV1_0TargetTest
Bug: 150953857

Change-Id: Ie5f0dc4a9180ecc779004cb451a45ae54a6ea47c
2020-04-13 15:19:56 -07:00
Haoxiang Li
798c9340c1 Merge "Revert^2 "Modify the name of the SV interface to match VTS"" into rvc-dev 2020-04-13 17:12:51 +00:00
shubang
71d6059bba Return SUCCESS in scan for ATSC
This is for a CTS test case

Bug: 150952758
Test: atest android.media.tv.tuner.cts.TunerTest
Change-Id: I8761fec6af392e4f2d18bc38760effcae2aec273
2020-04-10 18:13:25 -07:00
TreeHugger Robot
2501542e30 Merge "Add biometrics.fingerprint@2.2 to the compatibility matrix" into rvc-dev 2020-04-11 00:55:11 +00:00
Yifan Hong
133c495d1a health 2.0 vts: add battery current test.
Require the following on battery current:
- skip health info tests if current is 0 (indicates the value is unavailable)
- when charging, positive
- when discharging / not charging, negative
- when unknown, zero
- batteryCurrentAverage should be similar to batteryCurrentNow.

All new tests are executed over
a period of time to avoid effects of fluctuation in
battery current, and ensure battery status is initialized.

Requirements are enforced on devices launching with R
only.

Require the following on battery status:
- if not charging / full / charging, must be connected
- if discharging, must not be connected.

Test: run on coral, tests are skipped
Test: run on cuttlefish, test passes

Fixes: 136717180
Change-Id: Ic5a714b830ffeca1dcd000c6cad0fbfe8a8710ed
(cherry picked from commit 94841c9df1)
Merged-In: Ic5a714b830ffeca1dcd000c6cad0fbfe8a8710ed
2020-04-10 21:51:15 +00:00
TreeHugger Robot
e4f2dc4874 Merge "Add frontend caps for CTS" into rvc-dev 2020-04-10 18:27:48 +00:00
Xusong Wang
d923a3f06f Merge "Remove BLOB AHWB tests from 1.2 VTS." into rvc-dev 2020-04-10 17:44:43 +00:00
TreeHugger Robot
60f4eb1ede Merge "Add vintf_fragments to android.hardware.confirmationui@1.0-service" into rvc-dev 2020-04-10 17:27:57 +00:00
Roman Kiryanov
ddedfb31ff Add vintf_fragments to android.hardware.confirmationui@1.0-service
Bug: 153666825
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: Ib8ff51a60df30d6d8773d658bdadf3de904c0426
Change-Id: I0d23a4202919054efb04b3114edcb8639fcb3995
2020-04-10 17:23:53 +00:00
Hayden Gomes
6eaedbae7c Merge "Adding android_filesystem_config.h import" into rvc-dev 2020-04-10 16:19:37 +00:00
Shawn Willden
ca71a6e839 Merge "Fixed encoding of device_locked field" into rvc-dev 2020-04-10 16:08:07 +00:00
Hayden Gomes
f8f12edfb1 Merge changes from topic "HAL Audio Focus" into rvc-dev
* changes:
  Adding a lshal command for abandoning focus
  Adding --request command to default AudioControl HAL
  Adding basic lshal support for AudioControl
2020-04-10 15:43:34 +00:00
TreeHugger Robot
1b33916a3b Merge "Freeze vintf aidl interfaces" into rvc-dev 2020-04-10 12:38:13 +00:00
TreeHugger Robot
ab60146f08 Merge "gralloc4-vts: Correct plane layout test of RGBA_8888 and YCbCr_420" into rvc-dev 2020-04-10 09:45:51 +00:00
TreeHugger Robot
4880972d9b Merge changes from topic "freeze-aosp-hal" into rvc-dev
* changes:
  Freeze vintf aidl interfaces
  android.hardware.tests.extension.vibrator-update-api
  vibrator ext: use package name as module name
2020-04-10 08:59:57 +00:00
Yichi Chen
059441bdd2 gralloc4-vts: Correct plane layout test of RGBA_8888 and YCbCr_420
The patch enhanced the plane layout tests in verifyRGBA8888 and
Lock_YCRCB_420_SP with considerations of sample increment and
subsampling.

Test: VtsHalGraphicsMapperV4_0
Bug: 150461327
Change-Id: I16fce5f29ec927de110cbaf5767e0b585d3c1919
2020-04-10 15:40:24 +08:00
Haoxiang Li
fe7701e227 Revert^2 "Modify the name of the SV interface to match VTS"
Modify the name of the Surround View interface to match the one in VTS
and the one in the default implementation.

fc614a63fa

Bug: 150412555
Test: m -j
Change-Id: Ie274e0501ce807bafe0211b6a8a9ba694e979341
2020-04-09 19:14:43 -07:00
Hayden Gomes
8261cac9e8 Adding android_filesystem_config.h import
Addressing outstanding todo in VehicleHalManager

Bug: 148098383
Test: m vts and atest android.hardware.automotive.vehicle@2.0-manager-unit-tests
Change-Id: I9a222077d0de91f8c7353c80d8a1aeff53cffa61
2020-04-09 17:17:31 -07:00
shubang
b0c1bbb354 Add frontend caps for CTS
Bug: 150952758
Test: atest android.media.tv.tuner.cts.TunerTest
Change-Id: I5bf1fbf24ef6375b08554617bcd05792e7e9e521
2020-04-09 16:57:54 -07:00
Ilya Matyukhin
20746053a5 Add biometrics.fingerprint@2.2 to the compatibility matrix
Bug: 153012763
Test: build blueline-userdebug
Change-Id: I209db8a74665df98b4923cbfa11b2b2c9d6dabfa
2020-04-09 23:44:38 +00:00
Hayden Gomes
c4199eabf8 Adding a lshal command for abandoning focus
Bug: 148098383
Test: adb shell lshal debug
    android.hardware.automotive.audiocontrol@2.0::IAudioControl/default
    --abandon 1 0
Change-Id: I4bec12ec3ae0fc6b73de8b823501f0f478d75d94
2020-04-09 16:13:11 -07:00
Hayden Gomes
fa81977e1a Adding --request command to default AudioControl HAL
Adding a lshal command for requesting focus

Bug: 148098383
Test: adb root && adb shell lshal debug
android.hardware.automotive.audiocontrol@2.0::IAudioControl/default
--request 1 0 1

Change-Id: I51f78ff495d81f03903515a9151c9ddd3350ee96
2020-04-09 16:13:04 -07:00
Nazanin Bakhshi
1826302984 Merge "Remove requirement for VtsHalRadioV1_3 tests for sim to be present" into rvc-dev 2020-04-09 23:10:15 +00:00
Amy Zhang
91d504821e Merge "Enhance and refactoring the Tuner VTS on searching frontend by type test" into rvc-dev 2020-04-09 22:51:05 +00:00
Yifan Hong
a6491f8adf health 2.0 VTS: require GTEST_SKIP to be defined
This is a hack to support the test in Android P. Now that gtest
has been updated, we no longer need this hack.

Test: run it
Bug: 118852225
Bug: 136717180
Change-Id: I81802b6fae0dc7839aa9fd1dd40cb881ff4eefdb
(cherry picked from commit 9fb96fa4b0)
Merged-In: I81802b6fae0dc7839aa9fd1dd40cb881ff4eefdb
2020-04-09 14:41:17 -07:00
Xusong Wang
b642700c7f Remove BLOB AHWB tests from 1.2 VTS.
Bug: 153282844
Test: 1.2 VTS
Change-Id: I866fe1388a64a36372f90c60fef340d2fe4c8682
2020-04-09 14:26:54 -07:00
TreeHugger Robot
b82cdd09a3 Merge "Move virtualization-specific proto definition to /device/google/trout" into rvc-dev 2020-04-09 20:38:13 +00:00
TreeHugger Robot
cb141698c1 Merge "Update loopTimeoutDuration documentation in NNAPI" into rvc-dev 2020-04-09 20:30:43 +00:00
Nazanin
6d586607cd Remove requirement for VtsHalRadioV1_3 tests for sim to be present
Bug: 153293861
Test: run vts -m VtsHalRadioV1_3Target
Change-Id: Idb1067e757d4abadb2142627b88f775a685d0c02
2020-04-09 13:26:41 -07:00
Hao Chen
37cd4646ac Move virtualization-specific proto definition to /device/google/trout
Test: build
Bug: 148816426
Change-Id: I5ea4a078d2733d0b5fc370211389ebc0488898ef
2020-04-09 18:20:15 +00:00
Amy Zhang
050bf78644 Enhance and refactoring the Tuner VTS on searching frontend by type test
Test: atest VtsHalTvTunerV1_0TargetTest on cf and vendor device
Bug: 150953857
Change-Id: I9c90e34c6b336d20f5456e7f676ced699f166d54
2020-04-09 11:01:04 -07:00
TreeHugger Robot
2adce34722 Merge "Don't modify -1 sensorHandle value" into rvc-dev 2020-04-09 17:14:38 +00:00
Anthony Stange
cd4d9abdcc Don't modify -1 sensorHandle value
A -1 sensorHandle value is used to denote all active sensors should be
stopped for a given channel. Make sure the multi-HAL code doesn't modify
handles of this value or it'll corrupt them before passing to the direct
channel sub-HAL.

Bug: 153413565
Test: atest VtsHalSensorsV2_0Target
Change-Id: I3fe9cbf4661aa3db4ff534765d5112a193b7bf4a
2020-04-09 11:07:56 -04:00
TreeHugger Robot
ee01c9ec22 Merge "Adds context_hub group to sensors HAL" into rvc-dev 2020-04-09 11:55:15 +00:00
Ivan Chiang
3f146d74cd Merge "Revert "Modify the name of the SV interface to match VTS"" into rvc-dev 2020-04-09 10:11:00 +00:00
Jeongik Cha
c537f3e2ce Remove redunant aidl api
test-android.hardware.vibrator-ext became android.hardware.vibrator-ext
accordingly, remove redunant aidl api directory

Bug: 153501107
Bug: 152655547
Test: m
Change-Id: I3de4196c6fe8ecfae4a6bd5f6bac7920695150c8
Merged-In: I3de4196c6fe8ecfae4a6bd5f6bac7920695150c8
2020-04-09 08:27:51 +00:00
Jeongik Cha
a73d6bc97e Freeze vintf aidl interfaces
AIDL interfaces which are vintf-stable have to be frozen in release.
But these interfaces have been never frozen, so freeze them.

- android.hardware.power
- android.hardware.identity
- android.hardware.keymaster
- android.hardware.vibrator
- android.hardware.light
- android.hardware.tests.extension.vibrator

Bug: 153500421
Bug: 153500550
Bug: 153511407
Bug: 153500549
Bug: 153501107
Bug: 153501202
Test: m
Change-Id: I643c25fc695f9d1e874dcceb327d465c49e9cab6
Merged-In: I643c25fc695f9d1e874dcceb327d465c49e9cab6
2020-04-09 08:27:34 +00:00
Jeongik Cha
d18fbcba30 android.hardware.tests.extension.vibrator-update-api
Dumping android.hardware.tests.extension.vibrator was ommited
because of difference of module name across branch.

Bug: 153501107
Bug: 152655547
Test: m
Change-Id: Ia272ffa77add9ef0b02ee0a23fc2389ac69fa9aa
Merged-In: Ia272ffa77add9ef0b02ee0a23fc2389ac69fa9aa
2020-04-09 08:27:20 +00:00
Steven Moreland
8fe0c2e0ec vibrator ext: use package name as module name
For consistency.

Bug: 153501107
Test: N/A
Change-Id: If32e8539fd8fffd5e27f0437bff480089e38f0da
Merged-In: If32e8539fd8fffd5e27f0437bff480089e38f0da
2020-04-09 08:24:59 +00:00
Ivan Chiang
fc614a63fa Revert "Modify the name of the SV interface to match VTS"
Revert submission 10975707-revert-10941635-revert-10611042-surround-view-service-IWFFCKAOZD-LNGXTQTNXI

Reason for revert: bb in git_master-without-vendor aosp_x86-eng
Reverted Changes:
I36c2a9187:Modify the name of the SV interface to match VTS
I2732f1b25:Fix the build failure for aosp_x86-eng
I0e737d7fb:Revert^2 "Setup Surround View for Osprey"
I27def392d:Revert^2 "Selinux policy for SV service and app."
I20a2ecfcc:Revert^2 "Surround View Sample App"
Ifb91b6eeb:Revert^2 "Surround View Service implementation"

Change-Id: I24a09d5e0a69224e30f22595bb99b8e1e23cdafe
2020-04-09 06:07:33 +00:00
Haoxiang Li
f6e0036c05 Merge "Modify the name of the SV interface to match VTS" into rvc-dev 2020-04-09 03:39:27 +00:00
TreeHugger Robot
8bc18c0ed5 Merge "Add SECTION/TS/AUDIO/VIDEO Tuner vts Broadcast tests" into rvc-dev 2020-04-09 03:28:56 +00:00
Daniel Norman
ecb16248c9 Adds IWifi 1.3 and 1.4 as interfaces provided by vendor.wifi_hal_legacy.
Bug: 150474819
Bug: 152173671
Test: vts_ibase_test
Change-Id: Ie5462d41177ec6dd56e6de266157e7d4ac28b388
Merged-In: Ie5462d41177ec6dd56e6de266157e7d4ac28b388

(cherry picked from commit f58ff069ee)

Change-Id: Ie5462d41177ec6dd56e6de266157e7d4ac28b388
2020-04-08 21:39:24 +00:00
TreeHugger Robot
25e1181101 Merge "Convert VtsHalAudioV*_0TargetTest to parameterized gtest" into rvc-dev 2020-04-08 20:30:00 +00:00
TreeHugger Robot
1964936593 Merge "Convert VtsHalBluetoothA2dpV1_0TargetTest to be parameterized test" into rvc-dev 2020-04-08 20:29:54 +00:00