OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoCamera: default implementation of device 1.0
Yin-Chia Yeh [Tue, 24 Jan 2017 01:27:26 +0000 (17:27 -0800)]
Camera: default implementation of device 1.0

Also some updates to HIDL interface:
  - Add releaseRecordingFrameHandle to ICameraDevice
    for native handle metadata recording mode
  - Add handleCallbackTimestamp to ICameraDevieCallback
    for native handle metadata recording mode
  - Add missing face detection metadata to
    ICameraDeviceCallback::dataCallback
  - Instead of passing native handle, pass buffer ID
    in dequeueBuffer/enqueueBuffer/cancelBuffer in
    ICameraDevicePreviewCallback
  - Add CameraFrameMetadata in types.hal for face
    metadata

Test: Camera CTS passing (except FlashLightTest) on Angler
Bug: 30985004
Change-Id: Idf72a4b5f4c934845ac698f0b13536608ffd0100

7 years agoMerge "Fix bugs in power HAL VTS test"
Connor O'Brien [Mon, 27 Feb 2017 22:36:18 +0000 (22:36 +0000)]
Merge "Fix bugs in power HAL VTS test"

7 years agoFix bugs in power HAL VTS test
Connor O'Brien [Fri, 24 Feb 2017 20:49:44 +0000 (12:49 -0800)]
Fix bugs in power HAL VTS test

Ensure CPU governor list is null-terminated; stop treating newline
char as a governor name; stop leaking file descriptors on failure.

Bug: 35753237
Test: Test runs and passes on marlin and bullhead
Change-Id: I8a6409a50e5daac36770dc577d0628fec8148847
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoMerge "Add tests for .equals and toString" am: 7128746a9f am: cc51d3b2ae
Yifan Hong [Mon, 27 Feb 2017 18:56:13 +0000 (18:56 +0000)]
Merge "Add tests for .equals and toString" am: 7128746a9f am: cc51d3b2ae
am: 77c34e94c9

Change-Id: If4ba94ff09f9160727befc47f09eaed0d7a8af64

7 years agoMerge "Add tests for .equals and toString" am: 7128746a9f
Yifan Hong [Mon, 27 Feb 2017 18:52:28 +0000 (18:52 +0000)]
Merge "Add tests for .equals and toString" am: 7128746a9f
am: cc51d3b2ae

Change-Id: I6d9393a4822eab544d6cf97e63691090e4f31e94

7 years agoMerge "Add tests for .equals and toString"
Yifan Hong [Mon, 27 Feb 2017 18:49:42 +0000 (18:49 +0000)]
Merge "Add tests for .equals and toString"
am: 7128746a9f

Change-Id: If5641d750e89f01408eb31dee18cef0aa115d5b3

7 years agoMerge "Vr HAL uses "default" service name"
Yifan Hong [Mon, 27 Feb 2017 18:46:22 +0000 (18:46 +0000)]
Merge "Vr HAL uses "default" service name"

7 years agoMerge "Add tests for .equals and toString"
Treehugger Robot [Mon, 27 Feb 2017 18:43:27 +0000 (18:43 +0000)]
Merge "Add tests for .equals and toString"

7 years agoRemove viral dependency on libhwbinder. am: d28a3dce40 am: 444d759920
Steven Moreland [Sat, 25 Feb 2017 02:55:43 +0000 (02:55 +0000)]
Remove viral dependency on libhwbinder. am: d28a3dce40 am: 444d759920
am: 5c605c8add

Change-Id: I54d6e5a0b38ef9eb507748fd38a8c508e0eb1948

7 years agoRemove viral dependency on libhwbinder. am: d28a3dce40
Steven Moreland [Sat, 25 Feb 2017 02:52:42 +0000 (02:52 +0000)]
Remove viral dependency on libhwbinder. am: d28a3dce40
am: 444d759920

Change-Id: I33ed3e5e4ff9718aedbaddc9ac27b176d89e66d9

7 years agoRemove viral dependency on libhwbinder.
Steven Moreland [Sat, 25 Feb 2017 02:50:15 +0000 (02:50 +0000)]
Remove viral dependency on libhwbinder.
am: d28a3dce40

Change-Id: I9d8e8c7c380cc0abc41370da3853ae288cada9f0

