android/platform-hardware-interfaces.git
4 years agoMerge "Add OWNERS in hardware/interfaces"
Chih-hung Hsieh [Wed, 14 Jun 2017 22:30:29 +0000 (22:30 +0000)]
Merge "Add OWNERS in hardware/interfaces"
am: 37e00854d9

Change-Id: I3574e1f347368d146812cd86116dbaa85e216e97

4 years agoMerge "Add OWNERS in hardware/interfaces"
Chih-hung Hsieh [Wed, 14 Jun 2017 22:25:55 +0000 (22:25 +0000)]
Merge "Add OWNERS in hardware/interfaces"

4 years agoRadio Interface changes to allow the modem to query the framework for the key.
pkanwar [Tue, 13 Jun 2017 20:30:45 +0000 (20:30 +0000)]
Radio Interface changes to allow the modem to query the framework for the key.
am: 1076d5ba87

Change-Id: I7191109616d9fb51e2aac762f9685c91782f9f6b

4 years agoRadio Interface changes to allow the modem to query the framework
pkanwar [Sun, 21 May 2017 17:22:02 +0000 (10:22 -0700)]
Radio Interface changes to allow the modem to query the framework
for the key.

We will now pass the ImsiEncryptionInfo object which includes mnc/mcc.
BUG: 35606429
Test: manual

Change-Id: Iae18382f1f244be6a756a47753f0345e1925ca4a

4 years agoAdd OWNERS in hardware/interfaces
Chih-Hung Hsieh [Mon, 12 Jun 2017 19:18:07 +0000 (12:18 -0700)]
Add OWNERS in hardware/interfaces

* Owners are selected from top CL approvals or owners.
  They will be suggested to review/approve future CLs.
* OWNERS files are recognized by the new find-owners plugin, see .md files in
  https://gerrit.googlesource.com/plugins/find-owners/+/master/src/main/resources/Documentation/

Test: build/make/tools/checkowners.py -c -v OWNERS
Change-Id: I6df752a2c803d956ab9f21cfce3aa07713cd91a5

4 years agoBluetooth: Call vendor cleanup() in Close()
Myles Watson [Fri, 9 Jun 2017 22:18:21 +0000 (22:18 +0000)]
Bluetooth: Call vendor cleanup() in Close()
am: 9eee83093f

Change-Id: I477fa2049642e2025e2ea5a2a5c9c1be10d5c8f6

4 years agoBluetooth: Call vendor cleanup() in Close()
Myles Watson [Thu, 8 Jun 2017 15:38:58 +0000 (08:38 -0700)]
Bluetooth: Call vendor cleanup() in Close()

Bug: 62453652
Test: sailfish and angler start/stop Bluetooth, pair
Change-Id: I8ba80ae1802d1f524acb1d8e26b5bb41fc1612d0

4 years agoMerge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation."
Miao Wang [Fri, 2 Jun 2017 23:24:13 +0000 (23:24 +0000)]
Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation."
am: 292cddf6be

Change-Id: Ia0792574c4ecc6120cf1ff85af38f3325933245d

4 years agoMerge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation."
Miao Wang [Fri, 2 Jun 2017 23:16:05 +0000 (23:16 +0000)]
Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation."

4 years agoMerge "Generate serial number randomly in VTS unit test"
sqian [Wed, 31 May 2017 21:38:19 +0000 (21:38 +0000)]
Merge "Generate serial number randomly in VTS unit test"
am: 0c49ae609f

Change-Id: Ie1b1a3bcb2ae5f2412c75f09bdab4c50bc50e715

4 years agoMerge "Generate serial number randomly in VTS unit test" android-o-preview-3
Treehugger Robot [Wed, 31 May 2017 21:26:30 +0000 (21:26 +0000)]
Merge "Generate serial number randomly in VTS unit test"

4 years agoGenerate serial number randomly in VTS unit test
sqian [Wed, 24 May 2017 22:57:31 +0000 (15:57 -0700)]
Generate serial number randomly in VTS unit test

Any fixed integer can be returned by vendor's APIs response.
Ideally it should be a random value for testing a vendor library.

Applying this to all the unit tests serial number.

Cherry-pick from:
  https://googleplex-android-review.git.corp.google.com/#/c/2330821/

Bug: 38499889
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Change-Id: I491db829cca607fad9f6a21987de92269d115253
Merged-In: I491db829cca607fad9f6a21987de92269d115253

