OSDN Git Service

android-x86/hardware-interfaces.git
6 years agoMerge "Graphics tests statically link to HAL definition libs." into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 03:42:37 +0000 (03:42 +0000)]
Merge "Graphics tests statically link to HAL definition libs." into oc-mr1-dev

6 years agoMerge "Bluetooth: Check the number of file descriptors" into oc-dr1-dev
Myles Watson [Thu, 10 Aug 2017 03:10:57 +0000 (03:10 +0000)]
Merge "Bluetooth: Check the number of file descriptors" into oc-dr1-dev
am: 269d9ba09a

Change-Id: I1260d97229e5330481178c8f802e2c7f6b651582

6 years agoMerge "Bluetooth: Check the number of file descriptors" into oc-dr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 03:05:38 +0000 (03:05 +0000)]
Merge "Bluetooth: Check the number of file descriptors" into oc-dr1-dev

6 years agoMerge "Renderscript test static link to HAL def libs." into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 02:30:29 +0000 (02:30 +0000)]
Merge "Renderscript test static link to HAL def libs." into oc-mr1-dev

6 years agoMerge "Bluetooth: Add OWNERS file for default/" into oc-dr1-dev
Myles Watson [Thu, 10 Aug 2017 00:39:03 +0000 (00:39 +0000)]
Merge "Bluetooth: Add OWNERS file for default/" into oc-dr1-dev
am: 5397fa8175

Change-Id: I1587c5451950a89c6aac991a0d8b7dacea16fe21

6 years agoNFC: Add OWNERS file for default/
Myles Watson [Thu, 10 Aug 2017 00:38:46 +0000 (00:38 +0000)]
NFC: Add OWNERS file for default/
am: a4d1a74700

Change-Id: I43572572901298d1e915c9753798361bdd5d38c2

6 years agoMerge "Bluetooth: Add OWNERS file for default/" into oc-dr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 00:35:17 +0000 (00:35 +0000)]
Merge "Bluetooth: Add OWNERS file for default/" into oc-dr1-dev

6 years agoMerge "Media omx tests static link to dependencies." into oc-mr1-dev
Tri Vo [Wed, 9 Aug 2017 23:41:15 +0000 (23:41 +0000)]
Merge "Media omx tests static link to dependencies." into oc-mr1-dev

6 years agoNFC: Add OWNERS file for default/
Myles Watson [Wed, 9 Aug 2017 18:27:40 +0000 (11:27 -0700)]
NFC: Add OWNERS file for default/

Test: build
Change-Id: I6e854923fdd66991bcc7ed3446106d148abea982
(cherry picked from commit 31439b1d24d49fcb431dfa48bdaa0b1d57deded4)

6 years agoBluetooth: Add OWNERS file for default/
Myles Watson [Wed, 9 Aug 2017 18:27:15 +0000 (11:27 -0700)]
Bluetooth: Add OWNERS file for default/

Test: build
Change-Id: Ib4cbd5502ac0791d4bc700f28de68d0548256de6
(cherry picked from commit 7c127dc4cbf90713bcdbce89fa166228c912847d)

6 years agoMerge changes I51b1e596,I3aece23a into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 21:23:20 +0000 (21:23 +0000)]
Merge changes I51b1e596,I3aece23a into oc-mr1-dev

* changes:
  bug fix: output colorformat configuration fixed
  bug fix: android list management in dequeueMsg()

6 years agoBluetooth: Check the number of file descriptors
Myles Watson [Tue, 8 Aug 2017 23:00:30 +0000 (16:00 -0700)]
Bluetooth: Check the number of file descriptors

Opening the serial port(s) returns -1 when it fails, check
that the number of file descriptors is greater than 0 and
less than the size of the array.

Test: VtsHalBluetoothV1_0TargetTest, Bluetooth start/stop
Bug: 64420262
Change-Id: Icbffa5bd8c02030e389bac03aa5e1e78cc3c6057
(cherry picked from commit 89316af23eb7aa300015a3d80bc97891cfe6031e)

6 years agoMerge "Skip direct report test if sensor is not available" into oc-dev am: 63524f9fcc
Peng Xu [Wed, 9 Aug 2017 17:15:44 +0000 (17:15 +0000)]
Merge "Skip direct report test if sensor is not available" into oc-dev am: 63524f9fcc
am: 7bea962c9c

Change-Id: I99d4eb05d1348e24910c5ebe2e87b6b334138b31

6 years agoMerge "Skip direct report test if sensor is not available" into oc-dev
Peng Xu [Wed, 9 Aug 2017 17:04:32 +0000 (17:04 +0000)]
Merge "Skip direct report test if sensor is not available" into oc-dev
am: 63524f9fcc

