Commit Graph

19930 Commits

Author SHA1 Message Date
Automerger Merge Worker
0367b062ec [automerger skipped] Merge "Add AIDL Lights HAL to support multiple lights per type" am: e961dddd15 am: 5e01d06cfe am: 46a0fbe1e8 -s ours
am skip reason: Change-Id I08d831ca0380d8bb187e43f6d5c214810ff72f50 with SHA-1 bb89a958e5 is in history

Change-Id: I47d9b8ab73ed04bbee626ea1a1a3e57c23386690
2020-02-07 21:09:14 +00:00
Automerger Merge Worker
46a0fbe1e8 Merge "Add AIDL Lights HAL to support multiple lights per type" am: e961dddd15 am: 5e01d06cfe
Change-Id: I67231a34a7cec923a6017a07aa7367f449000ded
2020-02-07 20:55:43 +00:00
Automerger Merge Worker
5e01d06cfe Merge "Add AIDL Lights HAL to support multiple lights per type" am: e961dddd15
Change-Id: I715f52fb202b8f791fd0a8520ce7b2fe95c899f0
2020-02-07 20:36:09 +00:00
Treehugger Robot
e961dddd15 Merge "Add AIDL Lights HAL to support multiple lights per type" 2020-02-07 20:22:52 +00:00
Automerger Merge Worker
9f1197d48b Merge "audio: Fix audio effects schema for V6" am: 6918c455e1 am: aef1ef555c am: a1a571da55
Change-Id: I4498cd757d87c06b575ae205088151429520a984
2020-02-07 19:09:38 +00:00
Automerger Merge Worker
a1a571da55 Merge "audio: Fix audio effects schema for V6" am: 6918c455e1 am: aef1ef555c
Change-Id: I52c0a714f9fbfcbfe89d84154745f42968ca73e7
2020-02-07 18:54:58 +00:00
Automerger Merge Worker
aef1ef555c Merge "audio: Fix audio effects schema for V6" am: 6918c455e1
Change-Id: I9b3ff18ae23db177e1a9261feab9564e7756a03c
2020-02-07 18:44:03 +00:00
Treehugger Robot
6918c455e1 Merge "audio: Fix audio effects schema for V6" 2020-02-07 18:26:07 +00:00
TreeHugger Robot
b33c7ee9dc Merge "wifi: fix uninitialized variable" 2020-02-07 16:57:21 +00:00
Automerger Merge Worker
7ca480c79d Merge "[vts-core] add VtsHalBluetoothV1_0TargetTest to vts-core" am: 195682b2cf am: a192ccffff am: 790b718794
Change-Id: I61b4259440519b595b822c790a28fd59ad1fd9ce
2020-02-07 10:30:44 +00:00
Automerger Merge Worker
790b718794 Merge "[vts-core] add VtsHalBluetoothV1_0TargetTest to vts-core" am: 195682b2cf am: a192ccffff
Change-Id: Icfc386544500f558ca1b6d8e62fb1761d50c133e
2020-02-07 10:20:01 +00:00
Automerger Merge Worker
a192ccffff Merge "[vts-core] add VtsHalBluetoothV1_0TargetTest to vts-core" am: 195682b2cf
Change-Id: Ifea00c80c4085ffa50cfbc825ee3ae8a6325d926
2020-02-07 10:04:35 +00:00
Treehugger Robot
195682b2cf Merge "[vts-core] add VtsHalBluetoothV1_0TargetTest to vts-core" 2020-02-07 09:49:42 +00:00
Michael Butler
aba3fc08f2 Merge "NN 1.3 HAL: ANAPIC review follow up" 2020-02-07 02:16:13 +00:00
Jimmy Chen
019164c4b9 wifi: fix uninitialized variable
Bug: 149042449
Test: atest VtsHalWifiSupplicantV1_3TargetTest
Change-Id: Ie583d1db3697891c96c9186526ae47f40751b822
2020-02-07 09:59:50 +08:00
Automerger Merge Worker
86148318ec [automerger skipped] Merge "NNAPI: Add OptionalTimeoutDuration to 1.3/types.t" am: 456d54c936 am: 484a48b70f am: e677869e03 -s ours
am skip reason: Change-Id I6a6e46ec82b4f25d77f7e1af18cc9d6f9478e5b7 with SHA-1 a9c097abec is in history

