Commit graph

6079 commits

Author SHA1 Message Date
Tri Vo
33687730ee Merge "Neural networks test static links to HAL def libs." into oc-mr1-dev 2017-08-10 20:43:07 +00:00
Tri Vo
2883486706 Merge "VTS tests now static link to HAL def libs. #2" into oc-mr1-dev 2017-08-10 17:45:07 +00:00
Tri Vo
0c2ce357b1 VTS tests now static link to HAL def libs. #2
And use VtsHalTargetTestDefaults.

Bug: 64040096
Test: crop out all non-affected tests from vts-hal-hidl.xml and run
vts-tradefed run commandAndExit vts-hal-hidl --skip-all-system-status-check 
--skip-preconditions
2 failures, same as without this change:
GatekeeperHidlTest.DeleteAllUsersTest
GatekeeperHidlTest.DeleteUserTest

Change-Id: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
2017-08-10 17:44:57 +00:00
TreeHugger Robot
43b3865a3d Merge "Graphics tests statically link to HAL definition libs." into oc-mr1-dev 2017-08-10 03:42:37 +00:00
Myles Watson
c2cf173510 Merge "Bluetooth: Check the number of file descriptors" into oc-dr1-dev
am: 269d9ba09a

Change-Id: I1260d97229e5330481178c8f802e2c7f6b651582
2017-08-10 03:10:57 +00:00
TreeHugger Robot
269d9ba09a Merge "Bluetooth: Check the number of file descriptors" into oc-dr1-dev 2017-08-10 03:05:38 +00:00
TreeHugger Robot
cb04a5ed2d Merge "Renderscript test static link to HAL def libs." into oc-mr1-dev 2017-08-10 02:30:29 +00:00
Myles Watson
fb75b605bb Merge "Bluetooth: Add OWNERS file for default/" into oc-dr1-dev
am: 5397fa8175

Change-Id: I1587c5451950a89c6aac991a0d8b7dacea16fe21
2017-08-10 00:39:03 +00:00
Myles Watson
1c4fc17536 NFC: Add OWNERS file for default/
am: a4d1a74700

Change-Id: I43572572901298d1e915c9753798361bdd5d38c2
2017-08-10 00:38:46 +00:00
TreeHugger Robot
5397fa8175 Merge "Bluetooth: Add OWNERS file for default/" into oc-dr1-dev 2017-08-10 00:35:17 +00:00
Tri Vo
24ea76c31c Merge "Media omx tests static link to dependencies." into oc-mr1-dev 2017-08-09 23:41:15 +00:00
Myles Watson
a4d1a74700 NFC: Add OWNERS file for default/
Test: build
Change-Id: I6e854923fdd66991bcc7ed3446106d148abea982
(cherry picked from commit 31439b1d24)
2017-08-09 14:26:22 -07:00
Myles Watson
a671c0b8d1 Bluetooth: Add OWNERS file for default/
Test: build
Change-Id: Ib4cbd5502ac0791d4bc700f28de68d0548256de6
(cherry picked from commit 7c127dc4cb)
2017-08-09 14:25:32 -07:00
TreeHugger Robot
438bbdac30 Merge changes I51b1e596,I3aece23a into oc-mr1-dev
* changes:
  bug fix: output colorformat configuration fixed
  bug fix: android list management in dequeueMsg()
2017-08-09 21:23:20 +00:00
Myles Watson
07ea6b4f7e 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)
2017-08-09 18:22:44 +00:00
Peng Xu
0d4252fa91 Merge "Skip direct report test if sensor is not available" into oc-dev am: 63524f9fcc
am: 7bea962c9c

Change-Id: I99d4eb05d1348e24910c5ebe2e87b6b334138b31
2017-08-09 17:15:44 +00:00
Peng Xu
7bea962c9c Merge "Skip direct report test if sensor is not available" into oc-dev
am: 63524f9fcc

Change-Id: Iffe683356ed925142ef877ecb5289463d8d4ac1e
2017-08-09 17:04:32 +00:00
TreeHugger Robot
63524f9fcc Merge "Skip direct report test if sensor is not available" into oc-dev 2017-08-09 16:48:07 +00:00
Roshan Pius
0f2946eb46 wifi(vts): Remove a tight loop of toggling wifi state
am: 0d1bb97447

Change-Id: Icec63b9ffd5d12003da44bdde73edde04e55f11a
2017-08-09 05:09:17 +00:00
Roshan Pius
0d1bb97447 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
2017-08-09 04:58:29 +00:00
Erik Kline
9fcc724692 Merge "Fix typo in in offload control VTS test" into oc-dr1-dev
am: 5d77efddbd

Change-Id: I2be944da8800040540bf98aeb197a933d1da0e42
2017-08-09 02:05:34 +00:00
TreeHugger Robot
5d77efddbd Merge "Fix typo in in offload control VTS test" into oc-dr1-dev 2017-08-09 01:59:19 +00:00
Erik Kline
30a0746fb7 Fix typo in in offload control VTS test
Test: built, flashed, run
Bug: 38220415
Bug: 64479437
Change-Id: I3aa4afa3b52297dd92e37b4f39a5bd25b129ba04
2017-08-08 16:54:14 -07:00
yinxu
16ad551f83 Merge "Add the error code "OPERATION_NOT_ALLOWED" and log the error." into oc-dr1-dev
am: 3a57cca59c

