Commit Graph

20663 Commits

Author SHA1 Message Date
Automerger Merge Worker
4856554a5c Merge "Add @export to frontend scan enums" am: 76c90b21cc am: cc5bbb2b38
Change-Id: I3f6b43dc5afd3548c7b24e62ae154735eb4ac6ae
2020-02-08 02:15:31 +00:00
Automerger Merge Worker
178eaca229 Merge "Export FrontendDvbtPlpMode" am: 4556d59c3a am: c61fdd1fb4
Change-Id: I1bc37de80521dd35593378f04175d5a66ad64f48
2020-02-08 02:15:24 +00:00
Automerger Merge Worker
643cf73cc9 Merge "Add DataId for Audio Handle in Audio Track" am: c670dca9c6 am: 6fa8b8e7e2
Change-Id: I959bc28d27a6a3a4ce39b287f59771eaa877d277
2020-02-08 02:14:53 +00:00
Treehugger Robot
69459316b8 Merge "Add a few type for Analog frontend" 2020-02-08 02:10:24 +00:00
TreeHugger Robot
ca7f21dc4e Merge "Added VehicleHal.dump()" 2020-02-08 02:07:54 +00:00
Automerger Merge Worker
cc5bbb2b38 Merge "Add @export to frontend scan enums" am: 76c90b21cc
Change-Id: If1dc78c857105b378ab724afe542e735acc092ed
2020-02-08 01:57:25 +00:00
Automerger Merge Worker
c61fdd1fb4 Merge "Export FrontendDvbtPlpMode" am: 4556d59c3a
Change-Id: I9615940e9ccd13061af7d9e69bcfcf51e9403cf6
2020-02-08 01:57:15 +00:00
Automerger Merge Worker
6fa8b8e7e2 Merge "Add DataId for Audio Handle in Audio Track" am: c670dca9c6
Change-Id: I199bacb74de834cbf552d9a938c67ec8dd589f2c
2020-02-08 01:57:00 +00:00
Amy Zhang
76c90b21cc Merge "Add @export to frontend scan enums" 2020-02-08 01:47:40 +00:00
Amy Zhang
4556d59c3a Merge "Export FrontendDvbtPlpMode" 2020-02-08 01:47:21 +00:00
Amy Zhang
c670dca9c6 Merge "Add DataId for Audio Handle in Audio Track" 2020-02-08 01:47:09 +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
Yifan Hong
c6e3fd118a Fix health.storage test
- fix root
- fix test timeout

Test: adb unroot and atest

Fixes: 149044321

Change-Id: Icc34af149641f7fe5035cee1fe9685b395adc22f
2020-02-07 22:49:07 +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
shubang
e3b37d3789 Add @export to frontend scan enums
Test: make;
Change-Id: I9489ae28722e73de0aba7e83b115935546e8e357
Merged-In: I9489ae28722e73de0aba7e83b115935546e8e357
(cherry picked from commit efb7ffa6ca)
2020-02-07 02:49:07 +00:00
Henry Fang
8c7b8b7e18 Add a few type for Analog frontend
Test: Manual
bug: 135708935
Change-Id: Ib0dbd610620682854f8c2b421285da39233cec01
Merged-In: Ib0dbd610620682854f8c2b421285da39233cec01
(cherry picked from commit d13c298ff5)
2020-02-06 18:48:40 -08:00
Henry Fang
92f17c7dcb Add DataId for Audio Handle in Audio Track
Test: Manual
bug: 135708935
Change-Id: I639d65999dbf1bf727837298804c350698a9f08a
Merged-In: I639d65999dbf1bf727837298804c350698a9f08a
(cherry picked from commit fe019ac3f7)
2020-02-06 18:47:55 -08:00
shubang
785589353f Export FrontendDvbtPlpMode
Test: make;
Change-Id: I3d4c0667ba1251b3038681759c50b453cd40a8ca
Merged-in: I3d4c0667ba1251b3038681759c50b453cd40a8ca
(cherry picked from commit e266073ed6)
2020-02-06 18:45:19 -08:00
Hunter Knepshield
256f77a588 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
Merged-In: I505c2a790dc28ddce9b6f5b674394ef65b31c80c
(cherry picked from commit 6e278a3798)

Change-Id: Ibbd15f65674cfa6b9f5c1d6a633277a419499d9f
2020-02-06 18:23:38 -08: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
Nathan Harold
72083ba9cd Add a VTS test for BarringInfo
Add a VTS that verifies polled BarringInfo
is sanely constructed.

Bug: 148646258
Test: make VtsHalRadioV1_5TargetTest
Change-Id: Idf8d110efe8fa2289fbcc8ed7f0959f0bd51999e
2020-02-06 17:16:07 -08: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
Miao Wang
15a25f6ec1 Update VTS tests for executeFenced
- Remove the DEVICE_UNAVAILABLE check
 - Pass deadline down to the driver.

Bug: 148979873
Test: mm
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: If90a0dce8c8907a2f8f806455074fa27e3f397ef
2020-02-06 16:10:54 -08:00