Commit graph

5933 commits

Author SHA1 Message Date
Yin-Chia Yeh
623ddbb528 Merge "Camera: synchronize access to mMemoryMap"
am: 2b888b349f

Change-Id: If68840c461ce96a8ff3749ae3d6628e9f548505d
2017-09-14 22:02:48 +00:00
Treehugger Robot
2b888b349f Merge "Camera: synchronize access to mMemoryMap" 2017-09-14 21:52:26 +00:00
Yin-Chia Yeh
308f5b6e15 Camera: synchronize access to mMemoryMap
Test: stress test on partner device
Bug: 64831570
Change-Id: Ib9ece2f876ccb309c4f1bb8f90242a3e91081f47
Merged-In: Ib9ece2f876ccb309c4f1bb8f90242a3e91081f47
2017-09-14 12:18:05 -07:00
Nathan Harold
fc802418bf Merge "Fix docstrings for RIL_CellIdentity" into stage-aosp-master 2017-09-14 17:34:56 +00:00
Timur Iskhakov
617656f549 Merge "Print full name test"
am: b5aef5a54d

Change-Id: I27f2e99a2c8b81afe18a02080b79d169e1ee7a29
2017-09-14 05:19:59 +00:00
Treehugger Robot
b5aef5a54d Merge "Print full name test" 2017-09-14 03:21:32 +00:00
Timur Iskhakov
41953e0c17 Merge "Test HIDL topological reordering"
am: 0495818b3b

Change-Id: Ic3c25df0ffdeae288847dada8f0705c0b59a865b
2017-09-14 01:44:43 +00:00
Justin Yun
97a31bcff8 Mark hidl utils as vndk
am: 52cadaec39

Change-Id: I551dd6c454443f07a0d64a0daac134361671adab
2017-09-14 01:44:22 +00:00
Treehugger Robot
0495818b3b Merge "Test HIDL topological reordering" 2017-09-14 01:39:56 +00:00
Justin Yun
52cadaec39 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
Merged-In: If0eb0c1bddfa5bdc7ea0ca4635d4e53b59836582
Change-Id: If0eb0c1bddfa5bdc7ea0ca4635d4e53b59836582
(cherry picked from commit eff28dc3ba)
2017-09-14 01:30:51 +00:00
Timur Iskhakov
d8299ff809 Print full name test
Bug: 65563308

Test: hidl_test

Change-Id: I629a5a7fa708b567591e27bdb39ed5626add4895
2017-09-13 18:00:29 -07:00
Timur Iskhakov
812f779dfe Merge "Interface for hidl forward reference test"
am: 1b08076ad5

Change-Id: I28a119c028c89595e63763dabef1eba82f2f9df1
2017-09-13 22:42:28 +00:00
Zhuoyao Zhang
597f08a47b Merge "Update build for test hal: libhwbinder"
am: 754d21772a

Change-Id: Icb1160fbd5798b31816169d908ebe2d35d9b2e28
2017-09-13 22:41:13 +00:00
Nathan Harold
8c8ba47ca4 Fix docstrings for RIL_CellIdentity
Update the documentation to match the current CTS
requirements for Cell Identity reporting.

-For LTE, WCDMA, and GSM require that the channel
 number be reported.
-For LTE and WCDMA, require that the correct
 physical channel identifier be reported. Note that
 due to b/32774471 we still cannot require BSIC
 to be reported.

Bug: 65174915
Test: none, comment-only change
Change-Id: I93fcce3b39401e8965f724722361c2cadc4a88cc
Merged-In: I93fcce3b39401e8965f724722361c2cadc4a88cc
(cherry picked from commit 8d2d747e9e)
2017-09-13 15:32:49 -07:00
Timur Iskhakov
64c9669fd2 Test HIDL topological reordering
Bug: 65636464

Test: hidl_test
Change-Id: I7eae65c89252bebf865803d24101b08a7088c669
2017-09-13 14:17:29 -07:00
Treehugger Robot
1b08076ad5 Merge "Interface for hidl forward reference test" 2017-09-13 19:59:05 +00:00
Zhuoyao Zhang
754d21772a Merge "Update build for test hal: libhwbinder" 2017-09-13 16:58:17 +00:00
Timur Iskhakov
67753ea3d7 Interface for hidl forward reference test
Test proofs that forward reference can now be used.
Test contains trie implementation and some forward reference examples.

Bug: 31827278

Test: hidl_test

Change-Id: I55cdde500baea3e70ebf4466c681ad652b6ff9fd
2017-09-12 17:41:13 -07:00
Zhuoyao Zhang
d2e1850a46 Update build for test hal: libhwbinder
* Use cc_default to extract common build rules.
* Static link android.hardware.tests.libhwbinder@1.0 to the impl lib.

