Commit graph

18548 commits

Author SHA1 Message Date
Steven Moreland
4f0b0f2159 Merge "vibrator extension: use checked_interface_cast" am: 741347b49d am: 19d121b611
am: 6d77b339f5

Change-Id: I77dfe60e90e06eea95226cbce544cf46183a3fd7
2019-11-25 10:54:50 -08:00
Steven Moreland
6d77b339f5 Merge "vibrator extension: use checked_interface_cast" am: 741347b49d
am: 19d121b611

Change-Id: I0f6b87c493bf01a2b0ef1cda5a2d96d513245df3
2019-11-25 10:23:29 -08:00
Steven Moreland
19d121b611 Merge "vibrator extension: use checked_interface_cast"
am: 741347b49d

Change-Id: I3c21e5fd872a974b04d6f283256971a61d0778f3
2019-11-25 10:18:16 -08:00
Steven Moreland
741347b49d Merge "vibrator extension: use checked_interface_cast" 2019-11-25 18:06:24 +00:00
Keun-young Park
f3b8f482be Merge "Add DISABLED_OPTIONAL_FEATURES property" 2019-11-25 17:58:41 +00:00
Steven Moreland
2eeafb0a3e Merge "vndk vintf vibrator" am: 2fb810f495 am: 3d00560737
am: 8334b381a5

Change-Id: I3ce03341830436f95242bef4589b2ad26be5b7bf
2019-11-25 09:52:08 -08:00
Steven Moreland
8334b381a5 Merge "vndk vintf vibrator" am: 2fb810f495
am: 3d00560737

Change-Id: I7b30acf608c364975fabf9fdd1e2320a89cdc86f
2019-11-25 09:46:09 -08:00
TreeHugger Robot
83f69f0da0 Merge "gralloc: update lock and lockYCbCr" 2019-11-25 17:44:53 +00:00
Steven Moreland
3d00560737 Merge "vndk vintf vibrator"
am: 2fb810f495

Change-Id: I2fad31f9ec45739270f718cefbf84496821cd01d
2019-11-25 09:40:02 -08:00
Steven Moreland
2fb810f495 Merge "vndk vintf vibrator" 2019-11-25 17:31:26 +00:00
nelsonli
f6042fcc0c Merge "[vts-core] add VtsHalBiometricsFaceV1_0TargetTest to vts-core" am: 78e5470dbc am: b16eeee62b
am: 418e3a23f2

Change-Id: I82541e06f17c1e23f7d5fad41bdefc67999d8354
2019-11-25 08:11:05 -08:00
Lev Proleev
925f34fac6 [automerger skipped] Merge "Add NNAPI 1.3 OperationType" am: 2264258028 am: f604476205
am: 48df99d79f -s ours
am skip reason: change_id Ieaede9b7a6cecb16dbcc753f347f7ff04c009f20 with SHA1 8774f10b76 is in history

Change-Id: I47ccfc31b20d3833d9bffbb5920dd9f0c36f9592
2019-11-25 07:42:28 -08:00
Mikhail Naganov
e74d8746cf Merge changes from topic "upstream-close-fixes" am: 7663233f5c am: b6d82825e0
am: 88e9203701

Change-Id: If85dd058799aede5b0770e52b0185d3405f44269
2019-11-25 07:40:37 -08:00
Mikhail Naganov
c48c24bbc9 audio: Factor out IStream operations into a helper class am: 422afc131a am: b0b24baabf
am: b15071a05e

Change-Id: I983c466c2abe0c69fd67105f4dbdfe59e1112757
2019-11-25 07:40:33 -08:00
Mikhail Naganov
7e241b350b audio: Cleanup VTS tests am: 13b99b4cf4 am: 740cb65b21
am: 598db7088c

Change-Id: I0ec9112a79bd66c506228c8b7bc56931c0847536
2019-11-25 07:40:29 -08:00
Mikhail Naganov
640ed277c1 [automerger skipped] Audio VTS: Fix MMAP tests am: a4b693f5da am: 8c6d6912ba
am: 85411216ca -s ours
am skip reason: change_id I93e66b12c93c466d661e65c4dbbb5deb32772848 with SHA1 a70e4317e6 is in history

Change-Id: Ie8561d89fe61c75a4e798cee64a2321993006d8b
2019-11-25 07:40:25 -08:00
Mikhail Naganov
c00635d9e9 [automerger skipped] Audio V6 wrapper: IDevice|IStream|IEffect.close releases HAL resource am: d041930df9 am: a78ef70952
am: a89a87f73d -s ours
am skip reason: change_id I439f0f923c091af2ab234d15ca847cfade341f25 with SHA1 7623ed9258 is in history

