/packages/modules/Bluetooth/system/blueberry/utils/ |
D | android_bluetooth_decorator.py | 3 This decorator is used for giving an AndroidDevice Bluetooth-specific 82 class AndroidBluetoothDecorator(android_device.AndroidDevice): 83 """Decorates an AndroidDevice with Bluetooth-specific functionality.""" 85 def __init__(self, ad: android_device.AndroidDevice): argument 88 if not self._ad or not isinstance(self._ad, android_device.AndroidDevice): 89 raise TypeError('Must apply AndroidBluetoothDecorator to an ' 'AndroidDevice') 225 def connect_with_rfcomm(self, other_ad: android_device.AndroidDevice) -> bool: argument 248 other_ad: android_device.AndroidDevice, argument 290 """Waits for a device to be discovered by AndroidDevice. 318 """Waits for a device to pair with the AndroidDevice. [all …]
|
D | bt_gatt_utils.py | 35 from mobly.controllers.android_device import AndroidDevice 47 def setup_gatt_connection(central: AndroidDevice, argument 72 def wait_for_gatt_connection(central: AndroidDevice, gatt_callback, bluetooth_gatt, timeout): argument 90 def close_gatt_client(central: AndroidDevice, bluetooth_gatt): argument 97 def disconnect_gatt_connection(central: AndroidDevice, bluetooth_gatt, gatt_callback): argument 103 def wait_for_gatt_disconnect_event(central: AndroidDevice, gatt_callback): argument 117 def orchestrate_gatt_connection(central: AndroidDevice, argument 118 peripheral: AndroidDevice, argument 223 def setup_multiple_services(peripheral: AndroidDevice): argument 314 def setup_gatt_mtu(central: AndroidDevice, bluetooth_gatt, gatt_callback, mtu): argument [all …]
|
D | mobly_sl4a_utils.py | 20 from mobly.controllers.android_device import AndroidDevice 35 def setup_sl4a(device: AndroidDevice, server_port: int, forwarded_port: int): argument 38 :param device: an AndroidDevice instance 64 def teardown_sl4a(device: AndroidDevice): argument 67 :param device: an AndroidDevice instance that already contains SL4a
|
D | bt_test_utils.py | 25 from mobly.controllers.android_device import AndroidDevice 250 def clear_bonded_devices(ad: AndroidDevice): argument
|
/packages/modules/Bluetooth/system/blueberry/decorators/ |
D | android_bluetooth_client_decorator.py | 13 from mobly.controllers.android_device import AndroidDevice 17 """Utility to decorate an AndroidDevice. 20 ad: Device, must be of type AndroidDevice. 23 AndroidDevice object. 26 if not isinstance(ad, AndroidDevice): 28 'AndroidDevice')
|
D | android_bluetooth_client_test_decorator.py | 8 from mobly.controllers.android_device import AndroidDevice 11 class AndroidBluetoothClientTestDecorator(AndroidDevice): 16 if not isinstance(self._ad, AndroidDevice): 18 'AndroidDevice')
|
/packages/modules/Uwb/generic_ranging/tests/multidevices/test_utils/ |
D | uwb_test_utils.py | 30 ad: android_device.AndroidDevice, argument 69 def get_uwb_state(ad: android_device.AndroidDevice) -> bool: argument 86 ad: android_device.AndroidDevice, argument 122 def set_airplane_mode(ad: android_device.AndroidDevice, state: bool): argument 137 def get_airplane_mode(ad: android_device.AndroidDevice) -> bool: argument 150 def set_screen_rotation(ad: android_device.AndroidDevice, val: int): argument 162 ad: android_device.AndroidDevice, argument
|
/packages/modules/Virtualization/tests/hostside/helper/java/com/android/microdroid/test/host/ |
D | MicrodroidHostTestCaseBase.java | 88 public static void prepareVirtualizationTestSetup(ITestDevice androidDevice) in prepareVirtualizationTestSetup() argument 90 CommandRunner android = new CommandRunner(androidDevice); in prepareVirtualizationTestSetup() 104 public static void cleanUpVirtualizationTestSetup(ITestDevice androidDevice) in cleanUpVirtualizationTestSetup() argument 106 CommandRunner android = new CommandRunner(androidDevice); in cleanUpVirtualizationTestSetup() 134 public static void assumeDeviceIsCapable(ITestDevice androidDevice) throws Exception { in assumeDeviceIsCapable() argument 135 assumeTrue("Need an actual TestDevice", androidDevice instanceof TestDevice); in assumeDeviceIsCapable() 136 TestDevice testDevice = (TestDevice) androidDevice; in assumeDeviceIsCapable() 142 CommandRunner android = new CommandRunner(androidDevice); in assumeDeviceIsCapable() 143 long vendorApiLevel = androidDevice.getIntProperty("ro.board.api_level", 0); in assumeDeviceIsCapable()
|
/packages/modules/Bluetooth/system/blueberry/tests/pan/ |
D | bluetooth_pan_test.py | 79 device: AndroidDevice, A device is used to check this connection. 111 initiator_device: AndroidDevice, A device intiating connection. 141 initiator_device: AndroidDevice, A device intiating disconnection. 167 nap_device: AndroidDevice, A device sharing internet connection via 169 panu_device: AndroidDevice, A device gaining internet access via 241 device: AndroidDevice, Device to be check internet state.
|
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/direct/ |
D | wifi_direct_test.py | 48 ad: android_device.AndroidDevice, argument 68 ads: Sequence[android_device.AndroidDevice] 70 def _setup_device(self, ad: android_device.AndroidDevice) -> None: argument
|
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/UwbManagerTests/ |
D | uwb_manager_test.py | 56 dut: android_device.AndroidDevice, argument 78 dut: android_device.AndroidDevice, argument
|
/packages/services/DeviceAsWebcam/tests/ |
D | config.yml | 5 AndroidDevice:
|
/packages/modules/Bluetooth/system/blueberry/ |
D | sample_testbed.yaml | 4 AndroidDevice:
|
/packages/modules/Bluetooth/android/pandora/test/ |
D | config.yml | 6 AndroidDevice: '*'
|
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/ |
D | sl4a_sl4a_device_config.yaml | 5 AndroidDevice:
|
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/gatt/ |
D | gatt_connect_low_layer_test.py | 39 from mobly.controllers.android_device import AndroidDevice 128 def _disconnect_gatt(self, device: AndroidDevice, bluetooth_gatt, gatt_callback): argument 139 def _wait_for_gatt_connection(self, device: AndroidDevice, gatt_callback, bluetooth_gatt): argument 146 def _wait_for_gatt_disconnection(self, device: AndroidDevice, gatt_callback): argument
|
/packages/modules/Uwb/generic_ranging/tests/multidevices/lib/ |
D | generic_ranging_decorator.py | 14 def __init__(self, ad: android_device.AndroidDevice): argument
|
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/ |
D | gd_sl4a_device_config.yaml | 25 AndroidDevice:
|
/packages/modules/Bluetooth/system/blueberry/utils/ui_pages/fitbit_companion/ |
D | context.py | 19 def __init__(self, ad: android_device.AndroidDevice, argument
|
D | __init__.py | 13 def get_context(ad: android_device.AndroidDevice, argument
|
/packages/modules/Virtualization/authfs/tests/common/src/java/com/android/fs/common/ |
D | AuthFsTestRule.java | 100 TestDevice androidDevice = getDevice(); in setUpAndroid() local 101 sAndroid = new CommandRunner(androidDevice); in setUpAndroid()
|
/packages/modules/Bluetooth/system/blueberry/controllers/ |
D | android_bt_target_device.py | 71 self._ad = android_device.AndroidDevice(self.serial) 135 def add_pri_ad_device(self, pri_ad: android_device.AndroidDevice) -> None: argument 156 def add_sec_ad_device(self, sec_ad: android_device.AndroidDevice) -> None: argument
|
D | derived_bt_device.py | 117 """Activates pairing mode on an AndroidDevice."""
|
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/lib/ |
D | uwb_base_test.py | 68 if record.controller_name == "AndroidDevice" and record.controller_info:
|
/packages/modules/Bluetooth/system/blueberry/tests/pbap/ |
D | bluetooth_pbap_test.py | 181 device: AndroidDevice, Mobly Android controller class. 216 device: AndroidDevice, Mobly Android controller class.
|