Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/le/
DScanSettings.java214 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 …]
DBluetoothLeScanner.java613 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()
DScanCallback.java70 public void onScanResult(int callbackType, ScanResult result) { in onScanResult() argument
/frameworks/base/core/java/android/view/
DChoreographer.java430 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/
DNetworkStatsObservers.java291 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/
DCompanionDeviceDiscoveryService.java413 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/
DKeyboardUI.java579 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/
DSurfaceComposerClient.h492 void* callbackContext, CallbackId::Type callbackType);
703 CallbackId::Type callbackType);
/frameworks/base/services/core/java/com/android/server/
DRescueParty.java277 String callbackType = result.getString(Settings.EXTRA_MONITOR_CALLBACK_TYPE, ""); in handleMonitorCallback() local
278 switch (callbackType) { in handleMonitorCallback()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp168 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/
DCompanionDeviceManagerService.java1233 public void onScanResult(int callbackType, ScanResult result) {
1236 + callbackType + ", result = " + result + ")");
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java3785 public void onScanResult(int callbackType, ScanResult result) { in startLeScan()
3786 if (callbackType != ScanSettings.CALLBACK_TYPE_ALL_MATCHES) { in startLeScan()