Change-Id: Id09462d9e78a316f8163c10b4eff0872ac3a61d2
2019-11-25 07:40:18 -08:00
Ytai Ben-Tsvi
51a51d1e4a [automerger skipped] More memory test interfaces am: 2db42995a5 am: 7d4c761f0c
am: ae52b96169 -s ours
am skip reason: change_id I21bb7c28aa774801cad94cd530ccb6b5c3b621e0 with SHA1 5be5483f4c is in history

Change-Id: Id2ee22d4bc24272cb4291e7e71fd5afc8df3386c
2019-11-25 07:23:42 -08:00
Przemyslaw Szczepaniak
7460d44faf Merge "Add TENSOR_QUANT8_ASYMM_SIGNED support for activations" 2019-11-25 10:14:15 +00:00
Przemyslaw Szczepaniak
83ad3583b8 Merge "Add TENSOR_QUANT8_ASYMM_SIGNED support for pooling ops" 2019-11-25 10:13:34 +00:00
TreeHugger Robot
ebd6c752c2 Merge "vibrator: Add Composition APIs" 2019-11-25 05:04:45 +00:00
nelsonli
418e3a23f2 Merge "[vts-core] add VtsHalBiometricsFaceV1_0TargetTest to vts-core" am: 78e5470dbc
am: b16eeee62b

Change-Id: I226dacd866d9b09d9e22bc43e31fe8a399fba996
2019-11-24 00:54:30 -08:00
nelsonli
b16eeee62b Merge "[vts-core] add VtsHalBiometricsFaceV1_0TargetTest to vts-core"
am: 78e5470dbc

Change-Id: Icb763b887d9cf72f9618848274441e73a9e5fc4b
2019-11-24 00:52:01 -08:00
Treehugger Robot
78e5470dbc Merge "[vts-core] add VtsHalBiometricsFaceV1_0TargetTest to vts-core" 2019-11-24 08:44:43 +00:00
Hao Chen
ad1222486d Merge "Add GRPC Server as a Library to VHal Build File" 2019-11-22 22:37:18 +00:00
Lev Proleev
48df99d79f Merge "Add NNAPI 1.3 OperationType" am: 2264258028
am: f604476205

Change-Id: I7ed71ea23a67a77d5a225eb87d7dd0c4c6e756c6
2019-11-22 14:25:27 -08:00
Lev Proleev
f604476205 Merge "Add NNAPI 1.3 OperationType"
am: 2264258028

Change-Id: I2d4c53395d931aeeb9305d3f50e5e7297eef87bf
2019-11-22 14:22:55 -08:00
Treehugger Robot
2264258028 Merge "Add NNAPI 1.3 OperationType" 2019-11-22 22:12:01 +00:00
Marissa Wall
78b167aa60 Merge "gralloc: list supported metadata types" 2019-11-22 19:26:20 +00:00
Hao Chen
744fe1a75b Merge changes Iab77a0ae,Ibf525ffe
* changes:
  Applying the vehicle connector to the VHAL
  Implement the connector for emulated vehicles
2019-11-22 19:03:40 +00:00
Mikhail Naganov
88e9203701 Merge changes from topic "upstream-close-fixes" am: 7663233f5c
am: b6d82825e0

Change-Id: I7d2096676885bdd44285914e18a242fd4f5b49d0
2019-11-22 10:28:47 -08:00
Mikhail Naganov
b15071a05e audio: Factor out IStream operations into a helper class am: 422afc131a
am: b0b24baabf

Change-Id: I1d4a56007aa736977d83a30de743079446cde141
2019-11-22 10:28:43 -08:00
Mikhail Naganov
598db7088c audio: Cleanup VTS tests am: 13b99b4cf4
am: 740cb65b21

Change-Id: Ib9c1701abc0658a4e2d25ff2d940da4525538fe6
2019-11-22 10:28:40 -08:00
Mikhail Naganov
85411216ca Audio VTS: Fix MMAP tests am: a4b693f5da
am: 8c6d6912ba

Change-Id: I654b96e77399afd533dde8c122b3e5f3c04f10a4
2019-11-22 10:28:36 -08:00
Mikhail Naganov
a89a87f73d Audio V6 wrapper: IDevice|IStream|IEffect.close releases HAL resource am: d041930df9
am: a78ef70952

Change-Id: I5fbcf32b5dc7dc8e1548effef59152f0c03a150c
2019-11-22 10:28:31 -08:00
Mikhail Naganov
b6d82825e0 Merge changes from topic "upstream-close-fixes"
am: 7663233f5c

