OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Nfc: Null ptr checks in HAL" am: 3b4d423d42 am: 0ee41f6f8c
Ruchi Kandoi [Thu, 23 Mar 2017 19:29:57 +0000 (19:29 +0000)]
Merge "Nfc: Null ptr checks in HAL" am: 3b4d423d42 am: 0ee41f6f8c
am: 87e7c64385

Change-Id: I8706702a3f55ecb6c034e8aa02b3ab4011c2c006

7 years agoMerge "Nfc: Null ptr checks in HAL" am: 3b4d423d42
Ruchi Kandoi [Thu, 23 Mar 2017 19:27:20 +0000 (19:27 +0000)]
Merge "Nfc: Null ptr checks in HAL" am: 3b4d423d42
am: 0ee41f6f8c

Change-Id: Ifc05d12c32e646ceb0f2e810a23d205cdfe7cdc7

7 years agoMerge "Nfc: Null ptr checks in HAL"
Ruchi Kandoi [Thu, 23 Mar 2017 19:24:19 +0000 (19:24 +0000)]
Merge "Nfc: Null ptr checks in HAL"
am: 3b4d423d42

Change-Id: Icede34b74cd253d6921ce38c5abb0d3f80ee1bd7

7 years agoMerge "Nfc: Null ptr checks in HAL"
Treehugger Robot [Thu, 23 Mar 2017 19:20:25 +0000 (19:20 +0000)]
Merge "Nfc: Null ptr checks in HAL"

7 years agoMerge "Camera: Add doc for combined stream usage flags"
TreeHugger Robot [Thu, 23 Mar 2017 03:44:35 +0000 (03:44 +0000)]
Merge "Camera: Add doc for combined stream usage flags"

7 years agoremoved unused function (HIDL_FETCH_ISurfaceFlingerConfigs)
Jaesoo Lee [Tue, 21 Mar 2017 06:02:14 +0000 (15:02 +0900)]
removed unused function (HIDL_FETCH_ISurfaceFlingerConfigs)

HIDL_FETCH_... is required only for passthrough mode, but Configstore
does not provide passthrough mode.

Bug: 35325577
Test: build and check configstore works
Change-Id: Iac3ed57568f18c3a8a7f7423a361b0fe45aa54ab

7 years agoMerge "Add logic for VHAL versions > 2.0 to forward property information to 2.0 Use...
TreeHugger Robot [Thu, 23 Mar 2017 00:58:36 +0000 (00:58 +0000)]
Merge "Add logic for VHAL versions > 2.0 to forward property information to 2.0 Use this infrastructure to move OBD2_LIVE_FRAME support over to the Vehicle HAL 2.0 layer."

7 years agoMerge "audiohal: Remove stale TODOs"
TreeHugger Robot [Thu, 23 Mar 2017 00:57:15 +0000 (00:57 +0000)]
Merge "audiohal: Remove stale TODOs"

7 years agoMerge "[AWARE] Add Passphrase data-path security" am: 9e71d7d44f am: 5a05398da8
Etan Cohen [Thu, 23 Mar 2017 00:31:04 +0000 (00:31 +0000)]
Merge "[AWARE] Add Passphrase data-path security" am: 9e71d7d44f am: 5a05398da8
am: e3ee58a4e7

Change-Id: I86680b7dc7285658d5b71a8e8bc5fbf504522b96

7 years agoMerge "Bluetooth: Protect pointers and callbacks" am: 54906b6ccf am: ce78f9faab
Myles Watson [Thu, 23 Mar 2017 00:30:50 +0000 (00:30 +0000)]
Merge "Bluetooth: Protect pointers and callbacks" am: 54906b6ccf am: ce78f9faab
am: 4cfd84a049

Change-Id: I6325f5c93c1edd58c7813c5ab7bec9bb8b3f6aef

7 years agoMerge "[AWARE] Add Passphrase data-path security" am: 9e71d7d44f
Etan Cohen [Thu, 23 Mar 2017 00:29:01 +0000 (00:29 +0000)]
Merge "[AWARE] Add Passphrase data-path security" am: 9e71d7d44f
am: 5a05398da8

Change-Id: I5ae40c7077410ad34c3face4aa1fad62dfe5887c

7 years agoMerge "Bluetooth: Protect pointers and callbacks" am: 54906b6ccf
Myles Watson [Thu, 23 Mar 2017 00:28:48 +0000 (00:28 +0000)]
Merge "Bluetooth: Protect pointers and callbacks" am: 54906b6ccf
am: ce78f9faab

Change-Id: I6500b50c6158a2f2d577e223e598748f80d8a0c4

7 years agoMerge "[AWARE] Add Passphrase data-path security"
Etan Cohen [Thu, 23 Mar 2017 00:26:21 +0000 (00:26 +0000)]
Merge "[AWARE] Add Passphrase data-path security"
am: 9e71d7d44f