7 years agoMerge "hwcomposer HAL uses "default" service name"
TreeHugger Robot [Sat, 25 Feb 2017 02:40:45 +0000 (02:40 +0000)]
Merge "hwcomposer HAL uses "default" service name"

7 years agoMerge "keymaster HAL uses "default" service name"
TreeHugger Robot [Sat, 25 Feb 2017 01:57:45 +0000 (01:57 +0000)]
Merge "keymaster HAL uses "default" service name"

7 years agohwcomposer HAL uses "default" service name
Yifan Hong [Sat, 25 Feb 2017 00:55:20 +0000 (16:55 -0800)]
hwcomposer HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934
Change-Id: I0c7987ffa7b22bb7386a4a1320242b3248e434e4

7 years agoVr HAL uses "default" service name
Chris Phoenix [Thu, 19 Jan 2017 02:20:05 +0000 (18:20 -0800)]
Vr HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934

Change-Id: I2bd735cff9674ec5955ae30efed27359041ed723

7 years agoMerge "Remove viral dependency on libhwbinder. (2/2)"
TreeHugger Robot [Fri, 24 Feb 2017 23:25:25 +0000 (23:25 +0000)]
Merge "Remove viral dependency on libhwbinder. (2/2)"

7 years agogatekeeper HAL uses "default" service name
Chris Phoenix [Tue, 24 Jan 2017 21:09:06 +0000 (13:09 -0800)]
gatekeeper HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934
Change-Id: I66ede7833e61d9cf255238888099aa73986b1946

7 years agoMerge "dumpstate HAL uses "default" service name"
Yifan Hong [Fri, 24 Feb 2017 23:14:53 +0000 (23:14 +0000)]
Merge "dumpstate HAL uses "default" service name"

7 years agokeymaster HAL uses "default" service name
Chris Phoenix [Wed, 25 Jan 2017 23:13:40 +0000 (15:13 -0800)]
keymaster HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: marlin boots

Bug: 33844934
Change-Id: I6533e4fe0e63e2d0b0158148f5e438bb4b6b5886

7 years agoMerge "health HAL uses "default" service name"
TreeHugger Robot [Fri, 24 Feb 2017 22:30:22 +0000 (22:30 +0000)]
Merge "health HAL uses "default" service name"

7 years agoMerge "gnss HAL uses "default" service name"
TreeHugger Robot [Fri, 24 Feb 2017 22:21:49 +0000 (22:21 +0000)]
Merge "gnss HAL uses "default" service name"

7 years agoMerge "Car HAL uses "default" service name"
Yifan Hong [Fri, 24 Feb 2017 20:58:52 +0000 (20:58 +0000)]
Merge "Car HAL uses "default" service name"

7 years agognss HAL uses "default" service name
Chris Phoenix [Mon, 23 Jan 2017 23:14:08 +0000 (15:14 -0800)]
gnss HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934
Change-Id: I0c0cafff5079e49edbfd1f4858760f0c53d3fcfa

7 years agoMerge "USB HAL: Fix infinite loop."
TreeHugger Robot [Fri, 24 Feb 2017 20:24:24 +0000 (20:24 +0000)]
Merge "USB HAL: Fix infinite loop."

7 years agoMerge "Allow reregistering callback"
TreeHugger Robot [Fri, 24 Feb 2017 20:21:24 +0000 (20:21 +0000)]
Merge "Allow reregistering callback"

7 years agoRemove viral dependency on libhwbinder. (2/2)
Steven Moreland [Fri, 24 Feb 2017 19:46:32 +0000 (11:46 -0800)]
Remove viral dependency on libhwbinder. (2/2)

find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder
\\/d' {} \;
find hardware/interfaces -name Android.bp -exec sed -i -e
'/"libhwbinder"/d' {} \;
./hardware/interfaces/update-makefiles.sh

Note, automotive has some actual dependencies on libhwbinder, filed
b/35758626 for this.

Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6d0726c8130d00684b978efbdd48e3ae396f12e5

7 years agoRemove viral dependency on libhwbinder.
Steven Moreland [Fri, 24 Feb 2017 19:20:04 +0000 (11:20 -0800)]
Remove viral dependency on libhwbinder.

