OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoChange bootHAL to early_hal class am: 092daf7fea am: 769907ef4e
Wei Wang [Tue, 25 Apr 2017 17:45:58 +0000 (17:45 +0000)]
Change bootHAL to early_hal class am: 092daf7fea am: 769907ef4e
am: 3debb9dec8  -s ours

Change-Id: I9725a681541ced41ff98f8989b28520d819c2157

7 years agoChange bootHAL to early_hal class am: 092daf7fea
Wei Wang [Tue, 25 Apr 2017 17:44:29 +0000 (17:44 +0000)]
Change bootHAL to early_hal class am: 092daf7fea
am: 769907ef4e

Change-Id: Ifc68c969adadd0cab354c1f70d1ec164ca03665f

7 years agoChange bootHAL to early_hal class
Wei Wang [Tue, 25 Apr 2017 17:42:03 +0000 (17:42 +0000)]
Change bootHAL to early_hal class
am: 092daf7fea

Change-Id: I905d1a824c8e4904f748d9d9f3c66bb36136647e

7 years agoMerge changes from topic 'fuguWifi' into oc-dev
Randy Pan [Tue, 25 Apr 2017 17:20:51 +0000 (17:20 +0000)]
Merge changes from topic 'fuguWifi' into oc-dev
am: 0d0fb634ec

Change-Id: I2617fe15174d5ca808e48d21fd5d4f9ac0f99778

7 years agoMerge changes from topic 'fuguWifi' 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

7 years agoMerge "Finish adding manufacturer and model to device ID attestation" into oc-dev
Bartosz Fabianowski [Tue, 25 Apr 2017 10:47:57 +0000 (10:47 +0000)]
Merge "Finish adding manufacturer and model to device ID attestation" into oc-dev
am: 8fcab148c2

Change-Id: Ib568ef34a26d500e452887118338679388dfcf8e

7 years agoMerge "Finish adding manufacturer and model to device ID attestation" into oc-dev
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

7 years agoMerge changes from topic 'o-usage64-2' into oc-dev
Chris Forbes [Tue, 25 Apr 2017 04:18:30 +0000 (04:18 +0000)]
Merge changes from topic 'o-usage64-2' into oc-dev
am: 441c1cb7d7

Change-Id: Ia157cdb20c55ed30f3b6de49be3b67b3410910d0

7 years agoMerge changes from topic 'o-usage64-2' 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

7 years agoMerge "wifi(implementation): Turn on DFS flag for STA" into oc-dev
Roshan Pius [Tue, 25 Apr 2017 03:13:27 +0000 (03:13 +0000)]
Merge "wifi(implementation): Turn on DFS flag for STA" into oc-dev
am: b09f65c4b1

Change-Id: Iadceaaca523f9dc115fbbfc25f7dd169b11edc8a

7 years agoMerge "wifi(implementation): Turn on DFS flag for STA" into oc-dev
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

7 years agowifi(implementation): Turn on DFS flag for STA
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

7 years agoChange bootHAL to early_hal class
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
(cherry picked from commit 9a4388cf28d5f4804efa4fe0f6cc9485dea6839a)
Merged-In: Ifa508570455289efd58350562fadea5676c3bc67
Change-Id: Ifa508570455289efd58350562fadea5676c3bc67

7 years agoChange bootHAL to early_hal class
Wei Wang [Mon, 24 Apr 2017 21:06:06 +0000 (21:06 +0000)]
Change bootHAL to early_hal class
am: 9a4388cf28

Change-Id: I2091d717c8bd4ad6b2c6834fefcda3b9f3ad37e6

7 years agoMerge "Fix test case for setSimCardPower radio api." am: 6287508ad3 am: 234940252b
Sanket Padawe [Mon, 24 Apr 2017 19:49:58 +0000 (19:49 +0000)]
Merge "Fix test case for setSimCardPower radio api." am: 6287508ad3 am: 234940252b
am: b93cc647e1  -s ours

Change-Id: I9fca5e1ff1d3945a147ab53f3d4d76287123113b

7 years agoMerge "Fix test case for setSimCardPower radio api." am: 6287508ad3
Sanket Padawe [Mon, 24 Apr 2017 19:48:28 +0000 (19:48 +0000)]
Merge "Fix test case for setSimCardPower radio api." am: 6287508ad3
am: 234940252b

