OSDN Git Service

android-x86/hardware-interfaces.git
7 years agomemtrack: eliminate dependency on surfaceflinger in VTS test
Connor O'Brien [Tue, 7 Mar 2017 02:02:19 +0000 (18:02 -0800)]
memtrack: eliminate dependency on surfaceflinger in VTS test

VTS tests need to be able to run without the framework or native
servers. Call getMemory() on the test process instead of on
surfaceflinger to facilitate this.

Bug: 35945712
Test: Test passes on marlin and bullhead.
Change-Id: Ie847da708a95360ed5f2b444973e45b091e912a0
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoMerge "Bluetooth: Watch multiple FDs with AsyncFdWatcher" am: 1143a3fec6 am: 14d63bfc76
Myles Watson [Tue, 7 Mar 2017 18:50:14 +0000 (18:50 +0000)]
Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher" am: 1143a3fec6 am: 14d63bfc76
am: 23a50f3906

Change-Id: Id641325482bf1f1ab4fd647777433fd8a9da5263

7 years agoMerge "wifi(implementation): Allow wifi hal to access gps" am: fd3f9ea031 am: d1d0f1c24e
Roshan Pius [Tue, 7 Mar 2017 18:46:53 +0000 (18:46 +0000)]
Merge "wifi(implementation): Allow wifi hal to access gps" am: fd3f9ea031 am: d1d0f1c24e
am: e2c6bb4207

Change-Id: I30e2216869837a1108386b906ce339310621a99c

7 years agoMerge "Bluetooth: Watch multiple FDs with AsyncFdWatcher" am: 1143a3fec6
Myles Watson [Tue, 7 Mar 2017 17:39:06 +0000 (17:39 +0000)]
Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher" am: 1143a3fec6
am: 14d63bfc76

Change-Id: I992a89661832064ec1ec3a8128acc3c51421ba79

7 years agoMerge "wifi(implementation): Allow wifi hal to access gps" am: fd3f9ea031
Roshan Pius [Tue, 7 Mar 2017 17:35:58 +0000 (17:35 +0000)]
Merge "wifi(implementation): Allow wifi hal to access gps" am: fd3f9ea031
am: d1d0f1c24e

Change-Id: Ic6b54a979fac2c64cbefe39cdb2d1034c2454e5f

7 years agoMerge "Bluetooth: Watch multiple FDs with AsyncFdWatcher"
Myles Watson [Tue, 7 Mar 2017 17:32:23 +0000 (17:32 +0000)]
Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher"
am: 1143a3fec6

Change-Id: Ib0f1a7f2a87eb82896d69501b5c33bbddebdf154

7 years agoMerge "Bluetooth: Watch multiple FDs with AsyncFdWatcher"
Treehugger Robot [Tue, 7 Mar 2017 17:30:02 +0000 (17:30 +0000)]
Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher"

7 years agoMerge "Add VTS tests for the primary audio hal"
Keun Soo Yim [Tue, 7 Mar 2017 17:29:41 +0000 (17:29 +0000)]
Merge "Add VTS tests for the primary audio hal"

7 years agoMerge "wifi(implementation): Allow wifi hal to access gps"
Roshan Pius [Tue, 7 Mar 2017 17:29:18 +0000 (17:29 +0000)]
Merge "wifi(implementation): Allow wifi hal to access gps"
am: fd3f9ea031

Change-Id: Ia776e9d3af9158f2ffd6d1d285d56a12a7ee909b

7 years agoMerge "wifi(implementation): Allow wifi hal to access gps"
Roshan Pius [Tue, 7 Mar 2017 17:24:30 +0000 (17:24 +0000)]
Merge "wifi(implementation): Allow wifi hal to access gps"

7 years agoMerge "Add Test cases to Nfc VTS" am: eed21780a1 am: 8c3a44084c
Ruchi Kandoi [Tue, 7 Mar 2017 17:13:58 +0000 (17:13 +0000)]
Merge "Add Test cases to Nfc VTS" am: eed21780a1 am: 8c3a44084c
am: 4b0901e29b

Change-Id: Ia689cadc4104acb4340d37ccefadea6753ff2a3b

7 years agoMerge "Add Test cases to Nfc VTS" am: eed21780a1
Ruchi Kandoi [Tue, 7 Mar 2017 17:11:58 +0000 (17:11 +0000)]
Merge "Add Test cases to Nfc VTS" am: eed21780a1
am: 8c3a44084c

Change-Id: I6a7eae8ecdcc9e67f563b2674c39124f423af4ca

7 years agoMerge "Add Test cases to Nfc VTS"
Ruchi Kandoi [Tue, 7 Mar 2017 17:09:58 +0000 (17:09 +0000)]
Merge "Add Test cases to Nfc VTS"
am: eed21780a1