find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder
\\/d' {} \;
find hardware/interfaces -name Android.bp -exec sed -i -e
'/"libhwbinder"/d' {} \;
./hardware/interfaces/update-makefiles.sh

Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6b0b5ae318422b7a9be17a19a79e039ffc0f9272

7 years agoAllow reregistering callback
Badhri Jagan Sridharan [Tue, 31 Jan 2017 02:41:32 +0000 (18:41 -0800)]
Allow reregistering callback

Callbacks would have to be allowed being reregistered
to handle frameworks restarts.

Bug: 35758079
Test: adb shell stop; adb shell start; and see if USB notifications happen.
Change-Id: I256b4e714340f48c1dd8377e660cb28ebd716b8a

7 years agoMerge "gralloc HAL uses "default" service name"
Yifan Hong [Fri, 24 Feb 2017 18:21:11 +0000 (18:21 +0000)]
Merge "gralloc HAL uses "default" service name"

7 years agoUSB HAL: Fix infinite loop.
Badhri Jagan Sridharan [Fri, 24 Feb 2017 13:49:29 +0000 (05:49 -0800)]
USB HAL: Fix infinite loop.

Bug: 35726475
Test: usb-service no longer consumes 100% CPU
Change-Id: I274caec45e7527cbacf57f9a735d711dcb481bfd

7 years agoMerge "Camera: Redirect dump to "/dev/null" instead of stdout"
TreeHugger Robot [Fri, 24 Feb 2017 11:35:21 +0000 (11:35 +0000)]
Merge "Camera: Redirect dump to "/dev/null" instead of stdout"

7 years agoMerge "Bluetooth: Make HciPacketizer reusable" am: c4c2793b01 am: 97603b7a9b
Myles Watson [Fri, 24 Feb 2017 01:52:40 +0000 (01:52 +0000)]
Merge "Bluetooth: Make HciPacketizer reusable" am: c4c2793b01 am: 97603b7a9b
am: 77dc48167b

Change-Id: I2122d075d83f0b3a9c505465a4d2a289edbe8239

7 years agoMerge "Bluetooth: Make HciPacketizer reusable" am: c4c2793b01
Myles Watson [Fri, 24 Feb 2017 01:50:11 +0000 (01:50 +0000)]
Merge "Bluetooth: Make HciPacketizer reusable" am: c4c2793b01
am: 97603b7a9b

Change-Id: I473a94f925e15e507a5ca7c64d71a529d37709e8

7 years agoMerge "Bluetooth: Make HciPacketizer reusable"
Myles Watson [Fri, 24 Feb 2017 01:47:42 +0000 (01:47 +0000)]
Merge "Bluetooth: Make HciPacketizer reusable"
am: c4c2793b01

Change-Id: I9612e7b5743ca0ce8e8271c6eb07e362ba0364a8

7 years agoMerge "Bluetooth: Make HciPacketizer reusable"
Treehugger Robot [Fri, 24 Feb 2017 01:44:15 +0000 (01:44 +0000)]
Merge "Bluetooth: Make HciPacketizer reusable"

7 years agoBluetooth: Make HciPacketizer reusable
Myles Watson [Thu, 23 Feb 2017 14:29:08 +0000 (06:29 -0800)]
Bluetooth: Make HciPacketizer reusable

Test: VtsHalBluetoothV1_0TargetTest passes
Change-Id: I480d156225af2a5dd879f47a897af0b01dab5663

7 years agoMerge "Move OBD2 support to Vehicle HAL 2.1."
TreeHugger Robot [Thu, 23 Feb 2017 22:45:29 +0000 (22:45 +0000)]
Merge "Move OBD2 support to Vehicle HAL 2.1."

7 years agoMove OBD2 support to Vehicle HAL 2.1.
Enrico Granata [Tue, 21 Feb 2017 22:28:27 +0000 (14:28 -0800)]
Move OBD2 support to Vehicle HAL 2.1.

For O-MR1.
Test: build
Bug: 34746908
Change-Id: I369e6531b8957d8e03154fdf5d732e8242a3c245

7 years agoMerge "Bluetooth: deal with framework going away." am: 09e49b0871 am: a936e673d0
Martijn Coenen [Thu, 23 Feb 2017 20:51:40 +0000 (20:51 +0000)]
Merge "Bluetooth: deal with framework going away." am: 09e49b0871 am: a936e673d0
am: 7f8cea65fe

