Home
last modified time | relevance | path

Searched refs:android_device (Results 1 – 25 of 25) sorted by relevance

/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/
Dota_runner_factory.py49 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 …]
Dota_runner.py29 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/
Dota_updater.py36 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/
Dacts_android_device_test.py25 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/
Dadb_sideload_ota_tool.py36 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)
Dupdate_device_ota_tool.py45 ota_runner.android_device.root_adb()
53 ota_runner.android_device.reboot(stop_at_lock_screen=True)
/tools/tradefederation/core/python-lib/tradefed_py/
Dbase_test.py17 import android_device
42 self.android_device = android_device.AndroidTestDevice(serial, stream)
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_tools/
Dadb_sideload_ota_tool_test.py19 from acts.controllers import android_device
31 android_device.AndroidDevice(
59 runner.android_device.adb.getprop = mock.Mock(side_effect=['a', 'b'])
Dupdate_device_ota_tool_test.py19 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/
Dbt_test_utils.py371 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/
Dmanage_sim.py25 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/
Dota_runner_test.py22 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)
Dota_runner_factory_test.py22 from acts.controllers import android_device
/tools/tradefederation/core/python-lib/helloWorld/
Dtest_hello_world.py48 res = self.android_device.executeShellCommand('id')
/tools/test/connectivity/acts/framework/acts/controllers/
Dnative_android_device.py17 from acts.controllers.android_device import AndroidDevice
Diperf_server.py22 from acts.controllers import android_device
315 self.adb_device = android_device.create(config["AndroidDevice"])
Dmonsoon.py37 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/
DBleExamplesTest.py22 from acts.controllers import android_device
/tools/test/connectivity/acts/
DREADME.md87 >>> from acts.controllers import android_device
88 >>> device_list = android_device.get_all_instances()
/tools/test/connectivity/acts/tests/google/tel/live/
DTelLivePreflightTest.py25 from acts.controllers.android_device import get_info
/tools/test/connectivity/acts/tests/google/ble/concurrency/
DConcurrentGattConnectTest.py120 for android_device, name in self.advertisement_names:
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
DWifiBaseTest.py30 from acts.controllers import android_device
/tools/test/connectivity/acts/tests/google/wifi/
DWifiNetworkSelectorTest.py24 from acts.controllers import android_device
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
DTelephonyBaseTest.py31 from acts.controllers.android_device import DEFAULT_QXDM_LOG_PATH
Dtel_test_utils.py32 from acts.controllers.android_device import DEFAULT_QXDM_LOG_PATH
33 from acts.controllers.android_device import SL4A_APK_NAME