Change-Id: Ie8739196731304853f18172a730af8a7c11346e7

7 years agoMerge "Fix test case for setSimCardPower radio api."
Sanket Padawe [Mon, 24 Apr 2017 19:46:27 +0000 (19:46 +0000)]
Merge "Fix test case for setSimCardPower radio api."
am: 6287508ad3

Change-Id: Ief997bb839e00d11d3f4a88f842fbcb64721e950

7 years agoMerge "Fix failing VTS test cases" into oc-dev
Pavel Maltsev [Mon, 24 Apr 2017 19:41:53 +0000 (19:41 +0000)]
Merge "Fix failing VTS test cases" into oc-dev
am: d77a4a5585

Change-Id: I01f95ca5444957017d0ef47789c8355f98d475b8

7 years agoMerge "Fix test case for setSimCardPower radio api."
Sanket Padawe [Mon, 24 Apr 2017 19:39:14 +0000 (19:39 +0000)]
Merge "Fix test case for setSimCardPower radio api."

7 years agoChange bootHAL to early_hal class
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

7 years agoMerge "Fix failing VTS test cases" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 17:19:57 +0000 (17:19 +0000)]
Merge "Fix failing VTS test cases" into oc-dev

7 years agoautomotive: Adjust tests for libui gralloc flags change
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

7 years agocamera: Adjust for libui gralloc flags change
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

7 years agoFix test case for setSimCardPower radio api.
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
Merged-in: I93e78c46971158cd14666931b527d8e268e0a39e

7 years agoFix failing VTS test cases
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

7 years agoMerge "Clarifying comments and todos, update current.txt." into oc-dev
Wyatt Riley [Fri, 21 Apr 2017 15:42:55 +0000 (15:42 +0000)]
Merge "Clarifying comments and todos, update current.txt." into oc-dev
am: f6470873f4

Change-Id: Iad1cbff7c4a787831f3f3ded7fbbeb3e8bae7453

7 years agoMerge "Clarifying comments and todos, update current.txt." into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 15:39:25 +0000 (15:39 +0000)]
Merge "Clarifying comments and todos, update current.txt." into oc-dev

7 years agoMerge "audio hal: initialize audio patch handle" into oc-dev
Steve Paik [Fri, 21 Apr 2017 15:08:52 +0000 (15:08 +0000)]
Merge "audio hal: initialize audio patch handle" into oc-dev
am: 9ba37420fe

Change-Id: Ic8631db12087044b5ca71b5b676c2626305f7e7b

7 years agoMerge "audio hal: initialize audio patch handle" 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

7 years agoMerge "Make setTimeLapseConfig take frequencies instead of periods." into oc-dev
Pawin Vongmasa [Fri, 21 Apr 2017 10:05:12 +0000 (10:05 +0000)]
Merge "Make setTimeLapseConfig take frequencies instead of periods." into oc-dev
am: 2200bb2e96

Change-Id: I5489dc6b3b3bc1acface3f6620b2d330bacf8309

7 years agoMerge "Make setTimeLapseConfig take frequencies instead of periods." 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

7 years agoMerge "media: Add getStopTimeOffsetUs in GraphicBufferSource." into oc-dev
Hangyu Kuang [Fri, 21 Apr 2017 04:50:51 +0000 (04:50 +0000)]
Merge "media: Add getStopTimeOffsetUs in GraphicBufferSource." into oc-dev
am: 17572138b5

Change-Id: Idecad293227a7251f008aa77002687187361a675

7 years agoMerge "media: Add getStopTimeOffsetUs in GraphicBufferSource." 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

7 years agoMake setTimeLapseConfig take frequencies instead of periods.
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

7 years agomedia: Add getStopTimeOffsetUs in GraphicBufferSource.
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

7 years agoAdd missing document for supplicant hal, current.txt.
Ningyuan Wang [Fri, 21 Apr 2017 00:15:52 +0000 (00:15 +0000)]
Add missing document for supplicant hal, current.txt.
am: 94a07c4cdc

Change-Id: I557a9b9af06785c30878af75cc35965ad3fc9a30

7 years agoaudio hal: initialize audio patch handle
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

7 years agoAdd missing document for supplicant hal, current.txt.
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

7 years agoImprove logger feature set handling
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

7 years agoAdd capabilities for wifi_hal_legacy
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

7 years agoClarifying comments and todos, update current.txt.
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