Change-Id: I6a1aeea07e64b4748151f62ae4827132eba32781
2017-08-08 20:51:47 +00:00
TreeHugger Robot
3a57cca59c Merge "Add the error code "OPERATION_NOT_ALLOWED" and log the error." into oc-dr1-dev 2017-08-08 20:41:27 +00:00
TreeHugger Robot
2187f58fad Merge "Add OWNERS for broadcast radio HAL 1.1." into oc-mr1-dev 2017-08-08 19:26:42 +00:00
yinxu
4181504523 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
2017-08-08 10:31:03 -07:00
Roshan Pius
07bac60f31 wifi(vts): Ignore IWifi.stop() returning ERROR_NOT_AVAILABLE
am: 8c216524a3

Change-Id: I1bf9be99d4e673209edb893040483bf772ee3ca0
2017-08-08 17:10:25 +00:00
Roshan Pius
8c216524a3 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
2017-08-08 17:02:19 +00:00
TreeHugger Robot
ffd04a5daa Merge "Update IRadioResponse.hal to add new error codes." into oc-mr1-dev 2017-08-08 06:16:47 +00:00
Erik Kline
75f78be32d Merge "Refactor and expand tetheroffload Control and Config VTS" into oc-dr1-dev
am: 6d5cf73b75

Change-Id: I004e81a764313fdaf23f9580b144e1ee2ba79b27
2017-08-08 04:04:48 +00:00
Tyler Wear
c8466b3911 Merge "Tetheroffload Control and Config VTS" into oc-dr1-dev
am: a11e731b6e

Change-Id: I24712d426e1227b1f96cfa35f9f7b320e27fc901
2017-08-08 04:04:34 +00:00
TreeHugger Robot
6d5cf73b75 Merge "Refactor and expand tetheroffload Control and Config VTS" into oc-dr1-dev 2017-08-08 03:57:48 +00:00
TreeHugger Robot
a11e731b6e Merge "Tetheroffload Control and Config VTS" into oc-dr1-dev 2017-08-08 03:57:43 +00:00
Tri Vo
5396b25cba 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
2017-08-08 01:57:44 +00:00
TreeHugger Robot
4abbaaad62 Merge "thermal: IThermal V1.1, add methods to send thermal throttling events" into oc-mr1-dev 2017-08-08 01:15:41 +00:00
Ram Mohan M
d8ffb05263 bug fix: handle OMX_EventBufferFlag events am: c8df8940e1
am: 2921996e7a  -s ours

Change-Id: I660fb164aa2f1ed1420e1cb5f81df462200e49bd
2017-08-08 00:49:23 +00:00
Ram Mohan M
2921996e7a bug fix: handle OMX_EventBufferFlag events
am: c8df8940e1

Change-Id: Ifa9493d869e42a76100011d5af20c5062bc44891
2017-08-08 00:47:23 +00:00
Tomasz Wasilczyk
75c2bd8d1c Add OWNERS for broadcast radio HAL 1.1.
Test: not necessary
Change-Id: I73881db46382276f56963c9d3a40cb0bdc1a2070
2017-08-07 17:46:31 -07:00
Tomasz Wasilczyk
c6e67b4a20 Merge "Change VENDOR program types to range." into oc-mr1-dev 2017-08-08 00:35:09 +00:00
TreeHugger Robot
8e9eed3376 Merge "Remove unused variables." into oc-mr1-dev 2017-08-07 23:51:34 +00:00
Todd Poynor
8d95f2e631 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 cf964d79c1)
2017-08-07 23:11:48 +00:00
Ram Mohan M
c8df8940e1 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
2017-08-07 14:21:12 -07:00
Tri Vo
070dd5d28a 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
2017-08-07 14:11:33 -07:00
Tri Vo
1b7c33562f 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
2017-08-07 14:07:52 -07:00
Erik Kline
434b8d38d0 Refactor and expand tetheroffload Control and Config VTS
Test: as follows
    - built
    - flashed
    - booted
    - adb sync && adb shell ...$test
Bug: 38220415
Change-Id: Iab715c45ad0457f3eea43ee408fa947ffc01c4aa
2017-08-08 05:51:09 +09:00
Tyler Wear
3667852546 Tetheroffload Control and Config VTS
Basic VTS for Tetheroffload Config and Control  HALs.

Bug: 38220415
Change-Id: I6d0867e019aca58d8a6bd1404b8b85ed98274f11
CRs-fixed: 2083182
2017-08-08 02:54:06 +09:00
Steven Thomas
85e93f0a3b Merge "Guard against racy ComposerClient reconnection" into oc-mr1-dev 2017-08-07 17:53:13 +00:00
Tomasz Wasilczyk
da97a6dd42 Change VENDOR program types to range.
Bug: b/64331420
Test: VTS, instrumentation
Change-Id: If91d8e6835ed3acaf429bb05b96f3d3a7985d19b
2017-08-07 10:27:28 -07:00
Shuo Qian
cc1007af33 Merge "Add me into owners of radio vts" into oc-mr1-dev 2017-08-07 17:07:47 +00:00