Erik Kline
67fd6d8af8
More tetheroffload VTS fixes for over-specified tests.
...
am: b451490514
Change-Id: I5aed0b84dd1c19a2ff5cd6eadf89bbc2e12c3ab5
2017-09-29 16:22:36 +00:00
Erik Kline
8b4c5b3b96
Tweaks to tetheroffload VTS: fixes and fd leaks
...
am: 62e3e4bd1a
Change-Id: I2091ae52a80cd45b6d8879e968e06827ea4594b2
2017-09-29 16:22:33 +00:00
Erik Kline
b451490514
More tetheroffload VTS fixes for over-specified tests.
...
[1] Call addDownstream before removeDownstream in affirmative tests
In order to properly test removeDownstream() where the HAL might
reasonably reject downstreams not previously added we now call
addDownstream() first (for affirmative tests).
[2] Clarify when stopOffload() return values can be safely ignored.
Test: as follows
- 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
still doesn't pass but it's better than before :)
Bug: 65270149
Change-Id: I27a574bd2110e3a1626de343f6b57b9efb8cdf83
2017-09-29 18:09:14 +09:00
Steven Moreland
9fdd241905
Merge "Fix typo in update makefiles." am: 9960148420
am: f07e364ce3
...
am: 71a193a425
Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
2017-09-26 23:58:51 +00:00
Steven Moreland
f07e364ce3
Merge "Fix typo in update makefiles."
...
am: 9960148420
Change-Id: I949634e72f817f3a5411130e968acd8efd1d7725
2017-09-26 23:51:07 +00:00
Steven Moreland
a5299ee739
Fix typo in update makefiles.
...
Bug: 37518178
Test: pass
Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
2017-09-26 21:59:43 +00:00
Steven Moreland
97228c0b7d
Update makefiles for hidl adapter. am: 26a0bb2762
am: 73949c1d7e
...
am: b94d0c7290
Change-Id: If766cffbcc003cc0cc5eb98969b924aa918fff44
2017-09-26 12:53:13 +00:00
Steven Moreland
73949c1d7e
Update makefiles for hidl adapter.
...
am: 26a0bb2762
Change-Id: I3a811f5cd49bd4e81e8fcd5c8e88922115812539
2017-09-25 23:14:44 +00:00
Steven Moreland
26a0bb2762
Update makefiles for hidl adapter.
...
Bug: 37518178
Test: manual
Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
2017-09-25 18:35:56 +00:00
Erik Kline
62e3e4bd1a
Tweaks to tetheroffload VTS: fixes and fd leaks
...
Specifically:
- always use hidl_handle::setTo(..., true) to force fd ownership
(and thereby cleanup in hidl_handle destructor)
- initialize config HAL multiple times to try to trigger fd leaking bugs
Test: as follows
- make vts -j30 BUILD_GOOGLE_VTS=true && \
vts-tradefed run commandAndExit vts \
--skip-all-system-status-check \
--primary-abi-only \
--skip-preconditions \
--module VtsHalTetherOffloadConfigV1_0Target -l INFO
I/ResultReporter: Invocation finished in 48s. PASSED: 4, FAILED: 0, MODULES: 1 of 1
- 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 INFO
Bug: 29337859
Bug: 32163131
Bug: 64976634
Bug: 65270149
Bug: 65529504
Change-Id: Ib47b35a01092bb2052d241f7bba951bbf7691b66
2017-09-25 19:43:37 +09:00
Tri Vo
7c8d0871a9
Merge "Tetheroffload tests static link to HAL def libs." into oc-mr1-dev
...
am: b417e4c605
Change-Id: I14bc1b678620e2fd1b7d217eb2bb1309ce1714eb
2017-08-14 22:26:09 +00:00
Steven Moreland
4f25c2a143
Revert "Revert "Updating all makefiles.""
...
Relanding without automotive/vehicle/2.0+2.1 changes.
This reverts commit 1020ebedfb
.
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: Icc49df42c2bedf443d878d5d8fbaa53441ea65db
2017-08-11 23:02:01 +00:00
Steven Moreland
ff308ea6ba
Updating all makefiles.
...
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
Change-Id: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
2017-08-11 22:58:47 +00:00
Steven Moreland
1020ebedfb
Revert "Updating all makefiles."
...
This reverts commit 8ac1971678
.
Reason for revert: Didn't remove automotive changes from this CL.
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: I1c660cffc8817ad0b33da9f6eceb3d88e7c48416
2017-08-11 22:56:56 +00:00
Tri Vo
04c2a19598
Tetheroffload tests static link to HAL def libs.
...
Bug: 64040096
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalTetherOffloadControlV1_0Target
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalTetherOffloadConfigV1_0Target
Change-Id: Ib771c07646f3e219c7b9ba4be5515552d7fd6348
2017-08-11 14:53:16 -07:00
Steven Moreland
8ac1971678
Updating all makefiles.
...
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
2017-08-10 22:40:04 +00:00
Steven Moreland
65de66a67e
Update makefiles for vndk enabled. am: 5e59402492
am: 271d53d836
...
am: 148ca84740
Change-Id: I5ef3611026b9c770bf713c14b9e01899a796e61c
2017-08-09 20:36:43 +00:00
Erik Kline
0999d3b76c
Merge "Fix typo in in offload control VTS test" into oc-dr1-dev am: 5d77efddbd
...
am: 529ac5e0dc
Change-Id: Ia8bdbb971696764cac068639ca12248f5f5bde25
2017-08-09 02:11:04 +00:00
Erik Kline
529ac5e0dc
Merge "Fix typo in in offload control VTS test" into oc-dr1-dev
...
am: 5d77efddbd
Change-Id: I1979717e6903576b3a4a2dbe60eaf1cdb9c2931d
2017-08-09 02:05:34 +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
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
Steven Moreland
5e59402492
Update makefiles for vndk enabled.
...
Test: none
Bug: 63866913
Merged-In: I29174fdadca2828455ef49f14e53bc95c5238dbb
Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb
(cherry picked from commit c716b8c307
)
2017-08-08 17:09:10 +09:00
Erik Kline
4f6b7ca84f
Merge "Refactor and expand tetheroffload Control and Config VTS" into oc-dr1-dev am: 6d5cf73b75
...
am: 75f78be32d
Change-Id: Ic8fb5dc095c42eb727f584cc31aaa945f495a01d
2017-08-08 04:07:18 +00:00
Tyler Wear
35354226fc
Merge "Tetheroffload Control and Config VTS" into oc-dr1-dev am: a11e731b6e
...
am: c8466b3911
Change-Id: I83ac5baeeb584fed19fcba93ec3d676c163ef13a
2017-08-08 04:07:04 +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
Erik Kline
6816c11e82
Merge "Refactor and expand tetheroffload Control and Config VTS" into oc-dr1-dev
...
am: 6d5cf73b75
Change-Id: Ib52f5a2753655739bdbdbf7b10d3b15c57f31b77
2017-08-08 04:04:47 +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
Tyler Wear
6d429a8e6d
Merge "Tetheroffload Control and Config VTS" into oc-dr1-dev
...
am: a11e731b6e
Change-Id: I4762dcac3ea365fe3d578929f6024381b271bc19
2017-08-08 04:04:34 +00: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 Moreland
a7a300a13b
Merge "Update makefiles for vndk enabled." into oc-mr1-dev
...
am: d9b12c13e5
Change-Id: Id70e58e6b4d20dada4aab107b2aa98c58cf167ca
2017-08-04 01:04:40 +00:00
TreeHugger Robot
d9b12c13e5
Merge "Update makefiles for vndk enabled." into oc-mr1-dev
2017-08-04 00:52:06 +00:00
Steven Moreland
b5da32c177
Update makefiles.
...
Removes redundant "java-static" target.
Note, targets aren't removed here which have internal
targets that depend on them.
Bug: 36376126
Test: pass
Change-Id: I830f02e5f219d2d58721132c358d2783c3942eac
2017-08-03 15:25:21 -07:00
Steven Moreland
c716b8c307
Update makefiles for vndk enabled.
...
Test: none
Bug: 63866913
Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb
2017-08-02 18:00:14 -07:00
Steven Moreland
208a586cf8
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 7206708528
)
2017-08-02 12:52:41 -07:00
Sundong Ahn
94293086f8
Change dependency library
...
hwbinder.jar will be used instead of framework.jar on build-time, but
on runtime framework.jar will be used.
This is to cut the circular dependency when using configstore from
Android framework.
Bug: 35771640
Test: no test.
Change-Id: I04cab676c91d2ea423f5e2c1b2b9efa15e522f37
2017-08-01 11:24:01 +09:00
Steven Moreland
7206708528
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
Change-Id: I1b2401fb273ab80819e3870aa71fe742269674ba
2017-07-26 10:14:57 -07:00
Steven Moreland
06c85d986a
Update makefiles.
...
Adds default configuration to all hals.
Test: pass
Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
2017-05-18 16:14:16 -07:00
Steven Moreland
cb360c60d8
Update makefiles for c++-sources and c++-headers.
...
Test: pass
Bug: 38174080
Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601
2017-05-09 14:34:19 -07:00
Steven Moreland
85e4c2679f
Remove redundant dependencies.
...
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.
Test: links
Bug: 33276472
Change-Id: I56655b0214ba147398f9234eb004fba0aceb7e40
Merged-In: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
2017-05-02 15:23:57 -07:00
Niranjan Pendharkar
257430b783
Tether Offload HAL
...
Adds new interfaces to perform hardware optimized tethering offload.
Test: as follows
- built (bullhead)
- flashed
- booted
- "runtest frameworks-net" passes
Bug:34361337
Change-Id: I1ed756306e1efe98bd2703df9c9846a50a87ffcd
2017-04-27 13:43:41 -07:00