Commit graph

3915 commits

Author SHA1 Message Date
TreeHugger Robot
1fd47b29b3 Merge "Fix VtsHalDrmV1_0Target test failure" into oc-dev 2017-04-25 18:53:59 +00:00
TreeHugger Robot
12d67e3c7a Merge "Adding missing NI_TYPE for emergency SUPL" into oc-dev 2017-04-25 17:40:56 +00:00
Randy Pan
0d0fb634ec Merge changes from topic 'fuguWifi' into oc-dev
* changes:
  Improve logger feature set handling
  Add capabilities for wifi_hal_legacy
2017-04-25 16:59:39 +00:00
TreeHugger Robot
8fcab148c2 Merge "Finish adding manufacturer and model to device ID attestation" into oc-dev 2017-04-25 10:43:19 +00:00
TreeHugger Robot
441c1cb7d7 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
2017-04-25 04:12:31 +00:00
TreeHugger Robot
b09f65c4b1 Merge "wifi(implementation): Turn on DFS flag for STA" into oc-dev 2017-04-25 03:08:52 +00:00
Roshan Pius
08d1df4d99 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
2017-04-25 01:53:47 +00:00
Jeff Tinker
a33256b811 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
2017-04-24 17:02:17 -07:00
Wei Wang
9a4388cf28 Change bootHAL to early_hal class
Bug: 37579828
Bug: 37543411
Test: marlin boots with wipe data
Change-Id: Ifa508570455289efd58350562fadea5676c3bc67
2017-04-24 18:17:18 +00:00
TreeHugger Robot
d77a4a5585 Merge "Fix failing VTS test cases" into oc-dev 2017-04-24 17:19:58 +00:00
Wyatt Riley
0442918818 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
2017-04-21 12:52:46 -07:00
Chris Forbes
f90642b8f8 automotive: Adjust tests for libui gralloc flags change
Change-Id: Ia88d8fc664196eae7153ccfb755ea9c3d135fd0c
Bug: b/33350696
Test: Bullhead: booted to launcher, take photo, watch youtube
2017-04-21 18:33:41 +00:00
Chris Forbes
58a80300aa camera: Adjust for libui gralloc flags change
Change-Id: Ia09737c28a78a8a50a9f751ed2774299ecc3d58c
Bug: b/33350696
Test: Bullhead: booted to launcher, take photo, watch youtube
2017-04-21 17:32:37 +00:00
Pavel Maltsev
0e251c8805 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
2017-04-21 09:49:16 -07:00
TreeHugger Robot
f6470873f4 Merge "Clarifying comments and todos, update current.txt." into oc-dev 2017-04-21 15:39:26 +00:00
Steve Paik
9ba37420fe Merge "audio hal: initialize audio patch handle" into oc-dev 2017-04-21 15:04:00 +00:00
TreeHugger Robot
2200bb2e96 Merge "Make setTimeLapseConfig take frequencies instead of periods." into oc-dev 2017-04-21 09:58:44 +00:00
TreeHugger Robot
17572138b5 Merge "media: Add getStopTimeOffsetUs in GraphicBufferSource." into oc-dev 2017-04-21 04:46:46 +00:00
Pawin Vongmasa
0048c96885 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
2017-04-20 18:28:55 -07:00
Hangyu Kuang
171bbf5ecb media: Add getStopTimeOffsetUs in GraphicBufferSource.
Test: Compiles
Bug: 35925528
Change-Id: Ie469e42c986211540880f04a5e47efc090817ba8
2017-04-20 18:17:51 -07:00
Derek Chen
ab24ecd952 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
2017-04-20 23:48:52 +00:00
Ningyuan Wang
94a07c4cdc 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
2017-04-20 11:16:22 -07:00
Randy Pan
dbb3102bdd 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
2017-04-20 10:03:41 -07:00
Randy Pan
1addbeaa46 Add capabilities for wifi_hal_legacy
Bug: 37105075
Bug: 37483427
Test: Fugu Wifi VendorHal initializes successfully
Change-Id: If30aa641e42a9a4be435db97f36af4d172eb8ebe
2017-04-20 09:55:03 -07:00
Wyatt Riley
5c196e0e66 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
2017-04-20 16:04:48 +00:00
Bartosz Fabianowski
8304a9040c 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
2017-04-20 04:47:44 +02:00
Chia-I Wu
de173893c8 Merge "graphics: keep mapper valid during process termination" into oc-dev 2017-04-19 22:41:08 +00:00
TreeHugger Robot
0d260797b4 Merge "Add current.txt" into oc-dev 2017-04-19 21:59:25 +00:00
Chia-I Wu
78b63dc6a1 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
2017-04-19 11:47:25 -07:00
Eric Laurent
30f78a13b0 Merge "Audio primary hal: fix member function used before init" into oc-dev 2017-04-19 17:43:49 +00:00
Kevin Rocard
34b44cd7db 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>
2017-04-19 09:38:42 -07:00
Steven Moreland
e37df5463d 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
2017-04-19 08:30:26 -07:00
TreeHugger Robot
c10abf09f7 Merge "Fix test case for setSimCardPower radio api." into oc-dev 2017-04-19 03:04:03 +00:00
TreeHugger Robot
d7e88525a7 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
2017-04-19 00:44:34 +00:00
TreeHugger Robot
2e25e562fa Merge "Use IBinder to identify callbacks in VHAL" into oc-dev 2017-04-18 23:23:10 +00:00
Pavel Maltsev
41a000da58 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
2017-04-18 14:20:11 -07:00
TreeHugger Robot
41c639f7bc Merge "audio hal: explicitly import headers" into oc-dev 2017-04-18 13:07:01 +00:00
TreeHugger Robot
c45ef5f15a Merge "Write VTS target test for Configstore HAL" into oc-dev 2017-04-18 05:49:42 +00:00
PO HUNG CHEN
fdd891393c Merge "Add IScheduleTest for VTS libhwbinder scheduler test" into oc-dev 2017-04-18 02:20:32 +00:00
TreeHugger Robot
206e38a4e8 Merge "Remove dependency of libhardware_legacy from HAL services" into oc-dev 2017-04-18 00:26:33 +00:00
Sanket Padawe
f9723eef1f Fix test case for setSimCardPower radio api.
Bug: 35800570
Test: vts
Change-Id: I93e78c46971158cd14666931b527d8e268e0a39e
2017-04-17 17:07:32 -07:00
Steven Moreland
a8a9cc6606 audio hal: explicitly import headers
Test: works with BOARD_VNDK_VERSION := current
Bug: 33241851
Change-Id: I34983a5527a16e8e9f5a6a87edac0b741aeb67d6
2017-04-17 15:56:52 -07:00
TreeHugger Robot
69c42429d1 Merge "Adding a custom property to the default VHAL impl" into oc-dev 2017-04-17 20:57:38 +00:00
Pavel Maltsev
794fc4f9ff 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
2017-04-17 10:39:27 -07:00
Howard Chen
812f5d3101 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
2017-04-17 14:34:34 +08:00
Jae Shin
cc8b5c1c48 Write VTS target test for Configstore HAL
Bug: 35915192
Test: make vts -j40 && vts-tradefed run commandAndExit vts
--module VtsHalConfigstoreV1_0Target

Change-Id: I85692a0cf140b62adaa6b5384fea6d3b4090ba98
2017-04-17 13:10:36 +09:00
TreeHugger Robot
ba2420a87f Merge "Remove dependency of libhardware_legacy" into oc-dev 2017-04-17 03:05:10 +00:00
TreeHugger Robot
5bd796b649 Merge "dumpstate hal: use vendor toybox" into oc-dev 2017-04-16 14:00:49 +00:00
TreeHugger Robot
c68698337c Merge "VtsHalDrmV1_0Target test failure" into oc-dev 2017-04-15 07:53:27 +00:00
Hung-ying Tyan
593eeb7a4b 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
2017-04-15 13:43:36 +08:00