Change-Id: I67e3879985fcc7e80bb50c2b65ee08ee2a226800
2019-11-22 10:22:31 -08:00
Mikhail Naganov
b0b24baabf audio: Factor out IStream operations into a helper class
am: 422afc131a

Change-Id: Ia1fc19b3423cd2c730e1af6dba35d5206e4decc9
2019-11-22 10:22:27 -08:00
Mikhail Naganov
740cb65b21 audio: Cleanup VTS tests
am: 13b99b4cf4

Change-Id: I0f3b08ec88dab2d808f789f76f0f4d85feff19e4
2019-11-22 10:22:21 -08:00
Mikhail Naganov
8c6d6912ba Audio VTS: Fix MMAP tests
am: a4b693f5da

Change-Id: I6e31fa2def2effa006aaa50fec8c55a6be98caff
2019-11-22 10:22:14 -08:00
Mikhail Naganov
a78ef70952 Audio V6 wrapper: IDevice|IStream|IEffect.close releases HAL resource
am: d041930df9

Change-Id: Ic696caabc5c5dcbda9886581d30a137c17b1d7ff
2019-11-22 10:22:02 -08:00
Ytai Ben-Tsvi
ae52b96169 More memory test interfaces am: 2db42995a5
am: 7d4c761f0c

Change-Id: I23f4e884e401c2a4b5380a6505a1bad46840eefd
2019-11-22 10:16:51 -08:00
Treehugger Robot
7663233f5c Merge changes from topic "upstream-close-fixes"
* changes:
  audio: Add check to IDevice.close for currently opened streams
  audio: Factor out IStream operations into a helper class
  audio: Cleanup VTS tests
  Audio VTS: Fix MMAP tests
  Audio V6 wrapper: IDevice|IStream|IEffect.close releases HAL resource
2019-11-22 18:10:58 +00:00
Ytai Ben-Tsvi
7d4c761f0c More memory test interfaces
am: 2db42995a5

Change-Id: Id7996f4c642749292843e5fcf6e1f1916b99d6a6
2019-11-22 10:10:50 -08:00
TreeHugger Robot
9b83948852 Merge "gralloc: clean up comments" 2019-11-22 17:10:17 +00:00
TreeHugger Robot
947a2172e0 Merge "audio effect: Avoid using stack-allocated arrays" 2019-11-22 02:18:26 +00:00
Marissa Wall
0129f43366 gralloc: clean up comments
Clean up code comments based on review comments in ag/9684750 and
ag/9684750.

Bug: 144551649
Test: Compiles
Change-Id: I96f5962d2c1b79352f85dcf9354689814310ecc0
2019-11-22 01:44:26 +00:00
Marissa Wall
9c5ebfc5ba gralloc: update lock and lockYCbCr
IMapper 4.0 does support lockYCbCr functionality through lock and
BufferMetadata getters. However, we will wait to add the support in
one central gralloc library. For now just stub out the call so
there aren't any compiler errors.

Bug: 141631415
Test: Compiles

Change-Id: I9d2f70c87412f8ac2114db85eb6dc01539876e2b
2019-11-21 17:43:41 -08:00
Hao Chen
fba3ac86cc Applying the vehicle connector to the VHAL
Make VHAL to use the connector/server interfaces instead of talking to
the (faked) vehicle directly. Use passthrough connector for now since we
have not moved to the virtualized scenario yet (but soon :)

Bug: b/141493212

Test: On both Osprey and Hawk. Build and flash the image. If on Osprey, see
go/enable-google-vhal-on-osprey; if on hawk, `aae app vhal apply google`
to enable Google VHAL

```
# no VHAL crash
$ adb logcat

$ vts-tradefed
> run vts-hal-auto -m VtsHalAutomotiveVehicleV2_0Host
# 30 passed, 2 failed, the same as the result before this patch

# See value changed in Vehicle HAL tab, KitchenSink app:
$ python packages/services/Car/tools/emulator/prop_event_simulator.py --property
VEHICLEPROPERTY_HVAC_AC_ON --area 0 --value 1

# unit tests
$ atest packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/CarPropertyTest.java
```

Change-Id: Iab77a0ae32db2c55b4c65aa8f3e4f73ec9ef2644
2019-11-21 16:57:31 -08:00
Ytai Ben-tsvi
b27fdb4301 Merge "More memory test interfaces" 2019-11-22 00:33:34 +00:00
Steven Moreland
43d168751c vibrator extension: use checked_interface_cast
Since interface_cast doesn't currently check.

Bug: 136027762
Test: test-vintf-vibrator-ext-client
Change-Id: I4faeba339d8c54f6618e871a46d811943a398e0a
2019-11-21 15:58:35 -08:00