Change-Id: I4f0e514d2f49156942c6818379347c369c79889b

7 years agoMerge "Bluetooth: Protect pointers and callbacks"
Myles Watson [Thu, 23 Mar 2017 00:26:03 +0000 (00:26 +0000)]
Merge "Bluetooth: Protect pointers and callbacks"
am: 54906b6ccf

Change-Id: Idb2e6f6fc796c95552b112060b9866a81073dc37

7 years agoMerge "[AWARE] Add Passphrase data-path security"
Etan Cohen [Thu, 23 Mar 2017 00:10:33 +0000 (00:10 +0000)]
Merge "[AWARE] Add Passphrase data-path security"

7 years agoMerge "Add manufacturer and model to device ID attestation"
TreeHugger Robot [Thu, 23 Mar 2017 00:01:38 +0000 (00:01 +0000)]
Merge "Add manufacturer and model to device ID attestation"

7 years agoMerge "Bluetooth: Protect pointers and callbacks"
Treehugger Robot [Wed, 22 Mar 2017 23:59:57 +0000 (23:59 +0000)]
Merge "Bluetooth: Protect pointers and callbacks"

7 years agoNfc: Null ptr checks in HAL
Ruchi Kandoi [Mon, 13 Mar 2017 21:58:36 +0000 (14:58 -0700)]
Nfc: Null ptr checks in HAL

Adds null pointer checks in the default implementation.

Test: compiles
Bug: 36149477
Change-Id: I6195ce92f5cefd4b82874866d08014830f400192
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
7 years agoMerge "use toString instead of to_string" am: 6a73f61b96 am: a1b886fd90
Hridya Valsaraju [Wed, 22 Mar 2017 23:04:42 +0000 (23:04 +0000)]
Merge "use toString instead of to_string" am: 6a73f61b96 am: a1b886fd90
am: 35937ab9fa

Change-Id: I0cb0cbff94b206655061c078848c0ff95147fcfc

7 years agoMerge "use toString instead of to_string" am: 6a73f61b96
Hridya Valsaraju [Wed, 22 Mar 2017 23:02:07 +0000 (23:02 +0000)]
Merge "use toString instead of to_string" am: 6a73f61b96
am: a1b886fd90

Change-Id: I5dda7824fcd2988f349a5d1c9df680f9be6700cb

7 years agoMerge "use toString instead of to_string"
Hridya Valsaraju [Wed, 22 Mar 2017 22:59:50 +0000 (22:59 +0000)]
Merge "use toString instead of to_string"
am: 6a73f61b96

Change-Id: Ia28bfdf70b7a79c96822aa3f0402bc0290ad7b3d

7 years agoMerge "use toString instead of to_string"
Treehugger Robot [Wed, 22 Mar 2017 22:49:37 +0000 (22:49 +0000)]
Merge "use toString instead of to_string"

7 years agoMerge "Add VTS for couple of missing APIs and some cleanup for earlier APIs." am...
Sanket Padawe [Wed, 22 Mar 2017 21:44:37 +0000 (21:44 +0000)]
Merge "Add VTS for couple of missing APIs and some cleanup for earlier APIs." am: 60449e68d1 am: 516a71e295
am: 0f8a067a04

Change-Id: Ifbdbf6c739e140eb10c8fafdeaa31b92f281a41b

7 years agoMerge "Add VTS for couple of missing APIs and some cleanup for earlier APIs." am...
Sanket Padawe [Wed, 22 Mar 2017 21:42:01 +0000 (21:42 +0000)]
Merge "Add VTS for couple of missing APIs and some cleanup for earlier APIs." am: 60449e68d1
am: 516a71e295

Change-Id: I55111cddfd5101bfdccc82bdfa07013187d6f95f

7 years agoMerge "Add VTS for couple of missing APIs and some cleanup for earlier APIs."
Sanket Padawe [Wed, 22 Mar 2017 21:39:42 +0000 (21:39 +0000)]
Merge "Add VTS for couple of missing APIs and some cleanup for earlier APIs."
am: 60449e68d1

Change-Id: I0bcc97f30baf408e6eb6b96f7f37b3b536953fc7

7 years agoBluetooth: Protect pointers and callbacks
Myles Watson [Thu, 16 Mar 2017 23:23:23 +0000 (16:23 -0700)]
Bluetooth: Protect pointers and callbacks

Test: kill com.android.bluetooth
Bug: 36150800
Change-Id: I9533731c9ce3776c84e6c1d3fdf3e266b328a084

7 years agoMerge "Add VTS for couple of missing APIs and some cleanup for earlier APIs."
Sanket Padawe [Wed, 22 Mar 2017 21:29:12 +0000 (21:29 +0000)]
Merge "Add VTS for couple of missing APIs and some cleanup for earlier APIs."

