Commit graph

12144 commits

Author SHA1 Message Date
Peiyong Lin
30e7ab464d Merge "[ConfigStore] Slient log spam."
am: 925f06e87b

Change-Id: Iabe789a6f00b5462248939e868ecc21de6bf2180
2019-02-06 14:28:49 -08:00
Peiyong Lin
925f06e87b Merge "[ConfigStore] Slient log spam." 2019-02-06 22:04:11 +00:00
Steven Moreland
b37145e08e Merge "Update makefiles."
am: b35c23e70c

Change-Id: I297b14fdb0971efcbacf301f8527fd469b33cc14
2019-02-06 11:28:36 -08:00
Steven Moreland
b35c23e70c Merge "Update makefiles." 2019-02-06 19:20:31 +00:00
Peiyong Lin
09dbd3df37 [ConfigStore] Slient log spam.
Previously ConfigStore keeps logging info of each function, this patch moves it
to verbose to avoid log spam.

BUG: 123312783
Test: Build, flash and boot. Verify with adb logcat
Change-Id: I8dce745122ca05d18cd899c536342521432f5325
2019-02-06 11:05:14 -08:00
Steven Moreland
18494b89b2 Merge "Test ...libhwbinder-impl static."
am: 06adbd75e5

Change-Id: I3262166d3a15ce3dc25337be2bf1cc83d58189c6
2019-02-06 10:27:31 -08:00
Steven Moreland
06adbd75e5 Merge "Test ...libhwbinder-impl static." 2019-02-06 18:16:54 +00:00
Wei Wang
446597a2cc Make atrace HAL optional
am: 892624d06d

Change-Id: I8a9e478e600e6721ecca91e6286637265665d2cd
2019-02-05 20:21:35 -08:00
Wei Wang
892624d06d Make atrace HAL optional
Bug: 111098596
Test: build
Change-Id: I2a18f004926e4488b87dd1d830490717908de963
2019-02-05 16:55:04 -08:00
Steven Moreland
941f105b60 Update makefiles.
Some of these are out of date.

Bug: N/A
Test: N/A
Change-Id: Ibf87fad9981d4e430a0bf797feadbb0bede232fc
2019-02-05 13:14:26 -08:00
Steven Moreland
532c05a3ec Test ...libhwbinder-impl static.
So that it can be included in tests.

Bug: 122456128
Test: libhwbinder_benchmark, hwbinderThroughputTest, libhwbinder_latency
Change-Id: I4c77c04252c7d6f0c2215ee052d747561db181e0
2019-02-01 15:13:32 -08:00
Pengquan Meng
e2d75f8b22 Merge "Add 5G cellInfo & signal strength"
am: 7ac99ae365

Change-Id: I1b60e98a9be7a3f3816fe471487d2374d64bdbf8
2019-02-01 13:23:29 -08:00
Pengquan Meng
7ac99ae365 Merge "Add 5G cellInfo & signal strength" 2019-02-01 21:09:46 +00:00
Sasha Smundak
4a1f714ed0 Merge "Explicitly include log/log.h or android/log.h instead of cutils/log.h"
am: b5db125860

Change-Id: I55fd176e62326df38194486d86a9d3a8f72270ea
2019-02-01 12:22:43 -08:00
Treehugger Robot
b5db125860 Merge "Explicitly include log/log.h or android/log.h instead of cutils/log.h" 2019-02-01 19:12:35 +00:00
vichang
ea84e78b5d Merge "Remove the dependency on ICU"
am: 97048ee337

Change-Id: I829ff633e9ff4b0a93fd1974f2ea4917e2e21aef
2019-02-01 11:09:17 -08:00
Sasha Smundak
769c053d7c Explicitly include log/log.h or android/log.h instead of cutils/log.h
Eliminates the warning.
Test: treehugger

Bug: 123758136
Change-Id: Ibe50261efc18d659a10129977342bc765a9ba9d5
2019-02-01 10:52:09 -08:00
vichang
97048ee337 Merge "Remove the dependency on ICU" 2019-02-01 16:57:43 +00:00
Pengquan Meng
e32a755ed2 Add 5G cellInfo & signal strength
Bug: 123532650
Test: build
Change-Id: I76bff3f6ff56ef76cb357c327b44d54757952e32
2019-01-31 14:11:37 -08:00
Tom Cherry
3184a39837 Merge "Move to new Fstab class"
am: 12e20e3f2a

Change-Id: I09be93fbbade4a7ef01c4bf0ea4c202da3ec2f7b
2019-01-31 11:50:32 -08:00
Tom Cherry
12e20e3f2a Merge "Move to new Fstab class" 2019-01-31 19:35:54 +00:00
Cheney Ni
a0cb02ea1d Implementation of Bluetooth Audio HAL interface v2
am: 47a8309706

Change-Id: I7ea0d493a5ec0ee2da57868905ff443661b50737
2019-01-31 10:29:39 -08:00
Cheney Ni
bd032886ea Merge "VTS for Bluetooth Audio HAL v2"
am: 5203e215e2

