Commit Graph

20623 Commits

Author SHA1 Message Date
Calvin Huang
a7f44eb83c Add manifest for IVehicle
Bug: 153734354
Test: Manual
Change-Id: I7e6a65e3fb49bb04108d0fd243df0b7447a93b1e
2020-04-16 16:02:17 -07:00
TreeHugger Robot
0260d7d1ee Merge "Fix delivery of earlyBootEnded to KM4.1" into rvc-dev 2020-04-15 14:56:34 +00:00
Roshan Pius
acf79bfacf Merge "Use additional interface for the WiFi Aware Discovery operations." into rvc-dev 2020-04-15 04:51:44 +00:00
Shawn Willden
08c7e71236 Fix delivery of earlyBootEnded to KM4.1
Bug: 152932559
Test: Boot and observe that Strongbox gets the message
Change-Id: I752b44f5cc20d85bf819188ccaaf0813a5607ba5
2020-04-14 21:48:11 -06:00
TreeHugger Robot
ecd5e55cc1 Merge "Correct UseHmacKey parameter" into rvc-dev 2020-04-15 02:19:58 +00:00
Roshan Pius
5ba0a90cac Use additional interface for the WiFi Aware Discovery operations.
NAN operations are currently done on the STA interface.This resulted
in the NAN sessions getting terminated in all the instances where the
STA interface is restarted (IFF DOWN/UP), due to connected MAC
randomization.
Hence, remove the dependency of NAN over STA interface. This change
expects the driver to create a dedicated interface for the
NAN operations. The iface name needs to be set in "wifi.aware.interface"
property.

Bug: 1636219
Test: HAL unit tests
Test: Device boots up and connects to wifi network.
Change-Id: I1b6d64eb94334172a8cd621d0b15ed8c8dc87f91
2020-04-14 13:47:42 -07:00
TreeHugger Robot
ae15d37528 Merge "Add vintf_fragments to android.hardware.biometrics.fingerprint@2.1-service" into rvc-dev 2020-04-14 19:55:16 +00:00
TreeHugger Robot
9a4496668e Merge "Add vintf_fragments to android.hardware.usb@1.0-service" into rvc-dev 2020-04-14 19:55:05 +00:00
Dan Shi
fdbc494c69 Remove references of VtsHalHidlTargetTestBase
Bug: 147894326
Test: build
Change-Id: If847cc3aa5bb17682b92266f5460efe9d3fadfab
2020-04-13 23:15:50 -07:00
Amy Zhang
62bc360c11 Merge "Separate Demux and Filter fixture classes from the Tuner HAL VTS target test" into rvc-dev 2020-04-14 05:47:52 +00:00
Amy Zhang
5f68f8df94 Merge "Make VtsHalTvTunerV1_0FrontendTest an independent test." into rvc-dev 2020-04-14 05:47:46 +00:00
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
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