Change-Id: I16cdb86ebf94188f30e0c743f1ddb78659c5bf72

7 years agoMerge "Nfc: deal with the framework going away." am: 26d788b376 am: 74f327f970
Martijn Coenen [Thu, 23 Feb 2017 20:51:28 +0000 (20:51 +0000)]
Merge "Nfc: deal with the framework going away." am: 26d788b376 am: 74f327f970
am: df902938ec

Change-Id: I8fe69cb9e23756029e42facbc7c21b41c2148a4b

7 years agoCreate separate interface for oem hook. am: 3e68341169 am: 1fc7ce0f3b
Amit Mahajan [Thu, 23 Feb 2017 20:50:49 +0000 (20:50 +0000)]
Create separate interface for oem hook. am: 3e68341169 am: 1fc7ce0f3b
am: 57a84aa036

Change-Id: I004eb000ea26d929245abfb060be584c4590e878

7 years agoMerge "Bluetooth: deal with framework going away." am: 09e49b0871
Martijn Coenen [Thu, 23 Feb 2017 19:41:28 +0000 (19:41 +0000)]
Merge "Bluetooth: deal with framework going away." am: 09e49b0871
am: a936e673d0

Change-Id: Id6134dd11869978d2f2f485ba3758873c47098dc

7 years agoMerge "Nfc: deal with the framework going away." am: 26d788b376
Martijn Coenen [Thu, 23 Feb 2017 19:41:18 +0000 (19:41 +0000)]
Merge "Nfc: deal with the framework going away." am: 26d788b376
am: 74f327f970

Change-Id: I4a79addd60fd26ce79a016853a5661ebeca31722

7 years agoCreate separate interface for oem hook. am: 3e68341169
Amit Mahajan [Thu, 23 Feb 2017 19:40:45 +0000 (19:40 +0000)]
Create separate interface for oem hook. am: 3e68341169
am: 1fc7ce0f3b

Change-Id: I83b4df58e3f7809451fbee916ae645ecee98fec6

7 years agoMerge "Bluetooth: deal with framework going away."
Martijn Coenen [Thu, 23 Feb 2017 19:39:00 +0000 (19:39 +0000)]
Merge "Bluetooth: deal with framework going away."
am: 09e49b0871

Change-Id: Ifbd4ba885725bcfde993667e1aebc4c33ddba51c

7 years agoMerge "Nfc: deal with the framework going away."
Martijn Coenen [Thu, 23 Feb 2017 19:38:50 +0000 (19:38 +0000)]
Merge "Nfc: deal with the framework going away."
am: 26d788b376

Change-Id: I8a14067da0500e47d8940288e0733d48b6fbae4d

7 years agoCreate separate interface for oem hook.
Amit Mahajan [Thu, 23 Feb 2017 19:38:14 +0000 (19:38 +0000)]
Create separate interface for oem hook.
am: 3e68341169

Change-Id: Iaebf8274db7e91928db0dcd8bbc1597376fa14b7

7 years agoMerge "Bluetooth: deal with framework going away."
Martijn Coenen [Thu, 23 Feb 2017 19:35:29 +0000 (19:35 +0000)]
Merge "Bluetooth: deal with framework going away."

7 years agoMerge "Nfc: deal with the framework going away."
Treehugger Robot [Thu, 23 Feb 2017 19:35:02 +0000 (19:35 +0000)]
Merge "Nfc: deal with the framework going away."

7 years agodumpstate HAL uses "default" service name
Chris Phoenix [Wed, 25 Jan 2017 07:05:55 +0000 (23:05 -0800)]
dumpstate HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934
Change-Id: I4415e38d0f50884e31feedddf8e4236fa69f1a31

7 years agogralloc HAL uses "default" service name
Chris Phoenix [Wed, 25 Jan 2017 21:17:54 +0000 (13:17 -0800)]
gralloc HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934
Change-Id: Ic3859ccf21e7ee5177f47cb06e3e0c93dd572bf6

7 years agoMerge "hwcomposer HAL uses "default" service name"
Yifan Hong [Thu, 23 Feb 2017 19:22:53 +0000 (19:22 +0000)]
Merge "hwcomposer HAL uses "default" service name"

