/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanSettings.java | 174 private ScanSettings(int scanMode, int callbackType, int scanResultType, in ScanSettings() argument 177 mCallbackType = callbackType; in ScanSettings() 253 public Builder setCallbackType(int callbackType) { in setCallbackType() argument 255 if (!isValidCallbackType(callbackType)) { in setCallbackType() 256 throw new IllegalArgumentException("invalid callback type - " + callbackType); in setCallbackType() 258 mCallbackType = callbackType; in setCallbackType() 263 private boolean isValidCallbackType(int callbackType) { in isValidCallbackType() argument 264 if (callbackType == CALLBACK_TYPE_ALL_MATCHES || in isValidCallbackType() 265 callbackType == CALLBACK_TYPE_FIRST_MATCH || in isValidCallbackType() 266 callbackType == CALLBACK_TYPE_MATCH_LOST) { in isValidCallbackType() [all …]
|
D | BluetoothLeScanner.java | 470 final int callbackType = settings.getCallbackType(); in isSettingsConfigAllowedForScan() local 472 if (callbackType == ScanSettings.CALLBACK_TYPE_ALL_MATCHES in isSettingsConfigAllowedForScan() 481 final int callbackType = settings.getCallbackType(); in isSettingsAndFilterComboAllowed() local 483 if ((callbackType & (ScanSettings.CALLBACK_TYPE_FIRST_MATCH in isSettingsAndFilterComboAllowed() 498 final int callbackType = settings.getCallbackType(); in isHardwareResourcesAvailableForScan() local 499 if ((callbackType & ScanSettings.CALLBACK_TYPE_FIRST_MATCH) != 0 in isHardwareResourcesAvailableForScan() 500 || (callbackType & ScanSettings.CALLBACK_TYPE_MATCH_LOST) != 0) { in isHardwareResourcesAvailableForScan()
|
D | ScanCallback.java | 62 public void onScanResult(int callbackType, ScanResult result) { in onScanResult() argument
|
/frameworks/base/core/java/android/view/ |
D | Choreographer.java | 344 public void postCallback(int callbackType, Runnable action, Object token) { in postCallback() argument 345 postCallbackDelayed(callbackType, action, token, 0); in postCallback() 362 public void postCallbackDelayed(int callbackType, in postCallbackDelayed() argument 367 if (callbackType < 0 || callbackType > CALLBACK_LAST) { in postCallbackDelayed() 371 postCallbackDelayedInternal(callbackType, action, token, delayMillis); in postCallbackDelayed() 374 private void postCallbackDelayedInternal(int callbackType, in postCallbackDelayedInternal() argument 377 Log.d(TAG, "PostCallback: type=" + callbackType in postCallbackDelayedInternal() 385 mCallbackQueues[callbackType].addCallbackLocked(dueTime, action, token); in postCallbackDelayedInternal() 391 msg.arg1 = callbackType; in postCallbackDelayedInternal() 411 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 | 296 private void callCallback(int callbackType) { in callCallback() argument 300 msg.what = callbackType; in callCallback() 304 Slog.v(TAG, "sending notification " + callbackTypeToName(callbackType) in callCallback() 323 private String callbackTypeToName(int callbackType) { in callbackTypeToName() argument 324 switch (callbackType) { in callbackTypeToName()
|
/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/services/tests/servicestests/src/com/android/server/ |
D | ConnectivityServiceTest.java | 2284 public CallbackType callbackType; field in ConnectivityServiceTest.TestKeepaliveCallback.CallbackValue 2288 this.callbackType = type; in CallbackValue() 2294 this.callbackType = type; in CallbackValue() 2302 this.callbackType == ((CallbackValue) o).callbackType && in equals() 2308 return String.format("%s(%s, %d)", getClass().getSimpleName(), callbackType, error); in toString() 2335 fail(callbackValue.callbackType + " callback not seen after " + TIMEOUT_MS + " ms"); in expectCallback()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 2288 public void onScanResult(int callbackType, ScanResult result) { in startLeScan() 2289 if (callbackType != ScanSettings.CALLBACK_TYPE_ALL_MATCHES) { in startLeScan()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 2586 String description, int callbackType) { in handleRequestCallbackUpdate() argument 2600 callCallbackForRequest(nri, nai, callbackType, 0); in handleRequestCallbackUpdate()
|