OSDN Git Service

android-x86/hardware-interfaces.git
6 years agoAdd radio 1.1 vts test folder.
sqian [Wed, 24 May 2017 22:08:25 +0000 (15:08 -0700)]
Add radio 1.1 vts test folder.

Bug: 38034125
Test: compile; adb shell compiled_vts_binary
Change-Id: I05d4f03db40ac712f120ac0e3e52301a6252f041
Merged-In: I05d4f03db40ac712f120ac0e3e52301a6252f041

6 years agoMerge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()"
Treehugger Robot [Fri, 7 Jul 2017 03:18:41 +0000 (03:18 +0000)]
Merge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()"

6 years agoMerge "Make RawAddress into a class (4/4)"
Treehugger Robot [Fri, 7 Jul 2017 01:29:30 +0000 (01:29 +0000)]
Merge "Make RawAddress into a class (4/4)"

6 years agoMake RawAddress into a class (4/4)
Jakub Pawlowski [Wed, 5 Jul 2017 19:56:42 +0000 (12:56 -0700)]
Make RawAddress into a class (4/4)

* Add libbluetooth-types - library containing types implementation, that
is common between stystem/bt and packages/apps/Bluetooth. It must be
included in every project using btif interface.
* Put Raw Address implementation into libbluetooth-types
* Unify all "to/from string" helper methods into ToString and FromString
* bd_addr_empty -> RawAddress::kEmpty
* bd_addr_any -> RawAddress::kAny

Also fix leaks in jni str2addr by adding ReleaseStringUTFChars

Test: types_unittest
Change-Id: I7dca82ec2293ae5338a9500dd6aa43b59d25657a
Merged-In: I7dca82ec2293ae5338a9500dd6aa43b59d25657a

6 years agoBluetooth: Change CHECK() to LOG_ALWAYS_FATAL()
Myles Watson [Mon, 26 Jun 2017 20:09:11 +0000 (13:09 -0700)]
Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()

Bug: 62641184
Test: Compilation
Change-Id: I21192c7a5c15def379d040b586a66ee1534c7c15

6 years agoBT HAL H4 write flow
Peng Qi [Mon, 19 Jun 2017 10:01:07 +0000 (18:01 +0800)]
BT HAL H4 write flow

If to send type and data separately for one HCI packet,
it will cause two system call context switch to kernel space,
which will introduce software overhead on data path.
Plus, if vendor does not use pure UART interface, it causes different
data behavior on BUS and may not adapt to all vendors as legacy HAL did.
Considering backward-compatibility, to use writev to send
type and data together once as legacy BT HAL did.

Test: H4 UTTest, BT VTS test, Bluetooth on/off
Change-Id: I2d93085fe0c01b48d0e3729a3fa85b5b27335b2c

6 years agoMerge "Include missing headers"
Treehugger Robot [Sat, 17 Jun 2017 00:09:20 +0000 (00:09 +0000)]
Merge "Include missing headers"

6 years agoMerge "Radio Keepalive HAL"
nharold [Fri, 16 Jun 2017 22:37:19 +0000 (22:37 +0000)]
Merge "Radio Keepalive HAL"

6 years agoNfc: Vts: modify WriteInvalidAndThenValidCommand
Ruchi Kandoi [Thu, 15 Jun 2017 20:22:51 +0000 (13:22 -0700)]
Nfc: Vts: modify WriteInvalidAndThenValidCommand

Invalid Data packets are ignored by the NFC controller in case there
isn't an active RF Interface. The test expects response for the invalid
data packet without any active RF Interface. This patch modifies the
test to send an invalid command instead which will guarantee a response.

Test: run vts test
Bug: 62400568
Change-Id: I7db1d5209b6ef2240ac248f3aba0e27e0a285018
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
6 years agoMerge "Support NCI 2.0 for NFC VTS"
Treehugger Robot [Fri, 16 Jun 2017 00:02:13 +0000 (00:02 +0000)]
Merge "Support NCI 2.0 for NFC VTS"

