/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSslErrorHandler.java | 15 public void cancel() { method in class:ShadowSslErrorHandler
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowFingerprintManager.java | 72 CancellationSignal cancel, 80 if (cancel != null) { 81 if (cancel.isCanceled()) { 85 cancel.setOnCancelListener(() -> {
|
/external/volley/src/test/java/com/android/volley/ |
RequestQueueTest.java | 67 verify(req1).cancel(); // A cancelled 68 verify(req3).cancel(); // A cancelled 69 verify(req2, never()).cancel(); // B not cancelled 70 verify(req4, never()).cancel(); // A added after cancel not cancelled
|
/frameworks/base/core/java/android/webkit/ |
ClientCertRequest.java | 36 * WebView caches the {@link #proceed} and {@link #cancel} responses in memory 81 * Cancel this request. Remember the user's choice and use it for 84 public abstract void cancel(); method in class:ClientCertRequest
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
IntentSenderTest.java | 37 is.cancel(); 57 is.cancel(); 66 is.cancel(); 84 is.cancel();
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
RequestKey.java | 88 * object to cancel the asynchronous task. If the client wants to create an InputStream instead, 123 * @param factory The FileDescriptorFactory to decode from. Pass null to cancel decode. 138 * Cancel the background task. This must be called on the UI thread. 140 void cancel(); method in interface:RequestKey.Cancelable
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
MmiCode.java | 59 public void cancel(); method in interface:MmiCode
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardParser.java | 89 * Cancel parsing vCard. Useful when you want to stop the parse in the other threads. 92 * Actual cancel is done after parsing the current vcard. 95 public abstract void cancel(); method in class:VCardParser
|
/packages/services/BuiltInPrintService/jni/include/ |
ifc_status_monitor.h | 42 status_t (*cancel)(const struct ifc_status_monitor_st *this_p, const char *requesting_user); member in struct:ifc_status_monitor_st
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
AlarmTimeout.java | 61 cancel(); method 77 public void cancel() { method in class:AlarmTimeout 79 mAlarmManager.cancel(this);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
WificondScannerTest.java | 100 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); 102 .cancel(any(AlarmManager.OnAlarmListener.class)); 103 verify(mAlarmManager.getAlarmManager(), never()).cancel(isNull(PendingIntent.class)); 105 .cancel(isNull(AlarmManager.OnAlarmListener.class)); 125 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); 127 .cancel(any(AlarmManager.OnAlarmListener.class)); 128 verify(mAlarmManager.getAlarmManager(), never()).cancel(isNull(PendingIntent.class)); 130 .cancel(isNull(AlarmManager.OnAlarmListener.class)); 156 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); 158 .cancel(any(AlarmManager.OnAlarmListener.class)) [all...] |
/frameworks/support/compat/src/main/java/androidx/core/os/ |
CancellationSignal.java | 64 public void cancel() { method in class:CancellationSignal 82 ((android.os.CancellationSignal) obj).cancel(); method 100 * If {@link CancellationSignal#cancel} has already been called, then the provided 142 ((android.os.CancellationSignal) mCancellationSignalObj).cancel(); method 163 * Called when {@link CancellationSignal#cancel} is invoked.
|
/libcore/ojluni/src/main/native/ |
UnixCopyFile.c | 57 volatile jint* cancel = (jint*)jlong_to_ptr(cancelAddress); local 67 if (cancel != NULL && *cancel != 0) {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
DelayedOperations.java | 27 * Class that helps post {@link Runnable}s to a {@link Handler}, and cancel pending ones 49 public void cancel() { method in class:DelayedOperations.QueuedOperation 69 * Cancel a runnable that's been posted with {@link #post(Runnable)}. 82 found.cancel(); 87 * Cancel all pending {@link Runnable}s. 93 qo.cancel();
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetTypeChooser.java | 50 Button cancel = (Button) findViewById(R.id.cancel); local 51 cancel.setOnClickListener(new OnClickListener() {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
InterruptibleInOutAnimator.java | 69 cancel(); method 84 public void cancel() { method in class:InterruptibleInOutAnimator 85 mAnimator.cancel();
|
/prebuilts/go/darwin-x86/src/net/ |
cgo_unix_test.go | 29 ctx, cancel := context.WithCancel(context.Background()) 30 defer cancel() 54 ctx, cancel := context.WithCancel(context.Background()) 55 defer cancel() 79 ctx, cancel := context.WithCancel(context.Background()) 80 defer cancel()
|
/prebuilts/go/linux-x86/src/net/ |
cgo_unix_test.go | 29 ctx, cancel := context.WithCancel(context.Background()) 30 defer cancel() 54 ctx, cancel := context.WithCancel(context.Background()) 55 defer cancel() 79 ctx, cancel := context.WithCancel(context.Background()) 80 defer cancel()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BluetoothChatService.java | 119 // Cancel any thread attempting to make a connection 120 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} 122 // Cancel any thread currently running a connection 123 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} 146 // Cancel any thread attempting to make a connection 148 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} 151 // Cancel any thread currently running a connection 152 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} 169 // Cancel the thread that completed the connection 170 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null; 342 public void cancel() { method in class:BluetoothChatService.AcceptThread 416 public void cancel() { method in class:BluetoothChatService.ConnectThread 491 public void cancel() { method in class:BluetoothChatService.ConnectedThread [all...] |
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatService.java | 110 // Cancel any thread attempting to make a connection 112 mConnectThread.cancel(); 116 // Cancel any thread currently running a connection 118 mConnectedThread.cancel(); 144 // Cancel any thread attempting to make a connection 147 mConnectThread.cancel(); 152 // Cancel any thread currently running a connection 154 mConnectedThread.cancel(); 175 // Cancel the thread that completed the connection 177 mConnectThread.cancel(); 372 public void cancel() { method in class:BluetoothChatService.AcceptThread 448 public void cancel() { method in class:BluetoothChatService.ConnectThread 524 public void cancel() { method in class:BluetoothChatService.ConnectedThread [all...] |
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatService.java | 110 // Cancel any thread attempting to make a connection 112 mConnectThread.cancel(); 116 // Cancel any thread currently running a connection 118 mConnectedThread.cancel(); 144 // Cancel any thread attempting to make a connection 147 mConnectThread.cancel(); 152 // Cancel any thread currently running a connection 154 mConnectedThread.cancel(); 175 // Cancel the thread that completed the connection 177 mConnectThread.cancel(); 372 public void cancel() { method in class:BluetoothChatService.AcceptThread 448 public void cancel() { method in class:BluetoothChatService.ConnectThread 524 public void cancel() { method in class:BluetoothChatService.ConnectedThread [all...] |
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
BluetoothChatService.java | 105 // Cancel any thread attempting to make a connection 106 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} 108 // Cancel any thread currently running a connection 109 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} 132 // Cancel any thread attempting to make a connection 134 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} 137 // Cancel any thread currently running a connection 138 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} 155 // Cancel the thread that completed the connection 156 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null; 334 public void cancel() { method in class:BluetoothChatService.AcceptThread 409 public void cancel() { method in class:BluetoothChatService.ConnectThread 485 public void cancel() { method in class:BluetoothChatService.ConnectedThread [all...] |
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
BluetoothChatService.java | 110 // Cancel any thread attempting to make a connection 112 mConnectThread.cancel(); 116 // Cancel any thread currently running a connection 118 mConnectedThread.cancel(); 144 // Cancel any thread attempting to make a connection 147 mConnectThread.cancel(); 152 // Cancel any thread currently running a connection 154 mConnectedThread.cancel(); 175 // Cancel the thread that completed the connection 177 mConnectThread.cancel(); 372 public void cancel() { method in class:BluetoothChatService.AcceptThread 448 public void cancel() { method in class:BluetoothChatService.ConnectThread 524 public void cancel() { method in class:BluetoothChatService.ConnectedThread [all...] |
/prebuilts/go/darwin-x86/src/context/ |
context_test.go | 71 c1, cancel := WithCancel(Background()) 96 cancel() 120 parent, cancel := WithCancel(Background()) 157 cancel() 161 t.Errorf("pc.cancel didn't clear pc.children = %v", pc.children) 197 child, cancel := WithCancel(parent) 221 cancel() 226 t.Errorf("child's cancel didn't remove self from pc.children = %v", pc.children) 307 c, cancel := WithTimeout(o, 2*time.Second) 308 cancel() [all...] |
/prebuilts/go/linux-x86/src/context/ |
context_test.go | 71 c1, cancel := WithCancel(Background()) 96 cancel() 120 parent, cancel := WithCancel(Background()) 157 cancel() 161 t.Errorf("pc.cancel didn't clear pc.children = %v", pc.children) 197 child, cancel := WithCancel(parent) 221 cancel() 226 t.Errorf("child's cancel didn't remove self from pc.children = %v", pc.children) 307 c, cancel := WithTimeout(o, 2*time.Second) 308 cancel() [all...] |