OSDN Git Service
Jean-Luc Brouillet [Sun, 10 Sep 2017 03:45:55 +0000 (20:45 -0700)]
Refactor how arguments are tracked.
Use an explicit description of the lifetime of an operand
rather than relying on poolIndex to do the job.
Bug:
63905942
Test: Ran unit tests
Change-Id: I53c4c10b40fd3312232b0689b43d0f72a2818490
TreeHugger Robot [Sat, 9 Sep 2017 21:58:32 +0000 (21:58 +0000)]
Merge "Add FusedActivationFunc enum and renamed certain operations." into oc-mr1-dev
Miao Wang [Fri, 8 Sep 2017 23:57:49 +0000 (16:57 -0700)]
Add FusedActivationFunc enum and renamed certain operations.
- Add "_2D" to CONV, DEPTHWISE_CONV, AVG_POOL, MAX_POOL, and L2_POOL,
since they are only supposed to do 2D computation.
- Remove CAST, GATHER, SPLIT.
- Also update the tests to reflect the changes.
Bug:
63905942
Test: mm
Test: NeuralNetworksTests pass for both CPU path and sample hidl driver.
Change-Id: I5bcf219c4c6cd4f866c1023d1f35cdc83ca69a85
Chia-I Wu [Fri, 8 Sep 2017 22:31:31 +0000 (22:31 +0000)]
Merge "graphics: discard stale data from message queue" into oc-mr1-dev
Kevin Rocard [Fri, 8 Sep 2017 22:14:14 +0000 (22:14 +0000)]
Audio VTS: remove expectation of policy configuration unicity am:
76efe01bbd
am:
6b51d9a855
Change-Id: I59bb70fbc000f424beeb938a08c1fcb24dc08037
Kevin Rocard [Fri, 8 Sep 2017 22:12:14 +0000 (22:12 +0000)]
Audio VTS: remove expectation of policy configuration unicity
am:
76efe01bbd
Change-Id: I23948718eaed0a687cc7dbd6b4940fc8514fbe1b
Chia-I Wu [Fri, 8 Sep 2017 18:24:32 +0000 (11:24 -0700)]
graphics: discard stale data from message queue
Our use of message queues is synchronous. If there are already data
in the queue when writeQueue is called, we know they are stale and
can be discarded.
Bug:
65449888
Test: manual
Change-Id: Ie29b8a7386c9733c183a6c3569e3572efa62cbc2
Kevin Rocard [Fri, 8 Sep 2017 18:29:32 +0000 (11:29 -0700)]
Audio VTS: remove expectation of policy configuration unicity
The XML audio policy configuration is expected to be located in /vendor.
Additionally for AOSP builds (no vendor) and as a fallback in case of
missing vendor configuration, the system supports loading the XML from
/system.
This fallback config is not guaranty to be compatible with the phone HAL,
but probably does for a wide range of android phones
(at least for basic use cases).
In each of those cases, there is only one configuration file, either in
/vendor or /system.
As a result, the audio policy configuration VTS test was asserting that
only one audio_policy_configuration.xml could be found.
If multiple were found, one was useless and the platform integrator
should remove it.
But VTS are now run on phone with a /system partition from an AOSP
build and a /vendor partition from a device build.
In such scenario two audio policy config are now present on the device,
thus breaking the VTS expectation.
This is not a problem for the framework because it does not look for a /system
config if one was found in /vendor.
In the future, the /system XML might be removed as boards
specific config should be found in /vendor only as per treble
requirements.
Test: Compile
Bug:
65482614
Change-Id: I7cd7eb7284c0aa52782aa591411f8a9bf2a87a76
Signed-off-by: Kevin Rocard <krocard@google.com>
Sanket Padawe [Fri, 8 Sep 2017 18:14:16 +0000 (18:14 +0000)]
Merge "Fix VTS test which turns off radio." into oc-mr1-dev
Ram Mohan M [Thu, 7 Sep 2017 23:45:42 +0000 (23:45 +0000)]
Merge "bug fix: handle multiple port settings change events signalled at once" into oc-dev am:
f8677dcfdb
am:
37b490df35
Change-Id: I028c248ebef366eb439b369adad87047086aa07b
Ram Mohan M [Thu, 7 Sep 2017 23:40:43 +0000 (23:40 +0000)]
Merge "bug fix: handle multiple port settings change events signalled at once" into oc-dev
am:
f8677dcfdb
Change-Id: If65c243e72e890660fc4481b375b23ba109ae577
TreeHugger Robot [Thu, 7 Sep 2017 23:30:17 +0000 (23:30 +0000)]
Merge "bug fix: handle multiple port settings change events signalled at once" into oc-dev
TreeHugger Robot [Thu, 7 Sep 2017 17:39:27 +0000 (17:39 +0000)]
Merge "Bluetooth: Remove credit check from Loopback tests" into oc-mr1-dev
Chia-I Wu [Thu, 7 Sep 2017 17:38:17 +0000 (17:38 +0000)]
Merge "graphics: ignore/reduce spurious vsync in VTS" into oc-dev am:
ef3389add5 -s ours
am:
b2f558e267
Change-Id: Ie634e5172b1e4ebeb98f11a43f8462db67230de0
Chia-I Wu [Thu, 7 Sep 2017 17:36:15 +0000 (17:36 +0000)]
Merge "graphics: ignore/reduce spurious vsync in VTS" into oc-dev
am:
ef3389add5 -s ours
Change-Id: I9cee260396d3f24e86443afe36780894397638e1
Chia-I Wu [Thu, 7 Sep 2017 17:18:25 +0000 (17:18 +0000)]
Merge "graphics: ignore/reduce spurious vsync in VTS" into oc-dev
Myles Watson [Wed, 6 Sep 2017 23:26:49 +0000 (16:26 -0700)]
Bluetooth: Remove credit check from Loopback tests
The Bluetooth specification doesn't require data credits
to come back within a specific timeframe, so the VTS test
can not require it.
Bug:
65269854
Test: VtsHalBlueoothV1_0TargetTest with simulated chip (no credits)
Change-Id: If2fc052d3b5236f6a3097f3d5403882226561404
(cherry picked from commit
0e06a63c76f4c02ac307c6294f3d6f61ae6406e7)
TreeHugger Robot [Thu, 7 Sep 2017 12:16:20 +0000 (12:16 +0000)]
Merge "HAL interface libs for testing are now built as test lib" into oc-mr1-dev
Kevin Rocard [Wed, 6 Sep 2017 23:44:17 +0000 (23:44 +0000)]
Allow partially dynamic profile in the audio policy config am:
3092b31b14
am:
0aaff8bead -s ours
Change-Id: I04b522582d2861af37ae68729254105e701fd666
Kevin Rocard [Wed, 6 Sep 2017 23:35:24 +0000 (23:35 +0000)]
Allow partially dynamic profile in the audio policy config
am:
3092b31b14
Change-Id: Ibafc8f571bdc32353bd974a7fce6e3fd84238711
TreeHugger Robot [Wed, 6 Sep 2017 21:32:30 +0000 (21:32 +0000)]
Merge "Additonal usage note updates for Audio properties" into oc-mr1-dev
Kevin Rocard [Thu, 31 Aug 2017 23:45:08 +0000 (16:45 -0700)]
Allow partially dynamic profile in the audio policy config
The audio policy configuration deserializer supports fully dynamic
profiles by not setting a profile in a port.
It also supports partially dynamic profile by
not setting @format, @samplingRates or @channelMasks
Nevertheless this last feature of partial dynamic profile
was mistakenly not allowed by the configuration xsd.
Bug:
63541622
Change-Id: I78f77a77a3c62bba28a7da5a0e3c8c608b5a01d9
Merged-In: I78f77a77a3c62bba28a7da5a0e3c8c608b5a01d9
Signed-off-by: Kevin Rocard <krocard@google.com>
(cherry picked from commit
43d25f2f26eee5655214cf5426a629916aece061)
Sanket Padawe [Mon, 4 Sep 2017 05:32:43 +0000 (22:32 -0700)]
Fix VTS test which turns off radio.
Since the purpose of most of the test cases in current VTS is to check
if proper errors are returned and there is no crash seen in vendor code,
updating setRadioPower test case to turn on the radio instead of
turning off. We want to avoid test cases which turn off
radio or leads to modem shut down as those test cases affect other tests.
Test: VTS
Change-Id: I4fb9f18884f7ef21162015a0032c4431444f7025
Bug:
65230472
TreeHugger Robot [Wed, 6 Sep 2017 04:24:35 +0000 (04:24 +0000)]
Merge "Remove media.cas requirement." into oc-mr1-dev
TreeHugger Robot [Wed, 6 Sep 2017 01:27:51 +0000 (01:27 +0000)]
Merge "Allow partially dynamic profile in the audio policy config" into oc-mr1-dev
Scott Randolph [Tue, 5 Sep 2017 23:29:29 +0000 (16:29 -0700)]
Additonal usage note updates for Audio properties
Mostly comment updates for clarification.
Updates the names of a few constants (but not their value nor usage).
Test: build for Mojave
Change-Id: Ic9021f82fa4bd960189e005f074f2b407be13ae7
bug:
65384336
Steven Moreland [Tue, 5 Sep 2017 22:41:40 +0000 (15:41 -0700)]
Remove media.cas requirement.
This is a requirement on android phones and tv but
not on watches. Owner will handle putting that requirement
in place, but removing requirement from this file
specifically only in order to have O-MR1 interfaces
frozen.
Bug:
63603463
Test: m system_compatibility_matrix.xml compatibility_matrix.xml manifest.xml system_manifest.xml -j
Change-Id: Iefdc231c2928dfdb8e04a5de8a08ab9b23bae73d
Roshan Pius [Tue, 5 Sep 2017 22:35:58 +0000 (22:35 +0000)]
Merge "wifi(implementation): Remove unnecessary local variable" into oc-mr1-dev
TreeHugger Robot [Tue, 5 Sep 2017 22:33:07 +0000 (22:33 +0000)]
Merge "wifi(implementation): Make WifiLegacyHal.stop() blocking" into oc-mr1-dev
Scott Randolph [Tue, 5 Sep 2017 21:51:35 +0000 (21:51 +0000)]
Merge "Add RINGTONE to Vehicle HAL AUDIO_FOCUS" into oc-mr1-dev
TreeHugger Robot [Tue, 5 Sep 2017 20:54:28 +0000 (20:54 +0000)]
Merge "Finalize O-MR1 compat matrix." into oc-mr1-dev
Scott Randolph [Wed, 16 Aug 2017 02:15:16 +0000 (19:15 -0700)]
Add RINGTONE to Vehicle HAL AUDIO_FOCUS
Test: build on Mojave with associated CarService changes
Change-Id: I7fcf9b4bb1808971f4fc8265a7d581dce57be3d3
Bug:
64729839
Tri Vo [Tue, 5 Sep 2017 18:42:17 +0000 (18:42 +0000)]
Merge changes I931dafbb,I845672b2 into oc-mr1-dev
* changes:
Thermal 1.1 test statically links to hal def libs.
Update thermal hal Android.bp.
Zhuoyao Zhang [Tue, 5 Sep 2017 18:33:42 +0000 (18:33 +0000)]
Merge "Fix VtsHalGraphicsComposerV2_1TargetTest" into oc-mr1-dev
Ram Mohan M [Sun, 3 Sep 2017 13:02:34 +0000 (13:02 +0000)]
Merge "bug fix: restore support for broken flag" into oc-dev am:
40aad4e988
am:
062192a1be
Change-Id: I8349103fed48e5eafeffa9ea4dfc78cbe82e1d1b
Ram Mohan M [Sun, 3 Sep 2017 12:55:06 +0000 (12:55 +0000)]
Merge "bug fix: restore support for broken flag" into oc-dev
am:
40aad4e988
Change-Id: Ied23d04f5c38f81ad732424d3577edf4d3cc085d
TreeHugger Robot [Sun, 3 Sep 2017 12:42:39 +0000 (12:42 +0000)]
Merge "bug fix: restore support for broken flag" into oc-dev
David Gross [Sat, 2 Sep 2017 22:56:48 +0000 (22:56 +0000)]
Merge "NNAPI Concurrent Query Management -- HAL and VTS update" into oc-mr1-dev
Ram Mohan M [Wed, 30 Aug 2017 06:26:33 +0000 (11:56 +0530)]
bug fix: restore support for broken flag
timestampDevTest flag can be used to disable timestamp deviation
tests. The flag is not working as intended. This is corrected.
Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO
Bug:
64743270
Bug:
65166112
Merged-In: I611e96498a4677b6ccbff33c291d56eed7b48f6f
Change-Id: I611e96498a4677b6ccbff33c291d56eed7b48f6f
TreeHugger Robot [Sat, 2 Sep 2017 08:22:50 +0000 (08:22 +0000)]
Merge "Modify SetDefaultPortParams test" into oc-mr1-dev
Ram Mohan M [Sat, 2 Sep 2017 03:50:43 +0000 (03:50 +0000)]
Merge "bug fix: disable timestamp deviation test for audio decoder" into oc-dev am:
febad058bd
am:
a87079c3d4
Change-Id: Ied9396646a58ca9b3f123c7db25df418b040a478
Ram Mohan M [Sat, 2 Sep 2017 03:44:45 +0000 (03:44 +0000)]
Merge "bug fix: disable timestamp deviation test for audio decoder" into oc-dev
am:
febad058bd
Change-Id: I09128311ab40316b17d99daeae375ff7535d0e63
TreeHugger Robot [Sat, 2 Sep 2017 03:40:15 +0000 (03:40 +0000)]
Merge "bug fix: disable timestamp deviation test for audio decoder" into oc-dev
Kevin Rocard [Thu, 31 Aug 2017 23:45:08 +0000 (16:45 -0700)]
Allow partially dynamic profile in the audio policy config
The audio policy configuration deserializer supports fully dynamic
profiles by not setting a profile in a port.
It also supports partially dynamic profile by
not setting @format, @samplingRates or @channelMasks
Nevertheless this last feature of partial dynamic profile
was mistakenly not allowed by the configuration xsd.
Bug:
63541622
Change-Id: I78f77a77a3c62bba28a7da5a0e3c8c608b5a01d9
Signed-off-by: Kevin Rocard <krocard@google.com>
Chia-I Wu [Mon, 24 Jul 2017 18:11:01 +0000 (11:11 -0700)]
graphics: ignore/reduce spurious vsync in VTS
Bug:
62802718
Test: VTS
Change-Id: I1ed73e0b2f14414f540865a96e6bd5ac1599fbf3
(cherry picked from commit
e0ff3e4a2679cb505e801db5df4d1546f6caa41a)
Michael Butler [Fri, 1 Sep 2017 17:59:38 +0000 (10:59 -0700)]
NNAPI Concurrent Query Management -- HAL and VTS update
The NNAPI requires requests on a model to be asynchronously
processed. This CL implements a basic Event that can later
be used to block the runtime thread until the asynchronous
request has completed.
Bug:
63905942
Test: VtsHalNeuralnetworksV1_0TargetTest (32-bit, 64-bit) with sample driver enabled by cherry-pick
frameworks/ml/nn/runtime/test with and without sample driver enabled
Change-Id: Ie27a574aaaac312e7cbb731750f9c06278357a1c
Ram Mohan M [Wed, 26 Jul 2017 12:00:32 +0000 (17:30 +0530)]
Modify SetDefaultPortParams test
1. For output port in video encoder and input port in video decoder,
it is allowed to configure the size of the buffer. Make adjustments
in the test application to validate this scenario.
2. useBuffer api call is allowed only after sending loaded to idle
state transition command. Ensure this requirement is met.
Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO
Bug:
63796949
Change-Id: I1aba7703e1344b87f556d3388a4cde8199898499
Ram Mohan M [Tue, 29 Aug 2017 08:38:47 +0000 (14:08 +0530)]
bug fix: handle multiple port settings change events signalled at once
Components can send various kinds of port settings changed events all
at once. During a full port reconfiguration this is causing problems
due to limited flexibility in the message handling design. For now,
before committing to a full port reconfiguration defer any events
waiting in the queue to be addressed to a later point.
Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO
Bug:
64468705
Change-Id: I537cdd3e7d92cdc6d54168f091d7897afe541599
Ram Mohan M [Fri, 1 Sep 2017 08:28:40 +0000 (13:58 +0530)]
bug fix: disable timestamp deviation test for audio decoder
Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO
Bug:
64128634
Bug:
65166112
Change-Id: I8a08a8da7dd203cd16cbfbfd3f15e27966db711f
Jean-Luc Brouillet [Fri, 1 Sep 2017 06:03:04 +0000 (23:03 -0700)]
Cleanup the constants.
- Alphabetize the operations.
- Remove N_GRAM operation.
- Add TENSOR_INT32.
Test: Compiled and ran the tests.
Bug:
63905942
Change-Id: Ie7d9dec671a409256b686ef4665171492d1ac16a
Jiyong Park [Tue, 29 Aug 2017 05:20:59 +0000 (14:20 +0900)]
HAL interface libs for testing are now built as test lib
The HAL interfaces for testing were copied to /system/lib[64]/vndk
directory since they are built as cc_library and thus falsely recognized
as members of VNDK, which isn't true.
Build them as cc_test_library so that they are filtered out. To do so,
.hidl_for_test files are added for the test HALs and update-makefiles.sh
were ran.
Bug:
64776708
Test: no android.hardware.tests.*.so file in /system/lib[64]/vndk on
2017 pixel devices
Change-Id: I5314db6cc08a43bccfc4521d4b80b614a91e7e48
Steven Moreland [Tue, 29 Aug 2017 21:37:44 +0000 (14:37 -0700)]
Finalize O-MR1 compat matrix.
Note, only new HALs for various shipping API levels
are added. No required HALs are added.
Test: (sanity) boot device w/o 'internal problem' error
Bug:
63603463
Change-Id: Ia400bdaf5d167ce8637ecdf940c5ccd629c8a09a
Tri Vo [Thu, 31 Aug 2017 20:35:03 +0000 (13:35 -0700)]
Thermal 1.1 test statically links to hal def libs.
Bug:
64040096
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalThermalV1_1Target
Change-Id: I931dafbbdb518e387615909a69f83e6a37c4a62f
Tri Vo [Thu, 31 Aug 2017 20:30:12 +0000 (13:30 -0700)]
Update thermal hal Android.bp.
Bug:
32920003
Bug:
64040096
Test: compiles
Change-Id: I845672b2b07ddba9b73f702555231674b4f45ad1
Zhuoyao Zhang [Thu, 31 Aug 2017 19:51:57 +0000 (12:51 -0700)]
Fix VtsHalGraphicsComposerV2_1TargetTest
Bug:
65252969
Test: make vts
Change-Id: Id4543b385ca9dce532bbf08ef206897924d66acb
Miao Wang [Wed, 30 Aug 2017 00:43:19 +0000 (17:43 -0700)]
Add OEM_OPERATION to NN HAL.
Bug:
63905942
Test: mm
Test: All unit tests pass on Sailfish
Change-Id: I8c8068b248d682fbf1db37de78666c9cbca376b4
Yang Ni [Thu, 31 Aug 2017 15:11:04 +0000 (15:11 +0000)]
Merge "Replace LOOKUP with EMBEDDING and HASHTABLE_LOOKUP" into oc-mr1-dev
Wyatt Riley [Wed, 30 Aug 2017 23:57:23 +0000 (23:57 +0000)]
Merge "Adding owners for gnss hardware interfaces" into oc-mr1-dev
TreeHugger Robot [Wed, 30 Aug 2017 22:35:31 +0000 (22:35 +0000)]
Merge "cas: fix missing error code conversion" into oc-mr1-dev
Zhuoyao Zhang [Wed, 30 Aug 2017 21:50:20 +0000 (21:50 +0000)]
Merge "Update vts test to use the updated test template." into oc-mr1-dev
TreeHugger Robot [Wed, 30 Aug 2017 16:10:37 +0000 (16:10 +0000)]
Merge "Fix HALs to not have transitive depends." into oc-mr1-dev
Wyatt Riley [Wed, 30 Aug 2017 00:47:11 +0000 (17:47 -0700)]
Adding owners for gnss hardware interfaces
Bug # is example where owners file would have
appropriate expedited the fix.
Bug:
64482271
Test: Treehugger (if relevant) - OWNERS file only
Change-Id: If82a2794ae40d48542006674c3c57a1e21c5124b
Chong Zhang [Wed, 30 Aug 2017 01:37:21 +0000 (18:37 -0700)]
cas: fix missing error code conversion
bug:
22804304
Change-Id: Ia950e12f7feef3eeb16596c0939aaeb61bfdf5df
TreeHugger Robot [Tue, 29 Aug 2017 23:31:22 +0000 (23:31 +0000)]
Merge "Setting clock flags for GPS clock" into oc-mr1-dev
Zhuoyao Zhang [Thu, 24 Aug 2017 23:35:50 +0000 (16:35 -0700)]
Update vts test to use the updated test template.
* For registerTestService/getServiceName, no need to pass
any hard coded string of HAL service FQName.
* Affect test: VtsHalCameraProviderV2_4TargetTest,
VtsHalGraphicsComposerV2_1TargetTest,
VtsHalNeuralnetworksV1_0TargetTest
Bug:
62946472
Bug:
64203181
Test: make vts
vts-tradefed run vts -m VtsHalCameraProviderV2_4Target
Merged-In: If365ab2ed9a91eb4013d71769804b9d4bf089d66
Change-Id: Id0bddbc2949337147557f45cc60dbfaa114ce25e
(cherry picked from commit
d71b654d6d86245dec330aa5b338b39dcb728a22)
Tomasz Wasilczyk [Tue, 29 Aug 2017 14:03:01 +0000 (14:03 +0000)]
Merge "Move Broadcast Radio HAL to a separate binary." into oc-mr1-dev
Kevin Rocard [Tue, 29 Aug 2017 00:49:09 +0000 (00:49 +0000)]
Merge "Audio VTS: Look for Audio policy config in all supported folders" into oc-dev am:
4f3c28ad7a
am:
b06f544d22
Change-Id: Id525d075289896bb5cb708aa104eef0ee622d61c
Kevin Rocard [Tue, 29 Aug 2017 00:34:29 +0000 (00:34 +0000)]
Merge "Audio VTS: Look for Audio policy config in all supported folders" into oc-dev
am:
4f3c28ad7a
Change-Id: I43a48595607a1c38475aec81232008ac76cdd5b1
TreeHugger Robot [Tue, 29 Aug 2017 00:19:03 +0000 (00:19 +0000)]
Merge "Audio VTS: Look for Audio policy config in all supported folders" into oc-dev
Roshan Pius [Mon, 28 Aug 2017 23:14:22 +0000 (16:14 -0700)]
wifi(implementation): Remove unnecessary local variable
Bug:
65058323
Test: Compiles
Change-Id: Ib268234837f5b381572c8038e7900a145fb32249
Roshan Pius [Fri, 11 Aug 2017 22:47:42 +0000 (15:47 -0700)]
wifi(implementation): Make WifiLegacyHal.stop() blocking
IWifi::stop() is currently non-blocking which makes it hard for the
client to determing when the stop is fully complete. This for example
causes wificond to disable the wlan0 interface while the legacy HAL
stop is being processed. So, add a timed wait to let the legacy HAL
complete processing of the stop before we unblock the IWifi::stop()
HIDL call.
Bug:
64611487
Test: Manual tests by wifi state toggling and verifying the order of
events in logs:
08-15 19:17:53.302 796 796 I android.hardware.wifi@1.0-service:
Stopping legacy HAL
08-15 19:17:53.302 796 796 I WifiHAL : Sent msg on exit sock to
unblock poll()
08-15 19:17:53.302 796 4793 E CLD80211:
/vendor/bin/hw/android.hardware.wifi@1.0-service: Could not find group
host_logs, errno: 0 id: -2
08-15 19:17:53.302 796 4793 E CLD80211:
/vendor/bin/hw/android.hardware.wifi@1.0-service: Could not find group
fw_logs, errno: 0 id: -2
08-15 19:17:53.302 796 4793 E CLD80211:
/vendor/bin/hw/android.hardware.wifi@1.0-service: Could not find group
per_pkt_stats, errno: 0 id: -2
08-15 19:17:53.302 796 4793 E CLD80211:
/vendor/bin/hw/android.hardware.wifi@1.0-service: Could not find group
diag_events, errno: 0 id: -2
08-15 19:17:53.302 796 4793 E CLD80211:
/vendor/bin/hw/android.hardware.wifi@1.0-service: Could not find group
fatal_events, errno: 0 id: -2
08-15 19:17:53.302 796 4793 I CLD80211:
/vendor/bin/hw/android.hardware.wifi@1.0-service: Sent msg on exit sock
to unblock poll()
08-15 19:17:53.302 796 4793 I android.hardware.wifi@1.0-service:
Legacy HAL stop complete callback received
08-15 19:17:53.304 802 838 D CHRE : @ 151.328: [Platform] wifi:
has 0, enabled 0
08-15 19:17:53.321 796 4793 I android.hardware.wifi@1.0-service:
Legacy HAL event loop terminated
08-15 19:17:53.321 796 796 I android.hardware.wifi@1.0-service:
Legacy HAL stop complete
08-15 19:17:53.522 796 796 I android.hardware.wifi@1.0-service: Wifi
HAL stopped
Test: Will send for regression tests.
Change-Id: I394c11724e9459a4b9a6b970e2bcb4e0ad65fefc
Steven Moreland [Sat, 26 Aug 2017 00:10:07 +0000 (17:10 -0700)]
Fix HALs to not have transitive depends.
Bug in hidl-gen allowed this to work.
Test: -Lcheck
Bug:
65055216
Change-Id: Ia0cbaac4c8bfd93be169f4fab5c9ce016ee6c473
Tomasz Wasilczyk [Tue, 8 Aug 2017 00:05:14 +0000 (17:05 -0700)]
Move Broadcast Radio HAL to a separate binary.
Bug:
63600413
Test: VTS, instrumentation
Change-Id: I34a779a6608f52bcadaca1dc159bcee02186b49f
TreeHugger Robot [Mon, 28 Aug 2017 04:59:12 +0000 (04:59 +0000)]
Merge changes from topic "o-mr1-hal-freeze" into oc-mr1-dev
* changes:
O-MR1: HIDL freeze-commit
Move auto hash to right location in current.txt.
TreeHugger Robot [Mon, 28 Aug 2017 04:52:23 +0000 (04:52 +0000)]
Merge "Configstore HAL is down-revisioned to 1.0" into oc-mr1-dev
David Gross [Sat, 26 Aug 2017 17:46:35 +0000 (17:46 +0000)]
Merge "Fix test that broke when number of ADD inputs increased from 2 to 3." into oc-mr1-dev
David Gross [Fri, 25 Aug 2017 23:25:01 +0000 (16:25 -0700)]
Fix test that broke when number of ADD inputs increased from 2 to 3.
Test: vts: nn32, nn64
Bug:
63905942
Change-Id: Ie4b237d0c16247d7774a13384a59453da94c5d91
Peng Xu [Fri, 25 Aug 2017 22:23:40 +0000 (22:23 +0000)]
Merge "Sensor VTS testBatchingOperation flakiness fix" into oc-dev am:
751953859c
am:
b8197386f9
Change-Id: Id6470f4a31469da02a8b3d4b4b258e863a9bb234
Peng Xu [Fri, 25 Aug 2017 22:21:41 +0000 (22:21 +0000)]
Merge "Sensor VTS testBatchingOperation flakiness fix" into oc-dev
am:
751953859c
Change-Id: I8800d11d6b137488674f3159941135bce374d3a6
TreeHugger Robot [Fri, 25 Aug 2017 22:12:24 +0000 (22:12 +0000)]
Merge "Sensor VTS testBatchingOperation flakiness fix" into oc-dev
Steven Moreland [Fri, 25 Aug 2017 19:41:36 +0000 (12:41 -0700)]
O-MR1: HIDL freeze-commit
Freezing libraries which are being released in O-MR1.
Note the following remaining items:
- configstore@1.1 will be removed from O-MR1 (since it doesn't
add anything)
- neuralnetworks@1.0 will be frozen later (as it has some
remaining changes in progress)
Bug:
63603463
Test: -Lcheck
Change-Id: I888896a66e742613d0ce64c4ca6206972ac6aca8
Yifan Hong [Fri, 25 Aug 2017 19:29:46 +0000 (19:29 +0000)]
Merge "Remove hardcoded <kernel> version from fwk comp mat" into oc-mr1-dev
Yifan Hong [Thu, 24 Aug 2017 21:19:54 +0000 (14:19 -0700)]
Remove hardcoded <kernel> version from fwk comp mat
They are injected via assemble_vintf by the build system
at build time. See build/make/target/board/Android.mk.
Test: m system_compatibility_matrix.xml, and manually
inspect $OUT/system/compatibility_matrix.xml; it contains
<kernel> versions.
Bug:
64124223
Change-Id: Ibf82efa0805233dedb6badce7e5a4ff62a9ff769
Merged-In: Ibf82efa0805233dedb6badce7e5a4ff62a9ff769
Steven Moreland [Fri, 25 Aug 2017 17:45:10 +0000 (10:45 -0700)]
Move auto hash to right location in current.txt.
This doesn't actually matter in practice, but this
will help keep the file sane and make sure the wrong
hashes aren't modified in the future.
Test: pass
Bug:
63603463
Change-Id: I89e320d36c41b08ebbcee320ac37565bb1aa708c
TreeHugger Robot [Fri, 25 Aug 2017 17:38:18 +0000 (17:38 +0000)]
Merge "Bluetooth: Return false when not shut down" into oc-mr1-dev
Sundong Ahn [Mon, 10 Jul 2017 04:56:10 +0000 (13:56 +0900)]
Configstore HAL is down-revisioned to 1.0
Configstore was up-revisioned from 1.0 to 1.1. However no new
APIs were added to 1.1. Therefore configstore in mr1 will be down
revisioned to 1.0.
Bug:
64999074
Test: lshal | grep configsotre
Test: "cat proc/<configstore pid>/status | grep Seccomp " return:
Seccomp: 2
Change-Id: Ia2614439cd620fbe5fbd427571ab55a15089cc47
Myles Watson [Thu, 24 Aug 2017 16:13:02 +0000 (09:13 -0700)]
Bluetooth: Return false when not shut down
Do not crash in the vendor layer. The stack will crash
when it fails to initialize.
Bug:
64535243
Test: Bluetooth starts/stops
Change-Id: I69fdd2879c80fa2f006c50f0a42a85e9289b14fe
Myles Watson [Fri, 11 Aug 2017 23:47:28 +0000 (16:47 -0700)]
Bluetooth: Check H4 HCI packet types
An invalid type byte can cause an access outside
the bounds of the array.
Bug:
64565737
Test: Bluetooth On/Off
Change-Id: Ie11dd62942f66b9fc60ebce2e4339c37d597fdf0
Wyatt Riley [Fri, 25 Aug 2017 14:02:58 +0000 (07:02 -0700)]
Setting clock flags for GPS clock
Full bias nanosecond flag is now set correctly for
legacy GpsData (vs. modern GnssData) implementations
of gps.h measurements, going through default GNSS
HAL implementation.
Change-Id: Iec8f03994b6d9e509221e1323b54dc997319fccc
Fixes:
64482271
Test: Before/after on device with GnssLogger
Pavel Maltsev [Fri, 25 Aug 2017 06:57:31 +0000 (06:57 +0000)]
Merge "Merge Vehicle HAL 2.1 iface to 2.0" into oc-mr1-dev
Ram Mohan M [Fri, 25 Aug 2017 05:20:42 +0000 (05:20 +0000)]
Merge "bug fix: output colorformat configuration fixed" into oc-dev am:
1e15657ca1
am:
0e42ac3399 -s ours
Change-Id: Iee420fcb4df06d89f56966779cc4dd4d885321e7
Ram Mohan M [Fri, 25 Aug 2017 05:16:14 +0000 (05:16 +0000)]
Merge "bug fix: output colorformat configuration fixed" into oc-dev
am:
1e15657ca1
Change-Id: I1bf3c443058ab57baba7c51e3f9f0ae662e61882
TreeHugger Robot [Fri, 25 Aug 2017 05:09:25 +0000 (05:09 +0000)]
Merge "bug fix: output colorformat configuration fixed" into oc-dev
Pavel Maltsev [Thu, 24 Aug 2017 22:09:41 +0000 (15:09 -0700)]
Merge Vehicle HAL 2.1 iface to 2.0
Vehicle HAL is property based and all properties are considered
optional. It is quite a bit of pain to create new versions of VHAL only
to extend properties.
Bug:
64303350
Test: build and flash, verefied system works stable.
Change-Id: I8adb858f53a5d9d31f7444bf97ae09baf2fffafa
TreeHugger Robot [Thu, 24 Aug 2017 21:54:47 +0000 (21:54 +0000)]
Merge "Drm test static links to HAL def libs." into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 18:27:35 +0000 (18:27 +0000)]
Merge "Camera: Add new minor revision camera.device@3.3" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 18:12:08 +0000 (18:12 +0000)]
Merge "configstore: Allow syscalls needed by crash_dump" into oc-mr1-dev
Brian Duddie [Thu, 24 Aug 2017 17:32:22 +0000 (17:32 +0000)]
Merge "contexthub: Pass target API version in new fields" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 12:22:34 +0000 (12:22 +0000)]
Merge "Modify StateTransitions test" into oc-mr1-dev
Jeff Vander Stoep [Fri, 18 Aug 2017 20:51:43 +0000 (13:51 -0700)]
configstore: Allow syscalls needed by crash_dump
Information such as tombstones and callstack are important when
debugging why a process crashed. configstore's seccomp filter
and selinux policy are currently overly strict and are blocking
the collection of crash data.
In order to keep configstore's sandbox as strict as possible, use
Crash_dump's fallback mechanism to collect crash data. This uses a
local socket to send crash data to tombstoned.
Bug:
64768925
Test: killall -ABRT android.hardware.configstore@1.1-service
Verify that configstore callstack gets dumped to logcat.
Verify that a crash tombstone gets recorded to /data/tombstones
Test: proto_fuzzer runs without crashing
Change-Id: I3c3e13d6aa1c1e2dda2a619dfa815375ee7ebff6
(cherry picked from commit
60ced291129198d7c7a954c32811dec9bd71d83a)