/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanSettings.java | 204 private ScanSettings(int scanMode, int callbackType, int scanResultType, in ScanSettings() argument 208 mCallbackType = callbackType; in ScanSettings() 292 public Builder setCallbackType(int callbackType) { in setCallbackType() argument 294 if (!isValidCallbackType(callbackType)) { in setCallbackType() 295 throw new IllegalArgumentException("invalid callback type - " + callbackType); in setCallbackType() 297 mCallbackType = callbackType; in setCallbackType() 302 private boolean isValidCallbackType(int callbackType) { in isValidCallbackType() argument 303 if (callbackType == CALLBACK_TYPE_ALL_MATCHES in isValidCallbackType() 304 || callbackType == CALLBACK_TYPE_FIRST_MATCH in isValidCallbackType() 305 || callbackType == CALLBACK_TYPE_MATCH_LOST) { in isValidCallbackType() [all …]
|
D | BluetoothLeScanner.java | 574 final int callbackType = settings.getCallbackType(); in isSettingsConfigAllowedForScan() local 576 if (callbackType == ScanSettings.CALLBACK_TYPE_ALL_MATCHES in isSettingsConfigAllowedForScan() 585 final int callbackType = settings.getCallbackType(); in isSettingsAndFilterComboAllowed() local 587 if ((callbackType & (ScanSettings.CALLBACK_TYPE_FIRST_MATCH in isSettingsAndFilterComboAllowed() 602 final int callbackType = settings.getCallbackType(); in isHardwareResourcesAvailableForScan() local 603 if ((callbackType & ScanSettings.CALLBACK_TYPE_FIRST_MATCH) != 0 in isHardwareResourcesAvailableForScan() 604 || (callbackType & ScanSettings.CALLBACK_TYPE_MATCH_LOST) != 0) { in isHardwareResourcesAvailableForScan()
|
D | ScanCallback.java | 70 public void onScanResult(int callbackType, ScanResult result) { in onScanResult() argument
|
/frameworks/base/core/java/android/view/ |
D | Choreographer.java | 418 public void postCallback(int callbackType, Runnable action, Object token) { in postCallback() argument 419 postCallbackDelayed(callbackType, action, token, 0); in postCallback() 438 public void postCallbackDelayed(int callbackType, in postCallbackDelayed() argument 443 if (callbackType < 0 || callbackType > CALLBACK_LAST) { in postCallbackDelayed() 447 postCallbackDelayedInternal(callbackType, action, token, delayMillis); in postCallbackDelayed() 450 private void postCallbackDelayedInternal(int callbackType, in postCallbackDelayedInternal() argument 453 Log.d(TAG, "PostCallback: type=" + callbackType in postCallbackDelayedInternal() 461 mCallbackQueues[callbackType].addCallbackLocked(dueTime, action, token); in postCallbackDelayedInternal() 467 msg.arg1 = callbackType; in postCallbackDelayedInternal() 489 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 | 291 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/ |
D | DeviceDiscoveryService.java | 448 public void onScanResult(int callbackType, ScanResult result) { in onScanResult() argument 451 "BLE.onScanResult(callbackType = " + callbackType + ", result = " + result in onScanResult() 457 if (callbackType == ScanSettings.CALLBACK_TYPE_MATCH_LOST) { in onScanResult()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvisioner.java | 677 private void invokeProvisioningCallback(int callbackType, int status) { in invokeProvisioningCallback() argument 679 Log.e(TAG, "Provisioning callback " + callbackType + " with status " + status in invokeProvisioningCallback() 684 if (callbackType == PROVISIONING_STATUS) { in invokeProvisioningCallback() 690 Log.e(TAG, "Remote Exception while posting callback type=" + callbackType in invokeProvisioningCallback()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitor.java | 438 UpstreamNetworkCallback(int callbackType) { in UpstreamNetworkCallback() argument 439 mCallbackType = callbackType; in UpstreamNetworkCallback()
|
/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/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 3872 public CallbackType callbackType; field in ConnectivityServiceTest.TestKeepaliveCallback.CallbackValue 3876 this.callbackType = type; in CallbackValue() 3882 this.callbackType = type; in CallbackValue() 3890 this.callbackType == ((CallbackValue) o).callbackType && in equals() 3896 return String.format("%s(%s, %d)", getClass().getSimpleName(), callbackType, error); in toString() 3939 public CallbackType callbackType; field in ConnectivityServiceTest.TestSocketKeepaliveCallback.CallbackValue 3943 this.callbackType = type; in CallbackValue() 3949 this.callbackType = type; in CallbackValue() 3957 && this.callbackType == ((CallbackValue) o).callbackType in equals() 3963 return String.format("%s(%s, %d)", getClass().getSimpleName(), callbackType, in toString()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 3188 public void onScanResult(int callbackType, ScanResult result) { in startLeScan() 3189 if (callbackType != ScanSettings.CALLBACK_TYPE_ALL_MATCHES) { in startLeScan()
|