7 years agoMerge "Increase power HAL VTS coverage"
Connor O'Brien [Thu, 23 Feb 2017 19:18:28 +0000 (19:18 +0000)]
Merge "Increase power HAL VTS coverage"

7 years agoCreate separate interface for oem hook.
Amit Mahajan [Mon, 13 Feb 2017 23:04:36 +0000 (15:04 -0800)]
Create separate interface for oem hook.

Test: Basic telephony sanity
Bug: 32020264
Bug: 34344851
Merged-in: I8908ce0c6b380c8f4260703fa43125dc03d24dbc
Change-Id: I8908ce0c6b380c8f4260703fa43125dc03d24dbc

7 years agoNfc: deal with the framework going away.
Martijn Coenen [Thu, 23 Feb 2017 16:24:20 +0000 (17:24 +0100)]
Nfc: deal with the framework going away.

By calling close() when the framework client dies.

Bug: 35624326
Test: NFC HAL stays alive and works after com.android.nfc is killed
Change-Id: I91fcf6685783cd630a44d19b4cb99127a2c0e89b

7 years agoBluetooth: deal with framework going away.
Martijn Coenen [Thu, 23 Feb 2017 16:25:18 +0000 (17:25 +0100)]
Bluetooth: deal with framework going away.

Bug: 35624326
Test: Bluetooth HAL stays alive and works after com.android.bluetooth
is killed.

Change-Id: Id5b5a5b88cd35202e5737a0c99d28db9bebb4250

7 years ago[AWARE] Correct ranging specification documentation am: 9dabc7cefe am: 75b9cb715d
Etan Cohen [Thu, 23 Feb 2017 16:50:02 +0000 (16:50 +0000)]
[AWARE] Correct ranging specification documentation am: 9dabc7cefe am: 75b9cb715d
am: f61de330b7

Change-Id: I399af5cc243d9d8c56c86601bd721a7b6e917e4a

7 years ago[AWARE] Correct ranging specification documentation am: 9dabc7cefe
Etan Cohen [Thu, 23 Feb 2017 16:48:01 +0000 (16:48 +0000)]
[AWARE] Correct ranging specification documentation am: 9dabc7cefe
am: 75b9cb715d

Change-Id: I4d716c10e33c01533e9287fc27143cb440e72f9a

7 years ago[AWARE] Correct ranging specification documentation
Etan Cohen [Thu, 23 Feb 2017 16:46:02 +0000 (16:46 +0000)]
[AWARE] Correct ranging specification documentation
am: 9dabc7cefe

Change-Id: I8f23825a6d2561d0ab067162c3b7d5c8d0d376f7

7 years agoMerge "Add test case to gatekeeper VTS tests."
Ryan Campbell [Thu, 23 Feb 2017 16:36:25 +0000 (16:36 +0000)]
Merge "Add test case to gatekeeper VTS tests."

7 years ago[AWARE] Correct ranging specification documentation
Etan Cohen [Tue, 21 Feb 2017 22:31:06 +0000 (14:31 -0800)]
[AWARE] Correct ranging specification documentation

Bug: 33821639
Test: none - comment change
Change-Id: Ib2ba907a46c6cb34d37ca5eb6d3a22508fb7f17a

7 years agoCamera: Redirect dump to "/dev/null" instead of stdout
Emilian Peev [Thu, 23 Feb 2017 12:00:11 +0000 (12:00 +0000)]
Camera: Redirect dump to "/dev/null" instead of stdout

This SELinux context doesn't have permission to access stdout
in read/write mode. Doing so will result in violation and
subsequent failure when running in binderized mode. Switch to
 '/dev/null' which still can be used with SELinux enabled.

BUG: 35701060
Test: adb shell
/data/nativetest/VtsHalCameraProviderV2_4TargetTest/VtsHalCameraProviderV2_4TargetTest

Change-Id: Ib1cf2766ca41cfe3600ad8a4442a334dfab0e2c1

7 years agoMerge "wifi: Duplicate getValidChannelsForBand in AP iface" am: d8328b6860 am: d1ae25e423
Roshan Pius [Thu, 23 Feb 2017 06:21:59 +0000 (06:21 +0000)]
Merge "wifi: Duplicate getValidChannelsForBand in AP iface" am: d8328b6860 am: d1ae25e423
am: 73b9150f8e

