Home
last modified time | relevance | path

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

/packages/modules/Virtualization/tests/hostside/helper/java/android/virt/test/
DVirtualizationTestCaseBase.java64 public static void prepareVirtualizationTestSetup(ITestDevice androidDevice) in prepareVirtualizationTestSetup() argument
66 CommandRunner android = new CommandRunner(androidDevice); in prepareVirtualizationTestSetup()
78 public static void cleanUpVirtualizationTestSetup(ITestDevice androidDevice) in cleanUpVirtualizationTestSetup() argument
80 CommandRunner android = new CommandRunner(androidDevice); in cleanUpVirtualizationTestSetup()
91 public static void testIfDeviceIsCapable(ITestDevice androidDevice) throws Exception { in testIfDeviceIsCapable() argument
92 assumeTrue("Need an actual TestDevice", androidDevice instanceof TestDevice); in testIfDeviceIsCapable()
93 TestDevice testDevice = (TestDevice) androidDevice; in testIfDeviceIsCapable()
223 ITestDevice androidDevice, in startMicrodroid() argument
233 return startMicrodroid(androidDevice, buildInfo, apkName, packageName, null, configPath, in startMicrodroid()
238 ITestDevice androidDevice, in startMicrodroid() argument
[all …]
/packages/modules/Bluetooth/system/blueberry/utils/
Dandroid_bluetooth_decorator.py3 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 …]
Dbt_gatt_utils.py35 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 …]
Dmobly_sl4a_utils.py20 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
Dbt_test_utils.py25 from mobly.controllers.android_device import AndroidDevice
245 def clear_bonded_devices(ad: AndroidDevice): argument
Dbt_audio_utils.py35 device: AndroidDevice, Mobly Android controller class.
/packages/modules/Bluetooth/system/blueberry/decorators/
Dandroid_bluetooth_client_decorator.py13 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')
Dandroid_bluetooth_client_test_decorator.py8 from mobly.controllers.android_device import AndroidDevice
11 class AndroidBluetoothClientTestDecorator(AndroidDevice):
16 if not isinstance(self._ad, AndroidDevice):
18 'AndroidDevice')
Dfitbit_app_decorator.py37 def __init__(self, ad: android_device.AndroidDevice): # pylint: disable=super-init-not-called argument
/packages/modules/Connectivity/nearby/tests/multidevices/host/test_helper/
Dfast_pair_base_test.py28 AndroidDevice = android_device.AndroidDevice variable
37 _duts: List[AndroidDevice]
61 def _check_devices_supported(self) -> Tuple[AndroidDevice, AndroidDevice]:
Dfast_pair_provider_simulator.py39 AndroidDevice = android_device.AndroidDevice variable
47 def __init__(self, ad: AndroidDevice) -> None: argument
Dfast_pair_seeker.py35 AndroidDevice = android_device.AndroidDevice variable
45 def __init__(self, ad: AndroidDevice) -> None: argument
/packages/modules/Bluetooth/system/blueberry/tests/pan/
Dbluetooth_pan_test.py79 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/Bluetooth/android/pandora/test/
Dconfig.yml6 AndroidDevice: '*'
/packages/modules/Bluetooth/system/blueberry/
Dsample_testbed.yaml4 AndroidDevice:
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/
Dsl4a_sl4a_device_config.yaml5 AndroidDevice:
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/gatt/
Dgatt_connect_low_layer_test.py39 from mobly.controllers.android_device import AndroidDevice
129 def _disconnect_gatt(self, device: AndroidDevice, bluetooth_gatt, gatt_callback): argument
140 def _wait_for_gatt_connection(self, device: AndroidDevice, gatt_callback, bluetooth_gatt): argument
147 def _wait_for_gatt_disconnection(self, device: AndroidDevice, gatt_callback): argument
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/
Dgd_sl4a_device_config.yaml25 AndroidDevice:
/packages/modules/Bluetooth/system/blueberry/utils/ui_pages/fitbit_companion/
Dcontext.py19 def __init__(self, ad: android_device.AndroidDevice, argument
D__init__.py13 def get_context(ad: android_device.AndroidDevice, argument
/packages/modules/Bluetooth/system/blueberry/controllers/
Dandroid_bt_target_device.py71 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
Dderived_bt_device.py117 """Activates pairing mode on an AndroidDevice."""
/packages/modules/Virtualization/authfs/tests/java/src/com/android/fs/
DAuthFsHostTest.java125 ITestDevice androidDevice = testInfo.getDevice(); in beforeClassWithDevice() local
126 sAndroid = new CommandRunner(androidDevice); in beforeClassWithDevice()
128 if (isCuttlefish(androidDevice)) { in beforeClassWithDevice()
134 testIfDeviceIsCapable(androidDevice); in beforeClassWithDevice()
154 .build((TestDevice) androidDevice); in beforeClassWithDevice()
/packages/modules/Bluetooth/system/blueberry/tests/pbap/
Dbluetooth_pbap_test.py181 device: AndroidDevice, Mobly Android controller class.
216 device: AndroidDevice, Mobly Android controller class.
/packages/modules/Bluetooth/system/blueberry/utils/ui_pages/
Dui_core.py64 ad: android_device.AndroidDevice, argument