Change-Id: I8706eb2aff23283f16ead2ab2a080a326509e1ba
2019-01-31 10:28:57 -08:00
Cheney Ni
47a8309706 Implementation of Bluetooth Audio HAL interface v2
This is the default implementation of Bluetooth Audio Hal v2, and 3
providers are defined.

* BluetoothAudioProvider is the default provider, which is a stub when
  no SessionType matched.
* A2dpSoftwareAudioProvider uses to replace the old A2DP legacy module
  and uses IPC via HIDL interface between Bluetooth stack and Audio HAL.
* HearingAidAudioProvider uses to replace the Hearing Aids module which
  uses UNIX socket as IPC and now there is HIDL based interface.

There is also a shared library named "libbluetooth_audio_session.so" to
provide the linkage directly between this HIDL and its HAL module,
bluetooth_audio. With this library, we can break the library dependency
and guarantee those symbols of libraries while compiling.

Bug: 111519504
Bug: 122503379
Test: boot and manual test

Change-Id: I54d86291482b7fb041a3ac3e171b68a4ed7bfa07
2019-01-31 18:16:54 +00:00
Treehugger Robot
5203e215e2 Merge "VTS for Bluetooth Audio HAL v2" 2019-01-31 18:16:35 +00:00
Victor Chang
58062e0d41 Remove the dependency on ICU
Static libxml2 no longer requires ICU4C. Remove
the depedency from the build file.

Bug: 121468463
Test: vts-tradefed run vts -m VtsHalAudioEffectV4_0Target
Test: vts-tradefed run vts -m VtsHalAudioV4_0Target
Merged-In: Ib843fb1071a634f25e27e5291b00d11852ac08a9
Change-Id: Ib843fb1071a634f25e27e5291b00d11852ac08a9
2019-01-31 14:05:15 +00:00
Cheney Ni
56d54f1655 VTS for Bluetooth Audio HAL v2
Initial VTS commit for the bluetooth.audio@2.0 HAL

Bug: 111519504
Test: VTS (VtsHalBluetoothAudioV2_0TargetTest) passed

Change-Id: Id607979724182de242c29747218f6b12880d6295
2019-01-30 17:18:32 -08:00
Nathan Harold
93378a6017 Merge "Explicitly Document INT_MAX for Invalid Fields"
am: 304c0ce012

Change-Id: I99767f8ae57c679e1726605732edf63d3d49ff96
2019-01-30 14:57:53 -08:00
Nathan Harold
304c0ce012 Merge "Explicitly Document INT_MAX for Invalid Fields" 2019-01-30 22:45:06 +00:00
Tom Cherry
bf94481483 Move to new Fstab class
Test: treehugger
Change-Id: I0a3a58193c1482296bc5b60df3f9247e5f1366c3
2019-01-30 14:27:43 -08:00
Xusong Wang
40a888339e Add VTS test for dynamic output shape.
am: 4faf072e22

Change-Id: I2473f93660fd101b8c611207b6e2267daf8a9cf5
2019-01-30 12:37:31 -08:00
Slava Shklyaev
d290c8d226 Shorten NNAPI enum range names
am: 2739b2ef57

Change-Id: Ifb8c6647f8557c1f0b0d09fbcec69575e175c71c
2019-01-30 12:37:19 -08:00
Miao Wang
a3dec90162 Report "SKIPPED" for unsupported tests.
am: d2668b5b9d

Change-Id: Ia84c756fbaa05dc2abfba529c1da008347b9bcc5
2019-01-30 12:37:06 -08:00
Xusong Wang
4faf072e22 Add VTS test for dynamic output shape.
Test dynamic output shape with generated models when
- Dimensions of output operands are fully specified
- Dimensions of output operands are unspecified with sufficient buffer
- Dimensions of output operands are unspecified with insufficient buffer

Test: VTS on 1.2 sample driver
Change-Id: I4d26395ce443687ccbd47445b36e3356d70035cc
Merged-In: I4d26395ce443687ccbd47445b36e3356d70035cc
(cherry picked from commit 929fd21e06)
2019-01-30 11:18:24 -08:00
Slava Shklyaev
2739b2ef57 Shorten NNAPI enum range names
Test: mma
Change-Id: I5138589acc127336e8c0e72ca7d6b49532a4eeb9
Merged-In: I5138589acc127336e8c0e72ca7d6b49532a4eeb9
(cherry picked from commit 794703db84)
2019-01-30 10:49:49 -08:00
Xusong Wang
9b43fc7c7c Implement NN HAL for compilation caching.
am: fc67805f4a

Change-Id: I5ed5aa712bab9f3844122a1a6ce9aa1f738f6f04
2019-01-29 17:43:31 -08:00
Miao Wang
d2668b5b9d Report "SKIPPED" for unsupported tests.
- Instead of reporting PASS for unsupported tests, use GTEST_SKIP to
  skip the tests at runtime.

Bug: 113356629
Test: mm
Test: VTS tests on HVX driver
Change-Id: I6a870b61809e58490e66dd4ea36ddeb64fc68a07
Merged-In: I6a870b61809e58490e66dd4ea36ddeb64fc68a07
(cherry picked from commit bb685a4a97)
2019-01-29 15:16:10 -08:00
Xusong Wang
fc67805f4a Implement NN HAL for compilation caching.
Add three methods
- IDevice::isCachingSupported
- IDevice::prepareModelFromCache
- IPreparedModel::saveToCache