4 years agoRemove versioning tests interfaces.
Steven Moreland [Fri, 26 May 2017 19:10:23 +0000 (19:10 +0000)]
Remove versioning tests interfaces.
am: 1cb1e14fae

Change-Id: I8d8df3dc8ef933f0e355e35b5699cd5334802652

4 years agoRemove versioning tests interfaces.
Steven Moreland [Wed, 24 May 2017 22:29:56 +0000 (15:29 -0700)]
Remove versioning tests interfaces.

These are moved to system/tools/hidl/test in
a form that can have build time tests added
and which don't affect checkbuild time by
adding various Java targets.

Test: none
Bug: 38242758
Change-Id: I747619389e667f5660cdc0bf2cccd9df6bbb8eb4

4 years agoMerge "libhwbinder test: Android.mk -> Android.bp"
Steven Moreland [Thu, 25 May 2017 20:54:18 +0000 (20:54 +0000)]
Merge "libhwbinder test: Android.mk -> Android.bp"
am: 154040c0ca

Change-Id: Ibaebc42be2d02322984ee205342e6b848a9d73bb

4 years agoMerge "libhwbinder test: Android.mk -> Android.bp"
Treehugger Robot [Thu, 25 May 2017 20:47:47 +0000 (20:47 +0000)]
Merge "libhwbinder test: Android.mk -> Android.bp"

4 years agoMerge "configstore-utils: add feature to cache service handles"
Jaesoo Lee [Thu, 25 May 2017 01:18:01 +0000 (01:18 +0000)]
Merge "configstore-utils: add feature to cache service handles"
am: 03b02609ff

Change-Id: Ide69ff1702216e34d2d753f2da11f52b48032092

4 years agoMerge "configstore-utils: add feature to cache service handles"
Treehugger Robot [Thu, 25 May 2017 01:13:35 +0000 (01:13 +0000)]
Merge "configstore-utils: add feature to cache service handles"

4 years agolibhwbinder test: Android.mk -> Android.bp
Steven Moreland [Wed, 24 May 2017 00:23:26 +0000 (17:23 -0700)]
libhwbinder test: Android.mk -> Android.bp

Test: links

Change-Id: Iaaa27cb0f398ee4b9a273916454f3110ddee0e3b

4 years agoconfigstore-utils: add feature to cache service handles
Jaesoo Lee [Mon, 22 May 2017 06:53:25 +0000 (15:53 +0900)]
configstore-utils: add feature to cache service handles

Previously, the service handle for the configstore needs to be retrieved
for every calls. This change reduces the time for retrieving multiple
configstore items from a same client by caching the service handle per a
configstore interface class.

Bug: 38411900
Test: built and tested on sailfish.
Change-Id: Iaff81e9f2b026aee0bd3865f5d5ed3fb7b6056e0

4 years agoFixed flaky RenderScript VTS Test
Michael Butler [Tue, 23 May 2017 17:48:43 +0000 (17:48 +0000)]
Fixed flaky RenderScript VTS Test
am: 076f69aa2b

Change-Id: I17ae8017893c4c9d374a956417e7e18f06188a39

4 years agoFixed flaky RenderScript VTS Test
Michael Butler [Tue, 23 May 2017 00:01:24 +0000 (17:01 -0700)]
Fixed flaky RenderScript VTS Test

Added missing synchronization before context destroy

Bug: 38385848
Test: make vts, does not fail with multiple tests
Change-Id: Ib0d038969e9a1d6f5ea555ccb60fed55b69e05dc

4 years agoMerge "Update makefiles."
Steven Moreland [Sat, 20 May 2017 00:13:11 +0000 (00:13 +0000)]
Merge "Update makefiles."
am: 9119d4ccd1

Change-Id: Icf060b16975695c0d8b6bbf2ba2d20f1c728eb65

4 years agoMerge "Update makefiles."
Treehugger Robot [Sat, 20 May 2017 00:05:49 +0000 (00:05 +0000)]
Merge "Update makefiles."

4 years agoMerge "[WIFI] Remove dependency on vendor-specific library"
Etan Cohen [Fri, 19 May 2017 15:58:47 +0000 (15:58 +0000)]
Merge "[WIFI] Remove dependency on vendor-specific library"
am: 294340e1d4

Change-Id: I9af0a65579ce93ff59357e8df9848f40a94e0211

