/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/ |
D | ota_runner_factory.py | 49 def create_from_configs(config, android_device): argument 66 config, 'ota_tool', android_device) 91 android_device) 92 ota_sl4a = get_ota_value_from_config(config, 'ota_sl4a', android_device) 97 android_device.serial) 98 return create(ota_package, ota_sl4a, android_device, ota_tool_class_name, 104 android_device, argument 124 return create_from_package(ota_package, ota_sl4a, android_device, ota_tool, 130 android_device, argument 147 if android_device in _bound_devices and use_cached_runners: [all …]
|
D | ota_runner.py | 29 def __init__(self, ota_tool, android_device): argument 31 self.android_device = android_device 32 self.serial = self.android_device.serial 35 log = self.android_device.log 36 old_info = self.android_device.adb.getprop('ro.build.fingerprint') 39 self.android_device.stop_services() 43 self.android_device.wait_for_boot_completion() 44 new_info = self.android_device.adb.getprop('ro.build.fingerprint') 50 self.android_device.root_adb() 52 if self.android_device.skip_sl4a: [all …]
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ |
D | ota_updater.py | 36 def _check_initialization(android_device): argument 38 if android_device not in ota_runners: 41 'ota_updater.initialize()?' % android_device.serial) 44 def update(android_device, ignore_update_errors=False): argument 55 _check_initialization(android_device) 57 ota_runners[android_device].update() 61 android_device.log.error(e) 62 android_device.take_bug_report('ota_update', 67 def can_update(android_device): argument 69 _check_initialization(android_device) [all …]
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_android_device_test.py | 25 from acts.controllers import android_device 113 def bugreport(self, params, timeout=android_device.BUG_REPORT_TIMEOUT): 172 android_device, "get_all_instances", new=mock_get_all_instances) 174 android_device, "list_adb_devices", new=mock_list_adb_devices) 176 pick_all_token = android_device.ANDROID_DEVICE_PICK_ALL_TOKEN 177 actual_ads = android_device.create(pick_all_token) 182 expected_msg = android_device.ANDROID_DEVICE_EMPTY_CONFIG_MSG 183 with self.assertRaisesRegex(android_device.AndroidDeviceError, 185 android_device.create([]) 188 expected_msg = android_device.ANDROID_DEVICE_NOT_LIST_CONFIG_MSG [all …]
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/ |
D | adb_sideload_ota_tool.py | 36 ota_runner.android_device.root_adb() 38 ota_runner.android_device.adb.reboot('sideload') 39 ota_runner.android_device.adb.wait_for_sideload() 43 ota_runner.android_device.adb.sideload( 46 ota_runner.android_device.adb.wait_for_recovery() 47 ota_runner.android_device.reboot(stop_at_lock_screen=True)
|
D | update_device_ota_tool.py | 45 ota_runner.android_device.root_adb() 53 ota_runner.android_device.reboot(stop_at_lock_screen=True)
|
/tools/tradefederation/core/python-lib/tradefed_py/ |
D | base_test.py | 17 import android_device 42 self.android_device = android_device.AndroidTestDevice(serial, stream)
|
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_tools/ |
D | adb_sideload_ota_tool_test.py | 19 from acts.controllers import android_device 31 android_device.AndroidDevice( 59 runner.android_device.adb.getprop = mock.Mock(side_effect=['a', 'b'])
|
D | update_device_ota_tool_test.py | 19 from acts.controllers import android_device 30 android_device.AndroidDevice( 56 runner.return_value.android_device = device
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bt_test_utils.py | 371 def determine_max_advertisements(android_device): argument 381 android_device.log.info( 386 if not android_device.droid.bluetoothCheckState(): 387 android_device.droid.bluetoothToggleState(True) 389 android_device.ed.pop_event(expected_bluetooth_on_event_name, 392 android_device.log.info( 395 if android_device.droid.bluetoothCheckState() is True: 396 android_device.log.info(".. actual state is ON") 398 android_device.log.error( 404 advertise_data = android_device.droid.bleBuildAdvertiseData() [all …]
|
/tools/test/connectivity/acts/tests/google/tel/etc/ |
D | manage_sim.py | 25 import acts.controllers.android_device as android_device namespace 41 droid_list = android_device.get_all_instances()
|
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_runners/ |
D | ota_runner_test.py | 22 from acts.controllers import android_device 70 runner.android_device.adb.getprop = mock.Mock(side_effect=['a', 'b']) 82 runner.android_device.adb.getprop = mock.Mock(side_effect=['a', 'a']) 95 self.assertEqual(runner.android_device, device)
|
D | ota_runner_factory_test.py | 22 from acts.controllers import android_device
|
/tools/tradefederation/core/python-lib/helloWorld/ |
D | test_hello_world.py | 48 res = self.android_device.executeShellCommand('id')
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | native_android_device.py | 17 from acts.controllers.android_device import AndroidDevice
|
D | iperf_server.py | 22 from acts.controllers import android_device 315 self.adb_device = android_device.create(config["AndroidDevice"])
|
D | monsoon.py | 37 from acts.controllers import android_device 827 while ad.serial not in android_device.list_adb_devices():
|
/tools/test/connectivity/acts/tests/google/ble/examples/ |
D | BleExamplesTest.py | 22 from acts.controllers import android_device
|
/tools/test/connectivity/acts/ |
D | README.md | 87 >>> from acts.controllers import android_device 88 >>> device_list = android_device.get_all_instances()
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
D | TelLivePreflightTest.py | 25 from acts.controllers.android_device import get_info
|
/tools/test/connectivity/acts/tests/google/ble/concurrency/ |
D | ConcurrentGattConnectTest.py | 120 for android_device, name in self.advertisement_names:
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | WifiBaseTest.py | 30 from acts.controllers import android_device
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiNetworkSelectorTest.py | 24 from acts.controllers import android_device
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | TelephonyBaseTest.py | 31 from acts.controllers.android_device import DEFAULT_QXDM_LOG_PATH
|
D | tel_test_utils.py | 32 from acts.controllers.android_device import DEFAULT_QXDM_LOG_PATH 33 from acts.controllers.android_device import SL4A_APK_NAME
|