Change-Id: Iffe683356ed925142ef877ecb5289463d8d4ac1e

6 years agoMerge "Skip direct report test if sensor is not available" into oc-dev
TreeHugger Robot [Wed, 9 Aug 2017 16:48:07 +0000 (16:48 +0000)]
Merge "Skip direct report test if sensor is not available" into oc-dev

6 years agowifi(vts): Remove a tight loop of toggling wifi state
Roshan Pius [Wed, 9 Aug 2017 05:09:17 +0000 (05:09 +0000)]
wifi(vts): Remove a tight loop of toggling wifi state
am: 0d1bb97447

Change-Id: Icec63b9ffd5d12003da44bdde73edde04e55f11a

6 years agowifi(vts): Remove a tight loop of toggling wifi state
Roshan Pius [Tue, 8 Aug 2017 15:43:50 +0000 (08:43 -0700)]
wifi(vts): Remove a tight loop of toggling wifi state

The tight loop of HAL start/stop exposes a race condition within the HAL.
Adding a fix for preventing this race would need a fix which would be
pretty risky at this point of the release. The issue itself is unlikely
to happen in real use cases because wifi toggles (user initiated or test
scripts initiated) via framework goes through a series of processing
before it invokes the HAL start/stop.

Bug: 64195190
Test: `make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module VtsHalWifiV1_0Target -l
INFO`

Change-Id: I4e4d65f8b6e2e423a3a5f26e5a97a78b7e99c3e8

6 years agoMerge "Fix typo in in offload control VTS test" into oc-dr1-dev
Erik Kline [Wed, 9 Aug 2017 02:05:34 +0000 (02:05 +0000)]
Merge "Fix typo in in offload control VTS test" into oc-dr1-dev
am: 5d77efddbd

Change-Id: I2be944da8800040540bf98aeb197a933d1da0e42

6 years agoMerge "Fix typo in in offload control VTS test" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 01:59:19 +0000 (01:59 +0000)]
Merge "Fix typo in in offload control VTS test" into oc-dr1-dev

6 years agoFix typo in in offload control VTS test
Erik Kline [Tue, 8 Aug 2017 23:54:14 +0000 (16:54 -0700)]
Fix typo in in offload control VTS test

Test: built, flashed, run
Bug: 38220415
Bug: 64479437
Change-Id: I3aa4afa3b52297dd92e37b4f39a5bd25b129ba04

6 years agoMerge "Add the error code "OPERATION_NOT_ALLOWED" and log the error." into oc-dr1-dev
yinxu [Tue, 8 Aug 2017 20:51:47 +0000 (20:51 +0000)]
Merge "Add the error code "OPERATION_NOT_ALLOWED" and log the error." into oc-dr1-dev
am: 3a57cca59c

Change-Id: I6a1aeea07e64b4748151f62ae4827132eba32781

6 years agoMerge "Add the error code "OPERATION_NOT_ALLOWED" and log the error." into oc-dr1-dev
TreeHugger Robot [Tue, 8 Aug 2017 20:41:27 +0000 (20:41 +0000)]
Merge "Add the error code "OPERATION_NOT_ALLOWED" and log the error." into oc-dr1-dev

6 years agoMerge "Add OWNERS for broadcast radio HAL 1.1." into oc-mr1-dev
TreeHugger Robot [Tue, 8 Aug 2017 19:26:42 +0000 (19:26 +0000)]
Merge "Add OWNERS for broadcast radio HAL 1.1." into oc-mr1-dev

6 years agoAdd the error code "OPERATION_NOT_ALLOWED" and log the error.
yinxu [Mon, 7 Aug 2017 17:29:10 +0000 (10:29 -0700)]
Add the error code "OPERATION_NOT_ALLOWED" and log the error.

Test: Telephony sanity tests, run vts -m VtsHalRadioV1_1Target
Bug: 64426938
Change-Id: Id4f06842186b10a52640372c23bc2b368cc1e9ab

6 years agowifi(vts): Ignore IWifi.stop() returning ERROR_NOT_AVAILABLE
Roshan Pius [Tue, 8 Aug 2017 17:10:25 +0000 (17:10 +0000)]
wifi(vts): Ignore IWifi.stop() returning ERROR_NOT_AVAILABLE
am: 8c216524a3

Change-Id: I1bf9be99d4e673209edb893040483bf772ee3ca0

6 years agowifi(vts): Ignore IWifi.stop() returning ERROR_NOT_AVAILABLE
Roshan Pius [Thu, 3 Aug 2017 22:05:05 +0000 (15:05 -0700)]
wifi(vts): Ignore IWifi.stop() returning ERROR_NOT_AVAILABLE

