OSDN Git Service
Yin-Chia Yeh [Fri, 21 Apr 2017 21:59:31 +0000 (14:59 -0700)]
Camera: use gralloc mapper for handle import
Bug:
37540361
Test: marlin, smoke test GCA
Change-Id: I9d58d9c6af20b37c016f036bce2dcf55817c59aa
Wei Wang [Thu, 27 Apr 2017 18:36:50 +0000 (18:36 +0000)]
Merge "Clean up after RTT operations finished. (1/2)" into oc-dev
Chia-I Wu [Wed, 26 Apr 2017 16:44:39 +0000 (09:44 -0700)]
graphics: remove non-HAL pixel formats
HALs are not expected to see YCBCR_422_888, YCBCR_444_888,
FLEX_RGB_888, and FLEX_RGBA_8888. JPEG is purely wrong.
Note, current.txt change (as opposed to addition) is only allowed
because this is an unreleased interface.
Bug:
32593292
Test: builds
Change-Id: I432e6cb75cfc347a41e8e1632ae1898eed3350c8
Chia-I Wu [Tue, 18 Apr 2017 20:37:49 +0000 (13:37 -0700)]
graphics: clean up PixelFormat docs
Make the docs more self-contained, not referring to stuff not
defined by the HIDL interfaces.
Mark JPEG, YCBCR_422_888, YCBCR_444_888, FLEX_RGB_888,
FLEX_RGBA_8888 as "MUST NOT USE". These format are never supposed
to be seen by gralloc and do not belong to the HIDL interfaces.
Note, current.txt change (as opposed to addition) is only allowed
because this is an unreleased interface.
Bug:
32593292
Test: builds
Change-Id: Ia7607cc73dd2f58dfa27e71b0004b21c7ca6904d
Chia-I Wu [Thu, 27 Apr 2017 16:54:03 +0000 (16:54 +0000)]
Merge "graphics: reorder PixelFormat" into oc-dev
Chia-I Wu [Tue, 18 Apr 2017 20:36:37 +0000 (13:36 -0700)]
graphics: reorder PixelFormat
Sort the enum values in their numerical order. There is no other
change.
Note, current.txt change (as opposed to addition) is only allowed
because this is an unreleased interface.
Bug:
32593292
Test: builds
Change-Id: I47914a7971f922f5602f982b41dd7602842e853b
Zhuoyao Zhang [Thu, 27 Apr 2017 16:28:17 +0000 (16:28 +0000)]
Merge "Basic audio/video encoder/decoder test." into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 06:59:26 +0000 (06:59 +0000)]
Merge "Add onAcquired log back" into oc-dev
Wei Wang [Tue, 25 Apr 2017 02:03:24 +0000 (19:03 -0700)]
Clean up after RTT operations finished. (1/2)
Bug:
36185358
Test: Manual with RTT app.
Change-Id: Ic9c9d020acaf384664a9881ec2806f941b7a0c1c
Randy Pan [Thu, 27 Apr 2017 01:19:44 +0000 (18:19 -0700)]
Revert "Add capabilities for wifi_hal_legacy"
This reverts commit
1addbeaa4672adae37ade6784d7a99b6bf1e0604.
It breaks WiFi connectivity on Fugu.
Bug:
37713566
Test: Able to connect to GoogleGuest on Fugu.
TreeHugger Robot [Thu, 27 Apr 2017 00:56:34 +0000 (00:56 +0000)]
Merge changes from topic 'fix_configure_chip' into oc-dev
* changes:
Fix configureChip() VTS test
Return ERROR_NOT_SUPPORTED when configureChip() is used for reconfiguration
TreeHugger Robot [Wed, 26 Apr 2017 23:25:37 +0000 (23:25 +0000)]
Merge "stop bluetooth service while VTS test is running" into oc-dev
Shuo Qian [Wed, 26 Apr 2017 23:21:22 +0000 (23:21 +0000)]
Merge "Update .hal file for fixing vts tests" into oc-dev
Shuo Qian [Wed, 26 Apr 2017 23:21:22 +0000 (23:21 +0000)]
Merge "Fix Vts errors" into oc-dev
Mikhail Naganov [Wed, 26 Apr 2017 22:53:31 +0000 (22:53 +0000)]
Merge "audiohal: Fix handling of invalid arguments in 'debugDump' methods" into oc-dev
Ram Mohan M [Wed, 19 Apr 2017 09:01:19 +0000 (14:31 +0530)]
Basic audio/video encoder/decoder test.
Bug:
32023356
TODO: cleanup the test code b/
37719510
ComponentTest :-
1. allocatePortBuffers cleanup
2. More than one test fixture performs State transitions
(Loaded <-> Idle <-> Execute). So, this is moved to a routine and
invoked when needed.
3. Dispatch input/output buffers code section is moved to a routine
4. Seperated Test fixtures StateTransitions_Flush
5. Added Doc string
6. Test component port population
AudioDecTest :-
1. Backport Cleanup changes from ComponentTest to AudioDecTest
2. Added elementary streams for the following codecs mp3, amr-nb &
Updated paths to elementary streams in audio decoder test
Test: Tested ComponentTest and AudioDecTest for mp3
Change-Id: I90decde4dfab55c3d456dfd88b474dd5abe8eebc
List Available components (roles) in android media framework
Change-Id: I210665843e997e60b167f2d680c87b1cc4f90c58
add README.md
Change-Id: I3a2a057d10b18f4f374928a996b8b4ea4b084770
add basic video decoder tests
for a given component test for successful decoding of an input clip
Test: tested for softavc decoder
Change-Id: I2f4c034c34a456e1ed0c2d32ef381ca48aeda8ff
add basic audio encoder tests
for a given component, test for successful encoding of an input clip
Test: tested on softaac, softamrnb, softamrwb & softflac components
Change-Id: I05f5646ffed37143a21ea72f0fd782c2bb5c4d82
add basic video encoder tests
For a given component test successful encoding of nframes of a
raw video clip
Test: tested on softavc encoder.
Change-Id: Ia1d754061e8362f6c08a2be3d6384c95589a36de
sqian [Thu, 13 Apr 2017 00:44:49 +0000 (17:44 -0700)]
Fix Vts errors
- Add REQUEST_NOT_SUPPORT into General Errors
- Add a util function to check General Errors
- Add a util function to check OEM Errors
- Changes to RIL command api tests based on the QC provided pdf
to see if the errors from vts-web can be fixed
Test: Manual
Bug:
35671595
Change-Id: I9500c686a75539dab37f0272349bc2f965cc0a8f
Ningyuan Wang [Fri, 21 Apr 2017 16:54:07 +0000 (09:54 -0700)]
Fix configureChip() VTS test
Bug:
36562856
Bug:
37446050
Test: compile, vts test pass
Change-Id: I99ee0336d9cc11329de560daf26216ac15e5a0a9
sqian [Wed, 26 Apr 2017 01:00:34 +0000 (18:00 -0700)]
Update .hal file for fixing vts tests
- update 'voice' and 'sms' based on QC pdf file
- remove GENERIC_FAILURE still there
- fix duplicate error code
Note, current.txt updated only because this interface
has not been released as of the time of this CL.
Test: Manual
Bug:
35671595
Change-Id: I83831c222cb0d157d0aa06e48cf0a177ab0ecf31
Ningyuan Wang [Tue, 18 Apr 2017 21:20:41 +0000 (14:20 -0700)]
Return ERROR_NOT_SUPPORTED when configureChip() is used for reconfiguration
Bug:
36562856
Bug:
37446050
Test: compile, VTS test fail as expected
Change-Id: I895dd0d6e96b0d0a2b429c3a68be1f7c7e32a7e3
Philip Cuadra [Wed, 26 Apr 2017 16:52:00 +0000 (16:52 +0000)]
Merge "Make BT HAL audio threads RT" into oc-dev
Philip Cuadra [Thu, 20 Apr 2017 23:02:48 +0000 (16:02 -0700)]
Make BT HAL audio threads RT
Bluetooth threads that are used in audio have deadline
requirements for glitchless playback. Those threads need to be
scheduled as RT tasks to ensure that they can meet the deadline even if
there is high system load. Use schedulerservice to request RT
scheduling.
Bug
37518404
Test: play Bluetooth audio, check for RT with systrace
Change-Id: I043a97df3d2801922b54dcbf7c700ae11a48c217
Mikhail Naganov [Tue, 25 Apr 2017 22:19:42 +0000 (22:19 +0000)]
Merge "audiohal: Fix typos in comments, add missing comments" into oc-dev
Chia-I Wu [Tue, 25 Apr 2017 22:12:56 +0000 (22:12 +0000)]
Merge changes from topic 'hals-should-use-mapper' into oc-dev
* changes:
graphics: use mapper from the composer
graphics: clarify importBuffer and passthrough HALs
Kevin Chyn [Tue, 25 Apr 2017 21:02:59 +0000 (14:02 -0700)]
Add onAcquired log back
It was in fingerprintd, which is replaced now
Fixes:
37677260
Test: touch FP when enrolling/authenticating and make sure
onAcquired log is there
Change-Id: Iadecdfa1c18b0aaa083de18dbe7f701c78465ace
Keun Soo Yim [Mon, 24 Apr 2017 21:49:30 +0000 (14:49 -0700)]
stop bluetooth service while VTS test is running
Test: run VTS HAL BT test
Bug:
37153328
Change-Id: I615d96daff496096122cd18158c205073f4623a6
Mikhail Naganov [Mon, 24 Apr 2017 17:44:08 +0000 (10:44 -0700)]
audiohal: Fix handling of invalid arguments in 'debugDump' methods
Add checks for validity of the passed in native handle.
Bug:
37590777
Change-Id: If906f0086c3442819e1844cc521215d5b74af015
Test: VTS
(cherry picked from commit
7bae6a0b635b142cfba9d4c4612e1e114f85b842)
Chia-I Wu [Thu, 20 Apr 2017 18:01:18 +0000 (11:01 -0700)]
graphics: use mapper from the composer
We must use the mapper HAL instead of gralloc0/gralloc1 from the
composer.
Bug:
37540361
Test: boots on marlin, angler, and ryu
Change-Id: I5a3ff6a025bf51a3507a4f33fa77e9506a6f1ec9
Chia-I Wu [Fri, 21 Apr 2017 22:02:22 +0000 (15:02 -0700)]
graphics: clarify importBuffer and passthrough HALs
A buffer handle recieved from a HAL is by definition raw and needs
to be imported. But because of passthrough HALs, such a raw handle
may have been imported already. Explicitly specify that an
implementation must accept such a raw handle.
Bug:
37540361
Test: boots on angler, ryu and marlin
Change-Id: I5ecf526e59b27cc4a8f7f5d5ec27477da0946ece
TreeHugger Robot [Tue, 25 Apr 2017 18:53:59 +0000 (18:53 +0000)]
Merge "Fix VtsHalDrmV1_0Target test failure" into oc-dev
Mikhail Naganov [Tue, 25 Apr 2017 17:35:17 +0000 (10:35 -0700)]
audiohal: Fix typos in comments, add missing comments
These changes are in comments only, no ABI breaking changes.
Bug:
32238101
Test: make
Change-Id: Iead4ba01dae1a1c05d8fbed7f194182128e9e6ad
TreeHugger Robot [Tue, 25 Apr 2017 17:40:55 +0000 (17:40 +0000)]
Merge "Adding missing NI_TYPE for emergency SUPL" into oc-dev
Randy Pan [Tue, 25 Apr 2017 16:59:37 +0000 (16:59 +0000)]
Merge changes from topic 'fuguWifi' into oc-dev
* changes:
Improve logger feature set handling
Add capabilities for wifi_hal_legacy
TreeHugger Robot [Tue, 25 Apr 2017 10:43:18 +0000 (10:43 +0000)]
Merge "Finish adding manufacturer and model to device ID attestation" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 04:12:26 +0000 (04:12 +0000)]
Merge changes from topic 'o-usage64-2' into oc-dev
* changes:
automotive: Adjust tests for libui gralloc flags change
camera: Adjust for libui gralloc flags change
TreeHugger Robot [Tue, 25 Apr 2017 03:08:51 +0000 (03:08 +0000)]
Merge "wifi(implementation): Turn on DFS flag for STA" into oc-dev
Roshan Pius [Thu, 20 Apr 2017 06:11:07 +0000 (23:11 -0700)]
wifi(implementation): Turn on DFS flag for STA
DFS flag needs to be turned on in the legacy HAL for STA operations. So,
initialize this flag on creation of STA iface.
PS: Not adding an explicit HIDL API for this since there is no need to
toggle this from framework and since the HIDL API's are frozen now.
Bug:
36169790
Test: Verified the fix with regression tests: b/
37528903.
Change-Id: I214097fcb399cef7fc0cbd2c278622fac259a3e3
Jeff Tinker [Mon, 24 Apr 2017 23:29:01 +0000 (16:29 -0700)]
Fix VtsHalDrmV1_0Target test failure
DrmHalVendorFactoryTest.EmptyPluginUUIDNotSupported
was failing on 64 bit builds. The test was using
an uninitialized hidl_array as the empty UUID which
was incorrect. This change initializes the array
contents to null values.
Test: drm hal tests pass
bug:
37172151
Change-Id: I0acb86921f0daceba30fa7879980ce819db64a74
Wei Wang [Mon, 24 Apr 2017 17:13:31 +0000 (10:13 -0700)]
Change bootHAL to early_hal class
Bug:
37579828
Bug:
37543411
Test: marlin boots with wipe data
Change-Id: Ifa508570455289efd58350562fadea5676c3bc67
TreeHugger Robot [Mon, 24 Apr 2017 17:19:57 +0000 (17:19 +0000)]
Merge "Fix failing VTS test cases" into oc-dev
Wyatt Riley [Fri, 21 Apr 2017 13:52:42 +0000 (06:52 -0700)]
Adding missing NI_TYPE for emergency SUPL
Bug:
37409476
Test: Builds, and on Pixel, basic GPS & XTRA tests pass.
Partners & Pixel team running the SUPL emergency tests.
Change-Id: I6b23608e82dc1682d61a516ab5045d3b78b53cae
Chris Forbes [Wed, 19 Apr 2017 23:09:51 +0000 (16:09 -0700)]
automotive: Adjust tests for libui gralloc flags change
Change-Id: Ia88d8fc664196eae7153ccfb755ea9c3d135fd0c
Bug: b/
33350696
Test: Bullhead: booted to launcher, take photo, watch youtube
Chris Forbes [Wed, 19 Apr 2017 23:09:26 +0000 (16:09 -0700)]
camera: Adjust for libui gralloc flags change
Change-Id: Ia09737c28a78a8a50a9f751ed2774299ecc3d58c
Bug: b/
33350696
Test: Bullhead: booted to launcher, take photo, watch youtube
Pavel Maltsev [Thu, 20 Apr 2017 20:10:54 +0000 (13:10 -0700)]
Fix failing VTS test cases
Also, increase number of binder threads in VHAL for performance testing
Fix: b/
37543801, b/
36778517
Bug: b/
36510399
Test: make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalAutomotiveVehicleV2_0Host -l INFO && adb shell /data/nativetest64/android.hardware.automotive.vehicle@2.0-manager-unit-tests/android.hardware.automotive.vehicle@2.0-manager-unit-tests
Change-Id: I850c6be328f1a07ae3fda898a18137c76afe3115
TreeHugger Robot [Fri, 21 Apr 2017 15:39:25 +0000 (15:39 +0000)]
Merge "Clarifying comments and todos, update current.txt." into oc-dev
Steve Paik [Fri, 21 Apr 2017 15:03:59 +0000 (15:03 +0000)]
Merge "audio hal: initialize audio patch handle" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 09:58:42 +0000 (09:58 +0000)]
Merge "Make setTimeLapseConfig take frequencies instead of periods." into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 04:46:44 +0000 (04:46 +0000)]
Merge "media: Add getStopTimeOffsetUs in GraphicBufferSource." into oc-dev
Pawin Vongmasa [Thu, 20 Apr 2017 12:08:15 +0000 (05:08 -0700)]
Make setTimeLapseConfig take frequencies instead of periods.
Test: Manual use of Camera, Movies, Photos and YouTube apps.
Test: With CtsMediaTestCases.apk installed,
adb shell am instrument -e size small -w
'android.media.cts/android.support.test.runner.AndroidJUnitRunner'
Bug:
37302530
Change-Id: I63ba807955c2e2a7ec7f6ecc2d8a832f252c0c1b
Hangyu Kuang [Wed, 5 Apr 2017 18:32:31 +0000 (11:32 -0700)]
media: Add getStopTimeOffsetUs in GraphicBufferSource.
Test: Compiles
Bug:
35925528
Change-Id: Ie469e42c986211540880f04a5e47efc090817ba8
Derek Chen [Mon, 3 Apr 2017 23:00:50 +0000 (19:00 -0400)]
audio hal: initialize audio patch handle
Initialize audio patch handle to avoid
uninitialized value causing validation
failure in vendor hal audio patch.
Bug:
36994757
Test: Initiate voice call, no audio heard from other end
Change-Id: I4cf57210432430af89109f605813645ff332bfbb
Ningyuan Wang [Thu, 13 Apr 2017 22:40:26 +0000 (15:40 -0700)]
Add missing document for supplicant hal, current.txt.
**Note, hashes are being modified in place ONLY
because this interface has not yet been released
in a release of Android.
This adds additional information for setEapPhase2Method().
This also adds the missing error type for find(), stopFind(), and
reject().
Bug:
37254796
Test: compile
Change-Id: I35735a7ec6ca5d490219bb176f1d6c727432113f
Randy Pan [Thu, 20 Apr 2017 17:03:41 +0000 (10:03 -0700)]
Improve logger feature set handling
Some devices don't support querying logger feature set. In that
case set the logger feature set value to 0 instead of failing
the query for regular WiFi feature set.
Bug:
37105075
Bug:
37483427
Test: get battery stats on Fugu.
Change-Id: I3e162f8ddeaaa1965b41518592a253c6c90ddfa7
Randy Pan [Thu, 13 Apr 2017 17:00:34 +0000 (10:00 -0700)]
Add capabilities for wifi_hal_legacy
Bug:
37105075
Bug:
37483427
Test: Fugu Wifi VendorHal initializes successfully
Change-Id: If30aa641e42a9a4be435db97f36af4d172eb8ebe
Wyatt Riley [Tue, 18 Apr 2017 20:20:06 +0000 (13:20 -0700)]
Clarifying comments and todos, update current.txt.
**Note, hashes are being modified in place ONLY
because this interface has not yet been released
in a release of Android.
Updated comments for clarity nearby
some removed todo's on telephony APN
and GNSS demodulated satellite data bits.
Fixes:
34108918
Test: Built & run on Pixel, GPS & XTRA pass.
Change-Id: Ia67be4c4c095479bbbf001987c1629b57ca864a5
Bartosz Fabianowski [Thu, 20 Apr 2017 02:47:40 +0000 (04:47 +0200)]
Finish adding manufacturer and model to device ID attestation
This is a follow-up to change I5a9fd839497976cdb1e44cbe4a2d5b7730732b4c,
where manufacturer and model were added to the set of attestable device
IDs.
Bug:
37522655
Test: GTS com.google.android.gts.security.DeviceIdAttestationHostTest
Change-Id: Ied4246f4fc490feb2093f04c268aab83c8e1326d
Chia-I Wu [Wed, 19 Apr 2017 22:41:07 +0000 (22:41 +0000)]
Merge "graphics: keep mapper valid during process termination" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 21:59:24 +0000 (21:59 +0000)]
Merge "Add current.txt" into oc-dev
Chia-I Wu [Wed, 19 Apr 2017 18:03:00 +0000 (11:03 -0700)]
graphics: keep mapper valid during process termination
GraphicBufferMapper is valid during process termination. IMapper
must stay valid as well. It should not rely on global/static
objects that may have been destructed.
Bug:
37480313
Test: libgui_test
Change-Id: Icb8079153306f2465c26c0f1ce812895ad83f21b
Eric Laurent [Wed, 19 Apr 2017 17:43:49 +0000 (17:43 +0000)]
Merge "Audio primary hal: fix member function used before init" into oc-dev
Kevin Rocard [Wed, 19 Apr 2017 16:32:21 +0000 (09:32 -0700)]
Audio primary hal: fix member function used before init
prepare for write was refactor by Ib4170eb6a9f88f9352d0912083b43d600771bb8e
to use temporary variable in a rai pattern.
Nevertheless the member variable was still used too early in
prepareForRead resulting in a crash for capture.
Test: assistant, camcorder
Bug:
37492059
Change-Id: I08140834959c440798cd40700dd089adca2f3e40
Signed-off-by: Kevin Rocard <krocard@google.com>
Steven Moreland [Wed, 19 Apr 2017 05:27:41 +0000 (22:27 -0700)]
Add current.txt
Test: make all modules
Test: changing frozen module causes breakage
Test: chaging unfrozen module doesn't cause breakage
Bug:
34178341
Change-Id: Ie8e7f032ab607e0bb76c8515fba5ea0ea4e80ae9
TreeHugger Robot [Wed, 19 Apr 2017 03:04:03 +0000 (03:04 +0000)]
Merge "Fix test case for setSimCardPower radio api." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 00:44:33 +0000 (00:44 +0000)]
Merge changes from topic 'vts-audio-fix' into oc-dev
* changes:
Audio HAL: Destroy EventFlag on failed prepareTo{write,read}
Audio HAL: Check for buffer size overflow
Audio HAL: Detect buffer memory allocation failure
Audio HAL: Detect openDevice failure
Audio HAL VTS: Fix documentation
TreeHugger Robot [Tue, 18 Apr 2017 23:23:09 +0000 (23:23 +0000)]
Merge "Use IBinder to identify callbacks in VHAL" into oc-dev
Pavel Maltsev [Wed, 12 Apr 2017 18:59:32 +0000 (11:59 -0700)]
Use IBinder to identify callbacks in VHAL
Right now there's no way to distinguish multiple clients, thus we cannot
associate IVehicleCallback from subscribe and unsubscribe method. As a
temporary solution we will use pointer to IBinder from underlying proxy
object until HILD will have some API to do that.
Test: verified unit tests run, checked that subsequent 'subscribe' calls
do not create new client objects in VHAL
Bug: b/
37254245
Change-Id: I029564b7b03e4821287c2110d0929a5c4cbce0ce
TreeHugger Robot [Tue, 18 Apr 2017 13:06:59 +0000 (13:06 +0000)]
Merge "audio hal: explicitly import headers" into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 05:49:41 +0000 (05:49 +0000)]
Merge "Write VTS target test for Configstore HAL" into oc-dev
PO HUNG CHEN [Tue, 18 Apr 2017 02:20:31 +0000 (02:20 +0000)]
Merge "Add IScheduleTest for VTS libhwbinder scheduler test" into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 00:26:32 +0000 (00:26 +0000)]
Merge "Remove dependency of libhardware_legacy from HAL services" into oc-dev
Sanket Padawe [Tue, 18 Apr 2017 00:05:01 +0000 (17:05 -0700)]
Fix test case for setSimCardPower radio api.
Bug:
35800570
Test: vts
Change-Id: I93e78c46971158cd14666931b527d8e268e0a39e
Steven Moreland [Mon, 17 Apr 2017 21:35:45 +0000 (14:35 -0700)]
audio hal: explicitly import headers
Test: works with BOARD_VNDK_VERSION := current
Bug:
33241851
Change-Id: I34983a5527a16e8e9f5a6a87edac0b741aeb67d6
TreeHugger Robot [Mon, 17 Apr 2017 20:57:37 +0000 (20:57 +0000)]
Merge "Adding a custom property to the default VHAL impl" into oc-dev
Pavel Maltsev [Tue, 11 Apr 2017 19:42:28 +0000 (12:42 -0700)]
Adding a custom property to the default VHAL impl
This property is supposed to be used mostly from e2e tests (a simple
test-case is provided in separate CL)
Test: make -j && runtest -x packages/services/Car/tests/vehiclehal_test/
Bug: b/
36510399
Change-Id: I09b24f22ab328eee1ef6add60901ed03bf046874
Howard Chen [Fri, 7 Apr 2017 12:15:28 +0000 (20:15 +0800)]
Add IScheduleTest for VTS libhwbinder scheduler test
Add IScheduleTest.hal:
send(cfg, callerSta)
cfg: 1 for verbose output
caller_status: (caller_rt_priority <<16 )| caller_cpu
with the return value defined as:
((1 if no priority inheritance)<<16) | (1 if no cpu sync)
The implementation is in ScheduleTest.cpp
Bug:
36705188
Test: sailfish/prebuilt kernel/oc-dev with the libhwbinder_latency
vts test case
Change-Id: Ie2a837c8d0d4fa95c6fd0ebd50e76412cb808df8
Jae Shin [Thu, 13 Apr 2017 09:35:41 +0000 (18:35 +0900)]
Write VTS target test for Configstore HAL
Bug:
35915192
Test: make vts -j40 && vts-tradefed run commandAndExit vts
--module VtsHalConfigstoreV1_0Target
Change-Id: I85692a0cf140b62adaa6b5384fea6d3b4090ba98
TreeHugger Robot [Mon, 17 Apr 2017 03:05:09 +0000 (03:05 +0000)]
Merge "Remove dependency of libhardware_legacy" into oc-dev
TreeHugger Robot [Sun, 16 Apr 2017 14:00:48 +0000 (14:00 +0000)]
Merge "dumpstate hal: use vendor toybox" into oc-dev
TreeHugger Robot [Sat, 15 Apr 2017 07:53:26 +0000 (07:53 +0000)]
Merge "VtsHalDrmV1_0Target test failure" into oc-dev
Hung-ying Tyan [Sat, 15 Apr 2017 05:16:52 +0000 (13:16 +0800)]
Remove dependency of libhardware_legacy
It is not used by bluetooth and nfc services.
Bug:
33241851
Bug:
37305530
Test: built and tested on sailfish
Change-Id: I599073296baa5eee72a1fce8caa4eb8352f66218
Merged-In: I599073296baa5eee72a1fce8caa4eb8352f66218
Iliyan Malchev [Fri, 14 Apr 2017 02:32:43 +0000 (19:32 -0700)]
gnss@1.0-service: drop inet group, add gps group
Both system and gps groups might be relevant to the implementation of a
GNSS HAL.
b/
36651420 [QCOM Treble] marlin/sailfish location daemon uses Binder
b/
36085168 STOPSHIP - HAL (GNSS) cannot have internet access
b/
35757613 STOPSHIP: O GNSS TTFF - Regressed to Cold Start (XTRA
broken) (revert SELinux Change)
Test: marlin
Change-Id: I8aa5b18ef094b8540e7838174154f060a0c3fa9a
Merged-In: I8aa5b18ef094b8540e7838174154f060a0c3fa9a
Signed-off-by: Iliyan Malchev <malchev@google.com>
Hung-ying Tyan [Fri, 14 Apr 2017 04:43:56 +0000 (12:43 +0800)]
Remove dependency of libhardware_legacy from HAL services
It is not used by these services.
Bug:
33241851
Bug:
37305530
Test: built and tested on sailfish
Change-Id: I1f3f51981d7dfcf27e18d9495c747b7662867d31
Sandeep Patil [Sat, 15 Apr 2017 02:09:29 +0000 (19:09 -0700)]
dumpstate hal: use vendor toybox
Bug:
36463595
Test: Dumpstate works
Change-Id: I9f79924fe6c2c7624f97ce24dcf95f61ee165146
Signed-off-by: Sandeep Patil <sspatil@google.com>
TreeHugger Robot [Fri, 14 Apr 2017 23:42:53 +0000 (23:42 +0000)]
Merge "Use fmq for camera capture result." into oc-dev
Jeff Tinker [Fri, 14 Apr 2017 23:41:48 +0000 (23:41 +0000)]
Merge "Skip tests when the drm scheme is not installed" into oc-dev
Jeff Tinker [Fri, 14 Apr 2017 23:05:11 +0000 (16:05 -0700)]
VtsHalDrmV1_0Target test failure
The DrmHalVendorPluginTest.RestoreKeysClosedSession test wasn't
taking into account the policy of the asset, so both streaming
and offline assets were included in the test which is incorrect.
Test: drm vts test passes
bug:
37358379
Change-Id: I41116e77a1ae306bb1a484e3714360c8553590f0
TreeHugger Robot [Fri, 14 Apr 2017 23:10:32 +0000 (23:10 +0000)]
Merge "setActiveGroup null, 0 length, unwritable dir should fail" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 21:38:30 +0000 (21:38 +0000)]
Merge "Add testcases for restoreKeys API." into oc-dev
Yifan Hong [Wed, 12 Apr 2017 23:31:23 +0000 (16:31 -0700)]
Use fmq for camera capture result.
Test: camera works.
Bug:
35788245 [Treble] Pass camera metadata using shared memory
Change-Id: Ia8ba8ac4c8f7d1a89035f549c0281a30190554bb
Kevin Chyn [Fri, 7 Apr 2017 21:39:50 +0000 (14:39 -0700)]
setActiveGroup null, 0 length, unwritable dir should fail
with this change, VTS test needs to run in /data/system/
due to SELinux policy + Linux directory permissions
Test: run VTS tests and make sure they all pass
Fixes
37153318
Change-Id: Ib1f19ce7fc0d08ae2941aec5c08c5857c7a9f2fd
Jeff Tinker [Fri, 14 Apr 2017 01:27:25 +0000 (18:27 -0700)]
Skip tests when the drm scheme is not installed
Not all drm hal implmentations will be present on every device,
but the vendor modules will be. This change allows tests to be skipped
when a drm hal implementation isn't present.
Test: drm vts tests pass with widevine on a gms
device (tests executed) and tests pass on an aosp
device (tests skipped).
Change-Id: I0b87f501a45103960193279eb5b4b2cd1c113acd
TreeHugger Robot [Fri, 14 Apr 2017 18:24:14 +0000 (18:24 +0000)]
Merge "soundtrigger: Use "default" instance name for HAL service" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 18:20:01 +0000 (18:20 +0000)]
Merge "Route DRM HAL libbinder traffic to /dev/vndbinder" into oc-dev
Iliyan Malchev [Fri, 14 Apr 2017 07:17:50 +0000 (00:17 -0700)]
Route GNSS HAL libbinder traffic to /dev/vndbinder
Bug:
36565056
Test: no more gnss crash at boot
Change-Id: Ib3935beeb521dc655c5d7e1b6d7680a190b3fd4e
Signed-off-by: Iliyan Malchev <malchev@google.com>
Mikhail Naganov [Thu, 13 Apr 2017 18:00:11 +0000 (11:00 -0700)]
soundtrigger: Use "default" instance name for HAL service
"default" implies using "primary" legacy device module.
This doesn't change anything for binderized mode, because
the server was only registering itself as "sound_trigger.primary",
so it was the only possibility anyways.
Usage of "stub" (debugging) module is still possible
if audioflinger and corresponding services are built with
USE_LEGACY_LOCAL_AUDIO_HAL=true (added makefile check to ensure
that).
Test: "Ok Google" from screen off state on sailfish
Bug:
36570720
Change-Id: I88f1ebd4c1efd0f91e37458746c336a4beef33ae
TreeHugger Robot [Fri, 14 Apr 2017 15:45:42 +0000 (15:45 +0000)]
Merge "Added missing RenderScript HIDL API call to VTS test." into oc-dev
Iliyan Malchev [Fri, 14 Apr 2017 07:15:09 +0000 (00:15 -0700)]
Route DRM HAL libbinder traffic to /dev/vndbinder
b/
37309712
Test: marlin
Change-Id: I72c2304842bd21b5393c17be5beeeb90a74d5345
Signed-off-by: Iliyan Malchev <malchev@google.com>
Shawn Willden [Wed, 12 Apr 2017 12:36:08 +0000 (06:36 -0600)]
Require attestation app ID.
Bug:
37318025
Test: Manually tested
Change-Id: Iaa992c8d22e0c88c2a2570355199befa484adc19
Shawn Willden [Mon, 10 Apr 2017 23:19:15 +0000 (17:19 -0600)]
Fix handling of KM3 attestations.
Test: Manually tested
Bug:
37318025
Change-Id: I91c0c0fe6d36fb4a02d6b58a3b0836a6f8996012
Ryan Campbell [Wed, 12 Apr 2017 23:38:52 +0000 (16:38 -0700)]
Add testcases for restoreKeys API.
Add a positive and two negative test cases for the restoreKeys
function in DRM vendor plugin.
Test: vts-tradefed run commandAndExit vts -m VtsHalDrmV1_0Target
--primary-abi-only --skip-all-system-status-check
Bug:
34178477
Change-Id: Ia7f323dbd92e7281efa96b9b7d07b85123e819f4