/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | ble_lib.py | 43 def _verify_ble_adv_started(self, advertise_callback): argument 46 adv_succ.format(advertise_callback), 47 adv_fail.format(advertise_callback)) 53 if event[0]["name"] == adv_succ.format(advertise_callback): 68 advertise_callback, advertise_data, advertise_settings = ( 72 advertise_callback, advertise_data, advertise_settings, 76 advertise_callback, advertise_data, advertise_settings) 77 if self._verify_ble_adv_started(advertise_callback): 79 "Tracking Callback ID: {}".format(advertise_callback)) 80 self.advertisement_list.append(advertise_callback) [all …]
|
D | bt_test_utils.py | 400 advertise_callback = android_device.droid.bleGenBleAdvertiseCallback() 401 advertise_callback_list.append(advertise_callback) 403 android_device.droid.bleStartBleAdvertising(advertise_callback, 408 advertise_callback) + "|" + adv_fail.format( 409 advertise_callback) + ")" 413 if evt[0]["name"] == adv_succ.format(advertise_callback): 572 advertise_callback = droid.bleGenBleAdvertiseCallback() 575 return advertise_callback, advertise_data, advertise_settings 879 advertise_callback, advertise_data, advertise_settings = ( 881 adv_ad.droid.bleStartBleAdvertising(advertise_callback, advertise_data, [all …]
|
/tools/test/connectivity/acts/tests/google/ble/filtering/ |
D | UniqueFilteringTest.py | 118 advertise_callback, advertise_data, advertise_settings = ( 121 advertise_callback, advertise_data, advertise_settings) 141 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback) 177 advertise_callback, advertise_data, advertise_settings = ( 180 advertise_callback, advertise_data, advertise_settings) 201 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback) 232 advertise_callback, advertise_data, advertise_settings = ( 235 advertise_callback, advertise_data, advertise_settings) 254 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback) 291 advertise_callback, advertise_data, advertise_settings = ( [all …]
|
D | FilteringTest.py | 12029 advertise_callback, advertise_data, advertise_settings = ( 12056 advertise_callback, advertise_data, advertise_settings) 12058 advertise_callback) + "|" + adv_fail.format( 12059 advertise_callback) + ")" 12067 if event[0]["name"] == adv_succ.format(advertise_callback): 12098 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
|
/tools/test/connectivity/acts/tests/google/ble/concurrency/ |
D | ConcurrentBleAdvertisingTest.py | 415 advertise_callback, advertise_data, advertise_settings = ( 418 advertise_callback, advertise_data, advertise_settings) 421 adv_succ.format(advertise_callback), self.default_timeout) 431 advertise_callback, advertise_data, advertise_settings) 433 adv_succ.format(advertise_callback), self.default_timeout) 472 advertise_callback, advertise_data, advertise_settings = ( 475 advertise_callback, advertise_data, advertise_settings) 478 adv_succ.format(advertise_callback), self.default_timeout) 517 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback) 547 advertise_callback, advertise_data, advertise_settings = ( [all …]
|
D | ConcurrentBleScanningTest.py | 91 advertise_callback, advertise_data, advertise_settings = ( 95 advertise_callback, advertise_data, advertise_settings) 98 adv_succ.format(advertise_callback), self.default_timeout) 134 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback) 177 advertise_callback, advertise_data, advertise_settings = ( 192 advertise_callback, advertise_data, advertise_settings) 195 adv_succ.format(advertise_callback), self.default_timeout) 219 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback) 308 advertise_callback, advertise_data, advertise_settings = ( 323 advertise_callback, advertise_data, advertise_settings) [all …]
|
D | ConcurrentGattConnectTest.py | 101 advertise_callback = ad.droid.bleGenBleAdvertiseCallback() 102 ad.droid.bleStartBleAdvertising(advertise_callback, advertise_data, 104 self.advertise_callbacks.append((ad, advertise_callback))
|
/tools/test/connectivity/acts/tests/google/ble/scan/ |
D | BleScanScreenStateTest.py | 40 advertise_callback = -1 variable in BleScanScreenStateTest 57 self.advertise_callback, advertise_data, advertise_settings = ( 60 self.advertise_callback, advertise_data, advertise_settings) 62 self.adv_ad.ed.pop_event(adv_succ.format(self.advertise_callback)) 124 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback) 170 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback) 222 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback) 277 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback) 333 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback) 393 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback) [all …]
|
D | BleOnLostOnFoundTest.py | 67 advertise_callback = self.adv_ad.droid.bleGenBleAdvertiseCallback() 69 advertise_callback, advertise_data, advertise_settings) 71 adv_succ.format(advertise_callback), self.default_timeout) 72 self.active_adv_callback_list.append(advertise_callback) 73 return advertise_callback
|
/tools/test/connectivity/acts/tests/google/ble/system_tests/ |
D | BleStressTest.py | 167 advertise_callback, advertise_data, advertise_settings = generate_ble_advertise_objects( 170 advertise_callback, advertise_data, advertise_settings) 173 str(advertise_callback), "onSuccess"]) 190 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback) 220 advertise_callback, advertise_data, advertise_settings = generate_ble_advertise_objects( 223 advertise_callback, advertise_data, advertise_settings) 226 str(advertise_callback), "onSuccess"]) 247 advertise_callback, advertise_data, advertise_settings)
|
/tools/test/connectivity/acts/tests/google/fuchsia/bt/ |
D | BleFuchsiaAndroidTest.py | 56 advertise_callback = self.ad.droid.bleGenBleAdvertiseCallback() 57 self.ad.droid.bleStartBleAdvertising(advertise_callback, 60 self.ad.ed.pop_event(adv_succ.format(advertise_callback), 62 self.active_adv_callback_list.append(advertise_callback) 63 return advertise_callback
|
/tools/test/connectivity/acts/tests/google/ble/examples/ |
D | BleExamplesTest.py | 139 advertise_callback = self.adv_droid.bleGenBleAdvertiseCallback() 141 advertise_callback, advertise_data, advertise_settings) 142 self.adv_ed.pop_event(adv_succ.format(advertise_callback))
|
/tools/test/connectivity/acts/tests/google/ble/beacon_tests/ |
D | BeaconSwarmTest.py | 81 advertise_callback, advertise_data, advertise_settings = ( 83 d.bleStartBleAdvertising(advertise_callback, advertise_data, 87 adv_succ.format(advertise_callback),
|
/tools/test/connectivity/acts/tests/google/ble/gatt/ |
D | GattConnectTest.py | 1069 advertise_callback = self.per_ad.droid.bleGenBleAdvertiseCallback() 1073 advertise_callback, advertise_data, advertise_settings) 1108 self.per_ad.droid.bleStopBleAdvertising(advertise_callback) 1110 advertise_callback, advertise_data, advertise_settings) 1181 self.per_ad.droid.bleStopBleAdvertising(advertise_callback)
|