4 years agoMerge "[WIFI] Remove dependency on vendor-specific library"
Etan Cohen [Fri, 19 May 2017 15:52:18 +0000 (15:52 +0000)]
Merge "[WIFI] Remove dependency on vendor-specific library"

4 years agoUpdate makefiles.
Steven Moreland [Thu, 18 May 2017 23:14:16 +0000 (16:14 -0700)]
Update makefiles.

Adds default configuration to all hals.

Test: pass
Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856

4 years ago[RenderScript] Use OVERRIDE_RS_DRIVER string in the default
Miao Wang [Tue, 16 May 2017 22:36:54 +0000 (15:36 -0700)]
[RenderScript] Use OVERRIDE_RS_DRIVER string in the default
implementation.

Bug: 37035983
Test: mm
Test: manually push to sailfish & angler, verify GPU driver successfully
load, and tests are passing.

Change-Id: Ic55c74228e7eae599702365c513009aa3454656b

4 years agoAdd the new RIL requests to start/stop network scan
yinxu [Tue, 16 May 2017 23:11:34 +0000 (23:11 +0000)]
Add the new RIL requests to start/stop network scan
am: 872518a234

Change-Id: I54de141d12b99b682b579b5002e75b2665f112f7

4 years agoAdd the new RIL requests to start/stop network scan
yinxu [Fri, 21 Apr 2017 22:04:15 +0000 (15:04 -0700)]
Add the new RIL requests to start/stop network scan

The CL defines the RIL API including the methods and structs which will
be used start and stop the network scan.

Test: Telephony Sanity Test
Bug: 30954762

Change-Id: I18462bf4aa5e8a9497d5eb214d905e4e7c827a04
(cherry picked from commit b187e9f95e52f4a10a656a56c8a1a3a8722bb029)

4 years agoMerge "Support different SIM power states"
Grace Chen [Tue, 16 May 2017 19:42:46 +0000 (19:42 +0000)]
Merge "Support different SIM power states"
am: f94eb06d32

Change-Id: I31103f6a6de332ab8a68df4f7d13cbb097a72e28

4 years agoMerge "Support different SIM power states"
Grace Chen [Tue, 16 May 2017 19:30:25 +0000 (19:30 +0000)]
Merge "Support different SIM power states"

4 years agoAdd HIDL_FETCH_IScheduleTest declaration
Howard Chen [Tue, 16 May 2017 18:24:18 +0000 (18:24 +0000)]
Add HIDL_FETCH_IScheduleTest declaration
am: 82ddb247b2

Change-Id: Idb6e9dca36c6e7b455c62dbc66d09def5f51fd65

4 years agoAdd IScheduleTest for VTS libhwbinder scheduler test
Howard Chen [Tue, 16 May 2017 18:24:16 +0000 (18:24 +0000)]
Add IScheduleTest for VTS libhwbinder scheduler test
am: 35ae446548

Change-Id: I6e9b9866c0e7ab9e9beccd6137226a43dd33c858

4 years agoSupport different SIM power states
Grace Chen [Wed, 26 Apr 2017 01:41:20 +0000 (18:41 -0700)]
Support different SIM power states

Test: Verify SIM power states
Bug:  35844036
Merged-In: I769f7eada97286680cb516c63d28da11bb69db4d
Change-Id: I769f7eada97286680cb516c63d28da11bb69db4d

4 years agoAdd HIDL_FETCH_IScheduleTest declaration
Howard Chen [Mon, 8 May 2017 06:04:05 +0000 (14:04 +0800)]
Add HIDL_FETCH_IScheduleTest declaration

Fix the bug that makes the registerAsServer fail.
sp<IScheduleTest> server =
IScheduleTest::getService(serviceName, true);
status_t status = server->registerAsService(serviceName);

Bug:38099333
Test: oc-dev on pixel sailfish with a vts test case
  "libhwbinder_latency -i 1"
Change-Id: I892835a25ef7df56a6424da41c0fc477b3a532d8

4 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
Merged-In: Ie2a837c8d0d4fa95c6fd0ebd50e76412cb808df8

Change-Id: Ic0498bc2b036cedced906963bb8e489dcca47a1a

4 years agoNFC: vts: Add commands to reset the NFC controller before other commands
Ruchi Kandoi [Mon, 15 May 2017 17:17:55 +0000 (17:17 +0000)]
NFC: vts: Add commands to reset the NFC controller before other commands
am: 209a274c31