Change-Id: Ied7c229561c424666f2865ceea84ea963a6c2677

7 years agoMerge "wifi: Duplicate getValidChannelsForBand in AP iface" am: d8328b6860
Roshan Pius [Thu, 23 Feb 2017 06:19:29 +0000 (06:19 +0000)]
Merge "wifi: Duplicate getValidChannelsForBand in AP iface" am: d8328b6860
am: d1ae25e423

Change-Id: I10268d2fa7fac6e6f55aa34535f60b60eaa0d415

7 years agoMerge "wifi: Duplicate getValidChannelsForBand in AP iface"
Roshan Pius [Thu, 23 Feb 2017 06:17:28 +0000 (06:17 +0000)]
Merge "wifi: Duplicate getValidChannelsForBand in AP iface"
am: d8328b6860

Change-Id: I619184ede20560f8f2209c95d948cd0e33066302

7 years agoMerge "wifi: Duplicate getValidChannelsForBand in AP iface"
Treehugger Robot [Thu, 23 Feb 2017 06:15:07 +0000 (06:15 +0000)]
Merge "wifi: Duplicate getValidChannelsForBand in AP iface"

7 years agoMerge "Create separate interface for oem hook."
Amit Mahajan [Thu, 23 Feb 2017 05:52:52 +0000 (05:52 +0000)]
Merge "Create separate interface for oem hook."

7 years agoMerge "BroadcastRadio HAL uses "default" service name"
TreeHugger Robot [Thu, 23 Feb 2017 04:13:46 +0000 (04:13 +0000)]
Merge "BroadcastRadio HAL uses "default" service name"

7 years agoMerge "supplicant(interface): Add set/get for eap private key id" am: af0fb871c6...
Roshan Pius [Thu, 23 Feb 2017 03:26:29 +0000 (03:26 +0000)]
Merge "supplicant(interface): Add set/get for eap private key id" am: af0fb871c6 am: d570e59b60
am: ced53c13b8

Change-Id: Idc492ad5055b8912e0041850dd96e52961fc03ac

7 years agoMerge "supplicant(interface): Add set/get for eap private key id" am: af0fb871c6
Roshan Pius [Thu, 23 Feb 2017 03:19:28 +0000 (03:19 +0000)]
Merge "supplicant(interface): Add set/get for eap private key id" am: af0fb871c6
am: d570e59b60

Change-Id: I62c6e9e3f3bc0b080b40bc0e7980872d142b025f

7 years agoMerge "supplicant(interface): Add set/get for eap private key id"
Roshan Pius [Thu, 23 Feb 2017 03:17:31 +0000 (03:17 +0000)]
Merge "supplicant(interface): Add set/get for eap private key id"
am: af0fb871c6

Change-Id: If93b708b83f962426c3efcd4260216705e569ec5

7 years agoMerge "supplicant(interface): Add set/get for eap private key id"
Roshan Pius [Thu, 23 Feb 2017 03:13:54 +0000 (03:13 +0000)]
Merge "supplicant(interface): Add set/get for eap private key id"

7 years agoMerge "GNSS HAL initial VTS tests"
TreeHugger Robot [Thu, 23 Feb 2017 03:06:55 +0000 (03:06 +0000)]
Merge "GNSS HAL initial VTS tests"

7 years agoCar HAL uses "default" service name
Chris Phoenix [Thu, 12 Jan 2017 02:49:16 +0000 (18:49 -0800)]
Car HAL uses "default" service name

the getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934

Change-Id: I1fc92a29178befc1b2232cfcc4b13058d57cd798

7 years agohwcomposer HAL uses "default" service name
Yifan Hong [Mon, 6 Feb 2017 19:00:36 +0000 (11:00 -0800)]
hwcomposer HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934
Change-Id: I3d51429681d834f53dc5f6765e97675eafdceda4

7 years agoMerge "context_hub HAL uses "default" service name"
Yifan Hong [Thu, 23 Feb 2017 02:34:32 +0000 (02:34 +0000)]
Merge "context_hub HAL uses "default" service name"