6 years agoRadio Keepalive HAL
Nathan Harold [Thu, 25 May 2017 02:42:40 +0000 (19:42 -0700)]
Radio Keepalive HAL

This adds support for offloading of keepalive packets
to the radio for reduced power consumption.

Bug: 33277538
Test: none
Change-Id: I8e8a841e25f18afeae07f70024c698efa58263e2

6 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"

6 years agoInclude missing headers
Bailey Forrest [Mon, 12 Jun 2017 23:49:18 +0000 (16:49 -0700)]
Include missing headers

Bug: None
Test: Build
Change-Id: Id4967af4ab48ceda10c45edcb0bc4b856b991fd6

6 years agoSupport NCI 2.0 for NFC VTS
Ruchi Kandoi [Thu, 8 Jun 2017 17:27:08 +0000 (10:27 -0700)]
Support NCI 2.0 for NFC VTS

Bug: 62322170
Test: Run vts test
Change-Id: I7ed331dac9d5918675c091620f099b6250e20700

6 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

6 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

6 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

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

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

6 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

6 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

6 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"

6 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"

6 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

6 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

6 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

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

6 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"

7 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

7 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

7 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)

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

7 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

7 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

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

Change-Id: Ic0498bc2b036cedced906963bb8e489dcca47a1a

7 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>
7 years agoMerge "Update makefiles from anywhere."
Steven Moreland [Fri, 12 May 2017 21:33:36 +0000 (21:33 +0000)]
Merge "Update makefiles from anywhere."

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 years agoMerge "Remove redundant dependencies."
Treehugger Robot [Wed, 3 May 2017 22:01:03 +0000 (22:01 +0000)]
Merge "Remove redundant dependencies."

7 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

7 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

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

7 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

7 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

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

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

7 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

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

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

7 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

7 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

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

7 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

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

7 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

7 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)

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 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 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 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 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 "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)"

7 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

7 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

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

7 years agoMark hidl test libs as vendor.
Steven Moreland [Wed, 12 Apr 2017 00:56:47 +0000 (17:56 -0700)]
Mark hidl test libs as vendor.

They must be on the vendor partition for hidl_test to be able to link to
them when the VNDK is in place.

Test: hidl_test
Bug: 33241851
(cherry picked from commit 00556e0a11c4224b31d24e815dd50299c08c61e6)
Merged-In: I23c9e0674aaf33602bc9fde0515eb2f87ce5c60c
Change-Id: I23c9e0674aaf33602bc9fde0515eb2f87ce5c60c

7 years agoMerge "bluetooth: include what you use"
Treehugger Robot [Wed, 12 Apr 2017 19:41:25 +0000 (19:41 +0000)]
Merge "bluetooth: include what you use"

7 years agoMerge "Update makefiles."
Treehugger Robot [Wed, 12 Apr 2017 17:13:50 +0000 (17:13 +0000)]
Merge "Update makefiles."

7 years agobluetooth: include what you use
Steven Moreland [Tue, 11 Apr 2017 19:22:27 +0000 (12:22 -0700)]
bluetooth: include what you use

Helper libraries also now on vendor partition.

Test: links
Test: bluetooth works on internal Marlin
Bug: 33241851

Change-Id: Ie99faf9146ce2ce3df83a2b46acfaa36a54c16c2

7 years agoMerge "Update Radio and Sap service name in VTS."
Sanket Padawe [Wed, 12 Apr 2017 17:08:01 +0000 (17:08 +0000)]
Merge "Update Radio and Sap service name in VTS."

7 years agoUpdate makefiles.
Steven Moreland [Tue, 11 Apr 2017 16:57:11 +0000 (09:57 -0700)]
Update makefiles.

Test: pass
Change-Id: I5cf42c8ff1e11207394e4852ba0bd03e4e3b7d2e

7 years agoMerge "Add p2 option in OpenLogicalChannel"
Amit Mahajan [Tue, 11 Apr 2017 21:25:41 +0000 (21:25 +0000)]
Merge "Add p2 option in OpenLogicalChannel"