Change-Id: I6d8cf3abf2dca69c984b313c593a01b282b23dd1

4 years agoNFC: vts: Add commands to reset the NFC controller before other commands
Ruchi Kandoi [Fri, 12 May 2017 21:19:25 +0000 (14:19 -0700)]
NFC: vts: Add commands to reset the NFC controller before other commands

Bandwidth and WriteInvalidAndThenValidCommand test assumes that the NFC
controller will be initialized before the test. This is not necessarily
true for all devices. Send CORE_RESET_CMD and CORE_INIT_CMD before
creating a loop-back connection.

CORE_RESET_RSP doesn't necessary return the configuration that was sent
in CORE_RESET_CMD. For instance, if CORE_RESET_CMD requested keeping
the configuration, and if the controller doesn't support that, the
configuration will be resetted and CORE_RESET_RSP will reflect that.

Bug: 38267593
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
      --primary-abi-only --skip-preconditions
      --module VtsHalNfcV1_0Target -l INFO
Change-Id: I65ae9746054ca767b928bdd461faa02f03719aea
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
4 years agoMerge "Update makefiles from anywhere."
Steven Moreland [Fri, 12 May 2017 21:43:29 +0000 (21:43 +0000)]
Merge "Update makefiles from anywhere."
am: a24592b396

Change-Id: I48f496f85a7da83e4506634ee9b90792471fac6c

4 years agoMerge "Update makefiles from anywhere."
Steven Moreland [Fri, 12 May 2017 21:33:36 +0000 (21:33 +0000)]
Merge "Update makefiles from anywhere."

4 years agoMerge "Bluetooth: Add a second thread for the scheduler"
Myles Watson [Fri, 12 May 2017 18:08:28 +0000 (18:08 +0000)]
Merge "Bluetooth: Add a second thread for the scheduler"
am: 2709c56ad5

Change-Id: I0375940ba054d6b12d00957e96e0de860625c273

4 years agoMerge "Bluetooth: Add a second thread for the scheduler"
Treehugger Robot [Fri, 12 May 2017 18:03:54 +0000 (18:03 +0000)]
Merge "Bluetooth: Add a second thread for the scheduler"

4 years agoconfigstore: include types.h instead of ISurfaceFlingerConfigs.h
Jaesoo Lee [Fri, 12 May 2017 05:10:34 +0000 (05:10 +0000)]
configstore: include types.h instead of ISurfaceFlingerConfigs.h
am: 92c77bd6e7

Change-Id: I2782872f927b8fa9a0cc1da877d0f1cac3680150

4 years agoBluetooth: Add a second thread for the scheduler
Myles Watson [Thu, 11 May 2017 23:39:59 +0000 (16:39 -0700)]
Bluetooth: Add a second thread for the scheduler

Test: service call bluetooth_manager 6 # (Stop Bluetooth)
      /data/nativetest64/VtsHalBluetoothV1_0TargetTest/\
          VtsHalBluetoothV1_0TargetTest
Bug: 3817826534461621
Change-Id: Ia8f6683ca47c9deac43d1047846caee5688f1eca

4 years agoUpdate makefiles from anywhere.
Steven Moreland [Thu, 11 May 2017 22:42:32 +0000 (15:42 -0700)]
Update makefiles from anywhere.

Test: with update-all-google-makefiles.sh
Change-Id: I373e270b481d9074f440c3c0826199a207e654f7

4 years agoconfigstore: include types.h instead of ISurfaceFlingerConfigs.h
Jaesoo Lee [Tue, 2 May 2017 06:15:14 +0000 (15:15 +0900)]
configstore: include types.h instead of ISurfaceFlingerConfigs.h

Utils.h does not need to include ISurfaceFlingerConfigs.h.

Bug: 37727469
Test: successfully built sailfish-userdebug
Change-Id: I6650020bfc3b265d871ca3244b8900c336f98419

4 years agoActually fix build breakage with cleanspec.
Steven Moreland [Wed, 10 May 2017 22:47:14 +0000 (22:47 +0000)]
Actually fix build breakage with cleanspec.
am: 319b8292be

Change-Id: Ic9dcbf28c238b30eba296fedcdef08af049aef31

4 years agoActually fix build breakage with cleanspec.
Steven Moreland [Wed, 10 May 2017 22:32:32 +0000 (15:32 -0700)]
Actually fix build breakage with cleanspec.