7 years agoMerge "Check for unimplemented keymaster function delete_key"
Janis Danisevskis [Wed, 22 Mar 2017 20:46:42 +0000 (20:46 +0000)]
Merge "Check for unimplemented keymaster function delete_key"

7 years agouse toString instead of to_string
Hridya Valsaraju [Fri, 10 Mar 2017 17:19:54 +0000 (09:19 -0800)]
use toString instead of to_string

Bug: 35703683
Test: hidl_test_java passes

Change-Id: Ib7d6807f6b9ddcd7b0271b17a0a52be0ee07ec6c

7 years agoMerge "Audio HAL VTS: test leftover calls"
TreeHugger Robot [Wed, 22 Mar 2017 19:25:54 +0000 (19:25 +0000)]
Merge "Audio HAL VTS: test leftover calls"

7 years agoMerge "Create max acquired buffer for framebuffer for SF"
TreeHugger Robot [Wed, 22 Mar 2017 18:51:30 +0000 (18:51 +0000)]
Merge "Create max acquired buffer for framebuffer for SF"

7 years agoCheck for unimplemented keymaster function delete_key
Janis Danisevskis [Wed, 22 Mar 2017 17:28:24 +0000 (10:28 -0700)]
Check for unimplemented keymaster function delete_key

delete_key is optional and may not be implemented by
a legacy hal. So the function pointer must be checked for
nullptr prior to being used.

Bug: 36500704
Test: run VTS tests with legacy hal that does not implement delete_key
Change-Id: Ie51dd173314826ef260319153c7df96d88b8a42f

7 years agoaudiohal: Remove stale TODOs
Mikhail Naganov [Wed, 22 Mar 2017 17:36:14 +0000 (10:36 -0700)]
audiohal: Remove stale TODOs

Bug: 34109709
Change-Id: I9b30ffa2ed06be8cf31cdbfbcc0f4cb0dac7be54
Test: make

7 years agoMerge "disabled passthrough mode for Configstore" am: 7f8b76a322 am: 37b5d80abf
Jaesoo Lee [Wed, 22 Mar 2017 01:07:52 +0000 (01:07 +0000)]
Merge "disabled passthrough mode for Configstore" am: 7f8b76a322 am: 37b5d80abf
am: 7af7140958

Change-Id: I98bb865ed1b5a28a4e57a4da849ef2db685f032c

7 years agoMerge "disabled passthrough mode for Configstore" am: 7f8b76a322
Jaesoo Lee [Wed, 22 Mar 2017 01:05:48 +0000 (01:05 +0000)]
Merge "disabled passthrough mode for Configstore" am: 7f8b76a322
am: 37b5d80abf

Change-Id: I46c7e5876f3def55489ff5103eca8a22bfcd9b6d

7 years agoMerge "disabled passthrough mode for Configstore"
Jaesoo Lee [Wed, 22 Mar 2017 01:04:17 +0000 (01:04 +0000)]
Merge "disabled passthrough mode for Configstore"
am: 7f8b76a322

Change-Id: Ib7e37189c90752d8c536cb2e5bdf0a2518865981

7 years agoMerge "disabled passthrough mode for Configstore"
Jaesoo Lee [Wed, 22 Mar 2017 00:42:32 +0000 (00:42 +0000)]
Merge "disabled passthrough mode for Configstore"

7 years ago[AWARE] Add Passphrase data-path security
Etan Cohen [Tue, 14 Mar 2017 21:54:40 +0000 (14:54 -0700)]
[AWARE] Add Passphrase data-path security

Add mechanism to configure data-path security using Passphrase
(as an alternative to PMK).

Bug: 35866810
Test: integration (sl4a) tests passing.
Change-Id: If7094a44af1996d3caf5b776d492797f14a7be11

7 years agoMerge "audio: fix mistake in AudioDevice enum"
Eric Laurent [Tue, 21 Mar 2017 23:41:08 +0000 (23:41 +0000)]
Merge "audio: fix mistake in AudioDevice enum"

7 years agoMerge "Revert "Make setResponseFunctions() and setCallback() oneway.""
Steven Moreland [Tue, 21 Mar 2017 23:12:16 +0000 (23:12 +0000)]
Merge "Revert "Make setResponseFunctions() and setCallback() oneway.""

7 years agoRevert "Make setResponseFunctions() and setCallback() oneway."
Steven Moreland [Tue, 21 Mar 2017 23:09:44 +0000 (23:09 +0000)]
Revert "Make setResponseFunctions() and setCallback() oneway."

This reverts commit 08b949450e1fa0f90bd530da72e91aa92b5181e8.

Change-Id: Ie2f6c84e1b9264b109b55432be9b77abb82643fd

