Commit Graph

20663 Commits

Author SHA1 Message Date
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
Changyeon Jo
5a53659077 Add a metadata field to BufferDesc
This change adds a variable-length metadata field to BufferDesc.  This
new data is owned by EVS Camera HAL implementations and opaque to EVS
manager.

Change-Id: If9b25093afa55ea0782af776a3f67923664e0058
Fix: 142891952
Bug: 142888671
Test: Build successful
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-02-06 08:50:05 -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
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
lesl
9be5a79afe vts: Use shell command to get softap feature
We should only run the vts which claim is supported.

Bug: 140172237
Test: atest VtsHalWifiHostapdV1_2TargetTest
Change-Id: If0b1d9f0a73bd171621299dab7828a9caf928a7a
2020-02-05 11:12:19 +08:00
Michael Butler
6a4172cd3d NN 1.3 HAL: ANAPIC review follow up
This CL makes the following three interface changes:
* Removes @1.3::Operand.ExtraParams, because it was the same as
  @1.2::Operand.ExtraParams
* Changes int32_t token to uint32_t for IDevice::allocate and for
  @1.3::Request.MemoryPool
* Renames OptionalTimePoint::nanoseconds to
  OptionalTimePoint::nanosecondsSinceEpoch

This CL also makes test changes in response to the interface changes,
and fixes a minor comment issue in @1.2::types.hal and @1.3::types.hal.

Bug: 148617339
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I95b49ab34b0b79f587dda035ede700b73dc44a38
2020-02-05 03:09:13 +00:00
Mikhail Naganov
33e0578cdd audio: Clarify documentation for some methods
- explain the meaning of "audio patch" in IDevice.supportsAudioPatches
  method;

- clarify effect insertion order in IDevice.addDeviceEffect

Bug: 148617378
Test: N/A
Change-Id: Ifd7ec3dc9a53c949be0c8c823df499e4b20db4bd
2020-02-04 19:05:44 -08:00
Felipe Leme
8edc5b8326 Added more properties associated with user management:
- CREATE_USER: called after an Android user is created.
- REMOVE_USER: called after an Android user is removed.
- USER_IDENTIFICATION_ASSOCIATION: associates an Android user with
  vehicle artifacts like a key FOB.

This CL only defines the new types, they're not implemented or used yet.

Test: m -j android.hardware.automotive.vehicle@2.0-service
Bug: 146207078

Change-Id: Idb399df55567402edb1b954b1c4b25f69e810a81
2020-02-04 19:01:40 -08:00
Mikhail Naganov
40549fae50 audio: Provide documentation for enums in 'common' package
Bug: 148617378
Test: N/A
Change-Id: Ia28c9217527509430f2daf274e14380bfe79f145
2020-02-04 18:59:12 -08:00
Automerger Merge Worker
f20dd169e2 Merge "Fix formatting errors in sensors MH2 bp files" am: 30fc7d4ba3 am: 59c1adabc7 am: 217167bf87
Change-Id: I55b5eebb64c27f3559de3badf139f0efdf35e458
2020-02-05 01:08:52 +00:00
Robert Shih
d884ff25bc compatibility_matrix: deprecate pre-1.3 drm
Bug: 139313724
Change-Id: Ie120bc46746489618c6b846c037da1336950930a
2020-02-05 01:02:42 +00:00
Automerger Merge Worker
217167bf87 Merge "Fix formatting errors in sensors MH2 bp files" am: 30fc7d4ba3 am: 59c1adabc7
Change-Id: I3d1621a65ded4673871bb7dc91b00c09ec2ab311
2020-02-05 00:59:12 +00:00
Automerger Merge Worker
59c1adabc7 Merge "Fix formatting errors in sensors MH2 bp files" am: 30fc7d4ba3
Change-Id: Idc0c3ec90157f917bca3f1ed5750dde690b0d210
2020-02-05 00:38:34 +00:00
Automerger Merge Worker
14edbe86dd Merge "Remove reference of VtsHalHidlTargetTestBase" am: badb75e309 am: 88b5b44f89 am: 4eaa7205f8
Change-Id: Ie3eb4abb16005f5a8d137ce800dcc8e21e32b5e8
2020-02-05 00:23:34 +00:00
Treehugger Robot
30fc7d4ba3 Merge "Fix formatting errors in sensors MH2 bp files" 2020-02-05 00:23:26 +00:00
Automerger Merge Worker
4eaa7205f8 Merge "Remove reference of VtsHalHidlTargetTestBase" am: badb75e309 am: 88b5b44f89
Change-Id: I8f0ee727d4370aae80a44a016dbc12e8cda079bd
2020-02-05 00:06:24 +00:00
Stan Rokita
4820138e21 Fix formatting errors in sensors MH2 bp files
Test: build

Change-Id: Idb00ed68c9805a055bf87560f02605920c4149e5
2020-02-04 16:01:44 -08:00
Automerger Merge Worker
88b5b44f89 Merge "Remove reference of VtsHalHidlTargetTestBase" am: badb75e309
Change-Id: Ia1b74f69ff92f57117e5e9510896b6c4b6730548
2020-02-04 23:54:32 +00:00
Dan Shi
badb75e309 Merge "Remove reference of VtsHalHidlTargetTestBase" 2020-02-04 23:44:04 +00:00
TreeHugger Robot
c470449287 Merge "Camera: Add ICameraDevice@3.6 subinterface" 2020-02-04 23:30:30 +00:00
Automerger Merge Worker
ece8ac2e68 Merge "Identity Credential: Require passing applicationId when generating attestation." am: 7175150e3f am: 396315d92f am: ef23d7de41
Change-Id: I6b75d668a3596351281caf141a4fea4c8c4f0882
2020-02-04 22:22:38 +00:00
Automerger Merge Worker
ef23d7de41 Merge "Identity Credential: Require passing applicationId when generating attestation." am: 7175150e3f am: 396315d92f
Change-Id: Idca7bf3e5cbe681dc8f1ccccda414dd23d637fee
2020-02-04 22:08:52 +00:00