Change-Id: I2b3c027f0a5eee79ee271545271a9975d9a499f8
2020-02-07 01:26:54 +00:00
Automerger Merge Worker
e677869e03 Merge "NNAPI: Add OptionalTimeoutDuration to 1.3/types.t" am: 456d54c936 am: 484a48b70f
Change-Id: I15a04ae187fd72305f16c014e4b7c976033632bd
2020-02-07 01:15:55 +00:00
Automerger Merge Worker
484a48b70f Merge "NNAPI: Add OptionalTimeoutDuration to 1.3/types.t" am: 456d54c936
Change-Id: Id2fe1f83492a418ef32950d46c7a2b20baf2c952
2020-02-07 01:00:48 +00:00
Steven Moreland
84dd3b7496 Add AIDL Lights HAL to support multiple lights per type
This is a revision of the previous 2.0 HIDL-based light HAL.
It accomplishes 2 goals:
 1) Support more than 1 light for a given type. This allows Assistant to
    use the HAL on TV platforms that have usually 4 indicator lights.
 2) Use AIDL, which is the more modern way of writing HALs.
The previous HAL is in hardware/interfaces/light/2.0 and the new one is
in versioned as aidl, as that supports forward compatibility.

Test: atest VtsHalLightTargetTest
Bug: 142715294, 142230898
Change-Id: I6d8c12b3df88e02f2a0fff8b6aa8543372b510c8
Merged-In: I08d831ca0380d8bb187e43f6d5c214810ff72f50
2020-02-07 01:50:36 +01:00
Treehugger Robot
456d54c936 Merge "NNAPI: Add OptionalTimeoutDuration to 1.3/types.t" 2020-02-07 00:50:17 +00:00
Hunter Knepshield
3a76bddd1d Merge "IDumpstateDevice@1.1 polish" 2020-02-07 00:50:08 +00:00
Automerger Merge Worker
567b9a1ed8 [automerger skipped] Remove unnecessary include in service.cpp am: b0607b90b9 am: cc4acf1930 am: fd3e2a15f1 -s ours
am skip reason: Change-Id I13fcd1223eacc999c66c514b549c51a96e4efda6 with SHA-1 d6887ca8cc is in history

Change-Id: Ifaff473154a42b2f4159d6b9571523f0ed8d72b8
2020-02-06 23:45:11 +00:00
Automerger Merge Worker
fd3e2a15f1 Remove unnecessary include in service.cpp am: b0607b90b9 am: cc4acf1930
Change-Id: Ie6ed8a505e662f5d6f32e2e032937f85b936183a
2020-02-06 23:33:12 +00:00
TreeHugger Robot
9ab3a5f439 Merge "Add getFrontendInfo/status default impl" 2020-02-06 23:21:09 +00:00
Automerger Merge Worker
cc4acf1930 Remove unnecessary include in service.cpp am: b0607b90b9
Change-Id: Ib14fb94ce676e78b8bf73daa86df10de4ed090a5
2020-02-06 23:16:06 +00:00
Miao Wang
e3966e907f Merge "Add a VTS test to validate NNAPI driver name string." 2020-02-06 23:09:55 +00:00
TreeHugger Robot
a09fbb5c1f Merge changes Ifd7ec3dc,Ia28c9217
* changes:
  audio: Clarify documentation for some methods
  audio: Provide documentation for enums in 'common' package
2020-02-06 19:22:45 +00:00
Mikhail Naganov
9f83bb9fb7 audio: Fix audio effects schema for V6
There was a mistake in the XSD file introduced in aosp/1201850.

Bug: 148979886
Test: atest VtsHalAudioEffectV6_0TargetTest
Change-Id: I02f869031e0d4687d6e099fa5d4593d4b5cc8243
2020-02-06 10:33:25 -08:00
Lev Proleev
124659e450 NNAPI: Add OptionalTimeoutDuration to 1.3/types.t
To sync 1.3/types.t with 1.3/types.hal