OUT_DIR instead of OUT

Test: manual
Change-Id: I2e48c6f2f39ff2318517ff55cbfa6ca912c05021

4 years agoAdd CleanSpec to hardware/interfaces.
Steven Moreland [Wed, 10 May 2017 20:55:36 +0000 (20:55 +0000)]
Add CleanSpec to hardware/interfaces.
am: e468cf8004

Change-Id: If1978c73a668dacaf8f3b2842a704c5b28d5135e

4 years agoAdd CleanSpec to hardware/interfaces.
Steven Moreland [Wed, 10 May 2017 20:37:21 +0000 (13:37 -0700)]
Add CleanSpec to hardware/interfaces.

Fixes build breakage from interface changing after -Lc++-sources
and -Lc++-headers was added to hidl-gen.

Test: wip
Change-Id: I9ee0a0e7b72f8f2a3253d205943a696c07129a64

4 years agoUpdate makefiles for c++-sources and c++-headers.
Steven Moreland [Wed, 10 May 2017 02:47:25 +0000 (02:47 +0000)]
Update makefiles for c++-sources and c++-headers.
am: cb360c60d8

Change-Id: If0f0c69fa29a8c1cbd0d5b4e53e386ef8b68757e

4 years agoUpdate makefiles for c++-sources and c++-headers.
Steven Moreland [Tue, 9 May 2017 21:34:19 +0000 (14:34 -0700)]
Update makefiles for c++-sources and c++-headers.

Test: pass
Bug: 38174080
Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601

4 years ago[WIFI] Remove dependency on vendor-specific library
Etan Cohen [Wed, 3 May 2017 16:12:50 +0000 (09:12 -0700)]
[WIFI] Remove dependency on vendor-specific library

The libcld80211 is vendor-specific. Remove from dependecy list.

(cherry-pick of commit aa281aa266d6c8701c2ecbf3f49f505a2ecddae3)

Bug: 37901207
Test: builds and runs
Merged-In: If251002c2dd7a0e30ca18620edd905a63217f28a
Change-Id: If251002c2dd7a0e30ca18620edd905a63217f28a

4 years agoRemove unused lambda captures
Yi Kong [Mon, 8 May 2017 17:17:45 +0000 (17:17 +0000)]
Remove unused lambda captures
am: 5ca756ea1f

Change-Id: Ia11bcc3b1f05b4582fa85856d1cdf94c41c23fdc

4 years agoRemove unused lambda captures
Yi Kong [Fri, 5 May 2017 20:35:50 +0000 (13:35 -0700)]
Remove unused lambda captures

Test: build
Bug: 37752547
Change-Id: I339baf849c7aef97dd319377026564dedd0cc568

4 years agoMerge "Remove redundant dependencies."
Steven Moreland [Wed, 3 May 2017 22:20:12 +0000 (22:20 +0000)]
Merge "Remove redundant dependencies."
am: 8b4c1e4589

Change-Id: Ia79f726d5b0230836c1e5fdcf2043ab6c3ba7c18

4 years agoMerge "Remove redundant dependencies." android-o-preview-2 android-wear-o-preview-3 android-wear-o-preview-4
Treehugger Robot [Wed, 3 May 2017 22:01:03 +0000 (22:01 +0000)]
Merge "Remove redundant dependencies."

4 years ago.clang-format: 100 lines
Steven Moreland [Wed, 3 May 2017 21:55:22 +0000 (21:55 +0000)]
.clang-format: 100 lines
am: 5242af6d24

Change-Id: I1f6efce2c2c1ef8c0ec9dee58a9dc9b8e33c3903

4 years ago.clang-format: 100 lines
Steven Moreland [Tue, 2 May 2017 23:37:50 +0000 (16:37 -0700)]
.clang-format: 100 lines

This allows us to be more like the system/core clang format
and also prevents problems because a lot of hardware/interfaces
code is checked in with 100 lines of code.

Test: pass
Change-Id: I62aeba9deb33ad6ce3d62fada3e0c04139ca3588

4 years agoRemove redundant dependencies.
Steven Moreland [Tue, 2 May 2017 22:23:11 +0000 (15:23 -0700)]
Remove redundant dependencies.

android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I56655b0214ba147398f9234eb004fba0aceb7e40
Merged-In: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d

