Commit graph

7860 commits

Author SHA1 Message Date
Steven Moreland
8201a973af Merge "Update Light extension example to match docs." am: fed3134fa0 am: d5a3ac60f3 am: fa7389e922
am: ace3ea8c11

Change-Id: I26e45d60ac16ace363dfbd024577c9102bc8f5ac
2017-10-18 03:34:47 +00:00
Steven Moreland
ace3ea8c11 Merge "Update Light extension example to match docs." am: fed3134fa0 am: d5a3ac60f3
am: fa7389e922

Change-Id: I76e7e0597c8f493d6d4d3e9cae313fad7c1b42b7
2017-10-18 03:32:39 +00:00
Tri Vo
71fae85bef Merge "Set pipe size to >1MB for debugDump test cases." am: d928053397 am: 04fcc83578 am: bd9b6d5c68
am: 976bfa63f8

Change-Id: I55a4c333ac6249d92f588e6c36c58590c01945ee
2017-10-18 03:30:27 +00:00
Steven Moreland
fa7389e922 Merge "Update Light extension example to match docs." am: fed3134fa0
am: d5a3ac60f3

Change-Id: I4b89fcb4cbe446d4461c2384bf49488c26d8cf4d
2017-10-18 03:30:08 +00:00
Steven Moreland
d5a3ac60f3 Merge "Update Light extension example to match docs."
am: fed3134fa0

Change-Id: I5f33d024ab2747a736c39c9cf712c0c52617cf6b
2017-10-18 03:26:39 +00:00
Treehugger Robot
fed3134fa0 Merge "Update Light extension example to match docs." 2017-10-18 03:22:17 +00:00
Tri Vo
976bfa63f8 Merge "Set pipe size to >1MB for debugDump test cases." am: d928053397 am: 04fcc83578
am: bd9b6d5c68

Change-Id: I0719153562f638d958f68f823bace7fb2dad3888
2017-10-18 02:56:55 +00:00
Tri Vo
bd9b6d5c68 Merge "Set pipe size to >1MB for debugDump test cases." am: d928053397
am: 04fcc83578

Change-Id: I268c1f1fd16732ffce1569a19d8efa47897fc329
2017-10-18 02:28:01 +00:00
Tri Vo
04fcc83578 Merge "Set pipe size to >1MB for debugDump test cases."
am: d928053397

Change-Id: If7cca83c1da491e5c399170e2669995e878fdc57
2017-10-18 02:21:29 +00:00
Treehugger Robot
d928053397 Merge "Set pipe size to >1MB for debugDump test cases." 2017-10-18 02:10:42 +00:00
Steven Moreland
6f5459d8eb Update Light extension example to match docs.
This light extension example was more of a POC. Now it
matches the suggestions for minor version requirements
and vendor extensions that are spelled out in publically
available documentation.

This includes things like:
- taking advantage of namespacing rather than renaming things
- adding documentation when extension differs from what a minor
  version extension should be
- importing things specifically rather than dumping namespaces
  into the types.hal file

Test: compilation only -- it doesn't do anything
Change-Id: Ia1bf9baaddcb630cc1b6cd4fe272def0c7c492e9
Fixes: 67787567
2017-10-17 18:33:26 -07:00
Chih-Hung Hsieh
1024478de1 Use -Werror in hardware/interfaces am: ceb435f2ba am: 1e48a3c563 am: 8247f4a2f3
am: 9d8731e255

Change-Id: Ibe4022b6f8b8089540931e47e78b5f4d8901e855
2017-10-18 00:24:55 +00:00
Chih-Hung Hsieh
9d8731e255 Use -Werror in hardware/interfaces am: ceb435f2ba am: 1e48a3c563
am: 8247f4a2f3

Change-Id: Ib3ac309a84c503eadc5dfa67996b2a9576a0fca5
2017-10-18 00:21:54 +00:00
Chih-Hung Hsieh
8247f4a2f3 Use -Werror in hardware/interfaces am: ceb435f2ba
am: 1e48a3c563