7 years agoUpdate Radio and Sap service name in VTS.
Sanket Padawe [Mon, 10 Apr 2017 17:34:58 +0000 (10:34 -0700)]
Update Radio and Sap service name in VTS.

Bug: 37164398
Test: VTS tests pass.
Change-Id: I71562e5b9709166695d08a96a04928027dcb4ee7
Merged-in: I71562e5b9709166695d08a96a04928027dcb4ee7

7 years agoMerge "Revert "Weaver HAL""
Treehugger Robot [Mon, 10 Apr 2017 18:59:55 +0000 (18:59 +0000)]
Merge "Revert "Weaver HAL""

7 years agoRevert "Weaver HAL"
Andrew Scull [Mon, 10 Apr 2017 16:56:43 +0000 (16:56 +0000)]
Revert "Weaver HAL"

This reverts commit 694beec5d73d34cbf1dc56d2b2193f832777e676.

Reason for revert: This will not be in O.

Change-Id: I301f265785815689e9cfc8412db1966a4565b561

7 years agoMerge changes from topic 'configstore-utils-log'
Jaesoo Lee [Fri, 7 Apr 2017 02:06:43 +0000 (02:06 +0000)]
Merge changes from topic 'configstore-utils-log'

* changes:
  print log message for values retrieved from configstore
  Handle hidl transaction errors in ConfigStore

7 years agoMerge "Weaver HAL"
Treehugger Robot [Thu, 6 Apr 2017 20:31:49 +0000 (20:31 +0000)]
Merge "Weaver HAL"

7 years agoMerge "Empty interface IQuux which is completely unrelated to IBase and IBaz."
Andreas Huber [Thu, 6 Apr 2017 18:47:15 +0000 (18:47 +0000)]
Merge "Empty interface IQuux which is completely unrelated to IBase and IBaz."

7 years agoWeaver HAL
Andrew Scull [Mon, 27 Mar 2017 13:24:18 +0000 (14:24 +0100)]
Weaver HAL

Weaver is used to harden the user authentication flow by securely
storing secrets which can only be read by presenting the associated key
secret. The key secret is derived from the user's credential.

Bug: 35628284
Test: Implement HAL, boot and call from system_server
Change-Id: Ia72fd537670c08d27320c944a0fe91243137bf6c

7 years agoprint log message for values retrieved from configstore
Jaesoo Lee [Fri, 24 Mar 2017 05:08:24 +0000 (14:08 +0900)]
print log message for values retrieved from configstore

This CL adds a code for printing log messages in clients-side utility
library functions (getXXX) for configstore so that the developer can
figure out which configuration values are actually retrieved from the configstore.

Bug: 36275627
Test: Built and check the log message appears

Change-Id: I7d5d80ca7a0317816c71016e013f9e73ad23ee08
Merged-In: I2c0895f8afbbb2947b62164acaf62a491c451dc0
(cherry picked from commit 0dc72ecbb798971d6f394d7f4dbc9d1f4006da5f)

7 years agoHandle hidl transaction errors in ConfigStore
Pavel Maltsev [Mon, 20 Mar 2017 21:58:59 +0000 (14:58 -0700)]
Handle hidl transaction errors in ConfigStore

Test: surface flinger not failing, android now bootsup

Bug: b/36445794
Change-Id: I64cc404bec71f5e4eea2e0034f07b86fb60a3e32
Merged-In: I22fa7aab9fa92bc04333aaa0eef45891ebeba8e7
(cherry picked from commit 076b792ade608a7fdf4e600a42550ad17296a39e)

7 years agoMerge "Added protections for RenderScript VTS tests."
Treehugger Robot [Thu, 6 Apr 2017 01:45:56 +0000 (01:45 +0000)]
Merge "Added protections for RenderScript VTS tests."

7 years agoMerge "[AWARE] Legacy HAL update: reduce host wakeup"
Etan Cohen [Wed, 5 Apr 2017 22:09:35 +0000 (22:09 +0000)]
Merge "[AWARE] Legacy HAL update: reduce host wakeup"