When IWifi.stop() is invoked back to back (happens in the ConfigureChip
vts test), the HAL would return ERROR_NOT_AVAILABLE if the previous stop
is still being processed. This is not an error that needs to fail the test,
but a legitimate status for stop. We have a retry mechanism to handle
this in both the VTS test and framework for the case where IWifi.start()
is invoked while the previous stop is being processed.

While there, corrected a few log messages emitted by the HAL to debug
such startup/stop issues better.

Bug: 63971806
Test: `vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module VtsHalWifiV1_0Target -l
INFO`

Change-Id: I5e3470ac97541a6ea10aceec9b737e5d03ed5206

6 years agoMerge "Update IRadioResponse.hal to add new error codes." into oc-mr1-dev
TreeHugger Robot [Tue, 8 Aug 2017 06:16:47 +0000 (06:16 +0000)]
Merge "Update IRadioResponse.hal to add new error codes." into oc-mr1-dev

6 years agoMerge "Refactor and expand tetheroffload Control and Config VTS" into oc-dr1-dev
Erik Kline [Tue, 8 Aug 2017 04:04:48 +0000 (04:04 +0000)]
Merge "Refactor and expand tetheroffload Control and Config VTS" into oc-dr1-dev
am: 6d5cf73b75

Change-Id: I004e81a764313fdaf23f9580b144e1ee2ba79b27

6 years agoMerge "Tetheroffload Control and Config VTS" into oc-dr1-dev
Tyler Wear [Tue, 8 Aug 2017 04:04:34 +0000 (04:04 +0000)]
Merge "Tetheroffload Control and Config VTS" into oc-dr1-dev
am: a11e731b6e

Change-Id: I24712d426e1227b1f96cfa35f9f7b320e27fc901

6 years agoMerge "Refactor and expand tetheroffload Control and Config VTS" into oc-dr1-dev
TreeHugger Robot [Tue, 8 Aug 2017 03:57:48 +0000 (03:57 +0000)]
Merge "Refactor and expand tetheroffload Control and Config VTS" into oc-dr1-dev

6 years agoMerge "Tetheroffload Control and Config VTS" into oc-dr1-dev
TreeHugger Robot [Tue, 8 Aug 2017 03:57:43 +0000 (03:57 +0000)]
Merge "Tetheroffload Control and Config VTS" into oc-dr1-dev

6 years agoMedia omx tests static link to dependencies.
Tri Vo [Fri, 4 Aug 2017 21:42:31 +0000 (14:42 -0700)]
Media omx tests static link to dependencies.

These tests now statically link to libs not guaranteed to be on the
device, which include HAL definition libs.

Also, remove global include paths.

Bug: 64040096
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalMediaOmxV1_0Host

Change-Id: Iea1dc549704f61b1416357d72dc1bf26864978d4

6 years agoMerge "thermal: IThermal V1.1, add methods to send thermal throttling events" into...
TreeHugger Robot [Tue, 8 Aug 2017 01:15:41 +0000 (01:15 +0000)]
Merge "thermal: IThermal V1.1, add methods to send thermal throttling events" into oc-mr1-dev

6 years agobug fix: handle OMX_EventBufferFlag events am: c8df8940e1
Ram Mohan M [Tue, 8 Aug 2017 00:49:23 +0000 (00:49 +0000)]
bug fix: handle OMX_EventBufferFlag events am: c8df8940e1
am: 2921996e7a  -s ours

Change-Id: I660fb164aa2f1ed1420e1cb5f81df462200e49bd

6 years agobug fix: handle OMX_EventBufferFlag events
Ram Mohan M [Tue, 8 Aug 2017 00:47:23 +0000 (00:47 +0000)]
bug fix: handle OMX_EventBufferFlag events
am: c8df8940e1

Change-Id: Ifa9493d869e42a76100011d5af20c5062bc44891

6 years agoAdd OWNERS for broadcast radio HAL 1.1.
Tomasz Wasilczyk [Mon, 7 Aug 2017 19:00:09 +0000 (12:00 -0700)]
Add OWNERS for broadcast radio HAL 1.1.

Test: not necessary
Change-Id: I73881db46382276f56963c9d3a40cb0bdc1a2070

6 years agoMerge "Change VENDOR program types to range." into oc-mr1-dev
Tomasz Wasilczyk [Tue, 8 Aug 2017 00:35:09 +0000 (00:35 +0000)]
Merge "Change VENDOR program types to range." into oc-mr1-dev

6 years agoMerge "Remove unused variables." into oc-mr1-dev
TreeHugger Robot [Mon, 7 Aug 2017 23:51:34 +0000 (23:51 +0000)]
Merge "Remove unused variables." into oc-mr1-dev