Test: generate_api.sh
Change-Id: I6a6e46ec82b4f25d77f7e1af18cc9d6f9478e5b7
Merged-In: I6a6e46ec82b4f25d77f7e1af18cc9d6f9478e5b7
(cherry picked from commit a9c097abec)
2020-02-06 11:38:06 +00:00
Dongwon Kang
b0607b90b9 Remove unnecessary include in service.cpp
Test: build.
Bug: 139201422

Exempt-From-Owner-Approval: cherry-pick from internal

Merged-In: I13fcd1223eacc999c66c514b549c51a96e4efda6
(cherry picked from commit d6887ca8cc)
Change-Id: I13fcd1223eacc999c66c514b549c51a96e4efda6
2020-02-06 18:47:39 +09:00
nelsonli
036685442b [vts-core] add VtsHalBluetoothV1_0TargetTest to vts-core
Bug: 142397658
Test: $atest VtsHalBluetoothV1_0TargetTest
Change-Id: Ic9efda5d766e35f58f9067d489ca91b1c3c3634e
2020-02-06 16:21:08 +08:00
Automerger Merge Worker
89763d7185 redefine _Float16 as __fp16 for x86[_64] to allow removing workaround from inhouse clang am: 0db1b54e9a am: 0c872fab2d am: 4ab04829f7
Change-Id: I37daee22cdae41f7c3c20f598c05a5f501333c70
2020-02-06 04:52:52 +00:00
TreeHugger Robot
16f9260afa Merge "Merge "s/hidl_/hal_/ for hidl_implementation_test" am: d1fa583382 am: 9690dd559c am: 51ccb1982c" 2020-02-06 04:48:50 +00:00
TreeHugger Robot
a01dc25fc1 Merge "Implemented IVehicle::debug() on default Vehicle HAL implementation." 2020-02-06 02:44:10 +00:00
TreeHugger Robot
d72aa0c8d8 Merge "Fixed typo (vehcile -> vehicle)." 2020-02-06 02:27:53 +00:00
Miao Wang
2729d825cb Add a VTS test to validate NNAPI driver name string.
Bug: 134755158
Test: VtsHalNeuralnetworksV1_2TargetTest
Change-Id: Iead93f0a251fdbbf94df6dfdf27919d3f6fd71a8
2020-02-05 17:24:02 -08:00
Robert Shih
b8390155d7 Merge "compatibility_matrix: deprecate pre-1.3 drm" 2020-02-06 01:19:47 +00:00
Hunter Knepshield
6e278a3798 IDumpstateDevice@1.1 polish
- Return a DumpstateStatus from dumpstateBoard_1_1
- Better toggle API surface: set/getDeviceLoggingEnabled
- Improved testing to allow for unsupported DumpstateMode values

Bug: 143183758
Bug: 143184495
Test: atest VtsHalDumpstateV1_1TargetTest
Change-Id: I505c2a790dc28ddce9b6f5b674394ef65b31c80c
2020-02-05 17:04:55 -08:00
Felipe Leme
6542f01ef2 Fixed typo (vehcile -> vehicle).
Test: rgrep -i vehcile . || echo NOT_FOUND
Bug: 146207078

Change-Id: I3ab9ffe25b6bf58a4ff18a70e94bf910b5302e72
2020-02-05 15:58:31 -08:00
Automerger Merge Worker
4ab04829f7 redefine _Float16 as __fp16 for x86[_64] to allow removing workaround from inhouse clang am: 0db1b54e9a am: 0c872fab2d
Change-Id: I0dcc5e68b9ca5e08c94f6b3e892e52ef2e3df232
2020-02-05 23:37:59 +00:00
Automerger Merge Worker
0c872fab2d redefine _Float16 as __fp16 for x86[_64] to allow removing workaround from inhouse clang am: 0db1b54e9a
Change-Id: Ica0a7f6d543207f6e03e57efc75f5281f04d5da0
2020-02-05 23:24:39 +00:00
Felipe Leme
75a27f8b37 Implemented IVehicle::debug() on default Vehicle HAL implementation.
This function allows developer to drive (no pun intend) the VHAL behaviour
using lshal, which is useful when implementing new CarService functionalities
that depend on VHAL properties.

Examples:

$ adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --help
Usage:

