/frameworks/base/core/java/android/bluetooth/le/ |
H A D | ScanSettings.java | 204 private ScanSettings(int scanMode, int callbackType, int scanResultType, argument 208 mCallbackType = callbackType; 289 * @param callbackType The callback type flags for the scan. 290 * @throws IllegalArgumentException If the {@code callbackType} is invalid. 292 public Builder setCallbackType(int callbackType) { argument 294 if (!isValidCallbackType(callbackType)) { 295 throw new IllegalArgumentException("invalid callback type - " + callbackType); 297 mCallbackType = callbackType; 301 // Returns true if the callbackType is valid. 302 private boolean isValidCallbackType(int callbackType) { argument [all...] |
H A D | ScanCallback.java | 65 * @param callbackType Determines how this callback was triggered. Could be one of {@link 70 public void onScanResult(int callbackType, ScanResult result) { argument
|
H A D | BluetoothLeScanner.java | 563 final int callbackType = settings.getCallbackType(); 565 if (callbackType == ScanSettings.CALLBACK_TYPE_ALL_MATCHES 574 final int callbackType = settings.getCallbackType(); 576 if ((callbackType & (ScanSettings.CALLBACK_TYPE_FIRST_MATCH 591 final int callbackType = settings.getCallbackType(); 592 if ((callbackType & ScanSettings.CALLBACK_TYPE_FIRST_MATCH) != 0 593 || (callbackType & ScanSettings.CALLBACK_TYPE_MATCH_LOST) != 0) {
|
/frameworks/base/core/java/android/view/ |
H A D | Choreographer.java | 383 * @param callbackType The callback type. 391 public void postCallback(int callbackType, Runnable action, Object token) { argument 392 postCallbackDelayed(callbackType, action, token, 0); 401 * @param callbackType The callback type. 410 public void postCallbackDelayed(int callbackType, argument 415 if (callbackType < 0 || callbackType > CALLBACK_LAST) { 416 throw new IllegalArgumentException("callbackType is invalid"); 419 postCallbackDelayedInternal(callbackType, action, token, delayMillis); 422 private void postCallbackDelayedInternal(int callbackType, argument 460 removeCallbacks(int callbackType, Runnable action, Object token) argument 468 removeCallbacksInternal(int callbackType, Object action, Object token) argument 712 doCallbacks(int callbackType, long frameTimeNanos) argument 784 doScheduleCallback(int callbackType) argument [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
H A D | UpstreamNetworkMonitor.java | 236 private void handleAvailable(int callbackType, Network network) { argument 247 switch (callbackType) { 350 private void handleSuspended(int callbackType, Network network) { argument 351 if (callbackType != CALLBACK_LISTEN_ALL) return; 356 private void handleResumed(int callbackType, Network network) { argument 357 if (callbackType != CALLBACK_LISTEN_ALL) return; 362 private void handleLost(int callbackType, Network network) { argument 363 if (callbackType == CALLBACK_TRACK_DEFAULT) { 413 UpstreamNetworkCallback(int callbackType) { argument 414 mCallbackType = callbackType; [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | PasspointProvisioner.java | 315 private void invokeProvisioningCallback(int callbackType, int status) { argument 317 Log.e(TAG, "Provisioning callback " + callbackType + " with status " + status 322 if (callbackType == PROVISIONING_STATUS) { 328 Log.e(TAG, "Remote Exception while posting callback type=" + callbackType
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsObservers.java | 292 private void callCallback(int callbackType) { argument 296 msg.what = callbackType; 300 Slog.v(TAG, "sending notification " + callbackTypeToName(callbackType) 319 private String callbackTypeToName(int callbackType) { argument 320 switch (callbackType) {
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
H A D | DeviceDiscoveryService.java | 449 public void onScanResult(int callbackType, ScanResult result) { argument 452 "BLE.onScanResult(callbackType = " + callbackType + ", result = " + result 458 if (callbackType == ScanSettings.CALLBACK_TYPE_MATCH_LOST) {
|
/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/core/java/android/bluetooth/ |
H A D | BluetoothAdapter.java | 2710 public void onScanResult(int callbackType, ScanResult result) { 2711 if (callbackType != ScanSettings.CALLBACK_TYPE_ALL_MATCHES) {
|
/frameworks/base/tests/net/java/com/android/server/ |
H A D | ConnectivityServiceTest.java | 3284 public CallbackType callbackType; field in class:ConnectivityServiceTest.TestKeepaliveCallback.CallbackValue 3288 this.callbackType = type; 3294 this.callbackType = type; 3302 this.callbackType == ((CallbackValue) o).callbackType && 3308 return String.format("%s(%s, %d)", getClass().getSimpleName(), callbackType, error); 3335 fail(callbackValue.callbackType + " callback not seen after " + TIMEOUT_MS + " ms");
|