Commit graph

6134 commits

Author SHA1 Message Date
Ram Mohan M
abd363e852 Merge "bug fix: close file pointer" into oc-dev am: 8735fb45a5
am: 51f04884ba  -s ours

Change-Id: Iaa1a97e0771874b65adf0eab0a48de7eed78be6d
2017-08-19 01:48:16 +00:00
Ram Mohan M
5586d35c12 Merge "bug fix: configure input port buffer size" into oc-dev am: bc769a7e5a
am: 2eedb46745  -s ours

Change-Id: Ic49186056e830ac1edbe299fc35ced4105f2690c
2017-08-19 01:47:54 +00:00
Ram Mohan M
51f04884ba Merge "bug fix: close file pointer" into oc-dev
am: 8735fb45a5

Change-Id: I7ca0f4992804da30eaac7ca24b2dbe9004a5ac55
2017-08-19 01:45:20 +00:00
Ram Mohan M
2eedb46745 Merge "bug fix: configure input port buffer size" into oc-dev
am: bc769a7e5a

Change-Id: I3a9b89f4c64d1129ea59a0144937832d93ed81fd
2017-08-19 01:44:50 +00:00
TreeHugger Robot
8735fb45a5 Merge "bug fix: close file pointer" into oc-dev 2017-08-19 00:30:10 +00:00
TreeHugger Robot
bc769a7e5a Merge "bug fix: configure input port buffer size" into oc-dev 2017-08-19 00:30:05 +00:00
Nick Desaulniers
e637aa32b8 biometrics: fingerprint: add locking to default impl
There exists the following race condition:
a). thread A receives setNotify and sets the callback to some object
b). thread B of the wrapped implementation calls
BiometricsFingerprint::notify which it was given a handle to. Thread B
executes past the nullptr check:
c). thread A receives setNotify and sets the callback to some other
object (or nullptr)
d). thread B resumes in notify with unknown state

Add mutex to protect access to mClientCallback.

Change-Id: I9163204ff5802e9246056caeb2a7857e6138531c
Fixes: 64802340
Test: VtsHalBiometricsFingerprintV2_1IfaceFuzzer
2017-08-18 17:14:53 +00:00
TreeHugger Robot
b96a339f5a Merge "Increase thread pool for VHAL 2.1" into oc-mr1-dev 2017-08-18 16:54:14 +00:00
Pavel Maltsev
d4ffeb71bc Increase thread pool for VHAL 2.1
Fixes: 36510399

Test: runtest -x
packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/E2ePerformanceTest.java

Change-Id: Id5638f63c6ff23bb78675fa07a2f3922bb7e3d73
2017-08-18 16:54:01 +00:00
Jeff Tinker
8813c2b43f Allow clearkey tests to run if no vendor modules am: 5db2e67293
am: 66812dc364

Change-Id: I6369dd486c35c842c1d0f1f151b3b468ef94ab4c
2017-08-18 04:13:04 +00:00
Jeff Tinker
66812dc364 Allow clearkey tests to run if no vendor modules
am: 5db2e67293

Change-Id: I594b8b5e9857d4a6c19d0847acf7c13949e13614
2017-08-18 04:07:04 +00:00
TreeHugger Robot
0597381111 Merge "Load libRS_internal.so from the rs namespace" into oc-mr1-dev 2017-08-18 03:07:50 +00:00
Jeff Tinker
5db2e67293 Allow clearkey tests to run if no vendor modules
DRM cannot skip all tests when vendor modules are
not present. Currently even the clearkey tests are
skipping when there is no vendor lib. This can be
replicated by just pushing the DRM VTS test binary
build from master (or DR or MR) and executing the
binary without VTS. All test cases skip (including
clearkey).

This change prevents exiting when no vendor
modules are found.

Test: Push the test binary and confirm that the
clearkey tests run.