Change-Id: I6d42d2e5fc0691469f561b26444798d84e243042

7 years agoMerge "Add Test cases to Nfc VTS"
Ruchi Kandoi [Tue, 7 Mar 2017 17:05:39 +0000 (17:05 +0000)]
Merge "Add Test cases to Nfc VTS"

7 years agoMerge "Test ITuner::tune failing when channel out of the range is provided."
Tomasz Wasilczyk [Tue, 7 Mar 2017 15:55:24 +0000 (15:55 +0000)]
Merge "Test ITuner::tune failing when channel out of the range is provided."

7 years agoMerge "Add VTS test for ISoundTriggerHw::loadSoundModel"
Hsin-Yi Chen [Tue, 7 Mar 2017 05:33:45 +0000 (05:33 +0000)]
Merge "Add VTS test for ISoundTriggerHw::loadSoundModel"

7 years agoMerge "Use default argument to getService."
TreeHugger Robot [Tue, 7 Mar 2017 04:12:16 +0000 (04:12 +0000)]
Merge "Use default argument to getService."

7 years agoMerge "Removed the deprecated screen state API" am: c438414190 am: 243047c574
Jack Yu [Tue, 7 Mar 2017 02:49:13 +0000 (02:49 +0000)]
Merge "Removed the deprecated screen state API" am: c438414190 am: 243047c574
am: 1fd613fedb

Change-Id: I11ddba206b9e2a56a9aa804878415f33c334d970

7 years agoMerge "Removed the deprecated screen state API" am: c438414190
Jack Yu [Tue, 7 Mar 2017 02:45:50 +0000 (02:45 +0000)]
Merge "Removed the deprecated screen state API" am: c438414190
am: 243047c574

Change-Id: If29c615413ae327bd5423c0b97fd4873e04881d7

7 years agoMerge "Removed the deprecated screen state API"
Jack Yu [Tue, 7 Mar 2017 02:43:33 +0000 (02:43 +0000)]
Merge "Removed the deprecated screen state API"
am: c438414190

Change-Id: Idde6a83cd75012b96e911b01d1993a3b6ca73973

7 years agoMerge "Add continuous property infrastructure to VHAL"
TreeHugger Robot [Tue, 7 Mar 2017 02:10:05 +0000 (02:10 +0000)]
Merge "Add continuous property infrastructure to VHAL"

7 years agoMerge "audio: add missing flags and devices"
Eric Laurent [Tue, 7 Mar 2017 01:22:40 +0000 (01:22 +0000)]
Merge "audio: add missing flags and devices"

7 years agowifi(implementation): Allow wifi hal to access gps
Roshan Pius [Sat, 4 Mar 2017 12:38:42 +0000 (04:38 -0800)]
wifi(implementation): Allow wifi hal to access gps

Wifi Hal uses some gps components (LOWI) for gscans (location scans).
So, grant it gps group permission.

Denials:
03-03 16:56:03.845   623  6924 I QCALOG  : [MessageQ_Client] connecting
to server [/data/misc/location/mq/location-mq-s]
03-03 16:56:03.845   623  6924 E QCALOG  : [MessageQ_Client] connect
error: 13, [Permission denied]

Bug: 35959128
Test: Denials no longer seen.
Change-Id: Iddfddb46a585c7c15a26b1fa01889181e4a3cce1

7 years agoAdd Test cases to Nfc VTS
Ruchi Kandoi [Thu, 26 Jan 2017 01:08:35 +0000 (17:08 -0800)]
Add Test cases to Nfc VTS

- Call close() after close()
- Call open() after open()
- Call powerCycle() after close()
- Call preDiscover() after close()
- Call controlGranted() after close()
- Call coreInitialized() with different data

Test: VTS test passes
Bug: 32024301
Change-Id: I7cd986887ccbf2774d5eace9c975a9a55ee46364
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
7 years agoUse default argument to getService.
Tri Vo [Tue, 7 Mar 2017 01:02:25 +0000 (17:02 -0800)]
Use default argument to getService.

Bug: 35769988
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module
VtsHalContextHubV1_0Target -l VERBOSE
Change-Id: I3919226a7f0c6f2c5475fcba15f026297f93dcc3

7 years agoMerge "Fix sensor event in vehicle HAL emulator"
TreeHugger Robot [Tue, 7 Mar 2017 00:59:23 +0000 (00:59 +0000)]
Merge "Fix sensor event in vehicle HAL emulator"

7 years agoMerge "Removed the deprecated screen state API"
Jack Yu [Tue, 7 Mar 2017 00:30:11 +0000 (00:30 +0000)]
Merge "Removed the deprecated screen state API"