Bug: 119616526
Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_xTargetTest with 1.2 sample driver
Change-Id: If28ffe0be48bcb9f4715293fc1201c8d2dbeb946
Merged-In: If28ffe0be48bcb9f4715293fc1201c8d2dbeb946
(cherry picked from commit 89dfafb42f)
2019-01-29 15:00:49 -08:00
Michael Butler
4c942b9961 NNAPI Burst -- HAL VTS tests
am: 29471a8935

Change-Id: I3de6e9959b4037c1cdaf065b61fb429e1aafe5b9
2019-01-29 14:55:40 -08:00
Michael Butler
29471a8935 NNAPI Burst -- HAL VTS tests
FastMessageQueue is a Treble-compliant data structure that enables fast
communication between two processes. The FMQ object itself is an atomic
circular buffer that is optionally synchronized with a futex. However,
FMQ has no notion of ownership or lifetime across processes, so it must
be paired with higher-level constructs to manage the lifetime and
ownership.

The NNAPI is introducing the notion of an "Execution Burst" object (or
more simply a "Burst" object), which is similar to an
ANeuralNetworksExecution, but is intended to be reused across multiple
executions and has lower IPC overheads. It achieves this low IPC
overhead by replacing HIDL HwBinder calls with FMQ messages.
Specifically, it replaces IPreparedModel::executeSynchronously's call
from the client into the service with fmq_sync<FmqRequestDatum> (an FMQ
channel used to pass a serialized Request object) and it replaces
the return from the service into the client with
fmq_sync<FmqResultDatum> (an FMQ channel used to return serialized
result status and OutputShapes information).

Each channel is a unidirectional flow of information with exactly one
producer and exactly one consumer. The channels are created by the NN
runtime and passed to the service via
IPreparedModel::configureExecutionBurst.

This CL tests the Burst in both the execution path and validation path
in the Vendor Test Suite (VTS) in neuralnetworks/1.*/vts/functional/.

The VTS binary--VtsHalNeuralnetworksV1_2TargetTest--can be built and run
as any previous version could.

Bug: 119570067
Test: mma
Test: VtsHalNeuralnetworksV1_2TargetTest
Change-Id: I3a36484eff9565c2d028c07c099804a0289f294a
Merged-In: I3a36484eff9565c2d028c07c099804a0289f294a
(cherry picked from commit 814d8372f3)
2019-01-29 18:34:34 +00:00
Amit Mahajan
b560d1958e Merge "Add a new parameter to emergencyDial()."
am: 685fcc0098

Change-Id: I4c6023c8dd8571659afdb2e7ad7ab6854e1b47ad
2019-01-28 21:41:15 -08:00
Ruchi Kandoi
123ec7cc08 Merge "Add android.hardware.secure_element@1.1"
am: 078f8c0a14

Change-Id: I3afc4f6c6c155bd2fafdaed85bdd5cd6c9dff483
2019-01-28 21:00:29 -08:00
Benjamin Schwartz
deead79023 Merge "power.stats: Use PowerStats HAL v1.0 in cuttlefish"
am: 08540bfbbe

Change-Id: I2fa58bd1f6c0855b86e6cd9d9d7c76a5320f50f7
2019-01-28 20:38:42 -08:00
Amit Mahajan
f76ddd32bb Merge "Add Emergency Call testing mode"
am: cc07875537

Change-Id: I94d047934486e79e03a8cd8dd0c499229a602a43
2019-01-28 20:11:38 -08:00
Steven Moreland
3114ed70e0 Merge "Replace clang-format with symlink."
am: 1cd12c820c

Change-Id: I8a86def03ba8b341e6f1191a7eb26b6f86d374b2
2019-01-28 20:06:48 -08:00
Sooraj Sasindran
43db488d71 Merge "Fix the compatibility matrix with range"
am: bed7070e4d

Change-Id: Ib9abce076339bcd7eb679e83017295d2d73fbc1a
2019-01-28 20:05:31 -08:00
Youming Ye
3b3220acc6 Merge "Add functional folder for vts 1.4."
am: 8327a56b3d

Change-Id: Ia77970ce7817b005bbe1b58fcaee0f624d9eea76
2019-01-28 19:58:54 -08:00
Amit Mahajan
a567b336fb Merge "Add Emergency Uniform Resource Name (URN)"
am: bd400ae327

Change-Id: I1ba8fcaca842c405f9851ad26d0cbaf117d5acf7
2019-01-28 19:37:33 -08:00
Yifan Hong
f84ae41b1e Merge "Build DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE."
am: 40877b8c21

Change-Id: I1e0a6937828b6b3ac3468edebfe793d2f21855ae
2019-01-28 19:35:40 -08:00
Xusong Wang
6693e7628c Test dynamic output shape in GeneratedTests.
am: d22c5232f3

Change-Id: Ia9b6a77feeff6fc17ee98405aa660b20eeb2fff7
2019-01-28 19:29:43 -08:00