6 years agothermal: IThermal V1.1, add methods to send thermal throttling events
Todd Poynor [Wed, 24 May 2017 03:28:15 +0000 (20:28 -0700)]
thermal: IThermal V1.1, add methods to send thermal throttling events

Add IThermalCallback and IThermal::registerThermalCallback() method.
Frameworks code calls this method to register a callback used by the
IThermal HAL implementation to send thermal events to the framework
ThermalService.

Bug: 30982366
Test: VtsHalThermalV1_1Target on marlin
      manual test on marlin using marlin 1.1 HAL with modified
      thermal-engine.conf and temporary debug code for notification
Change-Id: Ib49ad93a9495e3af515fced4e46f20186661fe07
(cherry picked from commit cf964d79c1d41bba999e58cb476af099191a6634)

6 years agobug fix: handle OMX_EventBufferFlag events
Ram Mohan M [Thu, 22 Jun 2017 08:23:12 +0000 (13:53 +0530)]
bug fix: handle OMX_EventBufferFlag events

OMX_EventBufferFlag event is sent when the component has processed a buffer
with its EOS flag set. This event is not sent by soft omx components.
Vendor components can send this. From IOMX point of view, this event is
not sent for processing

bug:64102197
Merged-In: I3a978a885b1e4446f82f2356ae677f70ea6f8150
Change-Id: I3a978a885b1e4446f82f2356ae677f70ea6f8150

6 years agoRenderscript test static link to HAL def libs.
Tri Vo [Thu, 3 Aug 2017 23:39:35 +0000 (16:39 -0700)]
Renderscript test static link to HAL def libs.

And use VtsHalTargetTestDefaults.

Bug: 64040096
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalRenderscriptV1_0Target
Change-Id: Id6177663b441b5b0971143309401d73395ab51db

6 years agoGraphics tests statically link to HAL definition libs.
Tri Vo [Sat, 5 Aug 2017 00:05:51 +0000 (17:05 -0700)]
Graphics tests statically link to HAL definition libs.

These tests now statically links to HAL def libs which are
not guaranteed to be on the device.

Bug: 64040096
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalGraphicsMapperV2_0Target
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalGraphicsComposerV2_1Target
Change-Id: I83b68dafbd161f88394f67dbda14f9957ddf7232

6 years agoRefactor and expand tetheroffload Control and Config VTS
Erik Kline [Mon, 7 Aug 2017 18:32:45 +0000 (03:32 +0900)]
Refactor and expand tetheroffload Control and Config VTS

Test: as follows
    - built
    - flashed
    - booted
    - adb sync && adb shell ...$test
Bug: 38220415
Change-Id: Iab715c45ad0457f3eea43ee408fa947ffc01c4aa

6 years agoTetheroffload Control and Config VTS
Tyler Wear [Wed, 19 Jul 2017 20:48:57 +0000 (13:48 -0700)]
Tetheroffload Control and Config VTS

Basic VTS for Tetheroffload Config and Control  HALs.

Bug: 38220415
Change-Id: I6d0867e019aca58d8a6bd1404b8b85ed98274f11
CRs-fixed: 2083182

6 years agoMerge "Guard against racy ComposerClient reconnection" into oc-mr1-dev
Steven Thomas [Mon, 7 Aug 2017 17:53:13 +0000 (17:53 +0000)]
Merge "Guard against racy ComposerClient reconnection" into oc-mr1-dev

6 years agoChange VENDOR program types to range.
Tomasz Wasilczyk [Fri, 4 Aug 2017 19:57:29 +0000 (12:57 -0700)]
Change VENDOR program types to range.

Bug: b/64331420
Test: VTS, instrumentation
Change-Id: If91d8e6835ed3acaf429bb05b96f3d3a7985d19b

6 years agoMerge "Add me into owners of radio vts" into oc-mr1-dev
Shuo Qian [Mon, 7 Aug 2017 17:07:47 +0000 (17:07 +0000)]
Merge "Add me into owners of radio vts" into oc-mr1-dev

6 years agoMerge "Update comments for VtsHalTargetTestDefaults." into oc-mr1-dev
Tri Vo [Mon, 7 Aug 2017 16:36:44 +0000 (16:36 +0000)]
Merge "Update comments for VtsHalTargetTestDefaults." into oc-mr1-dev

6 years agoMerge "Pass ProgramInfo over currentProgramInfoChanged and drop afSwitch_1_1." into...
Tomasz Wasilczyk [Sat, 5 Aug 2017 20:47:14 +0000 (20:47 +0000)]
Merge "Pass ProgramInfo over currentProgramInfoChanged and drop afSwitch_1_1." into oc-mr1-dev

