Commit Graph

19943 Commits

Author SHA1 Message Date
TreeHugger Robot
ca7f21dc4e Merge "Added VehicleHal.dump()" 2020-02-08 02:07:54 +00:00
Automerger Merge Worker
3c95f63754 [automerger skipped] Merge "NNAPI HAL: Remove priority from prepareModelFromCache_1_3" am: ea14e3445e am: 7c55cbca56 am: 7cc53324a2 -s ours
am skip reason: Change-Id I518e493ead8aa97220b16370cce8523b425c378c with SHA-1 c90250ff57 is in history

Change-Id: I9194fabb8f69c90ed7319cce053288a973a6e806
2020-02-08 01:32:41 +00:00
Automerger Merge Worker
7cc53324a2 Merge "NNAPI HAL: Remove priority from prepareModelFromCache_1_3" am: ea14e3445e am: 7c55cbca56
Change-Id: Ib8e7d6285f3ad7fb9d46370339f05d8fd2ae1429
2020-02-08 01:14:38 +00:00
Automerger Merge Worker
7c55cbca56 Merge "NNAPI HAL: Remove priority from prepareModelFromCache_1_3" am: ea14e3445e
Change-Id: Ia57863300b38b9e64f0db92ced5b04498c9d9c40
2020-02-08 00:59:56 +00:00
Michael Butler
ea14e3445e Merge "NNAPI HAL: Remove priority from prepareModelFromCache_1_3" 2020-02-08 00:39:37 +00:00
TreeHugger Robot
28cdd108b9 Merge "Remove vberCn, lberCn, xerCn" 2020-02-08 00:12:11 +00:00
Felipe Leme
2acb9a7e0d Added VehicleHal.dump()
This (optional) function allows the HAL implementation customize lshal debug;
for example, it could:
  - augment dump() by dumping its own state
  - disable dump()
  - dump specific state based on arguments
  - run custom commands based on arguments

This CL also implements this method in the emulated vehicle HAL, where it adds
options to dump the user-related state.

Bug: 146207078

Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --user-hal
Test: atest android.hardware.automotive.vehicle@2.0-manager-unit-tests \
          android.hardware.automotive.vehicle@2.0-default-impl-unit-tests

Change-Id: If04e8222a31448f170ab2b54552051196b6ab958
2020-02-07 16:03:09 -08:00
TreeHugger Robot
d429b1829a Merge "Implemented INITIAL_USER_INFO." 2020-02-07 23:50:52 +00:00
Rambo Wang
7afe23194b Merge "Add CellIdentity to getBarringInfoResponse" 2020-02-07 22:09:04 +00:00
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
Felipe Leme
003fe685c2 Implemented INITIAL_USER_INFO.
This property is called by Android when it starts, and it's expecting a
property change indicating what the initial user should be.

During normal circumstances, the emulator will reply right away, passing a
response if InitialUserInfoResponseAction::DEFAULT (so Android could use its
own logic to decide which user to boot).

But during development / testing, the behavior can be changed using lshal dump,
so the following scenarios can be tested:
- property timeout
- HAL response using a different request id
- user switch
- user creation

Bug: 146207078
Test: manual tests with lshal and a modified CarServiceHelper
Test: atest android.hardware.automotive.vehicle@2.0-manager-unit-tests \
      android.hardware.automotive.vehicle@2.0-default-impl-unit-tests

Change-Id: Ia5be62c8b19a168c0c6da5307169fc14bf3069c9
2020-02-07 09:35:14 -08: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
Rambo Wang
6894f89fd8 Add CellIdentity to getBarringInfoResponse
Add CellIdentity to getBarringInfoResponse to make
the req/resp method match the existing indication.
The CellIdentity is used to prevent races where
barring is attributed to the wrong cell based on the
timing of separate polled or unsolicited inputs to
the framework.

Because the CellIdentity is already in IRadioIndication
the information to provide CID with BarringInfo is already
present and available. This just makes the unsol and the
polled APIs match.

Matching indication is IRadioIndication@1.5::barringInfoChanged

Bug: 148992393
Test: make && VtsHalRadioV1_5TargetTest
Change-Id: I74e6ab9ca9e0dd49846af774fd73773ff3737df7
2020-02-06 17:06:10 -08: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
Henry Fang
875cd25c07 Remove vberCn, lberCn, xerCn
These values are specific to phase modulation in ISDB-S.
It's not general use case.

bug: 148110220
Test: Manual
Change-Id: If847ca6c31681b1fe9dd94512c41b194dba41127
2020-02-06 15:52:11 -08: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
Michael Butler
68a868b2ac NNAPI HAL: Remove priority from prepareModelFromCache_1_3
prepareModelFromCache_1_3 uses model cache and data cache that
represent a prepared model. Any argument that contributes in a
meaningful way to the prepared model is implicitly included in
this model cache and data cache. For example, "model" and
"executionPreference" appear in prepareModel_1_3 but not in
prepareModelFromCache_1_3 because they are implicitly included
in the model cache and data cache. In a similar way, because
it could affect the resulting model, "priority" should be
removed from prepareModelFromCache_1_3.

Fixes: 148802784
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I518e493ead8aa97220b16370cce8523b425c378c
Merged-In: I518e493ead8aa97220b16370cce8523b425c378c
(cherry picked from commit c90250ff57)
2020-02-06 11:38:08 +00: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