Bug: 65483634
Test: make vts
      vts-tradefed run vts-performance

Change-Id: Ia6fc6593e3f833c1a7de91f817fb684280a8b555
2017-09-12 14:51:52 -07:00
Peng Xu
4ff424ce6c Merge "Sensor direct report test - gralloc support"
am: b7841f02e2

Change-Id: I815c61af5b807fd9a8ebd9d7ccf2842a60f1a1f6
2017-09-12 20:09:59 +00:00
Peng Xu
b7841f02e2 Merge "Sensor direct report test - gralloc support" 2017-09-12 18:06:24 +00:00
Martijn Coenen
4e8e84e10b Merge changes from topic "fix-omx-dependencies"
am: d429b1f9e7

Change-Id: Ic50e4bc973f6a16f0ed1a1f051dc354e69b0e39d
2017-09-11 20:53:17 +00:00
Treehugger Robot
d429b1f9e7 Merge changes from topic "fix-omx-dependencies"
* changes:
  Make camera/drm helper classes available to system.
  Remove dependency to libmediadrm from drm HAL
2017-09-11 20:42:27 +00:00
Myles Watson
8f2ea671d9 Bluetooth: Remove credit check from Loopback tests
am: 0e06a63c76

Change-Id: I44b24e0e5fc18af73edbdb81806ebb2454bb41f5
2017-09-07 01:36:03 +00:00
Myles Watson
0e06a63c76 Bluetooth: Remove credit check from Loopback tests
The Bluetooth specification doesn't require data credits
to come back within a specific timeframe, so the VTS test
can not require it.

Bug: 65269854
Test: VtsHalBlueoothV1_0TargetTest with simulated chip (no credits)
Change-Id: If2fc052d3b5236f6a3097f3d5403882226561404
2017-09-06 23:58:18 +00:00
Peng Xu
c1fcb010d7 Sensor direct report test - gralloc support
Bug: 37794556
Test: sensor vts passes on 2016 and 2017 devices
Change-Id: Ibe1d076c24dc2cfe61dfd19aa5055c9075aa9e14
Merged-In: Ibe1d076c24dc2cfe61dfd19aa5055c9075aa9e14
2017-09-06 21:38:37 +00:00
Martijn Coenen
567cbf1148 Make camera/drm helper classes available to system.
As VTS tests are considered system and link against these.

Bug: 38302533
Bug: 62523241
Test: builds
Change-Id: Iac5c872c58ec9646d6d6974aacceb930daad7e5e
2017-09-06 10:45:14 -07:00
Jiyong Park
acfcb3039a Remove dependency to libmediadrm from drm HAL
drm HAL has been using libmediadrm for android::SharedLibrary class and
android::PluginLoader class. This is a Treble violation since
libmediadrm is a framework-only library that is not available to
vendors.

To solve the problem, the two classes are copied into this directory
to form a small static library android.hardware.drm@1.0-helper.a.

Bug: 38302533
Test: mm under /hardware/interfaces/drm/1.0/default and
/hardware/interfaces/drm/1.0/vts/functional

Change-Id: I7b4e5cdb3bc815e971e0c3b7ec99ea86042e13eb
2017-09-06 10:43:26 -07:00
Timur Iskhakov
57aa0f1bb3 Check array dimenstion order
am: a3b0f1f431

Change-Id: Ia6e5ef02bc7be0c64a619347d61c627af120f9d3
2017-09-01 06:04:32 +00:00
Timur Iskhakov
a3b0f1f431 Check array dimenstion order
Bug: 65257916
Test: mma
Change-Id: I5dcd859120800909b6fc4811c5e5a0d2f8790bcd
2017-08-31 15:18:45 -07:00
Peng Qi
a9b81f3c4c Bluetooth: AsyncFdWatcher: Fix FD leak
am: 5c6da2669c

Change-Id: Ia7b6d7357f0df7141ab55e4fc31478fd36d16f43
2017-08-29 20:06:38 +00:00
Peng Qi
5c6da2669c Bluetooth: AsyncFdWatcher: Fix FD leak
AsyncFdWatcher thread notification pipe fds without close
which causes FD leak under Bluetooth on/off stress test.

Close the notification pipe fds when shut down Bluetooth.

Test: Bluetooth on/off stress test

Change-Id: I7575adec49161f9764f0e070ef3c1043b8295a97
2017-08-29 17:55:21 +00:00
Tri Vo
ba6d6e5767 VTS tests now static link to HAL def libs.
am: b65c5ceff2