7 years agoMerge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests...
Hridya Valsaraju [Tue, 7 Mar 2017 00:26:04 +0000 (00:26 +0000)]
Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""" am: 38f2a8495f am: ca72971fea
am: da8bf19fe4

Change-Id: Iebe5c0d1ccb3d0185ae5b686ec826f65b83494b2

7 years agoMerge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests...
Hridya Valsaraju [Tue, 7 Mar 2017 00:24:04 +0000 (00:24 +0000)]
Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""" am: 38f2a8495f
am: ca72971fea

Change-Id: I539fd6adbae57a17c33b7503ca34f8d2e67178b5

7 years agoMerge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests"""
Hridya Valsaraju [Tue, 7 Mar 2017 00:22:04 +0000 (00:22 +0000)]
Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests"""
am: 38f2a8495f

Change-Id: I85c6f7b8494d70c30ccdc222760e45964230c347

7 years agoMerge "Revert "audiohal: Add diagnostic message to check the number of bytes written""
Mikhail Naganov [Mon, 6 Mar 2017 23:54:38 +0000 (23:54 +0000)]
Merge "Revert "audiohal: Add diagnostic message to check the number of bytes written""

7 years agoMerge "Add return status to IGraphicBufferSource methods"
TreeHugger Robot [Mon, 6 Mar 2017 22:54:16 +0000 (22:54 +0000)]
Merge "Add return status to IGraphicBufferSource methods"

7 years agoMerge "wifi(implementation): Allow wifi hal to access gps"
Roshan Pius [Mon, 6 Mar 2017 22:14:36 +0000 (22:14 +0000)]
Merge "wifi(implementation): Allow wifi hal to access gps"

7 years agoMerge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests"""
Hridya Valsaraju [Mon, 6 Mar 2017 21:21:17 +0000 (21:21 +0000)]
Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests"""

7 years agoAdd continuous property infrastructure to VHAL
Pavel Maltsev [Fri, 27 Jan 2017 19:48:29 +0000 (11:48 -0800)]
Add continuous property infrastructure to VHAL

Implemented RecurrentTimer class that can be used in VHAL
implementations to trigger an event every X amount of time.
This make sense for continous properties.
Also added linkToDeath for VHAL listeners.

Test: unit tests added and ran

Change-Id: I4a2e0607ff6b15b3e7babbe3fbb9fff8d4e28838

7 years agoMerge "[AWARE] VTS baseline" am: 89145d5849 am: 8d875546a3
Etan Cohen [Mon, 6 Mar 2017 16:57:55 +0000 (16:57 +0000)]
Merge "[AWARE] VTS baseline" am: 89145d5849 am: 8d875546a3
am: 0bd07635e4

Change-Id: I98751b7b94f9989a5a7cb13441e56f3d1aecd709

7 years agoMerge "[AWARE] VTS baseline" am: 89145d5849
Etan Cohen [Mon, 6 Mar 2017 16:54:23 +0000 (16:54 +0000)]
Merge "[AWARE] VTS baseline" am: 89145d5849
am: 8d875546a3

Change-Id: Ib0629ffee37feb9ed1311a7bcdf31b57a5912791

7 years agoMerge "[AWARE] VTS baseline"
Etan Cohen [Mon, 6 Mar 2017 16:50:56 +0000 (16:50 +0000)]
Merge "[AWARE] VTS baseline"
am: 89145d5849

Change-Id: If4b0b17e1c5867835ec412f7e063f45c52bc4e97

7 years agoMerge "[AWARE] VTS baseline"
Etan Cohen [Mon, 6 Mar 2017 16:46:59 +0000 (16:46 +0000)]
Merge "[AWARE] VTS baseline"

7 years agowifi(implementation): Allow wifi hal to access gps
Roshan Pius [Sat, 4 Mar 2017 12:38:42 +0000 (04:38 -0800)]
wifi(implementation): Allow wifi hal to access gps

Wifi Hal uses some gps components (LOWI) for gscans (location scans).
So, grant it gps group permission.

Denials:
03-03 16:56:03.845   623  6924 I QCALOG  : [MessageQ_Client] connecting
to server [/data/misc/location/mq/location-mq-s]
03-03 16:56:03.845   623  6924 E QCALOG  : [MessageQ_Client] connect
error: 13, [Permission denied]

Bug: 35959128
Test: Denials no longer seen.
Change-Id: Iddfddb46a585c7c15a26b1fa01889181e4a3cce1

7 years agoMerge "fallout of cleaning-up libutils includes"
TreeHugger Robot [Sat, 4 Mar 2017 00:52:43 +0000 (00:52 +0000)]
Merge "fallout of cleaning-up libutils includes"