7 years agoMerge "Make setResponseFunctions() and setCallback() oneway."
Amit Mahajan [Tue, 21 Mar 2017 23:03:47 +0000 (23:03 +0000)]
Merge "Make setResponseFunctions() and setCallback() oneway."

7 years agoCreate max acquired buffer for framebuffer for SF
Fabien Sanglard [Fri, 10 Mar 2017 23:37:07 +0000 (15:37 -0800)]
Create max acquired buffer for framebuffer for SF

Change-Id: I502cfea9e03943c2f2bb353e71cfd860b2797fd5

7 years agoMerge "Revert "Revert "Add useVrFlinger() method to SurfaceFlinger ConfigStore"""
Steven Thomas [Tue, 21 Mar 2017 22:24:52 +0000 (22:24 +0000)]
Merge "Revert "Revert "Add useVrFlinger() method to SurfaceFlinger ConfigStore"""

7 years agoAdd logic for VHAL versions > 2.0 to forward property information to 2.0
Enrico Granata [Tue, 21 Mar 2017 21:26:04 +0000 (14:26 -0700)]
Add logic for VHAL versions > 2.0 to forward property information to 2.0
Use this infrastructure to move OBD2_LIVE_FRAME support over to the Vehicle HAL 2.0 layer.

This is useful in DefaultVehicleHal 2.0 to let the Emulator layer send/receive information about properties defined by later VehicleHal versions.
Additionally, support the notion that a custom property thusly defined might have logic more intricate than simply a property Id and an area Id,
via a custom handler object that supports get() and set() operations. A default handler object simply falls back to a stored VehiclePropValue, but
more complex implementations are possible.

Test: manual testing in Python:
import vhal_consts_2_0 as c
from vhal_emulator import Vhal

v = Vhal(c.vhal_types_2_0)

v.getConfig(c.VEHICLE_PROPERTY_HVAC_TEMPERATURE_SET)
print v.rxMsg()

v.setProperty(c.VEHICLE_PROPERTY_HVAC_TEMPERATURE_SET, c.VEHICLE_ZONE_ROW_1_LEFT, 70)
print v.rxMsg()

v.getProperty(c.VEHICLE_PROPERTY_HVAC_TEMPERATURE_SET, c.VEHICLE_ZONE_ROW_1_LEFT)
print v.rxMsg()

v.getProperty(0x11e00d00, 0)
print v.rxMsg()

plus

runtest Obd2LiveFrame.java

Change-Id: I9c342e6e2c9ff581beacd238a42780ca10f96d9c

7 years agosupplicant(interface): Add an event for bssid changes am: c314841614 am: 995e5b7f13
Roshan Pius [Tue, 21 Mar 2017 22:00:15 +0000 (22:00 +0000)]
supplicant(interface): Add an event for bssid changes am: c314841614 am: 995e5b7f13
am: 74d86aadbb

Change-Id: Idcb780f307f26bcd8edae289e895288d92f3b054

7 years agowifi(implementation): Return proper status code on initialize am: a1c76e4d53 am:...
Roshan Pius [Tue, 21 Mar 2017 21:59:53 +0000 (21:59 +0000)]
wifi(implementation): Return proper status code on initialize am: a1c76e4d53 am: c51e74d572
am: c8fdd97297

Change-Id: Ib1d40583abb74ad80edd858635ab56aed9f2c2f2

7 years agoMerge "Fix library dependency, remove undeclarate deps"
TreeHugger Robot [Tue, 21 Mar 2017 21:57:29 +0000 (21:57 +0000)]
Merge "Fix library dependency, remove undeclarate deps"

7 years agoAdd VTS for couple of missing APIs and some cleanup for earlier APIs.
Sanket Padawe [Tue, 21 Mar 2017 21:48:41 +0000 (14:48 -0700)]
Add VTS for couple of missing APIs and some cleanup for earlier APIs.

Bug: 32022332
Test: vts
Change-Id: I361af4a37985e5bc686a2d7302917afa134ebc24

7 years agosupplicant(interface): Add an event for bssid changes am: c314841614
Roshan Pius [Tue, 21 Mar 2017 21:48:42 +0000 (21:48 +0000)]
supplicant(interface): Add an event for bssid changes am: c314841614
am: 995e5b7f13

Change-Id: I59746ea376cce74cf0ca452398c588efd67e7d1c

7 years agowifi(implementation): Return proper status code on initialize am: a1c76e4d53
Roshan Pius [Tue, 21 Mar 2017 21:48:29 +0000 (21:48 +0000)]
wifi(implementation): Return proper status code on initialize am: a1c76e4d53
am: c51e74d572

Change-Id: I4bb4c392e3b714417b9823d4a3c5eb6e878e6fec