Change-Id: Iacc0a022d0180c16340bc7937b43ea7b4d13a49c
2017-10-18 00:19:52 +00:00
Chih-Hung Hsieh
1e48a3c563 Use -Werror in hardware/interfaces
am: ceb435f2ba

Change-Id: I34ad0374c02d3733e7901a8296d229f74313fb52
2017-10-18 00:17:51 +00:00
Tri Vo
7d35a3d0f2 Set pipe size to >1MB for debugDump test cases.
Test: VtsHalAudioV2_0Target
Change-Id: I2dd43851a43609ad2953030303edaeb684b63096
2017-10-17 16:51:33 -07:00
Ram Mohan M
7f77501331 Merge "bug fix: during fatal fails bypass freeNode() calls" into oc-mr1-dev am: ae62942b1c
am: 56edc8ac66

Change-Id: Ic208c8ea548e559b5e553e639227a50da01d0d2f
2017-10-17 23:04:36 +00:00
Ram Mohan M
56edc8ac66 Merge "bug fix: during fatal fails bypass freeNode() calls" into oc-mr1-dev
am: ae62942b1c

Change-Id: I0d93babc0ce84e3d427ae5adf4afd40d1a46e45b
2017-10-17 22:50:14 +00:00
TreeHugger Robot
ae62942b1c Merge "bug fix: during fatal fails bypass freeNode() calls" into oc-mr1-dev 2017-10-17 22:37:56 +00:00
Chih-Hung Hsieh
ceb435f2ba Use -Werror in hardware/interfaces
* Fix warning of unused result.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I68e35ddcdeec4290b075ececf14f82335b43e22e
2017-10-17 10:12:29 -07:00
Ram Mohan M
a0698429dd bug fix: during fatal fails bypass freeNode() calls
If test application undergoes a fatal failure bypass all the omx
api calls till the application safely returns.

Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Host \
-l INFO

Bug: 63796949

Change-Id: If5a33672a31665db913e53c6f8ba8bea6cfd3ebd
2017-10-17 04:34:30 -07:00
Sooraj Sasindran
c496974404 Merge "Enhanced network scan request" am: 8e5f008ae6 am: b49cd63a75 am: cb1467f935
am: da47be9351

Change-Id: Ied661795a18352f805bedaaf0ac974ae006cbbb2
2017-10-17 08:48:59 +00:00
Erik Kline
6f692914a9 tetheroffload VTS: fix stopOffload test conditions am: 15e945976b
am: 34eef5832e

Change-Id: I4cad84d9d10aafc3705c88582aee563f36af5d5e
2017-10-17 08:48:11 +00:00
Sooraj Sasindran
da47be9351 Merge "Enhanced network scan request" am: 8e5f008ae6 am: b49cd63a75
am: cb1467f935

Change-Id: I2370bea69898bff71d366ca358574f4b3e5a21be
2017-10-17 06:29:41 +00:00
Sooraj Sasindran
cb1467f935 Merge "Enhanced network scan request" am: 8e5f008ae6
am: b49cd63a75

Change-Id: I9af2ebbaf19f6963518f89c6e8a481d7017b4558
2017-10-17 06:20:02 +00:00
Sooraj Sasindran
b49cd63a75 Merge "Enhanced network scan request"
am: 8e5f008ae6

Change-Id: I8903402f50c64b475ccda3839f0175fb2eaa12f6
2017-10-17 06:11:13 +00:00
Sooraj Sasindran
8e5f008ae6 Merge "Enhanced network scan request" 2017-10-17 06:03:31 +00:00
Erik Kline
34eef5832e tetheroffload VTS: fix stopOffload test conditions
am: 15e945976b

Change-Id: Ibbd15fd40a396c9f3162f223d27f540b8527e706
2017-10-17 03:31:33 +00:00
Sooraj Sasindran
55092ae5a6 Enhanced network scan request
Bug=63865942

Test: Verified by making changes in settings app to call the api
      and confirmed that the new information is delivered to verndor
      code