7 years agoBluetooth: Watch multiple FDs with AsyncFdWatcher
Myles Watson [Thu, 2 Mar 2017 17:26:53 +0000 (09:26 -0800)]
Bluetooth: Watch multiple FDs with AsyncFdWatcher

Test: AsyncFdWatcherSocketTest.WatchTwoFileDescriptors
Change-Id: I2444515541e9be01720341c693012a580b3cb04f

7 years agoaudio: add missing flags and devices
Eric Laurent [Sat, 4 Mar 2017 00:39:48 +0000 (16:39 -0800)]
audio: add missing flags and devices

Add missing devices for USB headset to allow distinction
between USB sound cards and simple USB headsets.
Add output and input flags indicating special output
and input profiles to used for VoIP streams.

Test: make.
Change-Id: I7967866e15991dbf2f4349daa3ff3baa87c1c062

7 years ago[AWARE] VTS baseline
Etan Cohen [Mon, 13 Feb 2017 21:59:07 +0000 (13:59 -0800)]
[AWARE] VTS baseline

Modified Wi-Fi test setup/tear-down to shutdown and start the
Android framework. The framework competes with the VTS to control
the HAL and so must be disabled for the duration of the test.

Added framework to support VTS testing with the Wi-Fi Aware (NAN)
interface.

Added all callback types (notifications, events) with ability to
wait for such callbacks.

Bug: 35276551
Test: gtest pass
Change-Id: I50847fccad457c2b225ba7f2e1760b4dbb4d363f

7 years agoAdd return status to IGraphicBufferSource methods
Robert Shih [Wed, 1 Mar 2017 23:17:52 +0000 (15:17 -0800)]
Add return status to IGraphicBufferSource methods

Bug: 35449087
Test: Manual
Change-Id: I0a44630f2b5b07cfd62f41764d0ca43a924d221a

7 years agoAdd VTS tests for the primary audio hal
Kevin Rocard [Sat, 11 Feb 2017 00:19:28 +0000 (16:19 -0800)]
Add VTS tests for the primary audio hal

Test: run the vts test on target
Test: vts-tradefed r vts-hal-hidl -m VtsHalAudioV2_0Target

Bug: 34170075
Change-Id: I4bd6cb0aa5b7cc628537cd7c024542c4db8b592d
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoRevert "Revert "Move android.hardware.benchmarks into android.hardware.tests""
Hridya Valsaraju [Fri, 3 Mar 2017 22:10:04 +0000 (14:10 -0800)]
Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""

Test: built and ran FMQ benchmarks

This reverts commit 8b34b1a547af33b7ae3b3a4013deb089c949a60b.

Change-Id: I7d8884b9de97980b5bdb7a4355a61b00bbd396b4

7 years agoMerge "Add a continuous property to default implementation."
Bryan Eyler [Fri, 3 Mar 2017 22:06:47 +0000 (22:06 +0000)]
Merge "Add a continuous property to default implementation."

7 years agoTest ITuner::tune failing when channel out of the range is provided.
Tomasz Wasilczyk [Fri, 3 Mar 2017 21:02:15 +0000 (13:02 -0800)]
Test ITuner::tune failing when channel out of the range is provided.

Test: VTS
Bug: b/32022455
Change-Id: I8eac71ef1ec8628cfaa9fcd0c668ce79e845b3d6

7 years agoMerge changes I5c32ab58,Ie480f9d6 am: 5a0706d429 am: 857fb76af1
Roshan Pius [Fri, 3 Mar 2017 20:55:36 +0000 (20:55 +0000)]
Merge changes I5c32ab58,Ie480f9d6 am: 5a0706d429 am: 857fb76af1
am: 2567e401e6

Change-Id: I4ab9d75ee1bb66283ff026649e2ce2731c48afea

7 years agoMerge changes I5c32ab58,Ie480f9d6 am: 5a0706d429
Roshan Pius [Fri, 3 Mar 2017 20:52:34 +0000 (20:52 +0000)]
Merge changes I5c32ab58,Ie480f9d6 am: 5a0706d429
am: 857fb76af1

Change-Id: Ie8acf90170a48239ab7e21175606f6091199db4a

7 years agoMerge changes I5c32ab58,Ie480f9d6
Roshan Pius [Fri, 3 Mar 2017 20:49:37 +0000 (20:49 +0000)]
Merge changes I5c32ab58,Ie480f9d6
am: 5a0706d429

Change-Id: I6834ea8dd31f12934abf71d406a4f1eb7c460dae

7 years agoMerge changes I5c32ab58,Ie480f9d6
Roshan Pius [Fri, 3 Mar 2017 20:46:32 +0000 (20:46 +0000)]
Merge changes I5c32ab58,Ie480f9d6