4 years agoMerge "Remove redundant dependencies"
Steven Moreland [Mon, 1 May 2017 23:30:00 +0000 (23:30 +0000)]
Merge "Remove redundant dependencies"
am: 62769b7196

Change-Id: Ie576459d47efdb1120b92a0e7c1a052b0ac15443

4 years agoMerge "Remove redundant dependencies"
Treehugger Robot [Mon, 1 May 2017 23:19:24 +0000 (23:19 +0000)]
Merge "Remove redundant dependencies"

4 years agoRemove redundant dependencies
Steven Moreland [Mon, 1 May 2017 16:47:58 +0000 (09:47 -0700)]
Remove redundant dependencies

android.hidl.base@1.0 and android.hidlmanager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I424371932af129bba9d58dcf8652c64297f35f05

4 years agonfc: Android.mk -> Android.bp
Steven Moreland [Sat, 29 Apr 2017 02:59:24 +0000 (02:59 +0000)]
nfc: Android.mk -> Android.bp
am: 238dd8a83c

Change-Id: Ib9e26069a58e86d4ab94f2ea5afde7ae1fd8dcc4

4 years agonfc: Android.mk -> Android.bp
Steven Moreland [Fri, 28 Apr 2017 00:52:45 +0000 (17:52 -0700)]
nfc: Android.mk -> Android.bp

Test: links
Change-Id: Ia19dafb3ff6bf5772d72133bb2e1687226e0d44f

4 years agoMerge "Tether Offload HAL"
Niranjan Pendharkar [Fri, 28 Apr 2017 05:26:05 +0000 (05:26 +0000)]
Merge "Tether Offload HAL"
am: e9b4ab6723

Change-Id: I58d0c821e55ae8b460ffedb79a2314fffffe0b39

4 years agoMerge "Tether Offload HAL"
Treehugger Robot [Fri, 28 Apr 2017 05:21:40 +0000 (05:21 +0000)]
Merge "Tether Offload HAL"

4 years agoMerge "configstore-utils: vendor_available"
Steven Moreland [Fri, 28 Apr 2017 03:14:21 +0000 (03:14 +0000)]
Merge "configstore-utils: vendor_available"
am: c3e640c7f0

Change-Id: Ied49d6affe69099bc08a58e1d5e38052d018a2e8

4 years agoMerge "configstore-utils: vendor_available"
Treehugger Robot [Fri, 28 Apr 2017 03:06:35 +0000 (03:06 +0000)]
Merge "configstore-utils: vendor_available"

4 years agoconfigstore-utils: vendor_available
Steven Moreland [Fri, 28 Apr 2017 01:32:39 +0000 (18:32 -0700)]
configstore-utils: vendor_available

Test: with BOARD_VNDK_VERSION := current
Change-Id: I4fe86224d18bc7e7579c13f9273bc4efa25df1ea

4 years agoMerge "Update .hal file for fixing vts tests"
Shuo Qian [Thu, 27 Apr 2017 23:58:40 +0000 (23:58 +0000)]
Merge "Update .hal file for fixing vts tests"
am: 4771c35ba9

Change-Id: I9e9a63c9253cd3413fdf14d8ea4b3668f4de1c9c

4 years agoMerge "Fix Vts errors"
Shuo Qian [Thu, 27 Apr 2017 23:58:38 +0000 (23:58 +0000)]
Merge "Fix Vts errors"
am: 570b0cbf6a

Change-Id: I8c27b992d93ac73067df5faa6a02713c01e44261

4 years agoMerge "Update .hal file for fixing vts tests"
Shuo Qian [Thu, 27 Apr 2017 23:48:39 +0000 (23:48 +0000)]
Merge "Update .hal file for fixing vts tests"

4 years agoMerge "Fix Vts errors"
Shuo Qian [Thu, 27 Apr 2017 23:48:39 +0000 (23:48 +0000)]
Merge "Fix Vts errors"

4 years agoMerge "stop bluetooth service while VTS test is running"
Keun Soo Yim [Thu, 27 Apr 2017 23:16:05 +0000 (23:16 +0000)]
Merge "stop bluetooth service while VTS test is running"
am: 9ebee6d5b4

Change-Id: I8b3cd188c4583d67d3b622dcd8227560e2ca35a7

4 years agoFix Vts errors
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

(cherry picked from commit 01e7c6ee5fcb1b469cac4a1fc96fc8c7f053c435)
Merged-In: I9500c686a75539dab37f0272349bc2f965cc0a8f
Change-Id: I9500c686a75539dab37f0272349bc2f965cc0a8f