7 years agoRemove dependency of libhardware_legacy am: b422f16e23 am: 9d9fb91751
Hung-ying Tyan [Thu, 20 Apr 2017 04:20:59 +0000 (04:20 +0000)]
Remove dependency of libhardware_legacy am: b422f16e23 am: 9d9fb91751
am: f56965a9bc

Change-Id: Ic992d8c96fbafd42d5947986e4711ee2a9b3ae1f

7 years agoMove bluetooth test to vendor. am: 1c11c98d5e am: cee6374483
Steven Moreland [Thu, 20 Apr 2017 04:20:55 +0000 (04:20 +0000)]
Move bluetooth test to vendor. am: 1c11c98d5e am: cee6374483
am: e4ef4af4f9

Change-Id: Ic721420f6c21eff6909f14078f2dae7bf17f0c53

7 years agoFinish adding manufacturer and model to device ID attestation
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

7 years agoRemove dependency of libhardware_legacy am: b422f16e23
Hung-ying Tyan [Thu, 20 Apr 2017 01:58:51 +0000 (01:58 +0000)]
Remove dependency of libhardware_legacy am: b422f16e23
am: 9d9fb91751

Change-Id: I288847bf7edbf892f9a7ec2201a7fde2972ce309

7 years agoMove bluetooth test to vendor. am: 1c11c98d5e
Steven Moreland [Thu, 20 Apr 2017 01:58:47 +0000 (01:58 +0000)]
Move bluetooth test to vendor. am: 1c11c98d5e
am: cee6374483

Change-Id: I335288b2451bd170d927711fa57c0aaa30dc2b30

7 years agoRemove dependency of libhardware_legacy
Hung-ying Tyan [Thu, 20 Apr 2017 01:47:12 +0000 (01:47 +0000)]
Remove dependency of libhardware_legacy
am: b422f16e23

Change-Id: Icc19ad6907a31bc00e3f1b10c8e1308142b379c5

7 years agoMove bluetooth test to vendor.
Steven Moreland [Thu, 20 Apr 2017 01:47:09 +0000 (01:47 +0000)]
Move bluetooth test to vendor.
am: 1c11c98d5e

Change-Id: I7924ffa291ec6ef40d48b4d4f4d164e2f2d154e9

7 years agoMerge "graphics: keep mapper valid during process termination" into oc-dev
Chia-I Wu [Wed, 19 Apr 2017 22:45:38 +0000 (22:45 +0000)]
Merge "graphics: keep mapper valid during process termination" into oc-dev
am: de173893c8

Change-Id: Ic21e817d39cc50eb6a2eb9bd4bf9262a5263536a

7 years agoRemove dependency of libhardware_legacy
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

(cherry picked from commit 593eeb7a4b0ea3af560dc4ada36237e786b0e039)

Change-Id: I599073296baa5eee72a1fce8caa4eb8352f66218
Merged-In: I599073296baa5eee72a1fce8caa4eb8352f66218

7 years agoMerge "graphics: keep mapper valid during process termination" into oc-dev
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

7 years agoMove bluetooth test to vendor.
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
(cherry picked from commit 2cfae52a2e479c1dc91caa2b0ae365718bb8e6fc)
Merged-In: I856838fe208a4cd038ea16d47f03f6278224b2ee
Change-Id: I856838fe208a4cd038ea16d47f03f6278224b2ee

7 years agoMerge "Add current.txt" into oc-dev
Steven Moreland [Wed, 19 Apr 2017 22:07:03 +0000 (22:07 +0000)]
Merge "Add current.txt" into oc-dev
am: 0d260797b4

Change-Id: I5e801e4dbb708cf4178000bf87ac92b4918f7928

7 years agoMerge "Add current.txt" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 21:59:24 +0000 (21:59 +0000)]
Merge "Add current.txt" into oc-dev

7 years agographics: keep mapper valid during process termination
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

7 years agoMerge "Audio primary hal: fix member function used before init" into oc-dev
Eric Laurent [Wed, 19 Apr 2017 17:49:16 +0000 (17:49 +0000)]
Merge "Audio primary hal: fix member function used before init" into oc-dev
am: 30f78a13b0

Change-Id: If2ce1de9bade109b6a6a70d15946f44559e6eea7

7 years agoMerge "Audio primary hal: fix member function used before init" into oc-dev
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