* changes:
  wifi(implementation): Clear all structs before conversion
  wifi(implementation): Use strlen for size of ssid

7 years agofallout of cleaning-up libutils includes
Mathias Agopian [Wed, 1 Mar 2017 00:26:29 +0000 (16:26 -0800)]
fallout of cleaning-up libutils includes

Test: run & compile
Bug: n/a

Change-Id: I9ad9f3358cceb15d3d8c97d2444fb74ee04bd9f8

7 years agoRevert "audiohal: Add diagnostic message to check the number of bytes written"
Mikhail Naganov [Fri, 3 Mar 2017 19:01:44 +0000 (19:01 +0000)]
Revert "audiohal: Add diagnostic message to check the number of bytes written"

Diagnostic logging can be removed now as we have figured out that the problem isn't with the legacy hal.

This reverts commit 8d391c8eed27b14eab1f9fde0cb22a5c5d925a6a.

Change-Id: I70a3454c05a0f49f3a3bed06e5a11616ed90ddf3

7 years agoExtend broadcast radio VTS tests by tuner reopening scenario.
Tomasz Wasilczyk [Thu, 22 Dec 2016 19:49:17 +0000 (11:49 -0800)]
Extend broadcast radio VTS tests by tuner reopening scenario.

Bug: b/33779707, b/33382424
Test: VTS
Change-Id: Icd60ed9109a379d7c7ae385f479c08fd5011ed7f

7 years agoMerge "Post-O. Move VMS property to hal 2.1."
Antonio Cortes Perez [Fri, 3 Mar 2017 15:11:24 +0000 (15:11 +0000)]
Merge "Post-O. Move VMS property to hal 2.1."

7 years agoMerge "Add dataspace to match upstream EGL extension"
Courtney Goeltzenleuchter [Fri, 3 Mar 2017 14:44:07 +0000 (14:44 +0000)]
Merge "Add dataspace to match upstream EGL extension"

7 years agoAdd VTS test for ISoundTriggerHw::loadSoundModel
Hsin-Yi Chen [Mon, 27 Feb 2017 11:29:42 +0000 (19:29 +0800)]
Add VTS test for ISoundTriggerHw::loadSoundModel

Add a negative test for loading generic sound model with random data.

Test: vts-tradefed run commandAndExit vts -m VtsHalSoundtriggerV2_0Target
Bug: 35409266
Change-Id: I0bb6dd758d114bd094c88899abf06accdefb8efa

7 years agoMerge "Prevent framework from stucking at communicating with HIDL HAL"
Ashutosh Joshi [Fri, 3 Mar 2017 00:18:24 +0000 (00:18 +0000)]
Merge "Prevent framework from stucking at communicating with HIDL HAL"

7 years agoPrevent framework from stucking at communicating with HIDL HAL
Peng Xu [Thu, 2 Mar 2017 21:36:45 +0000 (13:36 -0800)]
Prevent framework from stucking at communicating with HIDL HAL

Sensor hidl service has two threads quota. One is used for sending
commands down to hardware, and the other for retrieving sensor events
from hardware. The second is usually blocked on poll().

When system server quits abnormaly, the poll thread may still be
blocked in HAL implementation and holding that thread. There won't be
enough available threads for framework sensor service to function
correctly when system service restarts, resulting in a deadlock at
enableSensor() or getService() until the hidl service is restarted.

This fix detects a second connection from framework sensor service
and kills the hidl service in case that happens. The system will restart
the hidl service with clean state and return system to normal operation.

Bug: 35727090
Bug: 35843387
Bug: 35702298
Bug: 35919167
Bug: 35848670
Bug: 35903635

Test: Restart device works in normal case.
      Restart also works with the following scenario (reproducing error)
      "adb root && adb shell dumpsys sensorservice restrict random &&
       adb shell stop && adb shell start"

Change-Id: Ibffa87d93b2d24af2803be9281e7141d0a221e3e

7 years agoPost-O. Move VMS property to hal 2.1.
Antonio Cortes [Wed, 22 Feb 2017 15:30:13 +0000 (07:30 -0800)]
Post-O. Move VMS property to hal 2.1.

Test: build and flash Mojave board with TARGET_USES_CAR_FUTURE_FEATURES=true.
Test: check that the property is displayed in the logs during startup.
Bug: 35628104

Change-Id: I8b5327ae255cd94ac78a0436aac06b32e3168c28

