Searched refs:callbackType (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanSettings.java | 121 private ScanSettings(int scanMode, int callbackType, int scanResultType, in ScanSettings() argument 124 mCallbackType = callbackType; in ScanSettings() 195 public Builder setCallbackType(int callbackType) { in setCallbackType() argument 197 if (!isValidCallbackType(callbackType)) { in setCallbackType() 198 throw new IllegalArgumentException("invalid callback type - " + callbackType); in setCallbackType() 200 mCallbackType = callbackType; in setCallbackType() 205 private boolean isValidCallbackType(int callbackType) { in isValidCallbackType() argument 206 if (callbackType == CALLBACK_TYPE_ALL_MATCHES || in isValidCallbackType() 207 callbackType == CALLBACK_TYPE_FIRST_MATCH || in isValidCallbackType() 208 callbackType == CALLBACK_TYPE_MATCH_LOST) { in isValidCallbackType() [all …]
|
D | ScanCallback.java | 54 public void onScanResult(int callbackType, ScanResult result) { in onScanResult() argument
|
D | BluetoothLeScanner.java | 389 final int callbackType = settings.getCallbackType(); in isSettingsConfigAllowedForScan() local 391 if (callbackType == ScanSettings.CALLBACK_TYPE_ALL_MATCHES in isSettingsConfigAllowedForScan()
|
/frameworks/base/core/java/android/view/ |
D | Choreographer.java | 290 public void postCallback(int callbackType, Runnable action, Object token) { in postCallback() argument 291 postCallbackDelayed(callbackType, action, token, 0); in postCallback() 308 public void postCallbackDelayed(int callbackType, in postCallbackDelayed() argument 313 if (callbackType < 0 || callbackType > CALLBACK_LAST) { in postCallbackDelayed() 317 postCallbackDelayedInternal(callbackType, action, token, delayMillis); in postCallbackDelayed() 320 private void postCallbackDelayedInternal(int callbackType, in postCallbackDelayedInternal() argument 323 Log.d(TAG, "PostCallback: type=" + callbackType in postCallbackDelayedInternal() 331 mCallbackQueues[callbackType].addCallbackLocked(dueTime, action, token); in postCallbackDelayedInternal() 337 msg.arg1 = callbackType; in postCallbackDelayedInternal() 357 public void removeCallbacks(int callbackType, Runnable action, Object token) { in removeCallbacks() argument [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 1703 public void onScanResult(int callbackType, ScanResult result) { in startLeScan() 1704 if (callbackType != ScanSettings.CALLBACK_TYPE_ALL_MATCHES) { in startLeScan()
|