Searched defs:callbackType (Results 1 - 7 of 7) sorted by relevance
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | ScanCallback.java | 56 * @param callbackType Determines how this callback was triggered. Could be one of 62 public void onScanResult(int callbackType, ScanResult result) { argument
|
H A D | ScanSettings.java | 174 private ScanSettings(int scanMode, int callbackType, int scanResultType, argument 177 mCallbackType = callbackType; 250 * @param callbackType The callback type flags for the scan. 251 * @throws IllegalArgumentException If the {@code callbackType} is invalid. 253 public Builder setCallbackType(int callbackType) { argument 255 if (!isValidCallbackType(callbackType)) { 256 throw new IllegalArgumentException("invalid callback type - " + callbackType); 258 mCallbackType = callbackType; 262 // Returns true if the callbackType is valid. 263 private boolean isValidCallbackType(int callbackType) { argument [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsObservers.java | 296 private void callCallback(int callbackType) { argument 300 msg.what = callbackType; 304 Slog.v(TAG, "sending notification " + callbackTypeToName(callbackType) 323 private String callbackTypeToName(int callbackType) { argument 324 switch (callbackType) {
|
/frameworks/base/core/java/android/view/ |
H A D | Choreographer.java | 337 * @param callbackType The callback type. 344 public void postCallback(int callbackType, Runnable action, Object token) { argument 345 postCallbackDelayed(callbackType, action, token, 0); 354 * @param callbackType The callback type. 362 public void postCallbackDelayed(int callbackType, argument 367 if (callbackType < 0 || callbackType > CALLBACK_LAST) { 368 throw new IllegalArgumentException("callbackType is invalid"); 371 postCallbackDelayedInternal(callbackType, action, token, delayMillis); 374 private void postCallbackDelayedInternal(int callbackType, argument 411 removeCallbacks(int callbackType, Runnable action, Object token) argument 419 removeCallbacksInternal(int callbackType, Object action, Object token) argument 637 doCallbacks(int callbackType, long frameTimeNanos) argument 709 doScheduleCallback(int callbackType) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/ |
H A D | KeyboardUI.java | 575 public void onScanResult(int callbackType, ScanResult result) { argument 577 Slog.d(TAG, "onScanResult(" + callbackType + ", " + result + ")");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | ConnectivityServiceTest.java | 2284 public CallbackType callbackType; field in class:ConnectivityServiceTest.TestKeepaliveCallback.CallbackValue 2288 this.callbackType = type; 2294 this.callbackType = type; 2302 this.callbackType == ((CallbackValue) o).callbackType && 2308 return String.format("%s(%s, %d)", getClass().getSimpleName(), callbackType, error); 2335 fail(callbackValue.callbackType + " callback not seen after " + TIMEOUT_MS + " ms");
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | ConnectivityService.java | 2586 String description, int callbackType) { 2600 callCallbackForRequest(nri, nai, callbackType, 0); 2585 handleRequestCallbackUpdate(NetworkRequest request, int callingUid, String description, int callbackType) argument
|
Completed in 218 milliseconds