7 years agosupplicant(interface): Add an event for bssid changes
Roshan Pius [Tue, 21 Mar 2017 21:44:09 +0000 (21:44 +0000)]
supplicant(interface): Add an event for bssid changes
am: c314841614

Change-Id: I587c0c479708448492dce329c267f2b3761911d8

7 years agowifi(implementation): Return proper status code on initialize
Roshan Pius [Tue, 21 Mar 2017 21:43:57 +0000 (21:43 +0000)]
wifi(implementation): Return proper status code on initialize
am: a1c76e4d53

Change-Id: Ia6e18ee9f9543fb4059dd349c8a0f9ef286ad14d

7 years agoMerge "GNSS Service handling System death"
TreeHugger Robot [Tue, 21 Mar 2017 21:23:53 +0000 (21:23 +0000)]
Merge "GNSS Service handling System death"

7 years agoRevert "Revert "Add useVrFlinger() method to SurfaceFlinger ConfigStore""
Steven Thomas [Tue, 14 Mar 2017 00:42:18 +0000 (17:42 -0700)]
Revert "Revert "Add useVrFlinger() method to SurfaceFlinger ConfigStore""

This reverts commit 2877c167ff7119d0c119da7117febd322f90a8a7.

Add useVrFlinger() method to SurfaceFlinger ConfigStore, which is
used to ensure we only start vr flinger on Daydream ready devices.

Bug: 35885165

Test: Checked for "SurfaceFlinger UseVrFlinger" in the logs,
confirmed it only shows up for Daydream ready devices.

Change-Id: I839b650b63cd008de03feb4c771b330374bd0682

7 years agoMerge "fingerprint: check return status of hwbinder calls"
TreeHugger Robot [Tue, 21 Mar 2017 19:26:31 +0000 (19:26 +0000)]
Merge "fingerprint: check return status of hwbinder calls"

7 years agoAudio HAL VTS: test leftover calls
Kevin Rocard [Tue, 21 Mar 2017 18:39:55 +0000 (11:39 -0700)]
Audio HAL VTS: test leftover calls

Test: run on target

Bug: 34170075
Change-Id: I9529d3b8db7388332dde3ea7d5940d58e010e449
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoGNSS Service handling System death
Wyatt Riley [Thu, 16 Mar 2017 23:25:55 +0000 (16:25 -0700)]
GNSS Service handling System death

Stops all GNSS HAL operations, as system doesn't need them any more:
  normal, measurements, navigation message, batching
Update default implementation to resend capabilities and system info
  and corresponding VTS to enforce
Minor fixes completing the location check
Softens GPS VTS to pass with no signal (still applies better checks
  if there is signal)

Bug:36291274
Bug:36066672
Bug:35678469
Bug:35799723
Fixes:36291274
Fixes:36066672
Fixes:35799723

Test: VTS test passes, GPS stops after system server is killed
  Basic GPS tests (including delete Xtra) work (before VTS is run)

Change-Id: Ic2ab0f8a79b4aff26eef468615bfee97a83e672f

7 years agosupplicant(interface): Add an event for bssid changes
Roshan Pius [Mon, 20 Mar 2017 22:55:30 +0000 (15:55 -0700)]
supplicant(interface): Add an event for bssid changes

This is useful in debugging (& collecting metrics) when the active bssid changes.

Bug: 36451639
Test: Compiles & manual tests using the framework changes.
Change-Id: I5676dfb9ec9c13ae900c315eb8dfacb857e70fc1

7 years agoMerge "Avoid calling non-exist set_mode hal function"
Peng Xu [Tue, 21 Mar 2017 17:26:26 +0000 (17:26 +0000)]
Merge "Avoid calling non-exist set_mode hal function"

7 years agoFix library dependency, remove undeclarate deps
Fabien Sanglard [Tue, 21 Mar 2017 16:39:35 +0000 (09:39 -0700)]
Fix library dependency, remove undeclarate deps

Remove undeclared dependency of libhwcomposer-client on Hwc.h which
created a circular dependency.

Test: Manual
Change-Id: I74d5c4e2db5d247f8b406d1ea42fece41e76659d

7 years agoMerge "Add amplitude control to vibrator HAL"
TreeHugger Robot [Tue, 21 Mar 2017 13:40:31 +0000 (13:40 +0000)]
Merge "Add amplitude control to vibrator HAL"

7 years agodisabled passthrough mode for Configstore
Jaesoo Lee [Mon, 20 Mar 2017 04:57:10 +0000 (13:57 +0900)]
disabled passthrough mode for Configstore

This change removes target "android.hardware.configstore@1.0-impl" to
disable passthrough mode.

Bug: 35325577
Test: android.hardware.configstore@1.0-impl.so not exist in outputs and
    configstore works in binderized mode

Change-Id: Ieedb6fea179d50ac35fc32b0e21752b2334558ae

