Home
last modified time | relevance | path

Searched full:androiddevice (Results 1 – 25 of 99) sorted by relevance

1234

/tools/test/connectivity/acts/framework/tests/
Dacts_android_device_test.py44 """Generates a list of mock AndroidDevice objects.
49 num: An integer that is the number of mock AndroidDevice objects to
54 ad = mock.MagicMock(name="AndroidDevice", serial=i, h_port=None)
118 logging.log_path, "AndroidDevice%s" % self.serial,
119 "AndroidDevice%s_%s.txt" %
172 # These tests use mock AndroidDevice instances.
227 """Makes sure when an AndroidDevice fails to start some services, all
228 AndroidDevice objects get cleaned up.
245 # Tests for android_device.AndroidDevice class.
256 """Verifies the AndroidDevice object's basic attributes are correctly
[all …]
Dacts_test_runner_test.py91 'acts.controllers.android_device.AndroidDevice.ensure_screen_on',
94 'acts.controllers.android_device.AndroidDevice.exit_setup_wizard',
96 @mock.patch('acts.controllers.android_device.AndroidDevice.start_services')
101 This requires using a built-in controller module. Using AndroidDevice
115 mock_test_config.controller_configs['AndroidDevice'] = [{
/tools/netsim/testing/mobly/
Dble_utils.py133 scanner: android_device.AndroidDevice, argument
134 advertiser: android_device.AndroidDevice, argument
146 scanner: AndroidDevice. The device that starts BLE scan to find target.
147 advertiser: AndroidDevice. The device that keeps advertising so other
222 scanner: android_device.AndroidDevice, scan_duration: int argument
234 scanner: AndroidDevice. The device that starts BLE scan to find advertisers.
293 scanner: android_device.AndroidDevice, argument
294 advertiser: android_device.AndroidDevice, argument
303 scanner: AndroidDevice. The device that starts BLE scan to find target.
304 advertiser: AndroidDevice. The device that keeps advertising so other
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/
Dmodem_logs.py53 dut: android_device.AndroidDevice, argument
60 dut: A mobly AndroidDevice controller object.
81 dut: android_device.AndroidDevice, argument
88 dut: A mobly AndroidDevice controller object.
108 def clear_modem_logging(dut: android_device.AndroidDevice) -> None: argument
112 dut: A mobly AndroidDevice controller object.
121 dut: android_device.AndroidDevice, argument
129 dut: An mobly AndroidDevice controller object.
148 def get_modem_log_profile(dut: android_device.AndroidDevice) -> str: argument
152 dut: An mobly AndroidDevice controller object.
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/android_lib/
Devents.py21 """The base class for AndroidDevice-related events."""
32 """The event posted when an AndroidDevice begins its services."""
36 """The event posted when an AndroidDevice ends its services."""
40 """The event posted when an AndroidDevice has rebooted."""
44 """The event posted when an AndroidDevice has disconnected."""
48 """The event posted when an AndroidDevice has disconnected."""
52 """The event posted when an AndroidDevice captures a bugreport."""
Dandroid_api.py19 from acts.controllers.android_device import AndroidDevice
41 Only gets called if the AndroidDevice in the args is within the specified
49 AndroidDevice is the same one chosen each time the function runs. Due
59 if isinstance(arg, AndroidDevice):
62 'An AndroidDevice was not found in the given '
Derrors.py21 """Raised when AndroidDevice configs are malformatted."""
25 """Raised when there is an error in AndroidDevice."""
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/gnss/
Dgnss_test_utils.py131 ad: An AndroidDevice object.
148 ad: An AndroidDevice object.
163 ad: An AndroidDevice object.
200 ad: An AndroidDevice object.
231 ad: An AndroidDevice object.
243 ad: An AndroidDevice object.
254 ad: An AndroidDevice object.
269 ad: An AndroidDevice object.
288 ad: An AndroidDevice object.
302 ad: An AndroidDevice object.
[all …]
Ddut_log_test_utils.py35 ad: the target android device, AndroidDevice object
59 ad: the target android device, AndroidDevice object
73 ad: the target android device, AndroidDevice object
89 ad: the target android device, AndroidDevice object
123 ad: the target android device, AndroidDevice object
168 ad: the target android device, AndroidDevice object
189 ad: the target android device, AndroidDevice object
Dsupl.py11 ad: AndroidDevice object
44 ad: AndroidDevice object
65 ad: AndroidDevice object
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py47 MOBLY_CONTROLLER_CONFIG_NAME = "AndroidDevice"
82 """Creates AndroidDevice controller objects.
89 A list of AndroidDevice objects.
122 """Cleans up AndroidDevice objects.
125 ads: A list of AndroidDevice objects.
135 """Get information on a list of AndroidDevice objects.
138 ads: A list of AndroidDevice objects.
141 A list of dict, each representing info for an AndroidDevice objects.
152 """Starts long running services on multiple AndroidDevice objects.
154 If any one AndroidDevice object fails to start services, cleans up all
[all …]
Diperf_client.py26 from acts.controllers.android_device import AndroidDevice
47 If configs contain ssh settings or and AndroidDevice, remote iperf clients
56 if type(c) is dict and 'AndroidDevice' in c:
58 IPerfClientOverAdb(c['AndroidDevice'],
263 android_device_or_serial: Either an AndroidDevice object, or the
264 serial that corresponds to the AndroidDevice. Note that the
265 serial must be present in an AndroidDevice entry in the ACTS
275 if isinstance(self._android_device_or_serial, AndroidDevice):
Dnative_android_device.py17 from acts.controllers.android_device import AndroidDevice
47 """Create AndroidDevice instances from a list of serials.
54 A list of AndroidDevice objects.
66 class NativeAndroidDevice(AndroidDevice):
Diperf_server.py29 from acts.controllers.android_device import AndroidDevice
51 will be created. If configs contains ssh settings or and AndroidDevice,
61 elif type(c) is dict and 'AndroidDevice' in c and 'port' in c:
62 results.append(IPerfServerOverAdb(c['AndroidDevice'], c['port']))
605 """A dict of serial -> AndroidDevice, where AndroidDevice is a device
628 android_device_or_serial: Either an AndroidDevice object, or the
629 serial that corresponds to the AndroidDevice. Note that the
630 serial must be present in an AndroidDevice entry in the ACTS
650 if isinstance(self._android_device_or_serial, AndroidDevice):
/tools/test/connectivity/acts_tests/tests/google/fugu/
Dfugu_pairing_test.json11 "AndroidDevice": ["7A18F48B"], array
17 "AndroidDevice": ["164FE498"], array
23 "AndroidDevice": ["B8B20856"], array
29 "AndroidDevice": ["121A69F0"], array
35 "AndroidDevice": ["BBDAC5ED"], array
/tools/test/connectivity/acts_tests/tests/google/tel/config/
Dsample_testbed_configs.json7 "AndroidDevice": [{"serial" : "<serial_1>", "adb_logcat_param": "-b all"}, array
13 "AndroidDevice": [{"serial" : "<serial_1>", "adb_logcat_param": "-b all"}, array
20 "AndroidDevice": [{"serial" : "<serial_1>", "adb_logcat_param": "-b all"}, array
36 "AndroidDevice": [ array
53 "AndroidDevice": [{"serial" : "<serial_1>", "adb_logcat_param": "-b all"}], array
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/
Dota_runner_factory.py31 """Creates a new OtaTool for each given AndroidDevice.
43 indexes match the indexes of the corresponding AndroidDevice in
50 """Creates a new OtaTool for the given AndroidDevice.
116 android_device: The AndroidDevice to run the OTA Update on.
140 android_device: The AndroidDevice to run the OTA Update on.
173 """Returns a key for the given AndroidDevice.
178 android_device: An AndroidDevice
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_wifi_utils.py140 ad: AndroidDevice object
164 ad: AndroidDevice object
183 ad: AndroidDevice object
198 ad: AndroidDevice object
217 ad: AndroidDevice object
238 ad: AndroidDevice object
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dui_utils.py69 device: AndroidDevice object.
155 device: AndroidDevice object.
202 device: AndroidDevice object.
220 device: AndroidDevice object.
239 device: AndroidDevice object.
262 device: AndroidDevice, Mobly's Android controller object.
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveProjectFiTest.py176 ad: (android_device.AndroidDevice) device to start activity on
193 ad: (android_device.AndroidDevice) device to start activity on
298 ad: An AndroidDevice Object.
322 ad: An AndroidDevice Object.
350 ad: An AndroidDevice Object.
389 Args: ad: An AndroidDevice Object.
401 Args: ad: An AndroidDevice Object.
414 ad: An AndroidDevice Object.
438 ad: An AndroidDevice Object.
/tools/test/connectivity/acts_tests/tests/google/tel/lab/
DTelLabProjectFiTest.py265 ad: (android_device.AndroidDevice) device to start activity on
282 ad: (android_device.AndroidDevice) device to start activity on
387 ad: An AndroidDevice Object.
411 ad: An AndroidDevice Object.
440 ad: An AndroidDevice Object.
487 Args: ad: An AndroidDevice Object.
500 Args: ad: An AndroidDevice Object.
513 ad: An AndroidDevice Object.
537 ad: An AndroidDevice Object.
/tools/test/connectivity/acts/framework/
Dsample_config_2.json6 "AndroidDevice": ["<serial>", "<serial>"] array
10 "AndroidDevice": [{"serial": "<serial>", "label": "caller"}, array
Dsample_config.json7 "AndroidDevice": ["<serial>", "<serial>"] array
12 "AndroidDevice": [{"serial": "<serial>", "label": "caller"}, array
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/loggers/
Dbluetooth_metric_logger.py83 if device.__class__.__name__ == 'AndroidDevice':
157 pri_device: The primary AndroidDevice object for the test.
158 conn_device: The connected AndroidDevice object for the test, if
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/coex/
Daudio_test_utils.py40 is either "AndroidDevice" or "Local"
50 ValueError if audio_params['type'] is not "AndroidDevice" or
54 if audio_params['type'] == 'AndroidDevice':

1234