7 years agoMerge "Revert "Move android.hardware.benchmarks into android.hardware.tests"" am...
Greg Hartman [Thu, 2 Mar 2017 23:47:23 +0000 (23:47 +0000)]
Merge "Revert "Move android.hardware.benchmarks into android.hardware.tests"" am: b59f873ab9 am: 19de6f7815
am: a25c53a2a4

Change-Id: I3b1a764c1e0c818685cbf09b4e88bafc459c63ac

7 years agoMerge "Revert "Move android.hardware.benchmarks into android.hardware.tests"" am...
Greg Hartman [Thu, 2 Mar 2017 23:44:52 +0000 (23:44 +0000)]
Merge "Revert "Move android.hardware.benchmarks into android.hardware.tests"" am: b59f873ab9
am: 19de6f7815

Change-Id: I1cc467152a0308b877a261a89480eef6e09e38cf

7 years agoMerge "Revert "Move android.hardware.benchmarks into android.hardware.tests""
Greg Hartman [Thu, 2 Mar 2017 23:42:53 +0000 (23:42 +0000)]
Merge "Revert "Move android.hardware.benchmarks into android.hardware.tests""
am: b59f873ab9

Change-Id: I7ec22003c490258a4e6d713174310e45d9576f9a

7 years agoMerge "Revert "Move android.hardware.benchmarks into android.hardware.tests""
Greg Hartman [Thu, 2 Mar 2017 23:40:01 +0000 (23:40 +0000)]
Merge "Revert "Move android.hardware.benchmarks into android.hardware.tests""

7 years agoMerge "Camera: default implementation of device 1.0"
Yin-Chia Yeh [Thu, 2 Mar 2017 23:15:54 +0000 (23:15 +0000)]
Merge "Camera: default implementation of device 1.0"

7 years agoFix sensor event in vehicle HAL emulator
Pavel Maltsev [Thu, 2 Mar 2017 22:17:18 +0000 (14:17 -0800)]
Fix sensor event in vehicle HAL emulator

Test: verified events are now gets propagated to CarSensorManager
(toggle day/night mode in Emulator UI)

Change-Id: Ifc4a755c5f6d31f41ab26ebc873c66c43d9e234a
Fix: b/35926101

7 years agoRevert "Move android.hardware.benchmarks into android.hardware.tests"
Michael Rosenfeld [Thu, 2 Mar 2017 22:28:23 +0000 (22:28 +0000)]
Revert "Move android.hardware.benchmarks into android.hardware.tests"

This reverts commit c8f7d73720f783532ad0ef243b6593e97e6d5edc.

Change-Id: I957cd686468aa618014a95c0510b162956df9bf7

7 years agoMerge "Move android.hardware.benchmarks into android.hardware.tests" am: 533ab025d0...
Hridya Valsaraju [Thu, 2 Mar 2017 22:23:27 +0000 (22:23 +0000)]
Merge "Move android.hardware.benchmarks into android.hardware.tests" am: 533ab025d0 am: 36ec5ebe3a
am: 9317dca20b

Change-Id: I74acdcd729d837cd129c59a70625aa91e8514983

7 years agowifi(implementation): Clear all structs before conversion
Roshan Pius [Thu, 2 Mar 2017 15:24:41 +0000 (07:24 -0800)]
wifi(implementation): Clear all structs before conversion

Bug: 35445613
Test: Integration tests
Change-Id: I5c32ab580588f4521291ac8cb05ee42ce6e5bf31

7 years agoMerge "Move android.hardware.benchmarks into android.hardware.tests" am: 533ab025d0
Hridya Valsaraju [Thu, 2 Mar 2017 22:20:55 +0000 (22:20 +0000)]
Merge "Move android.hardware.benchmarks into android.hardware.tests" am: 533ab025d0
am: 36ec5ebe3a

Change-Id: I1694e4bf70d0886322be38d2757c2af62d9d6dcb

7 years agoMerge "Move android.hardware.benchmarks into android.hardware.tests"
Hridya Valsaraju [Thu, 2 Mar 2017 22:15:47 +0000 (22:15 +0000)]
Merge "Move android.hardware.benchmarks into android.hardware.tests"
am: 533ab025d0

Change-Id: If5750f2e0319f2abbf74a6629a3f2090cb36daab

7 years agoMerge "Move android.hardware.benchmarks into android.hardware.tests"
Treehugger Robot [Thu, 2 Mar 2017 22:11:04 +0000 (22:11 +0000)]
Merge "Move android.hardware.benchmarks into android.hardware.tests"

7 years agoAdd dataspace to match upstream EGL extension
Courtney Goeltzenleuchter [Thu, 2 Mar 2017 01:21:53 +0000 (18:21 -0700)]
Add dataspace to match upstream EGL extension