bug:64459011
Change-Id: Ic5f554d9b223d6ca4bf26f92f072254cc18f4620
2017-08-17 17:39:19 +00:00
Ram Mohan M
727b2ba98c bug fix: close file pointer
Bug: 63796949

Merged-In: Ifd8a27d851cbc659ea8108e0879747cd9169680a
Change-Id: Ifd8a27d851cbc659ea8108e0879747cd9169680a
2017-08-17 05:31:52 -07:00
Ram Mohan M
9ce313a7b3 bug fix: configure input port buffer size
In video decoders, size of a single input frame (elementary-stream)
is dependent on width, height, color format, profile settings, ...
Most of this information is part of sps, pps and requires parsing.
But as the max size of the stream is known ahead, use it to configure
the input buffer size requirements

Bug: 63875287
Bug: 63796949

Merged-In: Ib760c4f55b094260a0abd120f852dcf1899df4e0
Change-Id: Ib760c4f55b094260a0abd120f852dcf1899df4e0
2017-08-17 05:31:33 -07:00
Miao Wang
5a9c0c3186 Merge "Remove the data type from the OperationType enum." into oc-mr1-dev 2017-08-16 23:47:06 +00:00
Edwin Wong
75c7efe507 Merge "Add test for additional ClearKey UUID." into oc-mr1-dev 2017-08-16 22:22:38 +00:00
Tri Vo
c619cac2be Merge "Audio test statically links to dependencies." into oc-mr1-dev 2017-08-16 17:33:24 +00:00
Jiyong Park
a7ef697a0a Load libRS_internal.so from the rs namespace
Bug: 64747884
Test: VtsHalRenderscriptV1_0TargetTest successful on the device built
with BOARD_VNDK_VERSION=current and [system] namespace config is applied
to /data/nativetest[64]/* processes.

Change-Id: I9e967c80ac2dba718cd47e1f378bcbf18abe9ad2
2017-08-16 23:35:57 +09:00
TreeHugger Robot
22898c0ed7 Merge "bug fix: close file pointer" into oc-mr1-dev 2017-08-16 04:25:11 +00:00
TreeHugger Robot
97d68ba8f2 Merge "bug fix: configure input port buffer size" into oc-mr1-dev 2017-08-16 04:23:43 +00:00
TreeHugger Robot
5920714752 Merge "[AWARE] Fix maxNdpSessions documentation" into oc-mr1-dev 2017-08-15 22:53:06 +00:00
Roshan Pius
c0e5e08634 Merge "wifi(implementation): Reduce logging severity" into oc-mr1-dev 2017-08-15 22:14:00 +00:00
Emilian Peev
b7200954cb Merge "Camera: Switch 'cancelPictureFail' to 'cancelPictureNOP'" into oc-dr1-dev
am: 92d3bc1e1a  -s ours

Change-Id: I1a648056655a978d867b50a53d929c646fc6d035
2017-08-15 21:11:13 +00:00
Emilian Peev
689b3555c2 Merge "Camera: Switch 'cancelPictureFail' to 'cancelPictureNOP'" into oc-dev am: e2dae8c258
am: 5d18c87e88  -s ours

Change-Id: Ib03c1512099ec88e1c65672dadbe29ef3b9d9086
2017-08-15 21:10:24 +00:00
TreeHugger Robot
fc371311ad Merge "Camera: Switch 'cancelPictureFail' to 'cancelPictureNOP'" into oc-mr1-dev 2017-08-15 20:51:33 +00:00
TreeHugger Robot
92d3bc1e1a Merge "Camera: Switch 'cancelPictureFail' to 'cancelPictureNOP'" into oc-dr1-dev 2017-08-15 20:44:58 +00:00
Emilian Peev
5d18c87e88 Merge "Camera: Switch 'cancelPictureFail' to 'cancelPictureNOP'" into oc-dev
am: e2dae8c258

Change-Id: I396a157f3522843c3d36870719cb3e5176754dcc
2017-08-15 20:27:50 +00:00
TreeHugger Robot
e2dae8c258 Merge "Camera: Switch 'cancelPictureFail' to 'cancelPictureNOP'" into oc-dev 2017-08-15 20:17:11 +00:00
Emilian Peev
e2ecbe00f0 Camera: Switch 'cancelPictureFail' to 'cancelPictureNOP'
Calls to 'cancelPicture' should be no-ops in case image capture
is not active.

Bug: 64569316
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --primary-abi-only --module
VtsHalCameraProviderV2_4Target -l INFO
Change-Id: I5fad0a5b7aafd208c3a1b2f62a2b9046cde858d1
2017-08-15 18:22:08 +00:00
Emilian Peev
3a5a3c6166 Camera: Switch 'cancelPictureFail' to 'cancelPictureNOP'
Calls to 'cancelPicture' should be no-ops in case image capture
is not active.

Bug: 64569316
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --primary-abi-only --module
VtsHalCameraProviderV2_4Target -l INFO
Merged-In: I5fad0a5b7aafd208c3a1b2f62a2b9046cde858d1
Change-Id: I5fad0a5b7aafd208c3a1b2f62a2b9046cde858d1
2017-08-15 18:20:48 +00:00
Tri Vo
eb8dfd8c01 Audio test statically links to dependencies.
This test now statically links to libs not guaranteed to be on the
device.

Bug: 64040096
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check 
--primary-abi-only --skip-preconditions 
--module VtsHalAudioEffectV2_0Target
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check 
--primary-abi-only --skip-preconditions 
--module VtsHalAudioV2_0Target

Change-Id: I331d7e4abdf7e520df6d508a8059b6358ad4398f
2017-08-15 17:38:58 +00:00
Roshan Pius
d6ce826894 wifi(implementation): Reduce logging severity
IE elements should not be present in the batched scan results, but it
being there doesn't cause any problems. The IE elements will be ignored
when we send it over the HIDL interface, so reduce the log level to
prevent log spamming.

Bug: 64448186
Test: None
Change-Id: Ia0d0312a113c907bb0992bb8f41e734fe9d05114
2017-08-15 08:42:50 -07:00
Ram Mohan M
285f8b116e bug fix: close file pointer
Bug: 63796949

Change-Id: Ifd8a27d851cbc659ea8108e0879747cd9169680a
2017-08-15 04:56:40 -07:00
Ram Mohan M
96743b4257 bug fix: configure input port buffer size
In video decoders, size of a single input frame (elementary-stream)
is dependent on width, height, color format, profile settings, ...
Most of this information is part of sps, pps and requires parsing.
But as the max size of the stream is known ahead, use it to configure
the input buffer size requirements

Bug: 63875287
Bug: 63796949

Change-Id: Ib760c4f55b094260a0abd120f852dcf1899df4e0
2017-08-15 04:55:40 -07:00
TreeHugger Robot
b417e4c605 Merge "Tetheroffload tests static link to HAL def libs." into oc-mr1-dev 2017-08-14 22:16:17 +00:00
Etan Cohen
36591cb5f5 [AWARE] Fix maxNdpSessions documentation
Clarify meaning of maxNdpSessions capability. Total, not per interface.

Bug: 64685830
Test: builds
Change-Id: I24fc0a97172a4ca161f432b6c5c1dc55a44dfb12
2017-08-14 14:12:11 -07:00
Miao Wang
a5a663c6e5 Remove the data type from the OperationType enum.
- Now the driver needs to report a list of tuple
    {OperationType, OperandType} for capabilities.
  - Any time Operation information is passed across HIDL,
    it should be passed as the tuple {OperationType, OperandType}

Bug: 63905942
Test: mm
Change-Id: I909b5acf4936f65c242ee0925d3a1ac665f46131
2017-08-11 18:35:24 -07:00
Tomasz Wasilczyk
848f29c2d1 Merge "Widen dummy band range to cover all regions." into oc-mr1-dev 2017-08-12 00:15:55 +00:00
Tomasz Wasilczyk
db825ba570 Merge "Update broadcastradio HAL 1.0 VTS tests." into oc-dev am: 52af675d14
am: fc73b0fcbd  -s ours

Change-Id: I4f9fcf22f98f9c40290d321fabe05a082524da19
2017-08-11 22:19:44 +00:00
Tomasz Wasilczyk
fc73b0fcbd Merge "Update broadcastradio HAL 1.0 VTS tests." into oc-dev
am: 52af675d14

Change-Id: Ic5080cb6b22cd3984d0eb39d87cabf7c8a30178d
2017-08-11 22:16:16 +00:00
Tomasz Wasilczyk
52af675d14 Merge "Update broadcastradio HAL 1.0 VTS tests." into oc-dev 2017-08-11 22:11:31 +00:00
Tri Vo
04c2a19598 Tetheroffload tests static link to HAL def libs.
Bug: 64040096
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalTetherOffloadControlV1_0Target
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalTetherOffloadConfigV1_0Target
Change-Id: Ib771c07646f3e219c7b9ba4be5515552d7fd6348
2017-08-11 14:53:16 -07:00
Tomasz Wasilczyk
9e7774c3b9 Update broadcastradio HAL 1.0 VTS tests.
This is a cherry-pick of the following VTS changes from O MR1 to O:
 - ag/2462390: Fix Broadcast radio 1.0 VTS to not fail on
   other radio types than AM/FM.
 - ag/2477726: Make tuned field description more precise and
   fix VTS tests to obey it.
 - ag/2549733: Implement out-of-band metadata images (a test for in-band).

Additionally, it fixes config callback handling in OpenTunerTwice test.

Bug: b/64324703
Test: VTS
Change-Id: I590b9b4d927fb0cd41f92e919343b5b94ad0e246
Merged-In: I590b9b4d927fb0cd41f92e919343b5b94ad0e246
2017-08-11 11:58:09 -07:00
TreeHugger Robot
b0e7821fcb Merge "Update broadcastradio HAL 1.0 VTS tests." into oc-mr1-dev 2017-08-11 18:56:16 +00:00
TreeHugger Robot
b5a807de3a Merge "configstore: sandbox with seccomp filter" into oc-mr1-dev 2017-08-11 16:40:06 +00:00
Emilian Peev
be959695e3 Camera: Switch 'cancelPictureFail' to 'cancelPictureNOP'
Calls to 'cancelPicture' should be no-ops in case image capture
is not active.

Merged-In: I5fad0a5b7aafd208c3a1b2f62a2b9046cde858d1
Bug: 64569316
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --primary-abi-only --module
VtsHalCameraProviderV2_4Target -l INFO

Change-Id: I5fad0a5b7aafd208c3a1b2f62a2b9046cde858d1
2017-08-11 10:42:05 +01:00
Tomasz Wasilczyk
394b343ae5 Update broadcastradio HAL 1.0 VTS tests.
This is a cherry-pick of the following VTS changes from O MR1 to O:
 - ag/2462390: Fix Broadcast radio 1.0 VTS to not fail on
   other radio types than AM/FM.
 - ag/2477726: Make tuned field description more precise and
   fix VTS tests to obey it.
 - ag/2549733: Implement out-of-band metadata images (a test for in-band).

Additionally, it fixes config callback handling in OpenTunerTwice test.

Bug: b/64324703
Test: VTS
Change-Id: I590b9b4d927fb0cd41f92e919343b5b94ad0e246
2017-08-10 20:28:18 -07:00
TreeHugger Robot
e6aeacdaa1 Merge "Mark diagnostic values as either being numerically equivalent to OBD2 values, or providing the equivalent OBD2 value" into oc-mr1-dev 2017-08-11 01:47:49 +00:00
Tri Vo
c20d4caa4c Merge "Keymaster test statically links to dependencies." into oc-mr1-dev 2017-08-11 01:07:22 +00:00