7 years agoAudio primary hal: fix member function used before init
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>
7 years agoAdd current.txt
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

7 years agoMerge "Fix test case for setSimCardPower radio api." into oc-dev
Sanket Padawe [Wed, 19 Apr 2017 03:07:27 +0000 (03:07 +0000)]
Merge "Fix test case for setSimCardPower radio api." into oc-dev
am: c10abf09f7

Change-Id: I619a75a39881d7f7b93a0aa4d3a9e6d8c19095be

7 years agoMerge "Fix test case for setSimCardPower radio api." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 03:04:03 +0000 (03:04 +0000)]
Merge "Fix test case for setSimCardPower radio api." into oc-dev

7 years agoMerge changes from topic 'vts-audio-fix' into oc-dev
Kevin Rocard [Wed, 19 Apr 2017 01:03:01 +0000 (01:03 +0000)]
Merge changes from topic 'vts-audio-fix' into oc-dev
am: d7e88525a7

Change-Id: I2e07e075b294ab499703d51f2ef9bb5aa4319ecc

7 years agoMerge changes from topic 'vts-audio-fix' 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

7 years agoMerge "Use IBinder to identify callbacks in VHAL" into oc-dev
Pavel Maltsev [Tue, 18 Apr 2017 23:46:05 +0000 (23:46 +0000)]
Merge "Use IBinder to identify callbacks in VHAL" into oc-dev
am: 2e25e562fa

Change-Id: I611d49f9cf129a6888b8e2ec3ca79f5e9d3f7c22

7 years agoMerge "Use IBinder to identify callbacks in VHAL" into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 23:23:09 +0000 (23:23 +0000)]
Merge "Use IBinder to identify callbacks in VHAL" into oc-dev

7 years agoUse IBinder to identify callbacks in VHAL
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

7 years agoMerge "audio hal: explicitly import headers" into oc-dev
Steven Moreland [Tue, 18 Apr 2017 13:18:38 +0000 (13:18 +0000)]
Merge "audio hal: explicitly import headers" into oc-dev
am: 41c639f7bc

Change-Id: I26fc66602664aa4adc0aa8830082918c6911e39d

7 years agoMerge "audio hal: explicitly import headers" into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 13:06:59 +0000 (13:06 +0000)]
Merge "audio hal: explicitly import headers" into oc-dev

7 years agoMerge "Write VTS target test for Configstore HAL" into oc-dev
Jae Shin [Tue, 18 Apr 2017 05:55:22 +0000 (05:55 +0000)]
Merge "Write VTS target test for Configstore HAL" into oc-dev
am: c45ef5f15a

Change-Id: Ic5cf98b1b63bffc0e25f4742815190a39e4a6665

7 years agoMerge "Write VTS target test for Configstore HAL" 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

7 years agoMerge "Add IScheduleTest for VTS libhwbinder scheduler test" into oc-dev
PO HUNG CHEN [Tue, 18 Apr 2017 02:25:36 +0000 (02:25 +0000)]
Merge "Add IScheduleTest for VTS libhwbinder scheduler test" into oc-dev
am: fdd891393c

Change-Id: I6f5a34844f9eb52b57134cf99e0b9af0240d92c0

7 years agoMerge "Add IScheduleTest for VTS libhwbinder scheduler test" 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

7 years agoMerge "Remove dependency of libhardware_legacy from HAL services" into oc-dev
Hung-ying Tyan [Tue, 18 Apr 2017 01:01:13 +0000 (01:01 +0000)]
Merge "Remove dependency of libhardware_legacy from HAL services" into oc-dev
am: 206e38a4e8

Change-Id: I9df6d9f4fdde38133663af5e7341ae22e66b97dd

7 years agoMerge "Remove dependency of libhardware_legacy from HAL services" 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

7 years agoFix test case for setSimCardPower radio api.
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

7 years agoaudio hal: explicitly import headers
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

7 years agoMerge "Adding a custom property to the default VHAL impl" into oc-dev
Pavel Maltsev [Mon, 17 Apr 2017 21:08:16 +0000 (21:08 +0000)]
Merge "Adding a custom property to the default VHAL impl" into oc-dev
am: 69c42429d1

Change-Id: I56225b64b36d709e74e952ef9c918f475e15ee1a

7 years agoMerge "Adding a custom property to the default VHAL impl" into oc-dev
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

7 years agoAdding a custom property to the default VHAL impl
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

