Home
last modified time | relevance | path

Searched refs:callbackType (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/tethering/src/android/tethering/cts/
DTetheringManagerTest.java377 public final CallbackType callbackType; field in TetheringManagerTest.TestTetheringEventCallback.CallbackValue
382 this.callbackType = type; in CallbackValue()
444 if (cv.callbackType != CallbackType.ON_TETHERABLE_IFACES) return false; in expectTetherableInterfacesChanged()
453 if (cv.callbackType != CallbackType.ON_TETHERED_IFACES) return false; in expectTetheredInterfacesChanged()
478 receivedBitMap |= (1 << cv.callbackType.ordinal()); in expectCallbackStarted()
484 if (cv.callbackType != CallbackType.ON_OFFLOAD_STATUS) return false; in expectOneOfOffloadStatusChanged()
495 if (cv.callbackType == CallbackType.ON_ERROR in expectErrorOrTethered()
499 if (cv.callbackType == CallbackType.ON_TETHERED_IFACES in expectErrorOrTethered()
510 return (cv.callbackType == CallbackType.ON_UPSTREAM) in getCurrentValidUpstream()
522 if (cv.callbackType != CallbackType.ON_SUPPORTED) return false; in assumeTetheringSupported()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java811 public final CallbackType callbackType; field in ConnectivityManagerTest.TestSocketKeepaliveCallback.CallbackValue
815 this.callbackType = type; in CallbackValue()
834 && this.callbackType == ((CallbackValue) o).callbackType in equals()
840 return String.format("%s(%s, %d)", getClass().getSimpleName(), callbackType, error); in toString()
1109 if (cv.callbackType == TestSocketKeepaliveCallback.CallbackType.ON_ERROR) { in createConcurrentKeepalivesOfType()
1124 if (cv.callbackType == TestSocketKeepaliveCallback.CallbackType.ON_STARTED) { in createConcurrentKeepalivesOfType()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DScanCallbackTest.java90 public void onScanResult(int callbackType, ScanResult result) { in onScanResult() argument
DBluetoothLeScanTest.java336 public void onScanResult(int callbackType, ScanResult result) { in onScanResult() argument
337 if (callbackType == ScanSettings.CALLBACK_TYPE_ALL_MATCHES) { in onScanResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleConnectionPriorityClientService.java297 public void onScanResult(int callbackType, ScanResult result) {
DBleEncryptedClientService.java538 public void onScanResult(int callbackType, final ScanResult result) {
DBleCocClientService.java469 public void onScanResult(int callbackType, ScanResult result) {
DBleClientService.java1228 public void onScanResult(int callbackType, ScanResult result) {
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsBgVsFgActions.java195 public void onScanResult(int callbackType, ScanResult result) { in performBleScan()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java129 public void onScanResult(int callbackType, ScanResult result) { in performBleScan()