6 years agoMerge changes from topic 'hidl-vndk-enabled-oc-mr1' into oc-mr1-dev
TreeHugger Robot [Sat, 5 Aug 2017 02:01:37 +0000 (02:01 +0000)]
Merge changes from topic 'hidl-vndk-enabled-oc-mr1' into oc-mr1-dev

* changes:
  Mark hidl utils as vndk
  Manually update makefile for vndk-sp hidl libs.
  Update make file for vndk enabled.

6 years agoMerge "Wifi supplicant test statically links to dependencies." into oc-mr1-dev
Tri Vo [Fri, 4 Aug 2017 23:07:26 +0000 (23:07 +0000)]
Merge "Wifi supplicant test statically links to dependencies." into oc-mr1-dev

6 years agoAdd me into owners of radio vts
sqian [Thu, 3 Aug 2017 22:14:33 +0000 (15:14 -0700)]
Add me into owners of radio vts

Test: no need
Bug: 64220334
Change-Id: I2a9b82ee1562859827a844e729451f6d03c4e592

6 years agoMerge "Pass vendor-specific info as map." into oc-mr1-dev
Tomasz Wasilczyk [Fri, 4 Aug 2017 21:12:15 +0000 (21:12 +0000)]
Merge "Pass vendor-specific info as map." into oc-mr1-dev

6 years agoMerge "Implement comments from API review" into oc-mr1-dev
TreeHugger Robot [Fri, 4 Aug 2017 20:40:34 +0000 (20:40 +0000)]
Merge "Implement comments from API review" into oc-mr1-dev

6 years agoPass ProgramInfo over currentProgramInfoChanged and drop afSwitch_1_1.
Tomasz Wasilczyk [Fri, 4 Aug 2017 01:08:57 +0000 (18:08 -0700)]
Pass ProgramInfo over currentProgramInfoChanged and drop afSwitch_1_1.

Bug: b/64229617
Test: VTS, instrumentation
Change-Id: Id2d209a31d801f85e197312673eb6b7ee63ada46

6 years agoWifi supplicant test statically links to dependencies.
Tri Vo [Fri, 4 Aug 2017 17:36:07 +0000 (10:36 -0700)]
Wifi supplicant test statically links to dependencies.

This test now statically links to libs not guaranteed to be on the
device.

Bug: 64040096
Test: compiles
Change-Id: I986e61835e641e15bdad0ff9571ee8ffa59b2a46

6 years agoMark hidl utils as vndk
Justin Yun [Fri, 4 Aug 2017 06:02:42 +0000 (15:02 +0900)]
Mark hidl utils as vndk

As a VNDK module, Android.bp must have 'vndk' tag as well as
'vendor_available: true'.

The 'vndk' tag for VNDK module is formated as below:
vndk: {
    enabled: true,
},

VNDK modules will be installed both in system/lib(64) as normal and
in system/lib(64)/vndk as a vendor variant.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: If0eb0c1bddfa5bdc7ea0ca4635d4e53b59836582

6 years agoManually update makefile for vndk-sp hidl libs.
Justin Yun [Fri, 4 Aug 2017 05:40:55 +0000 (14:40 +0900)]
Manually update makefile for vndk-sp hidl libs.

vndk-sp is not automatically tagged by hidl-gen.
For vndk-sp libs, "support_system_process: true" is manually added
in "vndk" property.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: I2b18d691411e58dc55bcdfa39ecb3659242c8437

6 years agoUpdate make file for vndk enabled.
Justin Yun [Fri, 4 Aug 2017 05:12:23 +0000 (14:12 +0900)]
Update make file for vndk enabled.

Update the Android.bp generated with hidl-gen.

Test: build with and without BOARD_VNDK_VERSION=current
Bug: 63866913
Change-Id: I1a9db1df49e0f13c5790da2b118ae9ec63ba34a7

6 years agoImplement comments from API review
Steve Paik [Thu, 3 Aug 2017 02:07:53 +0000 (19:07 -0700)]
Implement comments from API review

Bug:  64372008
Test:  Fix comments
Change-Id: Ia2bc0ae4c45015e7965b544f5d46f7e2a3ff0e2a

6 years agoPass vendor-specific info as map.
Tomasz Wasilczyk [Thu, 3 Aug 2017 18:06:09 +0000 (11:06 -0700)]
Pass vendor-specific info as map.

This solves a problem of identifying, if a given application is talking
to a hardware that can handle format of these strings.

Bug: b/64229617
Test: VTS, instrumentation
Change-Id: If1a5f9900800b8537ef158beefcbaf3c1008c3da