7 years agoAdd IScheduleTest for VTS libhwbinder scheduler test
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

7 years agoWrite VTS target test for Configstore HAL
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

7 years agoMerge "Remove dependency of libhardware_legacy" into oc-dev
Hung-ying Tyan [Mon, 17 Apr 2017 03:10:39 +0000 (03:10 +0000)]
Merge "Remove dependency of libhardware_legacy" into oc-dev
am: ba2420a87f

Change-Id: Ib9909a371adcc72ba13d684429c852242044737b

7 years agoMerge "Remove dependency of libhardware_legacy" into oc-dev
TreeHugger Robot [Mon, 17 Apr 2017 03:05:09 +0000 (03:05 +0000)]
Merge "Remove dependency of libhardware_legacy" into oc-dev

7 years agoMerge "dumpstate hal: use vendor toybox" into oc-dev
Sandeep Patil [Sun, 16 Apr 2017 14:07:22 +0000 (14:07 +0000)]
Merge "dumpstate hal: use vendor toybox" into oc-dev
am: 5bd796b649

Change-Id: Ia9de434a511be43f97d60c2a06276cb7722cc5ba

7 years agoMerge "dumpstate hal: use vendor toybox" 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

7 years agoMerge "VtsHalDrmV1_0Target test failure" into oc-dev
Jeff Tinker [Sat, 15 Apr 2017 07:59:22 +0000 (07:59 +0000)]
Merge "VtsHalDrmV1_0Target test failure" into oc-dev
am: c68698337c

Change-Id: I27822a0c35274a1893ee0ebad50046a0f14a981e

7 years agoMerge "VtsHalDrmV1_0Target test failure" into oc-dev
TreeHugger Robot [Sat, 15 Apr 2017 07:53:26 +0000 (07:53 +0000)]
Merge "VtsHalDrmV1_0Target test failure" into oc-dev

7 years agoRemove dependency of libhardware_legacy
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

7 years agognss@1.0-service: drop inet group, add gps group
Iliyan Malchev [Sat, 15 Apr 2017 05:41:41 +0000 (05:41 +0000)]
gnss@1.0-service: drop inet group, add gps group
am: 554df3738d

Change-Id: I44c7de19ac392d1293d1b04db0e6941be2940769

7 years agognss@1.0-service: drop inet group, add gps group
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>
7 years agoRemove dependency of libhardware_legacy from HAL services
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

7 years agodumpstate hal: use vendor toybox
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>
7 years agoMerge "Use fmq for camera capture result." into oc-dev
Yifan Hong [Fri, 14 Apr 2017 23:47:52 +0000 (23:47 +0000)]
Merge "Use fmq for camera capture result." into oc-dev
am: 939c906a4f

Change-Id: I7b7410acb5bfca91c3abf35daf7274b41a4a42ea

7 years agoMerge "Skip tests when the drm scheme is not installed" into oc-dev
Jeff Tinker [Fri, 14 Apr 2017 23:47:36 +0000 (23:47 +0000)]
Merge "Skip tests when the drm scheme is not installed" into oc-dev
am: fdde895c34

Change-Id: I612f7a996e1c1d287b779c444d3488c311da4900

7 years agoMerge "Use fmq for camera capture result." into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 23:42:53 +0000 (23:42 +0000)]
Merge "Use fmq for camera capture result." into oc-dev

7 years agoMerge "Skip tests when the drm scheme is not installed" 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

7 years agoMerge "setActiveGroup null, 0 length, unwritable dir should fail" into oc-dev
Kevin Chyn [Fri, 14 Apr 2017 23:13:57 +0000 (23:13 +0000)]
Merge "setActiveGroup null, 0 length, unwritable dir should fail" into oc-dev
am: 04b086dd08

Change-Id: I87684aacda896831863c9fe2a6fc351dd52504ad

7 years agoVtsHalDrmV1_0Target test failure
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

7 years agoMerge "setActiveGroup null, 0 length, unwritable dir should fail" into oc-dev
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

7 years agoMerge "Add testcases for restoreKeys API." into oc-dev
Ryan Campbell [Fri, 14 Apr 2017 21:44:51 +0000 (21:44 +0000)]
Merge "Add testcases for restoreKeys API." into oc-dev
am: 007d23e7cb

Change-Id: Ib33b89c56caac065cea5cffe82c54e4f7158c682