Searched refs:adb (Results 1 – 25 of 41) sorted by relevance
12
32 self.dut.adb.root()35 extension = self.dut.adb.shell("getprop ro.boot." + prop, no_except = True)41 contents = self.dut.adb.shell("cat " + filename + extension, no_except = True)70 self.dut.adb.reboot()72 self.dut.adb.wait_for_device(timeout=900)73 except self.dut.adb.AdbError as e:80 self.dut.adb.root()87 self.dut.adb.shell("ls");94 result = self.dut.adb.shell("getprop sys.boot_completed")105 result = self.dut.adb.shell("getprop ro.product.first_api_level")[all …]
35 self.adb = ADB(serial_number)40 self.adb.Execute(["wait-for-device"], timeout=900)41 self.adb.Execute(["root"])74 self.adb.Execute(["reboot"])76 self.adb.Execute(["wait-for-device"], timeout=900)77 except self.adb.AdbError as e:84 self.adb.Execute(["root"])121 self.adb.Execute(["root"])153 self.adb.Execute(["root"])
146 if ! adb install -r $OUT/testcases/${APP}/${APK_DIR}/${APP}.apk; then147 adb uninstall com.android.nn.benchmark.app148 adb install -r $OUT/testcases/${APP}/${APK_DIR}/${APP}.apk153 adb push $OUT/system/bin/nn_stress_test /bin/159 BUILD_DESCRIPTION=`adb shell getprop ro.build.description`169 BUILD_VERSION_RELEASE=`adb shell getprop ro.build.version.release`178 …while ! adb shell "am start -W $TEST_EXTENRAL_STORAGE && rm /sdcard/mlts_write_external_storage" >…186 adb root187 adb shell "pm grant com.android.nn.benchmark.app android.permission.WRITE_EXTERNAL_STORAGE"189 if ! adb shell test -f /data/local.prop; then[all …]
110 adb ${DEVICE_ID_OPT:+"$DEVICE_ID_OPT"} logcat -v color112 adb ${DEVICE_ID_OPT:+"$DEVICE_ID_OPT"} logcat -v color | tee "$OUTPUT_FILE"
41 from vts.utils.python.controllers import adb181 out = adb.AdbProxy().devices()202 out = adb.AdbProxy().devices()408 self.adb = adb.AdbProxy(serial)413 self.host_callback_port = adb.get_available_host_port()415 self.adb.reverse_tcp_forward(self.device_callback_port,433 self.adb.forward("--remove tcp:%s" % self.host_command_port,434 timeout=adb.DEFAULT_ADB_SHORT_TIMEOUT)455 self.adb.reboot_bootloader()480 id_str = self.adb.shell("id -un").strip().decode("utf-8")[all …]
610 ad.adb.wait_for_device()614 ad.adb.shell("settings put global airplane_mode_on {}".format(632 ad.adb.shell("dumpsys battery unplug")633 ad.adb.shell("dumpsys deviceidle enable")634 if (ad.adb.shell("dumpsys deviceidle force-idle") !=639 adb_shell_result = ad.adb.shell("dumpsys deviceidle step")645 ad.adb.shell("dumpsys battery").decode('utf-8'),646 ad.adb.shell("dumpsys deviceidle").decode('utf-8')))662 ad.adb.shell("dumpsys deviceidle disable")663 ad.adb.shell("dumpsys battery reset")[all …]
25 from vts.utils.python.controllers import adb61 self._dut.adb.shell("mkdir %s -p" % config.FUZZER_TEST_DIR)65 self._dut.adb.shell("rm -rf %s" % config.FUZZER_TEST_DIR)75 self._dut.adb.push("%s %s" % (push_src, config.FUZZER_TEST_DIR))148 self._dut.adb.shell("mkdir %s -p" % corpus_dir)156 self._dut.adb.shell("\"%s\"" % cmd)174 self._dut.adb.shell(chmod_cmd)186 stdout = self._dut.adb.shell("'%s'" % fuzz_cmd)192 except adb.AdbError as e:213 output = self._dut.adb.shell(cmd)
25 from vts.utils.python.controllers.adb import AdbError106 serial = dut.adb.shell('getprop ro.serialno').strip()112 entries = dut.adb.shell(123 processes = dut.adb.shell('ps -p {0} -o comm='.format(139 dut.adb.shell(cmd.format(process_name))152 serial = dut.adb.shell('getprop ro.serialno').strip()157 dut.adb.shell(self._FLUSH_COMMAND.format(hal))286 serial = dut.adb.shell('getprop ro.serialno').strip()287 product = dut.adb.shell('getprop ro.build.product').strip()303 dut.adb.shell('find {0}/{1} -name \"*.sancov\"'.format([all …]
29 from vts.utils.python.controllers.adb import AdbError265 entries = dut.adb.shell(324 files = dut.adb.shell("find %s -name \"*.gcda\"" % path)346 dut.adb.pull("%s %s" % (gcda, file_name))623 serial = "default" if dut is None else dut.adb.shell(701 return dut.adb.shell(cmd)
25 self.adb = csuite_test_utils.Adb()36 self.adb.run(['logcat', '-c'])48 self.adb.run(['logcat', '-c'])63 self.adb.uninstall(test_app_package, check=False)91 self.assertNotIn(package_name, self.adb.list_packages())98 logcat_process = self.adb.run(['logcat', '-d', '-v', 'brief', '-s', tag])
27 from vts.utils.python.controllers import adb64 self._dut.adb.shell("rm -rf %s" % config.POC_TEST_DIR)68 self._dut.adb.shell("mkdir %s -p" % config.POC_TEST_DIR)75 self._dut.adb.push("%s %s" % (push_src, config.POC_TEST_DIR))88 out = self._dut.adb.shell("getprop ro.product.model")147 self._dut.adb.shell(chmod_cmd)156 stdout = self._dut.adb.shell(test_cmd)162 except adb.AdbError as e:
51 …if ! adb install -r $OUT/testcases/NeuralNetworksApiBenchmark/arm64/NeuralNetworksApiBenchmark.apk…52 adb uninstall com.android.nn.benchmark.app53 adb install -r $OUT/testcases/NeuralNetworksApiBenchmark/arm64/NeuralNetworksApiBenchmark.apk58 adb shell am start -n com.android.nn.benchmark.app/com.android.nn.benchmark.util.DumpIntermediateTe…67 adb pull /data/data/com.android.nn.benchmark.app/files/intermediate/ &&
8 from mobly.controllers.android_device_lib import adb17 bt_stack_conf = device.adb.shell(['cat', '/etc/bluetooth/bt_stack.conf'])18 except adb.AdbError:
78 self.adb = ADB(serial_number)92 self.adb.Execute(cmd, timeout)131 self.adb.Execute(["root"])134 self.adb.Execute(["wait-for-device"])
12 1. Ensure 'adb' is in your current PATH. adb can be found in the20 https://source.android.com/compatibility/cts/setup#adb24 4. Ensure device is visible via 'adb devices'
45 self.dut.adb.shell("mkdir -p %s" % self.FULL_DATA_DIR_PATH)47 self.dut.adb.shell("pm install -r -g /data/local/tmp/Loopback.apk")50 self.dut.adb.shell("rm -rf %s" % self.FULL_DATA_DIR_PATH)
10 Ensure 'adb' is in your current PATH. adb can be found in the16 And ensure that the device is visible via 'adb devices'
11 Ensure 'adb' is in your current PATH. adb can be found in the17 And ensure device is visible via 'adb devices'
10 Ensure 'adb' is in your current PATH. adb can be found in the16 And ensure device is visible via 'adb devices'
164 self.dut.adb.pull(contexts_path, self._temp_dir)188 self.dut.adb.pull(property_contexts_file, downloaded)261 self.dut.adb.pull(self._PRODUCT_PROPERTY_CONTEXTS_FILE_PATH,342 self.dut.adb.pull(self._SYSTEM_PROPERTY_CONTEXTS_FILE_PATH,
37 def __init__(self, client, adb): argument39 self._adb = adb
20 1. Ensure 'adb' is in your current PATH. adb can be found in the31 4. Ensure device is visible via 'adb devices'
70 * adb83 cables and make sure they show up as "device" in the output of `$ adb devices`
34 checkPath adb