4 years agoUpdate .hal file for fixing vts tests
sqian [Thu, 27 Apr 2017 22:00:36 +0000 (15: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

Test: Manual
Bug: 35671595
(cherry picked from commit 159ec7fbf5e7e1cfd1e76e88c71a72873dc5d8f4)
Merged-In: I83831c222cb0d157d0aa06e48cf0a177ab0ecf31
Change-Id: I83831c222cb0d157d0aa06e48cf0a177ab0ecf31

4 years agoMerge "stop bluetooth service while VTS test is running"
Treehugger Robot [Thu, 27 Apr 2017 23:06:52 +0000 (23:06 +0000)]
Merge "stop bluetooth service while VTS test is running"

4 years agoTether Offload HAL
Niranjan Pendharkar [Thu, 26 Jan 2017 18:31:20 +0000 (10:31 -0800)]
Tether Offload HAL

Adds new interfaces to perform hardware optimized tethering offload.

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - "runtest frameworks-net" passes
Bug:34361337
Change-Id: I1ed756306e1efe98bd2703df9c9846a50a87ffcd

4 years agoMerge "RIL changes to allow the modem to query the framework for the key."
Pankaj Kanwar [Thu, 27 Apr 2017 17:49:37 +0000 (17:49 +0000)]
Merge "RIL changes to allow the modem to query the framework for the key."
am: 9af336425e

Change-Id: Ie143802009a056ac0ef66bdb0a7c0263c3016f39

4 years agoMerge "RIL changes to allow the modem to query the framework for the key."
Pankaj Kanwar [Thu, 27 Apr 2017 17:41:56 +0000 (17:41 +0000)]
Merge "RIL changes to allow the modem to query the framework for the key."

4 years agoRIL changes to allow the modem to query the framework for the key.
pkanwar [Sun, 19 Mar 2017 17:49:01 +0000 (10:49 -0700)]
RIL changes to allow the modem to query the framework for the key.

BUG: 35606429
Test: manual
Change-Id: I7687d664c928de2325d50c3e9e7912f10aa37463
Merged-In: Ib1f5ee5f793f53901ad54bb6b6d4cb667dc720ab

4 years agostop bluetooth service while VTS test is running
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
(cherry picked from commit 1965f73bacbb1cd937f97149b29583edb65c2c99)

4 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

4 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

4 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

4 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."

4 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

4 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

4 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

4 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

4 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

4 years agoMerge "Changed the naming scheme for Treble java libraries (both static and dynamic)"
Andreas Huber [Fri, 14 Apr 2017 03:34:02 +0000 (03:34 +0000)]
Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)"
am: f37bea87e8

Change-Id: Id54116fb605fd2156ddd0a636224f59b1b91deb8

4 years agoMerge "Changed the naming scheme for Treble java libraries (both static and dynamic)"
Treehugger Robot [Fri, 14 Apr 2017 03:24:05 +0000 (03:24 +0000)]
Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)"

4 years agowifi(interface): Add links to APF docs
Ningyuan Wang [Thu, 13 Apr 2017 22:36:56 +0000 (22:36 +0000)]
wifi(interface): Add links to APF docs
am: b0bb01d808

Change-Id: I9bb85e794a8f9f01acb89d4d6357a117936da92f

4 years agowifi(interface): Add links to APF docs
Ningyuan Wang [Thu, 13 Apr 2017 17:39:27 +0000 (10:39 -0700)]
wifi(interface): Add links to APF docs

Bug: 32119512
Test: Compiles
Merged-In: Iadb68a2a649b120b607735e4d88617b11740832f
Change-Id: I32ec491983d1d9e987a19a00b4fd8e60503c9e7f

4 years agoChanged the naming scheme for Treble java libraries (both static and dynamic)
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

4 years agoMerge "Mark hidl test libs as vendor."
Steven Moreland [Wed, 12 Apr 2017 23:18:17 +0000 (23:18 +0000)]
Merge "Mark hidl test libs as vendor."
am: 12d911204f

Change-Id: Id44396d47c7bc625906edfabff2fbdc7082dad8a

4 years agoMerge "Mark hidl test libs as vendor."
Treehugger Robot [Wed, 12 Apr 2017 23:07:15 +0000 (23:07 +0000)]
Merge "Mark hidl test libs as vendor."