EGL's EGL_EXT_gl_colorspace_bt2020_pq extension
supports a bt2020 color space with a ST2084
transfer function (Dolby Perceptual Quantizer)
Test: make

Change-Id: I3de03b91ee24880a4b2dab14c0f07185a53bf067

7 years agoRemoved the deprecated screen state API
Jack Yu [Thu, 2 Mar 2017 07:20:45 +0000 (23:20 -0800)]
Removed the deprecated screen state API

The screen state API was deprecated on O and should
not be added into the radio interace.

Test: Telephony sanity tests
bug: 32223897
Change-Id: Ieb2322113557be700aeae78346c969465e7a9dd3

7 years agowifi(implementation): Use strlen for size of ssid
Roshan Pius [Thu, 2 Mar 2017 03:31:14 +0000 (19:31 -0800)]
wifi(implementation): Use strlen for size of ssid

Looks like the legacy hal uses a null termination for indicating the
size of ssid.

While there,
Use the helper function to convert wifi band from hidl to legacy.

Bug: 35765841
Test: Integration tests pass now.
Change-Id: Ie480f9d6735a21c5ccedfc68bfde5f0d920dcdc9

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 "Revert "Revert "Revert "Protect against null strings in hal wrapper implementa...
Yifan Hong [Thu, 2 Mar 2017 02:21:56 +0000 (02:21 +0000)]
Merge "Revert "Revert "Revert "Protect against null strings in hal wrapper implementation.""""

7 years agoMerge "Add default behavior for HVAC power"
Bryan Eyler [Thu, 2 Mar 2017 00:06:07 +0000 (00:06 +0000)]
Merge "Add default behavior for HVAC power"

7 years agoAdd default behavior for HVAC power
Bryan Eyler [Fri, 3 Feb 2017 00:41:06 +0000 (16:41 -0800)]
Add default behavior for HVAC power

Add properties to HVAC_POWER_ON config string
Return NOT_AVAILABLE for properties in HVAC_POWER_ON config string when
power is off.

Change-Id: Icfa06aa169345e973d2e152aa6dbd8c14f3a5d17

7 years agoFix build warnings in radio vts. am: 77c3822d6d am: f681d777e8
Sanket Padawe [Wed, 1 Mar 2017 21:13:30 +0000 (21:13 +0000)]
Fix build warnings in radio vts. am: 77c3822d6d am: f681d777e8
am: f081319585

Change-Id: Iad31b13747d3b6d76927840bfdc96b4122ccf533

7 years agoFix build warnings in radio vts. am: 77c3822d6d
Sanket Padawe [Wed, 1 Mar 2017 21:11:21 +0000 (21:11 +0000)]
Fix build warnings in radio vts. am: 77c3822d6d
am: f681d777e8

Change-Id: I0a1c0708259fd31195d396e9d22f5d5bd0db43b1

7 years agoFix build warnings in radio vts.
Sanket Padawe [Wed, 1 Mar 2017 21:07:48 +0000 (21:07 +0000)]
Fix build warnings in radio vts.
am: 77c3822d6d

Change-Id: I1253f6ceb8bb14de9048cee915284683c9054d7f

7 years agoFix build warnings in radio vts.
Sanket Padawe [Wed, 1 Mar 2017 18:51:56 +0000 (10:51 -0800)]
Fix build warnings in radio vts.

Test: tested that no warnings show up.
Bug: 32022332
Change-Id: I7ecc2955c13827769733976c2498d8f8484284ea

7 years agoMerge "Cell location information in registration info" am: 51ec76ab14 am: 8bc5787e99
Sooraj Sasindran [Wed, 1 Mar 2017 18:13:20 +0000 (18:13 +0000)]
Merge "Cell location information in registration info" am: 51ec76ab14 am: 8bc5787e99
am: 99b7f7a918

Change-Id: I641ef7f8950bdd7a6f674ad6506a84905877f41c

7 years agoMerge "Cell location information in registration info" am: 51ec76ab14
Sooraj Sasindran [Wed, 1 Mar 2017 18:10:49 +0000 (18:10 +0000)]
Merge "Cell location information in registration info" am: 51ec76ab14
am: 8bc5787e99

Change-Id: I59fdb056c43c36a8a52753f9293603576d56c343

7 years agoMerge "VTS for icc radio hal Apis (patch 2)." am: 8d91af1096 am: 5b6e1c5bec
Sanket Padawe [Wed, 1 Mar 2017 18:08:35 +0000 (18:08 +0000)]
Merge "VTS for icc radio hal Apis (patch 2)." am: 8d91af1096 am: 5b6e1c5bec
am: 631d2fc257

Change-Id: I0bc9e9d7631dad8a4828fab9ab5c6b5b50a14392

7 years agoMerge "Cell location information in registration info"
Sooraj Sasindran [Wed, 1 Mar 2017 18:08:25 +0000 (18:08 +0000)]
Merge "Cell location information in registration info"
am: 51ec76ab14

Change-Id: Ie0492e6600b89cf6b4067e3544e7f06f64e236fc

7 years agoMerge "Cell location information in registration info"
Sooraj Sasindran [Wed, 1 Mar 2017 18:06:17 +0000 (18:06 +0000)]
Merge "Cell location information in registration info"

7 years agoMerge "VTS for icc radio hal Apis (patch 2)." am: 8d91af1096
Sanket Padawe [Wed, 1 Mar 2017 18:06:02 +0000 (18:06 +0000)]
Merge "VTS for icc radio hal Apis (patch 2)." am: 8d91af1096
am: 5b6e1c5bec

Change-Id: Ic642f8c962a40d16b157745073bc81928f248d1c

7 years agoMerge "VTS for icc radio hal Apis (patch 2)."
Sanket Padawe [Wed, 1 Mar 2017 18:04:04 +0000 (18:04 +0000)]
Merge "VTS for icc radio hal Apis (patch 2)."
am: 8d91af1096

Change-Id: Ie36b5708dadc6f81628fad15351c747a90e066c1

7 years agoMerge "VTS for icc radio hal Apis (patch 2)."
Sanket Padawe [Wed, 1 Mar 2017 17:54:49 +0000 (17:54 +0000)]
Merge "VTS for icc radio hal Apis (patch 2)."

7 years agoMerge "change all vts hidl tests to use VtsHalHidlTargetBaseTest (internal master)"
TreeHugger Robot [Wed, 1 Mar 2017 17:26:27 +0000 (17:26 +0000)]
Merge "change all vts hidl tests to use VtsHalHidlTargetBaseTest (internal master)"

7 years agoCell location information in registration info
Sooraj Sasindran [Tue, 7 Feb 2017 23:41:26 +0000 (15:41 -0800)]
Cell location information in registration info

The data registration and voice registration states contain
large swaths of location information. While it seemed at first
blush we could remove that information, having synchronized
knowledge of when a registration has resulted in a cell change
provides valuable infomation. Cleanup registration response
using the same cell location structure that is being used
elsewhere in the interface to ensure that this method
always keeps sufficiently up-to-date information, without the
need to increasingly bloat it.

Test: Verified with updated qcril

Merged-In: Ib00063b6c3eed04da3f413c9dc1bcdff4750140e
Change-Id: Ib00063b6c3eed04da3f413c9dc1bcdff4750140e

7 years agoCell location information in registration info
Sooraj Sasindran [Tue, 7 Feb 2017 23:41:26 +0000 (15:41 -0800)]
Cell location information in registration info

The data registration and voice registration states contain
large swaths of location information. While it seemed at first
blush we could remove that information, having synchronized
knowledge of when a registration has resulted in a cell change
provides valuable infomation. Cleanup registration response
using the same cell location structure that is being used
elsewhere in the interface to ensure that this method
always keeps sufficiently up-to-date information, without the
need to increasingly bloat it.

Test: Verified with updated qcril

Merged-In: Ib00063b6c3eed04da3f413c9dc1bcdff4750140e
Change-Id: Ib00063b6c3eed04da3f413c9dc1bcdff4750140e

7 years agoMerge "Fixed that type of data call response status" am: 8e779c50e3 am: 81fc3ccc4d
Jack Yu [Wed, 1 Mar 2017 04:30:27 +0000 (04:30 +0000)]
Merge "Fixed that type of data call response status" am: 8e779c50e3 am: 81fc3ccc4d
am: d5b80aaedb

Change-Id: Ie2f6728ff2ba1cb71bb1287cc90cee0bb5aae7dd

7 years agoMerge "Fixed that type of data call response status" am: 8e779c50e3
Jack Yu [Wed, 1 Mar 2017 04:27:56 +0000 (04:27 +0000)]
Merge "Fixed that type of data call response status" am: 8e779c50e3
am: 81fc3ccc4d

Change-Id: Ide135b2bede06f2798d0a7fcbc923e3f6a37b30a

7 years agoMerge "Fixed that type of data call response status"
Jack Yu [Wed, 1 Mar 2017 04:25:31 +0000 (04:25 +0000)]
Merge "Fixed that type of data call response status"
am: 8e779c50e3

Change-Id: Id38a866b13256b86d49b8a7cb0b9871cd9282d51

7 years agoMerge "Fixed that type of data call response status"
Jack Yu [Wed, 1 Mar 2017 04:22:36 +0000 (04:22 +0000)]
Merge "Fixed that type of data call response status"