summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Generate serial number randomly in VTS unit test"android-o-preview-3Treehugger Robot2017-05-3120-2825/+2753
|\
| * Generate serial number randomly in VTS unit testsqian2017-05-3120-2825/+2753
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Any fixed integer can be returned by vendor's APIs response. Ideally it should be a random value for testing a vendor library. Applying this to all the unit tests serial number. Cherry-pick from: https://googleplex-android-review.git.corp.google.com/#/c/2330821/ Bug: 38499889 Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest Change-Id: I491db829cca607fad9f6a21987de92269d115253 Merged-In: I491db829cca607fad9f6a21987de92269d115253
* | Remove versioning tests interfaces.Steven Moreland2017-05-2616-852/+0
| | | | | | | | | | | | | | | | | | | | | | These are moved to system/tools/hidl/test in a form that can have build time tests added and which don't affect checkbuild time by adding various Java targets. Test: none Bug: 38242758 Change-Id: I747619389e667f5660cdc0bf2cccd9df6bbb8eb4
* | Merge "libhwbinder test: Android.mk -> Android.bp"Treehugger Robot2017-05-253-13/+16
|\ \
| * | libhwbinder test: Android.mk -> Android.bpSteven Moreland2017-05-243-13/+16
| |/ | | | | | | | | | | Test: links Change-Id: Iaaa27cb0f398ee4b9a273916454f3110ddee0e3b
* | Merge "configstore-utils: add feature to cache service handles"Treehugger Robot2017-05-241-1/+11
|\ \
| * | configstore-utils: add feature to cache service handlesJaesoo Lee2017-05-231-1/+11
| |/ | | | | | | | | | | | | | | | | | | | | Previously, the service handle for the configstore needs to be retrieved for every calls. This change reduces the time for retrieving multiple configstore items from a same client by caching the service handle per a configstore interface class. Bug: 38411900 Test: built and tested on sailfish. Change-Id: Iaff81e9f2b026aee0bd3865f5d5ed3fb7b6056e0
* / Fixed flaky RenderScript VTS TestMichael Butler2017-05-221-0/+1
|/ | | | | | | | Added missing synchronization before context destroy Bug: 38385848 Test: make vts, does not fail with multiple tests Change-Id: Ib0d038969e9a1d6f5ea555ccb60fed55b69e05dc
* Merge "Update makefiles."Treehugger Robot2017-05-1928-78/+154
|\
| * Update makefiles.Steven Moreland2017-05-1828-78/+154
| | | | | | | | | | | | | | Adds default configuration to all hals. Test: pass Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
* | Merge "[WIFI] Remove dependency on vendor-specific library"Etan Cohen2017-05-191-2/+1
|\ \ | |/ |/|
| * [WIFI] Remove dependency on vendor-specific libraryEtan Cohen2017-05-091-2/+1
| | | | | | | | | | | | | | | | | | | | | | The libcld80211 is vendor-specific. Remove from dependecy list. (cherry-pick of commit aa281aa266d6c8701c2ecbf3f49f505a2ecddae3) Bug: 37901207 Test: builds and runs Merged-In: If251002c2dd7a0e30ca18620edd905a63217f28a Change-Id: If251002c2dd7a0e30ca18620edd905a63217f28a
* | Add the new RIL requests to start/stop network scanyinxu2017-05-165-3/+534
| | | | | | | | | | | | | | | | | | | | | | The CL defines the RIL API including the methods and structs which will be used start and stop the network scan. Test: Telephony Sanity Test Bug: 30954762 Change-Id: I18462bf4aa5e8a9497d5eb214d905e4e7c827a04 (cherry picked from commit b187e9f95e52f4a10a656a56c8a1a3a8722bb029)
* | Merge "Support different SIM power states"Grace Chen2017-05-164-0/+69
|\ \
| * | Support different SIM power statesGrace Chen2017-05-164-0/+69
| | | | | | | | | | | | | | | | | | | | | Test: Verify SIM power states Bug: 35844036 Merged-In: I769f7eada97286680cb516c63d28da11bb69db4d Change-Id: I769f7eada97286680cb516c63d28da11bb69db4d
* | | Add HIDL_FETCH_IScheduleTest declarationHoward Chen2017-05-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the bug that makes the registerAsServer fail. sp<IScheduleTest> server = IScheduleTest::getService(serviceName, true); status_t status = server->registerAsService(serviceName); Bug:38099333 Test: oc-dev on pixel sailfish with a vts test case "libhwbinder_latency -i 1" Change-Id: I892835a25ef7df56a6424da41c0fc477b3a532d8
* | | Add IScheduleTest for VTS libhwbinder scheduler testHoward Chen2017-05-167-5/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add IScheduleTest.hal: send(cfg, callerSta) cfg: 1 for verbose output caller_status: (caller_rt_priority <<16 )| caller_cpu with the return value defined as: ((1 if no priority inheritance)<<16) | (1 if no cpu sync) The implementation is in ScheduleTest.cpp Bug:36705188 Test: sailfish/prebuilt kernel/oc-dev with the libhwbinder_latency vts test case Merged-In: Ie2a837c8d0d4fa95c6fd0ebd50e76412cb808df8 Change-Id: Ic0498bc2b036cedced906963bb8e489dcca47a1a
* | | NFC: vts: Add commands to reset the NFC controller before other commandsRuchi Kandoi2017-05-151-62/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bandwidth and WriteInvalidAndThenValidCommand test assumes that the NFC controller will be initialized before the test. This is not necessarily true for all devices. Send CORE_RESET_CMD and CORE_INIT_CMD before creating a loop-back connection. CORE_RESET_RSP doesn't necessary return the configuration that was sent in CORE_RESET_CMD. For instance, if CORE_RESET_CMD requested keeping the configuration, and if the controller doesn't support that, the configuration will be resetted and CORE_RESET_RSP will reflect that. Bug: 38267593 Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalNfcV1_0Target -l INFO Change-Id: I65ae9746054ca767b928bdd461faa02f03719aea Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
* | | Merge "Update makefiles from anywhere."Steven Moreland2017-05-121-1/+1
|\ \ \
| * | | Update makefiles from anywhere.Steven Moreland2017-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | Test: with update-all-google-makefiles.sh Change-Id: I373e270b481d9074f440c3c0826199a207e654f7
* | | | Merge "Bluetooth: Add a second thread for the scheduler"Treehugger Robot2017-05-121-1/+4
|\ \ \ \
| * | | | Bluetooth: Add a second thread for the schedulerMyles Watson2017-05-111-1/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Test: service call bluetooth_manager 6 # (Stop Bluetooth) /data/nativetest64/VtsHalBluetoothV1_0TargetTest/\ VtsHalBluetoothV1_0TargetTest Bug: 38178265, 34461621 Change-Id: Ia8f6683ca47c9deac43d1047846caee5688f1eca
* / | | configstore: include types.h instead of ISurfaceFlingerConfigs.hJaesoo Lee2017-05-101-2/+9
|/ / / | | | | | | | | | | | | | | | | | | | | | Utils.h does not need to include ISurfaceFlingerConfigs.h. Bug: 37727469 Test: successfully built sailfish-userdebug Change-Id: I6650020bfc3b265d871ca3244b8900c336f98419
* / / Actually fix build breakage with cleanspec.Steven Moreland2017-05-101-0/+1
|/ / | | | | | | | | | | | | OUT_DIR instead of OUT Test: manual Change-Id: I2e48c6f2f39ff2318517ff55cbfa6ca912c05021
* | Add CleanSpec to hardware/interfaces.Steven Moreland2017-05-101-0/+1
| | | | | | | | | | | | | | | | Fixes build breakage from interface changing after -Lc++-sources and -Lc++-headers was added to hidl-gen. Test: wip Change-Id: I9ee0a0e7b72f8f2a3253d205943a696c07129a64
* | Update makefiles for c++-sources and c++-headers.Steven Moreland2017-05-0927-54/+54
|/ | | | | | Test: pass Bug: 38174080 Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601
* Remove unused lambda capturesYi Kong2017-05-051-6/+6
| | | | | | Test: build Bug: 37752547 Change-Id: I339baf849c7aef97dd319377026564dedd0cc568
* Merge "Remove redundant dependencies."android-wear-o-preview-4android-wear-o-preview-3android-o-preview-2Treehugger Robot2017-05-033-6/+0
|\
| * Remove redundant dependencies.Steven Moreland2017-05-023-6/+0
| | | | | | | | | | | | | | | | | | 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
* | .clang-format: 100 linesSteven Moreland2017-05-021-5/+1
|/ | | | | | | | | This allows us to be more like the system/core clang format and also prevents problems because a lot of hardware/interfaces code is checked in with 100 lines of code. Test: pass Change-Id: I62aeba9deb33ad6ce3d62fada3e0c04139ca3588
* Merge "Remove redundant dependencies"Treehugger Robot2017-05-0128-52/+0
|\
| * Remove redundant dependenciesSteven Moreland2017-05-0128-52/+0
| | | | | | | | | | | | | | | | android.hidl.base@1.0 and android.hidlmanager@1.0 are built into libhidltransport. Test: links Bug: 33276472 Change-Id: I424371932af129bba9d58dcf8652c64297f35f05
* | nfc: Android.mk -> Android.bpSteven Moreland2017-04-282-25/+21
| | | | | | | | | | Test: links Change-Id: Ia19dafb3ff6bf5772d72133bb2e1687226e0d44f
* | Merge "Tether Offload HAL"Treehugger Robot2017-04-288-0/+777
|\ \
| * | Tether Offload HALNiranjan Pendharkar2017-04-278-0/+777
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "configstore-utils: vendor_available"Treehugger Robot2017-04-271-0/+1
|\ \ \
| * | | configstore-utils: vendor_availableSteven Moreland2017-04-271-0/+1
| | |/ | |/| | | | | | | | | | Test: with BOARD_VNDK_VERSION := current Change-Id: I4fe86224d18bc7e7579c13f9273bc4efa25df1ea
* | | Merge "Update .hal file for fixing vts tests"Shuo Qian2017-04-271-5/+140
|\ \ \
| * | | Update .hal file for fixing vts testssqian2017-04-271-5/+140
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - update 'voice' and 'sms' based on QC pdf file - remove GENERIC_FAILURE still there - fix duplicate error code Test: Manual Bug: 35671595 (cherry picked from commit 159ec7fbf5e7e1cfd1e76e88c71a72873dc5d8f4) Merged-In: I83831c222cb0d157d0aa06e48cf0a177ab0ecf31 Change-Id: I83831c222cb0d157d0aa06e48cf0a177ab0ecf31
* | | Merge "Fix Vts errors"Shuo Qian2017-04-279-167/+254
|\ \ \
| * | | Fix Vts errorssqian2017-04-279-167/+254
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add REQUEST_NOT_SUPPORT into General Errors - Add a util function to check General Errors - Add a util function to check OEM Errors - Changes to RIL command api tests based on the QC provided pdf to see if the errors from vts-web can be fixed Test: Manual Bug: 35671595 (cherry picked from commit 01e7c6ee5fcb1b469cac4a1fc96fc8c7f053c435) Merged-In: I9500c686a75539dab37f0272349bc2f965cc0a8f Change-Id: I9500c686a75539dab37f0272349bc2f965cc0a8f
* | | Merge "stop bluetooth service while VTS test is running"Treehugger Robot2017-04-271-0/+9
|\ \ \ | |/ / |/| |
| * | stop bluetooth service while VTS test is runningKeun Soo Yim2017-04-261-0/+9
| | | | | | | | | | | | | | | | | | | | | Test: run VTS HAL BT test Bug: 37153328 Change-Id: I615d96daff496096122cd18158c205073f4623a6 (cherry picked from commit 1965f73bacbb1cd937f97149b29583edb65c2c99)
* | | Merge "RIL changes to allow the modem to query the framework for the key."Pankaj Kanwar2017-04-276-0/+356
|\ \ \ | |_|/ |/| |
| * | RIL changes to allow the modem to query the framework for the key.pkanwar2017-04-276-0/+356
| | | | | | | | | | | | | | | | | | | | | BUG: 35606429 Test: manual Change-Id: I7687d664c928de2325d50c3e9e7912f10aa37463 Merged-In: Ib1f5ee5f793f53901ad54bb6b6d4cb667dc720ab
* | | Change bootHAL to early_hal classWei Wang2017-04-241-1/+1
| |/ |/| | | | | | | | | | | | | | | Bug: 37579828 Bug: 37543411 Test: marlin boots with wipe data (cherry picked from commit 9a4388cf28d5f4804efa4fe0f6cc9485dea6839a) Merged-In: Ifa508570455289efd58350562fadea5676c3bc67 Change-Id: Ifa508570455289efd58350562fadea5676c3bc67
* | Merge "Fix test case for setSimCardPower radio api."Sanket Padawe2017-04-242-2/+2
|\ \ | |/ |/|
| * Fix test case for setSimCardPower radio api.Sanket Padawe2017-04-212-2/+2
| | | | | | | | | | | | | | Bug: 35800570 Test: vts Change-Id: I93e78c46971158cd14666931b527d8e268e0a39e Merged-in: I93e78c46971158cd14666931b527d8e268e0a39e
* | Remove dependency of libhardware_legacyHung-ying Tyan2017-04-192-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | It is not used by bluetooth and nfc services. Bug: 33241851 Bug: 37305530 Test: built and tested on sailfish (cherry picked from commit 593eeb7a4b0ea3af560dc4ada36237e786b0e039) Change-Id: I599073296baa5eee72a1fce8caa4eb8352f66218 Merged-In: I599073296baa5eee72a1fce8caa4eb8352f66218
* | Move bluetooth test to vendor.Steven Moreland2017-04-191-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The test is still built in data/nativetest64, but it must be marked as vendor since it depends on vendor modules. Also proprietary -> vendor. Test: build with BOARD_VNDK_VERSION := current Test: run test on internal marlin, passes Bug: 33241851 (cherry picked from commit 2cfae52a2e479c1dc91caa2b0ae365718bb8e6fc) Merged-In: I856838fe208a4cd038ea16d47f03f6278224b2ee Change-Id: I856838fe208a4cd038ea16d47f03f6278224b2ee