Change-Id: I393284c12ca5cb79926c4891ffcfd332408a5b9f
2017-08-28 19:23:36 +00:00
Tri Vo
b65c5ceff2 VTS tests now static link to HAL def libs.
And use VtsHalTargetTestDefaults.
This is a partial cherry-pick of ag/2657080.

Bug: 64040096
Test: compiles, works fine in internal master
Merged-In: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
Change-Id: I76d47d8546416b57055841851a9d343026cd3210
2017-08-25 11:48:10 -07:00
Myles Watson
cd541f9648 Bluetooth: Remove random MAC addresses
am: 8d0d6f99df

Change-Id: Ie3f7772027b9a2d12fd017cb153b941589329082
2017-08-25 16:47:19 +00:00
Myles Watson
8d0d6f99df Bluetooth: Remove random MAC addresses
Bug:65014945
Test: boot a wiped device with no property set, check the Bluetooth address
Change-Id: I905f9dbf2f0782e19de64a8f798d1e26ffd9f1bf
2017-08-25 13:18:41 +00:00
Myles Watson
526b1dcb99 Merge "Bluetooth: Check H4 HCI packet types"
am: dcc6f25d05

Change-Id: Ib379d5149e301cf613643141a550a33093428cf5
2017-08-24 23:40:44 +00:00
Myles Watson
f682ae5219 Bluetooth: Return false when not shut down
am: 9833109a3e

Change-Id: I69bc5989d5bd18c16c08be962a0aa263968824be
2017-08-24 23:40:19 +00:00
Treehugger Robot
dcc6f25d05 Merge "Bluetooth: Check H4 HCI packet types" 2017-08-24 23:31:54 +00:00
Myles Watson
9833109a3e Bluetooth: Return false when not shut down
Do not crash in the vendor layer.  The stack will crash
when it fails to initialize.

Bug: 64535243
Test: Bluetooth starts/stops
Change-Id: I69fdd2879c80fa2f006c50f0a42a85e9289b14fe
2017-08-24 17:48:18 +00:00
Myles Watson
521621d515 Bluetooth: Check H4 HCI packet types
An invalid type byte can cause an access outside
the bounds of the array.

Bug: 64565737
Test: Bluetooth On/Off
Change-Id: Ie11dd62942f66b9fc60ebce2e4339c37d597fdf0
2017-08-24 16:24:18 +00:00
Ram Mohan M
4d7095f72b Merge "bug fix: close file pointer" into oc-dev am: 8735fb45a5
am: 49cf6a5093  -s ours

Change-Id: I4dc3c02ec3b3abf2ccd880a7a46cf30d1db6a2b0
2017-08-19 04:00:56 +00:00
Ram Mohan M
5218fdf14e Merge "bug fix: configure input port buffer size" into oc-dev am: bc769a7e5a
am: ed378b0b3b  -s ours

Change-Id: I62f25da7bbbe57f48a5adb9568248a5d7a7b8974
2017-08-19 04:00:34 +00:00
Ram Mohan M
49cf6a5093 Merge "bug fix: close file pointer" into oc-dev
am: 8735fb45a5

Change-Id: Ia982475c994fc82c8b6ee5a6a97086c4104a829e
2017-08-19 03:57:01 +00:00
Ram Mohan M
ed378b0b3b Merge "bug fix: configure input port buffer size" into oc-dev
am: bc769a7e5a

Change-Id: I073b3949155a847a0564c3085d8c614cc15b06dd
2017-08-19 03:56:38 +00:00
Ram Mohan M
07674691a0 Merge "bug fix: close file pointer" into oc-dev am: 8735fb45a5
am: 51f04884ba

Change-Id: Ia0ec90fe324c7ec87eb42de42754f15bdc3fc0be
2017-08-19 01:48:11 +00:00
Ram Mohan M
ad012dc507 Merge "bug fix: configure input port buffer size" into oc-dev am: bc769a7e5a
am: 2eedb46745

Change-Id: Ic30a77e7f4bfaf9e249e10e4916c1452defacb9b
2017-08-19 01:47:54 +00:00
Ram Mohan M
51f04884ba Merge "bug fix: close file pointer" into oc-dev
am: 8735fb45a5

Change-Id: I7ca0f4992804da30eaac7ca24b2dbe9004a5ac55
2017-08-19 01:45:20 +00:00
Ram Mohan M
2eedb46745 Merge "bug fix: configure input port buffer size" into oc-dev
am: bc769a7e5a

Change-Id: I3a9b89f4c64d1129ea59a0144937832d93ed81fd
2017-08-19 01:44:50 +00:00
TreeHugger Robot
8735fb45a5 Merge "bug fix: close file pointer" into oc-dev 2017-08-19 00:30:10 +00:00