[no args]: dumps (id and value) all supported properties
--help: shows this help
--list: lists the ids of all supported properties
--get <PROP1> [PROP2] [PROPN]: dumps the value of specific properties
--set <PROP> <i|s> <VALUE>: sets the value of property PROP, using an arbitrary number
  of key/value parameters (i for int32, s for string)

$ adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default | head -2
dumping 87 properties
1: {.timestamp = 0, .areaId = 0, .prop = 299896583, .status = AVAILABLE,
.value = {.int32Values = [3]{42, 1, 10}, .floatValues = [0]{}, .int64Values = [0]{},
.bytes = [0]{}, .stringValue = ""}}

$ adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default \
  --set 299896583 s Numbers i 4 i 8 i 15 i 16 i 23 i 42
Set property {.timestamp = 0, .areaId = 0, .prop = 299896583, .status = AVAILABLE,
.value = {.int32Values = [6]{4, 8, 15, 16, 23, 42}, .floatValues = [0]{},
.int64Values = [0]{}, .bytes = [0]{}, .stringValue = "Numbers"}}

$ adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default \
  --get 299896583

{.timestamp = 102372810363603, .areaId = 0, .prop = 299896583, .status = AVAILABLE,
.value = {.int32Values = [6]{4, 8, 15, 16, 23, 42}, .floatValues = [0]{},
.int64Values = [0]{}, .bytes = [0]{}, .stringValue = "Numbers"}}

Bug: 146207078
Test: see examples above
Test: atest android.hardware.automotive.vehicle@2.0-manager-unit-tests \
      android.hardware.automotive.vehicle@2.0-default-impl-unit-tests

Change-Id: I2a9bd6f39f2938653a404cab43bdae9e45476529
2020-02-05 15:22:50 -08:00
David Gross
0db1b54e9a redefine _Float16 as __fp16 for x86[_64] to allow removing workaround from inhouse clang
At present, the tests might not actually use _Float16 (the generated
tests that are incorporated into the functional tests are built in
frameworks/ml rather than in hardware/interfaces); but the makefiles
are changed anyway, in case _Float16 is added in the future.

Bug: 138709788

Test: for (walleye, aosp_x86 [on emulator], aosp_x86_64 [on emulator])
        Use clang where _Float16 is disabled for x86[_64]
        $ cd $ANDROID_BUILD_TOP/neuralnetworks/1.0/vts/functional
        inspect build commands for tests as to whether or not
          expected options related to redefinition are present
        $ cd $ANDROID_BUILD_TOP/neuralnetworks/1.1/vts/functional
        inspect build commands for tests as to whether or not
          expected options related to redefinition are present

Change-Id: I9225b228947696d249771b3a35b1f82de9c26b6e
(cherry picked from commit 2452ee5a80)
2020-02-05 11:09:22 -08:00
David Gross
2ca858a491 Merge "redefine _Float16 as __fp16 for x86[_64] to allow removing workaround from inhouse clang" 2020-02-05 19:01:31 +00:00
Automerger Merge Worker
9a4adf92f0 Merge "s/hidl_/hal_/ for hidl_implementation_test" am: d1fa583382 am: 9690dd559c am: 51ccb1982c
Change-Id: I66f034f3448d82b224711472b9b0edf1c2beec7c
2020-02-05 17:53:18 +00:00
Automerger Merge Worker
51ccb1982c Merge "s/hidl_/hal_/ for hidl_implementation_test" am: d1fa583382 am: 9690dd559c
Change-Id: I169a22ceb03c93bfc8d5c73b0c5d06b1136c58c8
2020-02-05 17:31:19 +00:00
Automerger Merge Worker
9690dd559c Merge "s/hidl_/hal_/ for hidl_implementation_test" am: d1fa583382
Change-Id: I8104f893b67c6b7d8ae1c47e75a17b35189780a9
2020-02-05 17:20:56 +00:00
Steven Moreland
d1fa583382 Merge "s/hidl_/hal_/ for hidl_implementation_test" 2020-02-05 17:05:30 +00:00
Les Lee
c124b39f9e Merge "vts: Use shell command to get softap feature" 2020-02-05 07:08:49 +00:00
TreeHugger Robot
b1674a0147 Merge "Added more properties associated with user management:" 2020-02-05 05:56:39 +00:00