7 years agoEmpty interface IQuux which is completely unrelated to IBase and IBaz.
Andreas Huber [Tue, 4 Apr 2017 21:39:58 +0000 (14:39 -0700)]
Empty interface IQuux which is completely unrelated to IBase and IBaz.

Used to verify that it's not possible to obtain an IQuux interface from an
IBase/IBaz binder, i.e. IHwBinder.asInterface(...) properly respects the
interfaceChain.

Bug: 36749201
Test: hidl_test_java
Change-Id: I84419e78db22acdfcc7d9972d22d139641469bde

7 years agoBluetooth HAL: Add to foreground schedtune group
Joel Fernandes [Tue, 4 Apr 2017 02:19:30 +0000 (19:19 -0700)]
Bluetooth HAL: Add to foreground schedtune group

EAS (Energy-Aware Scheduler) tends to cluster tasks together unless
they're marked to prefer an idle CPU (prefer-idle) during placement.
This is to save energy however it increases latencies. This is
noticeable when the Binder driver demotes the RT task to CFS and when
we try to do load balance in this path, the selection path still selects
a busy CPU. Add Bluetooth HAL service to the foreground schedtune group
to fix this as its critical for tasks like bluetooth audio playback.

Test: Boot and verify bluetooth HAL is in the foreground stune group
Bug: 36867985

Change-Id: Ib3c43cca4a2049af3700978b58a05989cc20b6ac
Signed-off-by: Joel Fernandes <joelaf@google.com>
7 years ago[AWARE] Legacy HAL update: reduce host wakeup
Etan Cohen [Tue, 4 Apr 2017 20:00:14 +0000 (13:00 -0700)]
[AWARE] Legacy HAL update: reduce host wakeup

Legacy HAL update to add indications when a solicited publisher
receives a match. Not used in current HAL. However, also added a
control bit to turn off host notification which is now enabled.

Bug: 35195773
Test: integration (sl4a) tests
Change-Id: I8ff378abaae11d4feaa42a9901abb1b48069dc4f

7 years agoAdd p2 option in OpenLogicalChannel
Wileen Chiu [Fri, 3 Mar 2017 19:57:48 +0000 (11:57 -0800)]
Add p2 option in OpenLogicalChannel

- Adding support for P2 parameter
- Needed to support OMAPI 3.0 defined
  by SIM Alliance

Bug: 27360148
Change-Id: I88134eded001e14c12e1f2a18efd0a2b51bc22fe

7 years agoMerge "[AWARE] Create true translations between legacy and hidl enums"
Etan Cohen [Tue, 4 Apr 2017 17:48:53 +0000 (17:48 +0000)]
Merge "[AWARE] Create true translations between legacy and hidl enums"
am: 24ff2036ce

Change-Id: I00c0d5dce8a57ce76656c8521d93a974308b7c94

7 years agoMerge "[AWARE] Create true translations between legacy and hidl enums"
Etan Cohen [Tue, 4 Apr 2017 17:40:24 +0000 (17:40 +0000)]
Merge "[AWARE] Create true translations between legacy and hidl enums"

7 years agoMerge "nfc: vts: Correct parameters going for CoreInitialized"
Ruchi Kandoi [Tue, 4 Apr 2017 00:41:51 +0000 (00:41 +0000)]
Merge "nfc: vts: Correct parameters going for CoreInitialized"
am: 4133401913

Change-Id: Ie205284f3adcfd7f662c1d26dea1a01eb48a12e8

7 years agoMerge "nfc: vts: Correct parameters going for CoreInitialized"
Treehugger Robot [Tue, 4 Apr 2017 00:36:14 +0000 (00:36 +0000)]
Merge "nfc: vts: Correct parameters going for CoreInitialized"

7 years ago[AWARE] Create true translations between legacy and hidl enums
Etan Cohen [Mon, 3 Apr 2017 23:10:54 +0000 (16:10 -0700)]
[AWARE] Create true translations between legacy and hidl enums

Replace implicits translations between legacy and hidl enums (using
casts) with explicit translations.

Bug: 35767620
Test: integration (sl4a) tests
Change-Id: I4ae4cd691226ce29bc0e92f9890fbb343a064505