7 years agoBroadcastRadio HAL uses "default" service name
Chris Phoenix [Wed, 25 Jan 2017 22:10:31 +0000 (14:10 -0800)]
BroadcastRadio HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934
Change-Id: I49622132d25c15597f46c19330a9d0b8dbffa704

7 years agoGNSS HAL initial VTS tests
Wyatt Riley [Wed, 22 Feb 2017 01:21:53 +0000 (17:21 -0800)]
GNSS HAL initial VTS tests

Initial VTS tests for GNSS HAL
Basic connection, and GNSS Location Received

Bug: 32022567
Test: VTS runs & passes on a Marlin with build from OPR1.170222
Change-Id: Ied3c203add46013ad6f2df33bbc40cd2ec630d42

7 years agowifi: Duplicate getValidChannelsForBand in AP iface
Roshan Pius [Wed, 22 Feb 2017 17:48:03 +0000 (09:48 -0800)]
wifi: Duplicate getValidChannelsForBand in AP iface

This functionality is needed even for AP iface. So, duplicate this
method.

Changes in the CL:
1. Add getValidChannelsForBand() in IWifiApIface.
2. Rename StaBackgroundScanBan to WifiBand to make it a more generic
name.
3. Change the existing method name in IWifiStaIface to match with the
one in IWifiApIface.

While there,
Fix indentation in hidl_callback_util.h

Bug: 35663149
Test: Compiles
Change-Id: Iaeb6c323e13eedf2f98de92fea77e327c76ffa5b

7 years agoAdd test case to gatekeeper VTS tests.
Ryan Campbell [Wed, 22 Feb 2017 19:15:35 +0000 (11:15 -0800)]
Add test case to gatekeeper VTS tests.

Add negative test case for delete user.

Test: run vts -m VtsHalGatekeeperV1_0Target
Bug: 32021941
Change-Id: I0a4c27561761dd83b2e6e30eecca027f3dfa010a

7 years agoAdd tests for .equals and toString
Yifan Hong [Thu, 23 Feb 2017 00:07:33 +0000 (16:07 -0800)]
Add tests for .equals and toString

Test: hidl_test
Test: hidl_test_java

Bug: 32834072
Bug: 33459772
Change-Id: Ic1a87529fe5f8c12f7bfbdc2fa668e66922e075f

7 years agoIncrease power HAL VTS coverage
Connor O'Brien [Tue, 21 Feb 2017 20:37:52 +0000 (12:37 -0800)]
Increase power HAL VTS coverage

Bug: 32022775
Test: Run tests on bullhead and marlin
Change-Id: I4928d5ac951d02152a3f491bff1c28de3f95c16c
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoCreate separate interface for oem hook.
Amit Mahajan [Mon, 13 Feb 2017 23:04:36 +0000 (15:04 -0800)]
Create separate interface for oem hook.

Test: Basic telephony sanity
Bug: 32020264
Bug: 34344851
Change-Id: I8908ce0c6b380c8f4260703fa43125dc03d24dbc

7 years agoRemove .vts spec files
Tri Vo [Wed, 22 Feb 2017 18:21:27 +0000 (10:21 -0800)]
Remove .vts spec files

Test: mmma hardware/interfaces
Change-Id: Idae97ce60a6368cfa685ae6b2d71b9ad163e8605

7 years agoUpdate makefiles.
Tri Vo [Wed, 22 Feb 2017 18:17:58 +0000 (10:17 -0800)]
Update makefiles.

Test: mmma hardware/interfaces
Change-Id: Id671b950aabaeb40a7989c094983ccb5c98df528

7 years agoRemove .vts files. am: 7c04478044 am: 4ebeac1ee2
Tri Vo [Wed, 22 Feb 2017 20:51:00 +0000 (20:51 +0000)]
Remove .vts files. am: 7c04478044 am: 4ebeac1ee2
am: 242cb13104

Change-Id: I15b911d4ffd2af7dfe80cc11c74359bc14faa0d9

7 years agoRemove .vts files. am: 7c04478044
Tri Vo [Wed, 22 Feb 2017 20:49:00 +0000 (20:49 +0000)]
Remove .vts files. am: 7c04478044
am: 4ebeac1ee2

Change-Id: I0349740594499950da416a823b061cf1d174c171