6 years agoMerge "Update makefiles for vndk enabled." into oc-mr1-dev
TreeHugger Robot [Fri, 4 Aug 2017 00:52:06 +0000 (00:52 +0000)]
Merge "Update makefiles for vndk enabled." into oc-mr1-dev

6 years agoRemove unused variables.
Tri Vo [Fri, 4 Aug 2017 00:28:21 +0000 (17:28 -0700)]
Remove unused variables.

Test: compiles
Change-Id: Idf7631f98ad4e04f4a43e66161ba27e93d180241

6 years agoMerge "Implement missing broadcastradio 1.1 VTS tests." into oc-mr1-dev
Tomasz Wasilczyk [Fri, 4 Aug 2017 00:11:02 +0000 (00:11 +0000)]
Merge "Implement missing broadcastradio 1.1 VTS tests." into oc-mr1-dev

6 years agoUpdate comments for VtsHalTargetTestDefaults.
Tri Vo [Thu, 3 Aug 2017 23:39:02 +0000 (16:39 -0700)]
Update comments for VtsHalTargetTestDefaults.

Bug: 64040096
Test: only comments added
Change-Id: I4a38aa0ed339c65aa4ffbe5c46489f27c745d5d6

6 years agoMerge "VTS tests now static link to HAL def libs." into oc-mr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 22:57:50 +0000 (22:57 +0000)]
Merge "VTS tests now static link to HAL def libs." into oc-mr1-dev

6 years agoMerge "Add cc_defaults VtsHalTargetTestDefaults" into oc-mr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 22:29:24 +0000 (22:29 +0000)]
Merge "Add cc_defaults VtsHalTargetTestDefaults" into oc-mr1-dev

6 years agoSkip direct report test if sensor is not available
Peng Xu [Thu, 3 Aug 2017 21:53:35 +0000 (14:53 -0700)]
Skip direct report test if sensor is not available

Skip SensorsHidlTest.*AshmemDirectReportOperation* tests if sensor
is not available on device.

Bug: 64230704
Test: compiles and test pass for a pixel device with mag sensor
      masked in hal.

Change-Id: I9bfbea6301891eaa2b272bd3d15b0e237799b5d6

6 years agoMerge "Fix a typo in one of the OBD2 ignition monitors" into oc-mr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 21:58:52 +0000 (21:58 +0000)]
Merge "Fix a typo in one of the OBD2 ignition monitors" into oc-mr1-dev

6 years agoVTS tests now static link to HAL def libs.
Tri Vo [Tue, 1 Aug 2017 20:14:53 +0000 (13:14 -0700)]
VTS tests now static link to HAL def libs.

And use VtsHalTargetTestDefaults.

Bug: 64040096
Test: compiles
Merged-In: I3cfb1a64f6abcf3145337a736800b72d92a0b152
Change-Id: I3cfb1a64f6abcf3145337a736800b72d92a0b152
(cherry picked from commit 6c2bd86f70f526d69c3f262250e8e09afb773a21)

6 years agoAdd cc_defaults VtsHalTargetTestDefaults
Tri Vo [Tue, 1 Aug 2017 20:12:35 +0000 (13:12 -0700)]
Add cc_defaults VtsHalTargetTestDefaults

Makes it easier to control how vts tests link to system libs.
Also, removes a lot of redundant lines in test make rules.

Bug: 64040096
Test: compiles
Merged-In: I10796e3fa8f61a307dbb7edace537a96ec83bea7
Change-Id: I10796e3fa8f61a307dbb7edace537a96ec83bea7
(cherry picked from commit 0b19836cea7ee60ac370df2bf0500ee049d38256)

6 years agoImplement missing broadcastradio 1.1 VTS tests.
Tomasz Wasilczyk [Mon, 31 Jul 2017 21:28:04 +0000 (14:28 -0700)]
Implement missing broadcastradio 1.1 VTS tests.

Bug: b/36864490
Test: VTS
Change-Id: Iff25fdd65624db09e6667d32108e479d5eee6964

6 years agonfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0 am: 029633dcd0
Ruchi Kandoi [Thu, 3 Aug 2017 19:10:09 +0000 (19:10 +0000)]
nfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0 am: 029633dcd0
am: 781ce91bcd

Change-Id: I01ff9b7452ce6a2b5b77cb4cd5a67074c7e372b0

6 years agonfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0
Ruchi Kandoi [Thu, 3 Aug 2017 19:04:38 +0000 (19:04 +0000)]
nfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0
am: 029633dcd0

Change-Id: I7377ba90f9fe42f3d2880c5c9e6f494203050213