7 years agowifi(implementation): Return proper status code on initialize
Roshan Pius [Mon, 20 Mar 2017 17:15:18 +0000 (10:15 -0700)]
wifi(implementation): Return proper status code on initialize

The fallback HAL will return |WIFI_ERROR_NOT_SUPPORTED| when
|init_wifi_vendor_hal_func_table| is invoked.  This should be sent as is
to the HIDL interface instead of sending |WIFI_ERROR_UNKNOWN|.

Bug: 34859006
Test: Compiles
Change-Id: I5fd132368715bd158e617ad3cf2e6f88d147cef7

7 years agoMerge "Use simplified update-makefiles.sh script." am: 04ff4a07eb am: b235c400d0
Steven Moreland [Tue, 21 Mar 2017 01:50:36 +0000 (01:50 +0000)]
Merge "Use simplified update-makefiles.sh script." am: 04ff4a07eb am: b235c400d0
am: 9e3c0d1828

Change-Id: If4910a9f526c2e9050a12ecf2e9ab7fdcdf55577

7 years agoMerge "Use simplified update-makefiles.sh script." am: 04ff4a07eb
Steven Moreland [Tue, 21 Mar 2017 01:47:03 +0000 (01:47 +0000)]
Merge "Use simplified update-makefiles.sh script." am: 04ff4a07eb
am: b235c400d0

Change-Id: Ia04cc3e61d0a6792f9265c44569ccbfd0c706edd

7 years agoMerge "Use simplified update-makefiles.sh script."
Steven Moreland [Tue, 21 Mar 2017 01:43:03 +0000 (01:43 +0000)]
Merge "Use simplified update-makefiles.sh script."
am: 04ff4a07eb

Change-Id: I947819188949b34426b4766d64943f8d5ce96742

7 years agoMake setResponseFunctions() and setCallback() oneway.
Amit Mahajan [Thu, 16 Mar 2017 21:09:04 +0000 (14:09 -0700)]
Make setResponseFunctions() and setCallback() oneway.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: I05351b5c4d61c19eb08841704bf50ae7de5f683f

7 years agoMerge "Revert "Add useVrFlinger() method to SurfaceFlinger ConfigStore""
Jin Qian [Tue, 21 Mar 2017 00:19:26 +0000 (00:19 +0000)]
Merge "Revert "Add useVrFlinger() method to SurfaceFlinger ConfigStore""

7 years agoRevert "Add useVrFlinger() method to SurfaceFlinger ConfigStore"
Jin Qian [Tue, 21 Mar 2017 00:03:56 +0000 (00:03 +0000)]
Revert "Add useVrFlinger() method to SurfaceFlinger ConfigStore"

This reverts commit d78f6b34b68af98e3a59e90edcf19493fc986e12.

broke multiple builds, e.g.
https://android-build.googleplex.com/builds/submitted/3833064/test_suites_x86_64_fastbuild3d_linux/latest/logs

Change-Id: Id0dea5b63fad8896a186486d137d8505aad12c26

7 years agoMerge "Add useVrFlinger() method to SurfaceFlinger ConfigStore"
Steven Thomas [Mon, 20 Mar 2017 23:43:46 +0000 (23:43 +0000)]
Merge "Add useVrFlinger() method to SurfaceFlinger ConfigStore"

7 years agoMerge "Use simplified update-makefiles.sh script."
Steven Moreland [Mon, 20 Mar 2017 22:08:04 +0000 (22:08 +0000)]
Merge "Use simplified update-makefiles.sh script."

7 years agoMerge "supplicant(interface): Correct the WFD info length" am: d51c817675 am: f092ffbe9d
Roshan Pius [Mon, 20 Mar 2017 21:41:53 +0000 (21:41 +0000)]
Merge "supplicant(interface): Correct the WFD info length" am: d51c817675 am: f092ffbe9d
am: bf6ce1a507

Change-Id: Ie0e6e8abc4d09406761bbb14bf513bf2a4e22314

7 years agoMerge "supplicant(interface): Support for P2P client list and save config" am: 91c2cb...
Roshan Pius [Mon, 20 Mar 2017 21:41:21 +0000 (21:41 +0000)]
Merge "supplicant(interface): Support for P2P client list and save config" am: 91c2cb3284 am: 2f52b0d8e4
am: 1100f4e570

Change-Id: Ia582415cbbac3abadfff71ec93fcc8b30a18347f

7 years agoMerge "supplicant(interface): Correct the WFD info length" am: d51c817675
Roshan Pius [Mon, 20 Mar 2017 21:38:58 +0000 (21:38 +0000)]
Merge "supplicant(interface): Correct the WFD info length" am: d51c817675
am: f092ffbe9d

Change-Id: I9bcfb6f174f7387956bbec423175e39004235782