7 years agoRemove .vts files.
Tri Vo [Wed, 22 Feb 2017 20:46:31 +0000 (20:46 +0000)]
Remove .vts files.
am: 7c04478044

Change-Id: Ia6ce31c3cc2d5ecb28fc7bc74447f937fdf7c5e1

7 years agoUpdate makefiles. am: 69fa1faddd am: 78cefb9454
Tri Vo [Wed, 22 Feb 2017 20:38:03 +0000 (20:38 +0000)]
Update makefiles. am: 69fa1faddd am: 78cefb9454
am: 6dd991cc9a

Change-Id: I1f26b2e13faa92dbaf4f39d61a09835bcd4bf139

7 years agoUpdate makefiles. am: 69fa1faddd
Tri Vo [Wed, 22 Feb 2017 20:35:32 +0000 (20:35 +0000)]
Update makefiles. am: 69fa1faddd
am: 78cefb9454

Change-Id: I864adc8c149fa1d611e99bd8abf279047903304d

7 years agoUpdate makefiles.
Tri Vo [Wed, 22 Feb 2017 20:33:30 +0000 (20:33 +0000)]
Update makefiles.
am: 69fa1faddd

Change-Id: If236c6a553cdcf0a0ae09e2e1fa1cc25a0c0b356

7 years agoMerge "lights vts test: don't turn off the screen"
TreeHugger Robot [Wed, 22 Feb 2017 20:09:31 +0000 (20:09 +0000)]
Merge "lights vts test: don't turn off the screen"

7 years agoRemove .vts files.
Tri Vo [Wed, 22 Feb 2017 18:50:57 +0000 (10:50 -0800)]
Remove .vts files.

Test: mmma hardware/interfaces
Change-Id: I583aced174d4295cccfdf48b76502077fb16f9db

7 years agoMerge changes from topic 'vts_camera_tests'
TreeHugger Robot [Wed, 22 Feb 2017 18:49:32 +0000 (18:49 +0000)]
Merge changes from topic 'vts_camera_tests'

* changes:
  Camera: Add camera capture request VTS tests
  Camera: Extend Camera VTS testing

7 years agoUpdate makefiles.
Tri Vo [Wed, 22 Feb 2017 18:46:43 +0000 (10:46 -0800)]
Update makefiles.

Test: mmma hardware/interfaces
Change-Id: I501524fa3fbbaed9b71e5b9c3bbc8aa3c8c25896

7 years agolights vts test: don't turn off the screen
Steven Moreland [Fri, 20 Jan 2017 00:32:14 +0000 (16:32 -0800)]
lights vts test: don't turn off the screen

Running this test on marlin turns off the screen and makes the device
unuseable.

Test: run test on marlin, screen doesn't turn off
Change-Id: I3ef5ba180949647c2c72162fd64a3cd3fcbe88f3

7 years agosupplicant(interface): Add set/get for eap private key id
Roshan Pius [Wed, 22 Feb 2017 16:56:23 +0000 (08:56 -0800)]
supplicant(interface): Add set/get for eap private key id

"private_key" field is not used in Android, we instead use the "key_id"
field. So, change the setter to reflect that.

Bug: 35663125
Test: Compiles
Change-Id: I3c01365fd90fd79cac2b99f9b9fe0bbea2226b59

7 years agoBluetooth: Simplify started check am: 5ea487bdce am: ffa6a38a42
Myles Watson [Wed, 22 Feb 2017 14:54:00 +0000 (14:54 +0000)]
Bluetooth: Simplify started check am: 5ea487bdce am: ffa6a38a42
am: 7af11be028

Change-Id: I812fe238edc1c35366e3ff9547e37fb01e91f95c

7 years agoBluetooth: Simplify started check am: 5ea487bdce
Myles Watson [Wed, 22 Feb 2017 14:51:59 +0000 (14:51 +0000)]
Bluetooth: Simplify started check am: 5ea487bdce
am: ffa6a38a42

Change-Id: Id1c7c08c929a96b531732177da9252822474bc6b

7 years agoBluetooth: Simplify started check
Myles Watson [Wed, 22 Feb 2017 14:49:59 +0000 (14:49 +0000)]
Bluetooth: Simplify started check
am: 5ea487bdce

Change-Id: I8d4ae4b5c1fc96809600a32c1b91ebfee8a23e8e