Change-Id: I38f5e88302268bdda7483f5bc96bf8a72b940208
2017-10-16 19:31:00 -07:00
Erik Kline
15e945976b tetheroffload VTS: fix stopOffload test conditions
The tetheroffload HAL is somewhat...and over- and under-specified.
A not unreasonable interpretation is that stopOffload() doesn't have
return success unless offload was actually started (via a call to
setUpstreamParameters()), and that after initOffload() and before
setUpstreamParameters() not actual "offload" has been engaged.

Precision in this matter is not required for the test case:

    OffloadControlHidlTestBase.AdditionalInitsWithoutStopReturnFalse

But for the test case:

    OffloadControlHidlTestBase.AdditionalStopsWithInitReturnFalse

we want to ensure the "matching" stopOffload call succeeds. For this
test we add in a call to setUpstreamParameters() for good measure.

Test: as follows
    prompt$ make vts -j30 BUILD_GOOGLE_VTS=true && \
            vts-tradefed run commandAndExit vts \
                --skip-all-system-status-check \
                --primary-abi-only \
                --skip-preconditions \
                --module VtsHalTetherOffloadControlV1_0Target \
                -l DEBUG

Observed:
    10-16 19:17:17 I/ResultReporter: Invocation finished in 1m 2s. PASSED: 38, FAILED: 0, MODULES: 1 of 1

Bug: 65270149
Bug: 65612227
Bug: 65612332
Change-Id: I924d41f5a20f07707e3d6991cb59d9c6b2b02339
2017-10-16 19:19:26 +09:00
Janis Danisevskis
e3442168b6 Rename libkeymaster to libkeymaster_staging am: 8cd5614c12 -s ours am: 157fc5bd51 -s ours am: 5248ea2d23 -s ours
am: e3d2a9c5c9  -s ours

Change-Id: Id3eeeaba939538a1f136541832e721f5c73fb9c3
2017-10-16 01:46:02 +00:00
Janis Danisevskis
0a23928526 libkeymaster1 split to libkeymaster and _portable am: ab887a4433 -s ours am: 1128d6df34 -s ours am: 2025529913 -s ours
am: 61f3ff2827  -s ours

Change-Id: I0dd746def600c3939517bb4e92b889271951d23c
2017-10-16 01:45:51 +00:00
Janis Danisevskis
e3d2a9c5c9 Rename libkeymaster to libkeymaster_staging am: 8cd5614c12 -s ours am: 157fc5bd51 -s ours
am: 5248ea2d23  -s ours

Change-Id: I64bd737c1b642851965e96bf6883d2457cd21aca
2017-10-16 01:41:27 +00:00
Janis Danisevskis
61f3ff2827 libkeymaster1 split to libkeymaster and _portable am: ab887a4433 -s ours am: 1128d6df34 -s ours
am: 2025529913  -s ours

Change-Id: I79b440e743e48745b6e8518fc5215478326b7217
2017-10-16 01:41:17 +00:00
Janis Danisevskis
5248ea2d23 Rename libkeymaster to libkeymaster_staging am: 8cd5614c12 -s ours
am: 157fc5bd51  -s ours

Change-Id: If22b7aa39e8c21a02673ac05cfd12b058bf78b91
2017-10-16 01:37:24 +00:00
Janis Danisevskis
2025529913 libkeymaster1 split to libkeymaster and _portable am: ab887a4433 -s ours
am: 1128d6df34  -s ours

Change-Id: Ie6a78ccffd792f0aac10a48ee022cc9eb7c259ba
2017-10-16 01:37:16 +00:00
Janis Danisevskis
157fc5bd51 Rename libkeymaster to libkeymaster_staging
am: 8cd5614c12  -s ours

Change-Id: I46c0d6d745171ee77a74fb4a183b9121be89d12b
2017-10-16 01:32:50 +00:00
Janis Danisevskis
1128d6df34 libkeymaster1 split to libkeymaster and _portable
am: ab887a4433  -s ours

Change-Id: I0e5c0ab09b96bd6888178fbba2148fcb49117cff
2017-10-16 01:32:45 +00:00
Janis Danisevskis
8cd5614c12 Rename libkeymaster to libkeymaster_staging
Fix a build breakage by renaming libkeymaster to
libkeymaster_staging. fugu's vendor tree already had
a libkeymaster.so which masked system/keymaster/libkeymaster.