7 years agoMerge "supplicant(interface): Support for P2P client list and save config" am: 91c2cb3284
Roshan Pius [Mon, 20 Mar 2017 21:38:22 +0000 (21:38 +0000)]
Merge "supplicant(interface): Support for P2P client list and save config" am: 91c2cb3284
am: 2f52b0d8e4

Change-Id: Ibfad7dd79c36f4ce93a6febf3c46838f92bcad10

7 years agoMerge "supplicant(interface): Correct the WFD info length"
Roshan Pius [Mon, 20 Mar 2017 21:38:09 +0000 (21:38 +0000)]
Merge "supplicant(interface): Correct the WFD info length"
am: d51c817675

Change-Id: I05c077fbdfb2c0b085e869101c5548318ade3eaf

7 years agoMerge "supplicant(interface): Support for P2P client list and save config"
Roshan Pius [Mon, 20 Mar 2017 21:35:20 +0000 (21:35 +0000)]
Merge "supplicant(interface): Support for P2P client list and save config"
am: 91c2cb3284

Change-Id: Id18d9ad5427703f3b975691d8995ea641b9405d2

7 years agoMerge "supplicant(interface): Correct the WFD info length"
Treehugger Robot [Mon, 20 Mar 2017 21:34:56 +0000 (21:34 +0000)]
Merge "supplicant(interface): Correct the WFD info length"

7 years agoMerge "supplicant(interface): Support for P2P client list and save config"
Roshan Pius [Mon, 20 Mar 2017 21:30:42 +0000 (21:30 +0000)]
Merge "supplicant(interface): Support for P2P client list and save config"

7 years agoAdd useVrFlinger() method to SurfaceFlinger ConfigStore
Steven Thomas [Tue, 14 Mar 2017 00:42:18 +0000 (17:42 -0700)]
Add useVrFlinger() method to SurfaceFlinger ConfigStore

Add useVrFlinger() method to SurfaceFlinger ConfigStore, which is
used to ensure we only start vr flinger on Daydream ready devices.

Bug: 35885165

Test: Checked for "SurfaceFlinger UseVrFlinger" in the logs,
confirmed it only shows up for Daydream ready devices.

Change-Id: I3c39b1f094e28f06b510171fc0968cf71f5d5550

7 years agoMerge "Add graphics composer support for HWC > HWC1.1"
TreeHugger Robot [Mon, 20 Mar 2017 21:12:58 +0000 (21:12 +0000)]
Merge "Add graphics composer support for HWC > HWC1.1"

7 years agofingerprint: check return status of hwbinder calls
Nick Desaulniers [Mon, 20 Mar 2017 21:06:19 +0000 (14:06 -0700)]
fingerprint: check return status of hwbinder calls

If system_server dies, and return codes of hwbinder calls are not
checked, an abort of the HAL service will occur.  In this case,
warn in the logs, but allow system_server to reopen HAL.

Bug: 34867134
Change-Id: I9fe1c2c0f1c03e8debafb56bff8a7490ccbbcec0

7 years agoAdd graphics composer support for HWC > HWC1.1
Fabien Sanglard [Thu, 16 Mar 2017 23:56:46 +0000 (16:56 -0700)]
Add graphics composer support for HWC > HWC1.1

Test: Ryu, Marlin
Change-Id: I58a7394f427534b942d64c93b1891a756c5f510c

7 years agoCamera: Add doc for combined stream usage flags
Shuzhen Wang [Mon, 20 Mar 2017 16:35:12 +0000 (09:35 -0700)]
Camera: Add doc for combined stream usage flags

Specify the HAL behavior when stream usage flag is combination for
multiple consumers.

Test: Compile
Bug: 33777818
Change-Id: I97e7bcc79ee36a395210c7cf8deefc4f175d3e07

7 years agoMerge "IUsb uses "default" service name"
Yifan Hong [Mon, 20 Mar 2017 17:51:09 +0000 (17:51 +0000)]
Merge "IUsb uses "default" service name"

7 years agoMerge "configstore: respect service registration status." am: e8e87df57f am: 9761a112e1
Steven Moreland [Mon, 20 Mar 2017 17:27:59 +0000 (17:27 +0000)]
Merge "configstore: respect service registration status." am: e8e87df57f am: 9761a112e1
am: 5f44edfb21

Change-Id: I9db78e30ec60088e09384a8134304f0f73bd391e

7 years agoMerge "configstore: respect service registration status." am: e8e87df57f
Steven Moreland [Mon, 20 Mar 2017 17:21:35 +0000 (17:21 +0000)]
Merge "configstore: respect service registration status." am: e8e87df57f
am: 9761a112e1

Change-Id: Ie4094649cf67652ee8af8ba5f49c700c2533abbd

