HomeSort by relevance Sort by last modified time
    Searched refs:callbackType (Results 1 - 25 of 44) sorted by null

1 2

  /frameworks/base/core/java/android/bluetooth/le/
ScanSettings.java 174 private ScanSettings(int scanMode, int callbackType, int scanResultType,
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) {
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) {
    [all...]
ScanCallback.java 56 * @param callbackType Determines how this callback was triggered. Could be one of
62 public void onScanResult(int callbackType, ScanResult result) {
BluetoothLeScanner.java 470 final int callbackType = settings.getCallbackType();
472 if (callbackType == ScanSettings.CALLBACK_TYPE_ALL_MATCHES
481 final int callbackType = settings.getCallbackType();
483 if ((callbackType & (ScanSettings.CALLBACK_TYPE_FIRST_MATCH
498 final int callbackType = settings.getCallbackType();
499 if ((callbackType & ScanSettings.CALLBACK_TYPE_FIRST_MATCH) != 0
500 || (callbackType & ScanSettings.CALLBACK_TYPE_MATCH_LOST) != 0) {
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
CallbackInfo.java 75 private static Type determineType(Class callbackType) {
79 if (info.cls.isAssignableFrom(callbackType)) {
87 throw new IllegalStateException("Unknown callback type " + callbackType);
92 private static CallbackGenerator getGenerator(Type callbackType) {
95 if (info.type.equals(callbackType)) {
99 throw new IllegalStateException("Unknown callback type " + callbackType);
Enhancer.java 252 * @param callbackType the type of callback to use for all methods
255 public void setCallbackType(Class callbackType) {
256 setCallbackTypes(new Class[]{ callbackType });
    [all...]
  /frameworks/base/core/java/android/view/
Choreographer.java 336 * @param callbackType The callback type.
343 public void postCallback(int callbackType, Runnable action, Object token) {
344 postCallbackDelayed(callbackType, action, token, 0);
353 * @param callbackType The callback type.
361 public void postCallbackDelayed(int callbackType,
366 if (callbackType < 0 || callbackType > CALLBACK_LAST) {
367 throw new IllegalArgumentException("callbackType is invalid");
370 postCallbackDelayedInternal(callbackType, action, token, delayMillis);
373 private void postCallbackDelayedInternal(int callbackType,
    [all...]
  /developers/build/prebuilts/gradle/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
ScannerFragment.java 215 public void onScanResult(int callbackType, ScanResult result) {
216 super.onScanResult(callbackType, result);
  /developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
ScannerFragment.java 215 public void onScanResult(int callbackType, ScanResult result) {
216 super.onScanResult(callbackType, result);
  /development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/
ScannerFragment.java 215 public void onScanResult(int callbackType, ScanResult result) {
216 super.onScanResult(callbackType, result);
  /cts/tests/tests/bluetooth/src/android/bluetooth/cts/
ScanCallbackTest.java 90 public void onScanResult(int callbackType, ScanResult result) {
BluetoothLeScanTest.java 269 public void onScanResult(int callbackType, ScanResult result) {
270 if (callbackType == ScanSettings.CALLBACK_TYPE_ALL_MATCHES) {
  /external/webrtc/webrtc/base/
macasyncsocket.h 78 CFSocketCallBackType callbackType,
macasyncsocket.cc 403 CFSocketCallBackType callbackType,
416 switch (callbackType) {
  /frameworks/base/services/core/java/com/android/server/net/
NetworkStatsObservers.java 296 private void callCallback(int callbackType) {
300 msg.what = callbackType;
304 Slog.v(TAG, "sending notification " + callbackTypeToName(callbackType)
323 private String callbackTypeToName(int callbackType) {
324 switch (callbackType) {
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothLeScanFacade.java 313 * @param callbackType Bluetooth LE scan callback type
322 * @param callbackType Bluetooth LE scan callback type
326 @RpcParameter(name = "callbackType")
327 Integer callbackType) {
328 mScanSettingsBuilder.setCallbackType(callbackType);
851 public void onScanResult(int callbackType, ScanResult result) {
854 mResults.putInt("CallbackType", callbackType)
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
ConnectivityServiceTest.java     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
KeyboardUI.java 575 public void onScanResult(int callbackType, ScanResult result) {
577 Slog.d(TAG, "onScanResult(" + callbackType + ", " + result + ")");
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleClientService.java 442 public void onScanResult(int callbackType, ScanResult result) {
  /frameworks/base/core/java/android/bluetooth/
BluetoothAdapter.java     [all...]
  /external/guice/extensions/persist/lib/
cglib-nodep-3.0.jar 
  /external/guice/lib/build/
cglib-3.1.jar 
  /prebuilts/devtools/tools/lib/
cglib-nodep-3.1.jar 
  /prebuilts/tools/common/cglib/
cglib-2.2.3.jar 
cglib-nodep-2.2.3.jar 
  /prebuilts/tools/common/m2/repository/cglib/cglib-nodep/2.1_3/
cglib-nodep-2.1_3.jar 

Completed in 764 milliseconds

1 2