Bug: 37997750
Test: mma -j
Merged-In: Ie478726bf81e965be64fb913844b881064e9b66c
Change-Id: Ie478726bf81e965be64fb913844b881064e9b66c
(cherry picked from commit 71ebd5f6b4)
2017-10-16 00:51:19 +00:00
Janis Danisevskis
ab887a4433 libkeymaster1 split to libkeymaster and _portable
libkeyamster1 was split into libkeymaster and
libkeymaster_portable.
Also removed UniquePtr usage from keymaster hal.

Bug: 37467707
Test: keymaster vts test and keystore cts test
Merged-In: Ic660586d3d9cfd20022a9c694f276da89e796e5d
(cherry picked from commit 85e15db319)

Change-Id: I8652f28ac3da1999a774be5e1110c7d2efac5339
2017-10-16 00:51:05 +00:00
Steven Moreland
aecaa4c25c Merge changes from topic "hidl-test" am: 240f9e1476 am: 2c2ff9382d am: 58eeb555b4
am: 0f4ea1e5d8

Change-Id: I73592ca3aa63d0db8d2f3688729007616ab085f4
2017-10-15 04:02:14 +00:00
Zhuoyao Zhang
a1e6c6045d Static link test lib shims with test -impl libs. am: 38a78e1fa9 am: 5871a92c46 am: c217673b8c
am: 9ffd1c6d82

Change-Id: I1e2cf34bb95f2f389ff66565a751585b8574de7f
2017-10-15 04:02:03 +00:00
Tri Vo
1853d8b538 Merge "Use a pipe instead of tmp for debugDump tests." am: 458b8fa5bd am: c62e184a27 am: a56e32dca2
am: e9c924d756

Change-Id: Idfab4049352fa39ce52f712f95e1e98fa8fba5b7
2017-10-15 04:01:35 +00:00
Steven Moreland
c911847166 Merge "Remove invalid annotations from IBaz." am: e322e7e1aa am: bc95bdc195 am: ee950c5f8f
am: 2faa60f4f1

Change-Id: If3646d56e99238867827a29faa44651a493f0f14
2017-10-15 04:00:39 +00:00
Tri Vo
dce01a0e64 Merge "Change tmp dir to /data/system/users/0/fpdata/." am: 3f4e982fbc am: 05a6820b76 am: 245ae95aa1
am: 75a193f6dc

Change-Id: Ic0a809c865d5bc4546483fff5dc34609ab024915
2017-10-15 04:00:09 +00:00
sqian
2147c2d696 Merge "Refactor radio folder for 1.0 and 1.1" am: bf758ce382 -s ours am: e4124a3943 -s ours am: 27ef401b97 -s ours
am: b13641424d  -s ours

Change-Id: Ida24a4e249b4dc55cf75f9f9b4b293be5d6c7033
2017-10-15 03:59:41 +00:00
sqian
ab28f0e343 Refactor radio folder for 1.0 and 1.1 am: 8735a7d935 am: 2576f3505f
am: 336a914eb3  -s ours

Change-Id: Ie4ae3057b3ec1cea9b54dd854efa44f30eb9c221
2017-10-15 03:59:05 +00:00
Steven Moreland
0f4ea1e5d8 Merge changes from topic "hidl-test" am: 240f9e1476 am: 2c2ff9382d
am: 58eeb555b4

Change-Id: I48769a2ba50a0bd03d34289940dff0675fc7d3a1
2017-10-15 03:45:10 +00:00
Zhuoyao Zhang
9ffd1c6d82 Static link test lib shims with test -impl libs. am: 38a78e1fa9 am: 5871a92c46
am: c217673b8c

Change-Id: I21d7673d05a175132ac5567d10eb6a2e9f368138
2017-10-15 03:45:04 +00:00
Tri Vo
e9c924d756 Merge "Use a pipe instead of tmp for debugDump tests." am: 458b8fa5bd am: c62e184a27
am: a56e32dca2

Change-Id: I9f450d87bc7737e14ad4ed0bab9670c6765fd5e2
2017-10-15 03:44:38 +00:00