7 years agoVersioning, add additional package import. am: a233c182be am: f0dd7270f1
Steven Moreland [Mon, 20 Mar 2017 17:20:41 +0000 (17:20 +0000)]
Versioning, add additional package import. am: a233c182be am: f0dd7270f1
am: 3bb7c80e1d

Change-Id: I41d46e089aca2ef875ce28a5bfad3ab3745184ac

7 years agoMerge "configstore: respect service registration status."
Steven Moreland [Mon, 20 Mar 2017 17:14:54 +0000 (17:14 +0000)]
Merge "configstore: respect service registration status."
am: e8e87df57f

Change-Id: I528fc4914ab9b1da49825b425bd5672e0b117add

7 years agoMerge "configstore: respect service registration status."
Treehugger Robot [Mon, 20 Mar 2017 17:02:54 +0000 (17:02 +0000)]
Merge "configstore: respect service registration status."

7 years agoVersioning, add additional package import. am: a233c182be
Steven Moreland [Mon, 20 Mar 2017 16:56:56 +0000 (16:56 +0000)]
Versioning, add additional package import. am: a233c182be
am: f0dd7270f1

Change-Id: Id766cbb454e0b0fc895ca5ed5e44e7b2dfd1ebc7

7 years agoVersioning, add additional package import.
Steven Moreland [Mon, 20 Mar 2017 16:53:25 +0000 (16:53 +0000)]
Versioning, add additional package import.
am: a233c182be

Change-Id: I5d84ccd57530fa7086f50e469ab75a05d40ad800

7 years agosupplicant(interface): Correct the WFD info length
Roshan Pius [Fri, 17 Mar 2017 22:44:56 +0000 (15:44 -0700)]
supplicant(interface): Correct the WFD info length

Error logs from test:
03-17 18:34:34.303  1781  1781 E wpa_supplicant: Unexpected WFD device
info len: 6

Bug: 36401779
Test: Compiles
Change-Id: I65805599f8f3242a5c1f6ba8c0a1b9da05df79b4

7 years agosupplicant(interface): Support for P2P client list and save config
Roshan Pius [Thu, 16 Mar 2017 16:38:26 +0000 (09:38 -0700)]
supplicant(interface): Support for P2P client list and save config

Bug: 36042785
Test: Compiles
Change-Id: Ib47b47762c05e6252f692c1456e9b8d5dd8c051a

7 years agoVersioning, add additional package import.
Steven Moreland [Mon, 20 Mar 2017 12:02:14 +0000 (05:02 -0700)]
Versioning, add additional package import.

Added versioning@2.4. This tests the same as 2.2->2.3, but also repros
an issue in hidl-gen where triple inheritance isn't allowed.

Test: minor version inheritance doesn't fail, triple inheritance works
Bug: 36162559
Change-Id: Id5518621cd068b1b623f30f6f6762a1bf8ae6a80

7 years agoupdate-makefiles for transisitive dependencies
Steven Moreland [Mon, 20 Mar 2017 14:13:46 +0000 (07:13 -0700)]
update-makefiles for transisitive dependencies

Test: pass
Bug: 36162559
Change-Id: I4f5fddaef9811f0da1d69fa26a5d34830a1a9634

7 years agoAdd manufacturer and model to device ID attestation
Bartosz Fabianowski [Mon, 20 Mar 2017 13:00:58 +0000 (14:00 +0100)]
Add manufacturer and model to device ID attestation

Discussions have shown that in addition to brand, device and product,
we should also allow devices to attest their manufacturer and model.

Bug: 36433192
Test: GTS com.google.android.gts.security.DeviceIdAttestationHostTest

Change-Id: I5a9fd839497976cdb1e44cbe4a2d5b7730732b4c

7 years agoAdd amplitude control to vibrator HAL
Michael Wright [Tue, 31 Jan 2017 18:34:35 +0000 (18:34 +0000)]
Add amplitude control to vibrator HAL

Providing control over the strength of the vibration allows the platform
to provide a richer haptic experience to users. How this amplitude is
modulated is left up to the vibrator implementation.

This also adds an interface to ask the HAL to perform specific haptic
effects. By exposing the intent of the haptic event to the HAL, we can
let device and haptic driver manufacturers implement custom waveforms
that more closely match the desired effect.

Test: Manual testing with Marlin HAL +
      adb shell /data/nativetest/vibrator_hidl_hal_test/vibrator_hidl_hal_test
Change-Id: Icfccb464c6c85adecdf354e2bd4cf422d7d31eb5

7 years agoUse simplified update-makefiles.sh script.
Steven Moreland [Mon, 20 Mar 2017 11:19:10 +0000 (04:19 -0700)]
Use simplified update-makefiles.sh script.

Test: update-makefiles
Bug: 35870521
Change-Id: I652db1f458f07f0b254966c2acee0b441a0bcae1