/tools/test/connectivity/acts/framework/tests/ |
D | acts_android_device_test.py | 44 """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 …]
|
D | acts_test_runner_test.py | 91 '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/ |
D | ble_utils.py | 133 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/ |
D | modem_logs.py | 53 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/ |
D | events.py | 21 """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."""
|
D | android_api.py | 19 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 '
|
D | errors.py | 21 """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/ |
D | gnss_test_utils.py | 131 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 …]
|
D | dut_log_test_utils.py | 35 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
|
D | supl.py | 11 ad: AndroidDevice object 44 ad: AndroidDevice object 65 ad: AndroidDevice object
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | android_device.py | 47 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 …]
|
D | iperf_client.py | 26 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):
|
D | native_android_device.py | 17 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):
|
D | iperf_server.py | 29 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/ |
D | fugu_pairing_test.json | 11 "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/ |
D | sample_testbed_configs.json | 7 "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/ |
D | ota_runner_factory.py | 31 """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/ |
D | tel_wifi_utils.py | 140 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/ |
D | ui_utils.py | 69 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/ |
D | TelLiveProjectFiTest.py | 176 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/ |
D | TelLabProjectFiTest.py | 265 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/ |
D | sample_config_2.json | 6 "AndroidDevice": ["<serial>", "<serial>"] array 10 "AndroidDevice": [{"serial": "<serial>", "label": "caller"}, array
|
D | sample_config.json | 7 "AndroidDevice": ["<serial>", "<serial>"] array 12 "AndroidDevice": [{"serial": "<serial>", "label": "caller"}, array
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/loggers/ |
D | bluetooth_metric_logger.py | 83 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/ |
D | audio_test_utils.py | 40 is either "AndroidDevice" or "Local" 50 ValueError if audio_params['type'] is not "AndroidDevice" or 54 if audio_params['type'] == 'AndroidDevice':
|