6 years agoMerge "graphics: ignore/reduce spurious vsync in VTS" into oc-dr1-dev
Chia-I Wu [Thu, 3 Aug 2017 17:46:34 +0000 (17:46 +0000)]
Merge "graphics: ignore/reduce spurious vsync in VTS" into oc-dr1-dev
am: d1231716d3

Change-Id: I6dae4a4f7e287abd7438ece780cefca2bf19ac39

6 years agoMerge "graphics: ignore/reduce spurious vsync in VTS" into oc-dr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 17:35:26 +0000 (17:35 +0000)]
Merge "graphics: ignore/reduce spurious vsync in VTS" into oc-dr1-dev

6 years agoMerge "Linguistic fixes for broadcastradio 1.1 HAL." into oc-mr1-dev
Tomasz Wasilczyk [Thu, 3 Aug 2017 16:54:54 +0000 (16:54 +0000)]
Merge "Linguistic fixes for broadcastradio 1.1 HAL." into oc-mr1-dev

6 years agoMerge "Address Broadcast Radio HAL review notes." into oc-mr1-dev
Tomasz Wasilczyk [Thu, 3 Aug 2017 16:52:31 +0000 (16:52 +0000)]
Merge "Address Broadcast Radio HAL review notes." into oc-mr1-dev

6 years agonfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0
Ruchi Kandoi [Wed, 2 Aug 2017 00:30:17 +0000 (17:30 -0700)]
nfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0

Bug: 64245250
Test: run vts test
Change-Id: I4ca434fb1fb44a6278942f020ddd02b162d7f605
(cherry picked from commit c901276e6063e739b742435a161e51978c5f4ec5)

6 years agoUpdate makefiles for vndk enabled.
Steven Moreland [Wed, 26 Jul 2017 01:24:40 +0000 (18:24 -0700)]
Update makefiles for vndk enabled.

Test: none
Bug: 63866913
Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb

6 years agoUpdate Android.bp HIDL makefiles
Tri Vo [Wed, 2 Aug 2017 22:19:22 +0000 (15:19 -0700)]
Update Android.bp HIDL makefiles

Allow HAL definition libs to be static.

Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Change-Id: I1483d572bea6799717d1614fb7d52fe225e31104

6 years agoMerge "Update HIDL makefiles." into oc-mr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 22:31:27 +0000 (22:31 +0000)]
Merge "Update HIDL makefiles." into oc-mr1-dev

6 years agoLinguistic fixes for broadcastradio 1.1 HAL.
Tomasz Wasilczyk [Mon, 31 Jul 2017 22:04:35 +0000 (15:04 -0700)]
Linguistic fixes for broadcastradio 1.1 HAL.

Bug: b/64113304
Test: it builds
Change-Id: I5d5d090a44146e327d7b0f69cc2ba97060f3b515

6 years agoUpdate HIDL makefiles.
Steven Moreland [Wed, 26 Jul 2017 17:14:57 +0000 (10:14 -0700)]
Update HIDL makefiles.

Allow them to be static.

This is required for a couple of reasons:
- enabling HIDL passthrough in recovery
- enabling VTS tests to be static blobs

Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Merged-In: I1b2401fb273ab80819e3870aa71fe742269674ba
Change-Id: I1b2401fb273ab80819e3870aa71fe742269674ba
(cherry picked from commit 7206708528e1f0393347719f156ddf0bd0b6249c)

6 years agoAdd OWNERS file to Neuralnetworks VTS test directory
Michael Butler [Wed, 2 Aug 2017 07:21:06 +0000 (00:21 -0700)]
Add OWNERS file to Neuralnetworks VTS test directory

Added all six Neuralnetworks team members and two VTS team members

Bug: 63905942
Bug: 63525563
Test: Not needed
Change-Id: I87a2968af5ceec656e8f392cc0291689e66fef5d

6 years agobug fix: output colorformat configuration fixed
Ram Mohan M [Tue, 4 Jul 2017 13:51:19 +0000 (19:21 +0530)]
bug fix: output colorformat configuration fixed

The eColorFormat field in OMX_PARAM_PORTDEFINITIONTYPE structure
has no effect on the component. This has to be configured from
OMX_VIDEO_PARAM_PORTFORMATTYPE. This is corrected. This color format
information is passed to graphic buffer during its allocation

Bug: 63796949
Change-Id: I51b1e59631647d1291ecfac373781ac5e5a0ffd5

6 years agoMerge "Camera: reset callback after test done" into oc-dev am: 72ff9a1e38 -s ours
Yin-Chia Yeh [Wed, 2 Aug 2017 01:23:38 +0000 (01:23 +0000)]
Merge "Camera: reset callback after test done" into oc-dev am: 72ff9a1e38  -s ours
am: e2f3270db5  -s ours

