/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanSettings.java | 214 private ScanSettings(int scanMode, int callbackType, int scanResultType, in ScanSettings() argument 218 mCallbackType = callbackType; in ScanSettings() 309 public Builder setCallbackType(int callbackType) { in setCallbackType() argument 311 if (!isValidCallbackType(callbackType)) { in setCallbackType() 312 throw new IllegalArgumentException("invalid callback type - " + callbackType); in setCallbackType() 314 mCallbackType = callbackType; in setCallbackType() 319 private boolean isValidCallbackType(int callbackType) { in isValidCallbackType() argument 320 if (callbackType == CALLBACK_TYPE_ALL_MATCHES in isValidCallbackType() 321 || callbackType == CALLBACK_TYPE_FIRST_MATCH in isValidCallbackType() 322 || callbackType == CALLBACK_TYPE_MATCH_LOST) { in isValidCallbackType() [all …]
|
D | BluetoothLeScanner.java | 613 final int callbackType = settings.getCallbackType(); in isSettingsConfigAllowedForScan() local 615 if (callbackType == ScanSettings.CALLBACK_TYPE_ALL_MATCHES in isSettingsConfigAllowedForScan() 624 final int callbackType = settings.getCallbackType(); in isSettingsAndFilterComboAllowed() local 626 if ((callbackType & (ScanSettings.CALLBACK_TYPE_FIRST_MATCH in isSettingsAndFilterComboAllowed() 642 final int callbackType = settings.getCallbackType(); in isHardwareResourcesAvailableForScan() local 643 if ((callbackType & ScanSettings.CALLBACK_TYPE_FIRST_MATCH) != 0 in isHardwareResourcesAvailableForScan() 644 || (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 | 430 public void postCallback(int callbackType, Runnable action, Object token) { in postCallback() argument 431 postCallbackDelayed(callbackType, action, token, 0); in postCallback() 450 public void postCallbackDelayed(int callbackType, in postCallbackDelayed() argument 455 if (callbackType < 0 || callbackType > CALLBACK_LAST) { in postCallbackDelayed() 459 postCallbackDelayedInternal(callbackType, action, token, delayMillis); in postCallbackDelayed() 462 private void postCallbackDelayedInternal(int callbackType, in postCallbackDelayedInternal() argument 465 Log.d(TAG, "PostCallback: type=" + callbackType in postCallbackDelayedInternal() 473 mCallbackQueues[callbackType].addCallbackLocked(dueTime, action, token); in postCallbackDelayedInternal() 479 msg.arg1 = callbackType; in postCallbackDelayedInternal() 501 public void removeCallbacks(int callbackType, Runnable action, Object token) { in removeCallbacks() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 291 private void callCallback(int callbackType) { in callCallback() argument 295 msg.what = callbackType; in callCallback() 299 Slog.v(TAG, "sending notification " + callbackTypeToName(callbackType) in callCallback() 318 private String callbackTypeToName(int callbackType) { in callbackTypeToName() argument 319 switch (callbackType) { in callbackTypeToName()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | CompanionDeviceDiscoveryService.java | 413 public void onScanResult(int callbackType, ScanResult result) { in onScanResult() argument 416 "BLE.onScanResult(callbackType = " + callbackType + ", result = " + result in onScanResult() 422 if (callbackType == ScanSettings.CALLBACK_TYPE_MATCH_LOST) { in onScanResult()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/ |
D | KeyboardUI.java | 579 public void onScanResult(int callbackType, ScanResult result) { in onScanResult() argument 581 Slog.d(TAG, "onScanResult(" + callbackType + ", " + result + ")"); in onScanResult()
|
/frameworks/native/libs/gui/include/gui/ |
D | SurfaceComposerClient.h | 492 void* callbackContext, CallbackId::Type callbackType); 703 CallbackId::Type callbackType);
|
/frameworks/base/services/core/java/com/android/server/ |
D | RescueParty.java | 277 String callbackType = result.getString(Settings.EXTRA_MONITOR_CALLBACK_TYPE, ""); in handleMonitorCallback() local 278 switch (callbackType) { in handleMonitorCallback()
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 168 CallbackId::Type callbackType) { in addCallbackFunction() argument 172 CallbackId callbackId(getNextIdLocked(), callbackType); in addCallbackFunction() 1440 CallbackId::Type callbackType) { in addTransactionCallback() argument 1449 listener->addCallbackFunction(callbackWithContext, surfaceControls, callbackType); in addTransactionCallback()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 1233 public void onScanResult(int callbackType, ScanResult result) { 1236 + callbackType + ", result = " + result + ")");
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 3785 public void onScanResult(int callbackType, ScanResult result) { in startLeScan() 3786 if (callbackType != ScanSettings.CALLBACK_TYPE_ALL_MATCHES) { in startLeScan()
|