/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanSettings.java | 204 private ScanSettings(int scanMode, int callbackType, int scanResultType, in ScanSettings() argument 208 mCallbackType = callbackType; in ScanSettings() 293 public Builder setCallbackType(int callbackType) { in setCallbackType() argument 295 if (!isValidCallbackType(callbackType)) { in setCallbackType() 296 throw new IllegalArgumentException("invalid callback type - " + callbackType); in setCallbackType() 298 mCallbackType = callbackType; in setCallbackType() 303 private boolean isValidCallbackType(int callbackType) { in isValidCallbackType() argument 304 if (callbackType == CALLBACK_TYPE_ALL_MATCHES || in isValidCallbackType() 305 callbackType == CALLBACK_TYPE_FIRST_MATCH || in isValidCallbackType() 306 callbackType == CALLBACK_TYPE_MATCH_LOST) { in isValidCallbackType() [all …]
|
D | BluetoothLeScanner.java | 556 final int callbackType = settings.getCallbackType(); in isSettingsConfigAllowedForScan() local 558 if (callbackType == ScanSettings.CALLBACK_TYPE_ALL_MATCHES in isSettingsConfigAllowedForScan() 567 final int callbackType = settings.getCallbackType(); in isSettingsAndFilterComboAllowed() local 569 if ((callbackType & (ScanSettings.CALLBACK_TYPE_FIRST_MATCH in isSettingsAndFilterComboAllowed() 584 final int callbackType = settings.getCallbackType(); in isHardwareResourcesAvailableForScan() local 585 if ((callbackType & ScanSettings.CALLBACK_TYPE_FIRST_MATCH) != 0 in isHardwareResourcesAvailableForScan() 586 || (callbackType & ScanSettings.CALLBACK_TYPE_MATCH_LOST) != 0) { in isHardwareResourcesAvailableForScan()
|
D | ScanCallback.java | 70 public void onScanResult(int callbackType, ScanResult result) { in onScanResult() argument
|
/frameworks/base/core/java/android/view/ |
D | Choreographer.java | 369 public void postCallback(int callbackType, Runnable action, Object token) { in postCallback() argument 370 postCallbackDelayed(callbackType, action, token, 0); in postCallback() 387 public void postCallbackDelayed(int callbackType, in postCallbackDelayed() argument 392 if (callbackType < 0 || callbackType > CALLBACK_LAST) { in postCallbackDelayed() 396 postCallbackDelayedInternal(callbackType, action, token, delayMillis); in postCallbackDelayed() 399 private void postCallbackDelayedInternal(int callbackType, in postCallbackDelayedInternal() argument 402 Log.d(TAG, "PostCallback: type=" + callbackType in postCallbackDelayedInternal() 410 mCallbackQueues[callbackType].addCallbackLocked(dueTime, action, token); in postCallbackDelayedInternal() 416 msg.arg1 = callbackType; in postCallbackDelayedInternal() 436 public void removeCallbacks(int callbackType, Runnable action, Object token) { in removeCallbacks() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | UpstreamNetworkMonitor.java | 235 private void handleAvailable(int callbackType, Network network) { in handleAvailable() argument 246 switch (callbackType) { in handleAvailable() 349 private void handleSuspended(int callbackType, Network network) { in handleSuspended() argument 350 if (callbackType != CALLBACK_LISTEN_ALL) return; in handleSuspended() 355 private void handleResumed(int callbackType, Network network) { in handleResumed() argument 356 if (callbackType != CALLBACK_LISTEN_ALL) return; in handleResumed() 361 private void handleLost(int callbackType, Network network) { in handleLost() argument 362 if (callbackType == CALLBACK_TRACK_DEFAULT) { in handleLost() 412 UpstreamNetworkCallback(int callbackType) { in UpstreamNetworkCallback() argument 413 mCallbackType = callbackType; in UpstreamNetworkCallback()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 294 private void callCallback(int callbackType) { in callCallback() argument 298 msg.what = callbackType; in callCallback() 302 Slog.v(TAG, "sending notification " + callbackTypeToName(callbackType) in callCallback() 321 private String callbackTypeToName(int callbackType) { in callbackTypeToName() argument 322 switch (callbackType) { in callbackTypeToName()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | DeviceDiscoveryService.java | 423 public void onScanResult(int callbackType, ScanResult result) { in onScanResult() argument 426 "BLE.onScanResult(callbackType = " + callbackType + ", result = " + result in onScanResult() 432 if (callbackType == ScanSettings.CALLBACK_TYPE_MATCH_LOST) { in onScanResult()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/ |
D | KeyboardUI.java | 575 public void onScanResult(int callbackType, ScanResult result) { in onScanResult() argument 577 Slog.d(TAG, "onScanResult(" + callbackType + ", " + result + ")"); in onScanResult()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 2907 public CallbackType callbackType; field in ConnectivityServiceTest.TestKeepaliveCallback.CallbackValue 2911 this.callbackType = type; in CallbackValue() 2917 this.callbackType = type; in CallbackValue() 2925 this.callbackType == ((CallbackValue) o).callbackType && in equals() 2931 return String.format("%s(%s, %d)", getClass().getSimpleName(), callbackType, error); in toString() 2958 fail(callbackValue.callbackType + " callback not seen after " + TIMEOUT_MS + " ms"); in expectCallback()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 2427 public void onScanResult(int callbackType, ScanResult result) { in startLeScan() 2428 if (callbackType != ScanSettings.CALLBACK_TYPE_ALL_MATCHES) { in startLeScan()
|