Change-Id: I1007702b75ad0e0065ee14691a2984afe688fbd5

6 years agoMerge "bug fix: handle OMX_EventBufferFlag events" into oc-mr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 01:22:25 +0000 (01:22 +0000)]
Merge "bug fix: handle OMX_EventBufferFlag events" into oc-mr1-dev

6 years agoMerge "Camera: reset callback after test done" into oc-dev
Yin-Chia Yeh [Wed, 2 Aug 2017 01:19:33 +0000 (01:19 +0000)]
Merge "Camera: reset callback after test done" into oc-dev
am: 72ff9a1e38  -s ours

Change-Id: I4cf59eaf2e9583af574d50f9ddb830eb34e3356d

6 years agoresolve merge conflicts of 345a396c to oc-dr1-dev
sqian [Wed, 2 Aug 2017 01:19:32 +0000 (01:19 +0000)]
resolve merge conflicts of 345a396c to oc-dr1-dev
am: a6e57a9647  -s ours

Change-Id: I20dc609d760162f16780115f3af2c8635662f1b5

6 years agobug fix: android list management in dequeueMsg()
Ram Mohan M [Tue, 1 Aug 2017 10:23:15 +0000 (15:53 +0530)]
bug fix: android list management in dequeueMsg()

1. use erase() to update iterator as it is safer
2. correct abstime (delayUs) for waitRelative() call

Bug: 63796949
Change-Id: I3aece23a6bf4bd33aebfeecd070214911b58c75b

6 years agoFix a typo in one of the OBD2 ignition monitors
Enrico Granata [Tue, 1 Aug 2017 23:58:51 +0000 (16:58 -0700)]
Fix a typo in one of the OBD2 ignition monitors

Test: build
Bug: 64024685
Change-Id: Iab438e53ef71e61a4f58af48171bb0151a602fd6

6 years agoMerge changes from topic 'nnapi_hal_move' into oc-mr1-dev
Michael Butler [Tue, 1 Aug 2017 23:28:18 +0000 (23:28 +0000)]
Merge changes from topic 'nnapi_hal_move' into oc-mr1-dev

* changes:
  Initial VTS tests for Neural Networks HAL.
  Move neuralnetworks HAL to hardware/interfaces

6 years agoAddress Broadcast Radio HAL review notes.
Tomasz Wasilczyk [Tue, 1 Aug 2017 17:52:18 +0000 (10:52 -0700)]
Address Broadcast Radio HAL review notes.

Bug: b/64229617
Test: instrumentation, VTS
Change-Id: I4009b33eaea6df585f514711f22dfb7fec5ad379

6 years agoMerge "Camera: reset callback after test done" into oc-dev
TreeHugger Robot [Tue, 1 Aug 2017 21:40:35 +0000 (21:40 +0000)]
Merge "Camera: reset callback after test done" into oc-dev

6 years agoresolve merge conflicts of 345a396c to oc-dr1-dev
sqian [Tue, 1 Aug 2017 19:21:55 +0000 (12:21 -0700)]
resolve merge conflicts of 345a396c to oc-dr1-dev

Test: I solemnly swear I tested this conflict resolution.
Change-Id: I5d816e17b2c8b113d07bf5e827d8c9378af761d9
Merged-In: I5d816e17b2c8b113d07bf5e827d8c9378af761d9

6 years agoUpdate VTS tests so that more tests pass for O.
Sanket Padawe [Tue, 1 Aug 2017 16:53:44 +0000 (09:53 -0700)]
Update VTS tests so that more tests pass for O.

Cherry picked from ag/2562201

Bug: b/62926561
Test: vts tests

Change-Id: Ic927f9efd437c6411fb14feac8c681334e4b5e60
Merged-in: Ic927f9efd437c6411fb14feac8c681334e4b5e60

6 years agoMerge "Add owners for radio vts." into oc-mr1-dev
TreeHugger Robot [Tue, 1 Aug 2017 18:05:37 +0000 (18:05 +0000)]
Merge "Add owners for radio vts." into oc-mr1-dev

6 years agoMerge "Add EMPTY_RECORD for getDeviceIdentity" into oc-dev
Shuo Qian [Tue, 1 Aug 2017 17:55:32 +0000 (17:55 +0000)]
Merge "Add EMPTY_RECORD for getDeviceIdentity" into oc-dev

6 years agoMerge "Add EMPTY_RECORD for getDeviceIdentity" into oc-mr1-dev
Shuo Qian [Tue, 1 Aug 2017 17:00:06 +0000 (17:00 +0000)]
Merge "Add EMPTY_RECORD for getDeviceIdentity" into oc-mr1-dev