OSDN Git Service
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 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
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
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
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
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
TreeHugger Robot [Fri, 14 Apr 2017 04:00:09 +0000 (04:00 +0000)]
Merge "audio.common@2.0-util: vendor_available + in Soong" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 03:59:45 +0000 (03:59 +0000)]
Merge "Move bluetooth test to vendor." into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 02:13:21 +0000 (02:13 +0000)]
Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)" into oc-dev
Yifan Hong [Fri, 14 Apr 2017 02:10:15 +0000 (02:10 +0000)]
Merge "Use fmq for camera capture request." into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 01:14:21 +0000 (01:14 +0000)]
Merge "fingerprint: clean up includes" into oc-dev
Michael Butler [Fri, 14 Apr 2017 00:42:07 +0000 (17:42 -0700)]
Added missing RenderScript HIDL API call to VTS test.
ScriptGroupSetInput was never called, so it was added to the
ScriptGroupTest. After this CL gets merged, all RenderScript HIDL API
calls will be tested.
Bug:
35915961
Test: mm on oc-dev, runs and passes on oc-dev
Change-Id: I9153895ac55be757eef59e81837a9518fa9e85ab
TreeHugger Robot [Fri, 14 Apr 2017 00:13:17 +0000 (00:13 +0000)]
Merge changes I52c156ed,I9fb9a924 into oc-dev
* changes:
Add VTS tests for Wfd
Add VTS tests for Bonjour and Upnp service
Steven Moreland [Thu, 13 Apr 2017 23:12:15 +0000 (16:12 -0700)]
fingerprint: clean up includes
Bug:
33241851
Test: links
Test: works with BOARD_VNDK_VERSION := current
Change-Id: I7cfec2b8459964edf9a180d01cfdd90dae376fb9
Andreas Huber [Thu, 13 Apr 2017 16:53:54 +0000 (09:53 -0700)]
Changed the naming scheme for Treble java libraries (both static and dynamic)
android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java
Bug:
37207894
Test: make
Change-Id: I177f4cfd42f635aaf096107af8309d1a82ed41c0
Merged-In: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34
Ningyuan Wang [Thu, 13 Apr 2017 22:15:43 +0000 (22:15 +0000)]
Merge "wifi(interface): Add links to APF docs" into oc-dev
Steven Moreland [Thu, 13 Apr 2017 21:19:19 +0000 (14:19 -0700)]
Move bluetooth test to vendor.
The test is still built in data/nativetest64, but it must be marked as
vendor since it depends on vendor modules.
Also proprietary -> vendor.
Test: build with BOARD_VNDK_VERSION := current
Test: run test on internal marlin, passes
Bug:
33241851
Change-Id: I856838fe208a4cd038ea16d47f03f6278224b2ee
Yifan Hong [Tue, 11 Apr 2017 21:45:00 +0000 (14:45 -0700)]
Use fmq for camera capture request.
Test: camera works.
Bug:
35788245 [Treble] Pass camera metadata using shared memory
Change-Id: I4a1585315bf448c8c57def2964237cae21bdbe03
Ningyuan Wang [Thu, 13 Apr 2017 01:44:40 +0000 (18:44 -0700)]
Add VTS tests for Wfd
This covers the following APIs by adding tests to
ISupplicantP2pIface:
ISupplicantP2pIface::enableWfd(),
ISupplicantP2pIface::setWfdDeviceInfo()
Bug:
33457575
Test: VTS tests pass
Change-Id: I52c156edf32c58b6fb6248d1b396d0437feebbfe
Ningyuan Wang [Wed, 12 Apr 2017 17:18:32 +0000 (10:18 -0700)]
Add VTS tests for Bonjour and Upnp service
This covers the following APIs by adding tests to
ISupplicantP2pIface:
ISupplicantP2pIface::addBonjourService(),
ISupplicantP2pIface::removeBonjourService(),
ISupplicantP2pIface::addUpnpService(),
ISupplicantP2pIface::removeUpnpService()
Bug:
33457575
Test: VTS tests pass
Change-Id: I9fb9a9243a40c2309e549775acabbf90ac9b31da
TreeHugger Robot [Thu, 13 Apr 2017 19:47:14 +0000 (19:47 +0000)]
Merge "Add VTS tests for wps related APIs in ISupplicantIface" into oc-dev
Zhuoyao Zhang [Thu, 13 Apr 2017 19:24:28 +0000 (19:24 +0000)]
Merge "media.omx VTS test baseline" into oc-dev
Ningyuan Wang [Wed, 12 Apr 2017 02:26:02 +0000 (19:26 -0700)]
Add VTS tests for wps related APIs in ISupplicantIface
This covers the following APIs by adding tests to
ISupplicantStaIface and ISupplicantP2pIface:
ISupplicantIface::setWpsDeviceName(),
ISupplicantIface::setWpsDeviceType(),
ISupplicantIface::setWpsManufacturer(),
ISupplicantIface::setWpsModelName(),
ISupplicantIface::setWpsModelNumber(),
ISupplicantIface::setWpsSerialNumber(),
ISupplicantIface::setWpsConfigMethods()
Bug:
33457575
Test: VTS tests pass
Change-Id: I0adf6b81ed6da8b1dead9dfa09c778acf4f03a8c
TreeHugger Robot [Thu, 13 Apr 2017 18:17:04 +0000 (18:17 +0000)]
Merge "Add VTS test for ISupplicantP2pIface::removeGroup()" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 18:16:27 +0000 (18:16 +0000)]
Merge "Add more VTS tests for SupplicantStaIface" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 17:53:05 +0000 (17:53 +0000)]
Merge "DRM vts test bug fixes" into oc-dev
Roshan Pius [Mon, 27 Mar 2017 17:03:38 +0000 (10:03 -0700)]
wifi(interface): Add links to APF docs
Bug:
32119512
Test: Compiles
Change-Id: Iadb68a2a649b120b607735e4d88617b11740832f
Ram Mohan M [Wed, 29 Mar 2017 09:22:20 +0000 (14:52 +0530)]
media.omx VTS test baseline
Change-Id: I0cb1997e9cc0427fdfe8091de84e8cb75c7bab14
Test GetPortIndices
Tests support for omx index type: OMX_IndexParamAudioInit,
OMX_IndexParamImageInit, OMX_IndexParamVideoInit, OMX_IndexParamOtherInit.
Change-Id: I50c7c70c8e000684ef02a6e372be32f9c178e74d
Test Port Enabling/Disabling
Enumerate the list of ports available on the component.
Test if they can be disabled and enabled. This test is carried
when the component is in Loaded state. Also, omx-il specification
allows enabling and disabling all ports at once by passing the
argument OMX_ALL. The behavior of the component on this argument
is tested. Disable and enable a port index that is not supported
by the component is also tested.
Change-Id: I1ab3cc3652a63d05bd0c3ceae92e01ebd4aae12d
Test State Transitions
Change the states of the component from loaded->idle->execute->idle->loaded
While the component is switching states, make sure the below dependencies are met.
1. When the component is switching from Loaded to Idle,
ensure this transition does not take place until the supplier has provided
the ports their necessary buffers
2. When the component is switching from Idle to execute,
change the buffer owner from Client to Component.
3. When the component is switching from execute to Idle,
ensure the client got all the buffers it supplied to the component back.
4. When the component is switching from Idle to loaded,
ensure this transition takes place only after freeing all the buffers
Change-Id: I7c3f6f65adf3afda4e54ca7cafb5bb7799a5b2d6
Test for Flush
When the component is in execute state and as buffers are being
exchanged between client and component, call a flush. Test that all
the unprocessed buffers are returned to the client
Change-Id: I00f4c356df0e832aecc457a53163532e82ead9a3
Fix object labels for master and component
This changes maintains consistency across Vts test folders
Change-Id: I0f3e40db04876a3dab170936037c42f994d67c18
Audio_enc/Audio_dec folders are removed.
The current folders needs work. We will revisit this again
Change-Id: Ic8287288d0727f1384e096b846e0066b2ec9f95f
Fix Object labels for common
Change-Id: I8f19a339983aa81d581ed3d55780180f8d976382
Test Port Definition structures
Tests support for omx index type OMX_IndexParamPortDefinition
Change-Id: I45d82199c6cf20f24aa42d9fea69bd1c88a51757
Bug fix : Pass i/o buffer structure information while dequeueing messages
Also fixed sending false port id during freeBuffer call.
Change-Id: Id5c4f67cccea6b577880e42ee0d294cc55d534ad
Test port reconfiguration and buffer flow in audio decoder
In the current commit we have added tests for audio decoder
components. The selected component decodes an elementary stream
and in this process port reconfiguration, buffer flow and flush
are tested.
Test: mma
Change-Id: I42c8397f704f5fa69878efe91932c477ac66d1b2
Steven Moreland [Thu, 13 Apr 2017 05:45:01 +0000 (22:45 -0700)]
audio.common@2.0-util: vendor_available + in Soong
vendor_available: separate copy built on the vendor partition for
BOARD_VNDK_VERSION := current devices.
**************************************************
See full implications + warning on:
https://android-review.googlesource.com/#/c/369995/
(Ia4eb5378d941033b07673daf682e66051cd3c075)
***************************************************
Test: (sanity) audio works on internal marlin
Test: (sanity) hangouts call on internal marlin
Test: warnings don't show up on BOARD_VNDK_VERSION := current devices.
Bug:
33241851
Change-Id: I2de1b789a44d238e31108312b4ec0dd5d404b1e6
Jeff Tinker [Thu, 13 Apr 2017 07:56:34 +0000 (00:56 -0700)]
DRM vts test bug fixes
A session wasn't being closed in the ListenerKeysChange
test, that was causing erratic behavior on subsequent tests.
The expected return code was incorrect in the test
AttemptDecryptWithKeysRemoved.
bug:
37272108
Change-Id: I11590b85c81548622359d91ebc9af75276a7b58c
TreeHugger Robot [Thu, 13 Apr 2017 04:49:58 +0000 (04:49 +0000)]
Merge "Connecting to BufferQueue before setting surface." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 04:12:19 +0000 (04:12 +0000)]
Merge "libhwcomposer-client: mark as vendor_available" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 04:12:15 +0000 (04:12 +0000)]
Merge "Mark as vendor_available" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 04:12:11 +0000 (04:12 +0000)]
Merge "android.hardware.camera.common@1.0-helper: vendor" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 03:55:27 +0000 (03:55 +0000)]
Merge changes from topic 'libACRONYM' into oc-dev
* changes:
composer: route binder traffic over vndbinder
android.hardware.camera.provider@2.4: set up /dev/vndbinder
TreeHugger Robot [Thu, 13 Apr 2017 03:35:45 +0000 (03:35 +0000)]
Merge "bluetooth: include what you use" into oc-dev
Ningyuan Wang [Thu, 13 Apr 2017 02:48:30 +0000 (19:48 -0700)]
Add VTS test for ISupplicantP2pIface::removeGroup()
Bug:
33457575
Test: VTS tests pass
Change-Id: Ibb752d92ba1ba35475e1aec9d82c27c6b4b0c84e
TreeHugger Robot [Thu, 13 Apr 2017 02:25:23 +0000 (02:25 +0000)]
Merge "Change drm/crypto service names to "default"" into oc-dev
Michael Butler [Thu, 13 Apr 2017 01:55:48 +0000 (18:55 -0700)]
Connecting to BufferQueue before setting surface.
Bug:
37172220
Test: mma, runs on sailfish
Change-Id: I2ed8e55ed9e6149245ca0d605441eff74eac45e2
Steven Moreland [Wed, 12 Apr 2017 00:33:54 +0000 (17:33 -0700)]
Mark as vendor_available
By setting vendor_available, the following may become true:
* a prebuilt library from this release may be used at runtime by
in a later releasse (by vendor code compiled against this release).
so this library shouldn't depend on runtime state that may change
in the future.
* this library may be loaded twice into a single process (potentially
an old version and a newer version). The symbols will be isolated
using linker namespaces, but this may break assumptions about 1
library in 1 process (your singletons will run twice).
Background:
This means that these modules may be built and installed twice --
once for the system partition and once for the vendor partition. The
system version will build just like today, and will be used by the
framework components on /system. The vendor version will build
against a reduced set of exports and libraries -- similar to, but
separate from, the NDK. This means that all your dependencies must
also mark vendor_available.
At runtime, /system binaries will load libraries from /system/lib*,
while /vendor binaries will load libraries from /vendor/lib*. There
are some exceptions in both directions -- bionic(libc,etc) and liblog
are always loaded from /system. And SP-HALs (OpenGL, etc) may load
/vendor code into /system processes, but the dependencies of those
libraries will load from /vendor until it reaches a library that's
always on /system. In the SP-HAL case, if both framework and vendor
libraries depend on a library of the same name, both versions will be
loaded, but they will be isolated from each other.
It's possible to compile differently -- reducing your source files,
exporting different include directories, etc. For details see:
https://android-review.googlesource.com/368372
None of this is enabled unless the device opts into the system/vendor
split with BOARD_VNDK_VERSION := current.
Bug:
36426473
Bug:
36079834
Test: m -j android.hardware.sensors@1.0-convert
Test: attempt to compile with BOARD_VNDK_VERSION := current
Change-Id: I0a4e8a658b5b33bd7a6668242f98a4f6cda2a94f
Iliyan Malchev [Thu, 13 Apr 2017 00:42:12 +0000 (00:42 +0000)]
Merge "configstore: add startGraphicsAllocatorService" into oc-dev
Iliyan Malchev [Wed, 5 Apr 2017 20:13:09 +0000 (13:13 -0700)]
composer: route binder traffic over vndbinder
b/
36683636 Hwcomposer is starting binder threads
Test: sailfish
Change-Id: I28ad19b5036c6fbf514770369888ca11892bf212
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Wed, 5 Apr 2017 20:26:30 +0000 (13:26 -0700)]
android.hardware.camera.provider@2.4: set up /dev/vndbinder
The camera-HAL implementation may need to communicate with other vendor
components over /dev/vndbinder. Route all libbinder traffic to that
node.
b/
36651814
b/
36651237
b/
35870313
b/
36683636
Test: sailfish
Change-Id: I9b80fefbcdf5ce18a2d788e8582ea8791a604435
Signed-off-by: Iliyan Malchev <malchev@google.com>