Searched refs:cen_ad (Results 1 – 10 of 10) sorted by relevance
/tools/test/connectivity/acts_tests/tests/google/ble/gatt/ |
D | GattConnectTest.py | 63 self.cen_ad = self.android_devices[0] 80 self.cen_ad.droid.gattClientClose(bluetooth_gatt) 90 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt, 92 close_gatt_client(self.cen_ad, bluetooth_gatt) 119 mtu_event = self.cen_ad.ed.pop_event(expected_event, 180 orchestrate_gatt_connection(self.cen_ad, self.per_ad)) 224 orchestrate_gatt_connection(self.cen_ad, self.per_ad)) 231 event = self.cen_ad.ed.pop_event( 281 get_mac_address_of_generic_advertisement(self.cen_ad, self.per_ad)) 285 self.cen_ad, mac_address, autoconnect) [all …]
|
D | GattToolTest.py | 55 self.cen_ad = self.android_devices[0] 75 self.cen_ad.droid.bluetoothDiscoverAndBond(self.ble_mac_address) 79 bonded_devices = self.cen_ad.droid.bluetoothGetBondedDevices() 86 self.cen_ad.droid.bleSetScanFilterDeviceAddress(self.ble_mac_address) 87 self.cen_ad.droid.bleSetScanSettingsScanMode( 90 self.cen_ad.droid) 91 self.cen_ad.droid.bleBuildScanFilter(filter_list) 93 self.cen_ad.droid.bleStartBleScan(filter_list, scan_settings, 98 self.cen_ad.ed.pop_event(expected_event_name, self.DEFAULT_TIMEOUT) 105 self.cen_ad.droid.bleStopBleScan(scan_callback) [all …]
|
D | GattWriteTest.py | 58 self.cen_ad.droid.gattClientCharacteristicSetValue( 62 self.cen_ad.droid.gattClientCharacteristicSetWriteType( 67 self.cen_ad.droid.gattClientWriteCharacteristic( 116 self.cen_ad.droid.gattClientDescriptorSetValue( 121 self.cen_ad.droid.gattClientWriteDescriptor( 171 self.cen_ad.droid.gattClientCharacteristicSetValue( 175 self.cen_ad.droid.gattClientCharacteristicSetWriteType( 180 self.cen_ad.droid.gattClientWriteCharacteristic( 225 self.cen_ad.droid.gattClientCharacteristicSetValue( 229 self.cen_ad.droid.gattClientCharacteristicSetWriteType( [all …]
|
D | GattNotifyTest.py | 57 self.cen_ad.droid.gattClientDescriptorSetValue( 63 self.cen_ad.droid.gattClientWriteDescriptor( 69 self.cen_ad.droid.gattClientSetCharacteristicNotification(
|
D | GattReadTest.py | 56 self.cen_ad.droid.gattClientReadCharacteristic( 118 self.cen_ad.droid.gattClientReadCharacteristic( 176 self.cen_ad.droid.gattClientReadUsingCharacteristicUuid(
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bt_gatt_utils.py | 40 def setup_gatt_connection(cen_ad, argument 45 gatt_callback = cen_ad.droid.gattCreateGattCallback() 47 bluetooth_gatt = cen_ad.droid.gattClientConnectGatt( 52 event = cen_ad.ed.pop_event(expected_event, default_timeout) 54 close_gatt_client(cen_ad, bluetooth_gatt) 59 close_gatt_client(cen_ad, bluetooth_gatt) 61 cen_ad.droid.gattClientClose(bluetooth_gatt) 70 def close_gatt_client(cen_ad, bluetooth_gatt): argument 72 cen_ad.droid.gattClientClose(bluetooth_gatt) 77 def disconnect_gatt_connection(cen_ad, bluetooth_gatt, gatt_callback): argument [all …]
|
D | GattConnectedBaseTest.py | 50 self.cen_ad = self.android_devices[0] 62 orchestrate_gatt_connection(self.cen_ad, self.per_ad)) 67 if self.cen_ad.droid.gattClientDiscoverServices(self.bluetooth_gatt): 70 services_count = self.cen_ad.droid.gattClientGetDiscoveredServicesCount( 75 self.cen_ad.droid.gattClientGetDiscoveredServiceUuid( 110 return self._timed_pop(gatt_event, self.cen_ad, self.gatt_callback) 161 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt, 166 self.cen_ad.droid.gattClientClose(bluetooth_gatt)
|
/tools/test/connectivity/acts_tests/tests/google/bt/gatt/ |
D | GattOverBrEdrTest.py | 52 self.cen_ad = self.android_devices[0] 69 self.cen_ad.droid.gattClientClose(bluetooth_gatt) 81 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt, 133 orchestrate_gatt_connection(self.cen_ad, self.per_ad, 177 orchestrate_gatt_connection(self.cen_ad, self.per_ad, 184 if self.cen_ad.droid.gattClientReadRSSI(bluetooth_gatt): 185 self.cen_ad.ed.pop_event( 225 orchestrate_gatt_connection(self.cen_ad, self.per_ad, 233 if self.cen_ad.droid.gattClientDiscoverServices(bluetooth_gatt): 234 event = self.cen_ad.ed.pop_event( [all …]
|
/tools/test/connectivity/acts_tests/tests/google/ble/bt5/ |
D | PhyTest.py | 44 if not self.cen_ad.droid.bluetoothIsLe2MPhySupported(): 60 self.cen_ad.ed.pop_event(maybe_event, 0) 93 self.cen_ad.droid.gattClientReadPhy(self.bluetooth_gatt) 129 self.cen_ad.droid.gattClientRequestConnectionPriority( 146 self.cen_ad.droid.gattClientSetPreferredPhy(self.bluetooth_gatt, 183 self.cen_ad.droid.gattClientRequestConnectionPriority( 199 self.cen_ad.droid.gattClientSetPreferredPhy(self.bluetooth_gatt, 228 self.cen_ad.droid.gattClientRequestConnectionPriority( 238 self.cen_ad.droid.gattClientSetPreferredPhy(self.bluetooth_gatt, 244 self.cen_ad.droid.gattClientSetPreferredPhy(self.bluetooth_gatt,
|
/tools/test/connectivity/acts_tests/tests/google/ble/system_tests/ |
D | GattLongevityTest.py | 62 self.cen_ad.droid.gattClientRequestConnectionPriority( 65 self.cen_ad.droid.gattClientCharacteristicSetWriteType( 76 self.cen_ad.droid.gattClientCharacteristicSetValue( 80 self.cen_ad.droid.gattClientWriteCharacteristic(
|