/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
TimerTaskTest.java | 86 * @tests java.util.TimerTask#cancel() 91 method = "cancel", 97 // Ensure cancel returns false if never scheduled 99 assertTrue("Unsheduled tasks should return false for cancel()", 100 !testTask.cancel()); 106 assertTrue("TimerTask should not have run yet", testTask.cancel()); 107 t.cancel(); 120 "TimerTask.cancel() should return false if task has run", 121 testTask.cancel()); 123 "TimerTask.cancel() should return false if called a second time" [all...] |
TimerTest.java | 70 timer.cancel(); 123 t.cancel(); 126 t.cancel(); 155 t.cancel(); 158 t.cancel(); 186 t.cancel(); 189 t.cancel(); 230 t.cancel(); 233 t.cancel(); 245 * @tests java.util.Timer#cancel() 376 tasks[i].cancel(); method [all...] |
/external/dbus/test/data/auth/ |
cancel.auth-script | 7 SEND 'CANCEL'
|
/development/samples/MySampleRss/res/values/ |
strings.xml | 11 <string name="cancel">Cancel</string>
|
/frameworks/base/core/tests/coretests/src/android/view/ |
MutateDrawable.java | 37 Button cancel = new Button(this); local 38 cancel.setId(R.id.b); 39 cancel.setBackgroundDrawable(getResources().getDrawable( 43 layout.addView(cancel);
|
/packages/apps/AlarmClock/src/com/android/alarmclock/ |
ToastMaster.java | 31 sToast.cancel(); 37 sToast.cancel();
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
ToastMaster.java | 31 sToast.cancel(); 37 sToast.cancel();
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
BluetoothChatService.java | 100 // Cancel any thread attempting to make a connection 101 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} 103 // Cancel any thread currently running a connection 104 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} 121 // Cancel any thread attempting to make a connection 123 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} 126 // Cancel any thread currently running a connection 127 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} 143 // Cancel the thread that completed the connection 144 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null; 284 public void cancel() { method in class:BluetoothChatService.AcceptThread 352 public void cancel() { method in class:BluetoothChatService.ConnectThread 426 public void cancel() { method in class:BluetoothChatService.ConnectedThread [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
MockDialogInterface.java | 13 public void cancel() { method in class:MockDialogInterface
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
Cancelable.java | 28 * and now begin requested for cancel. 30 * If subclass need to do more things to cancel the task. It can override 34 * // do necessary work to cancel the task return true; } return false; }
|
BitmapManager.java | 28 * This class provides several utilities to cancel bitmap decoding. 31 * decoding if another thread wants to cancel it, it calls the function 36 * You can also cancel decoding for a set of threads using ThreadSet as the 45 CANCEL, ALLOW 55 if (mState == State.CANCEL) { 56 s = "Cancel"; 116 * The following two methods are used to allow/cancel a set of threads for 143 boolean result = (status.mState != State.CANCEL); 153 status.mState = State.CANCEL;
|
/external/dropbear/debian/ |
dropbear.init | 17 cancel() { echo "$1" >&2; exit 0; }; 19 test -x "$DAEMON" || cancel "$DAEMON does not exist or is not executable." 21 cancel '/var/service/dropbear exists, service is controlled through runit.' 32 test "$NO_START" = "0" || cancel 'NO_START is not set to zero.' 45 test "$NO_START" = "0" || cancel 'NO_START is not set to zero.'
|
/packages/apps/Camera/src/com/android/camera/ |
BitmapManager.java | 30 * Provides utilities to decode bitmap, get thumbnail, and cancel the 35 * thread can cancel it using the function {@link #cancelThreadDecoding(Thread, 43 private static enum State {CANCEL, ALLOW} 51 if (mState == State.CANCEL) { 52 s = "Cancel"; 90 boolean result = (status.mState != State.CANCEL); 98 * android.provider.MediaStore}. It provides the ability to cancel it.
|
/frameworks/base/core/java/android/app/ |
NotificationManager.java | 47 * id you pass to the {@link #cancel} method to clear this notification. 101 * can be used to cancel the notification 119 * Cancel a previously shown notification. If it's transient, the view 123 public void cancel(int id) method in class:NotificationManager 125 cancel(null, id); method 129 * Cancel a previously shown notification. If it's transient, the view 133 public void cancel(String tag, int id) method in class:NotificationManager 137 if (localLOGV) Log.v(TAG, pkg + ": cancel(" + id + ")"); 145 * Cancel all previously shown notifications. See {@link #cancel} for th [all...] |
/cts/tests/res/layout/ |
viewanimator_layout.xml | 38 <Button android:id="@+id/cancel" 49 android:layout_toLeftOf="@id/cancel" 50 android:layout_alignTop="@id/cancel"
|
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
FutureTaskTest.java | 82 assertTrue(task.cancel(false)); 129 assertTrue(task.cancel(false)); 136 * Cancel(true) before run succeeds 140 assertTrue(task.cancel(true)); 147 * cancel of a completed task fails 152 assertFalse(task.cancel(false)); 158 * cancel(true) interrupts a running task 175 assertTrue(task.cancel(true)); 186 * cancel(false) does not interrupt a running task 204 assertTrue(task.cancel(false)) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppBatch.java | 55 * 6. Cancel sending a single file 56 * 7. Cancel sending a file from multiple files (implies cancel the transfer, rest of 58 * 8. Cancel receiving a single file 59 * 9. Cancel receiving a file (implies cancel the transfer, no additional files will be received) 136 /*It should only be called under requirement that cancel one single share, but not to 137 * cancel the whole batch. Currently we assume "cancel" is to cancel whole batch [all...] |
/external/opencore/oscl/oscl/osclproc/src/ |
oscl_scheduler_ao.cpp | 125 Cancel(); 181 void PVActiveBase::Cancel() 186 //require same thread context for cancel calls, 191 //call the cancel handler-- this should 202 //wait for request to cancel. 219 //"typically, a derived class calls Cancel in its 221 Cancel(); 258 OSCL_EXPORT_REF void OsclActiveObject::Cancel() 260 //OsclActiveObject::Cancel on systems that have that method (Symbian). 262 PVActiveBase::Cancel(); [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
IntentSenderTest.java | 37 is.cancel(); 57 is.cancel(); 66 is.cancel(); 84 is.cancel();
|
/packages/apps/Gallery/src/com/android/camera/ |
BitmapManager.java | 30 * This class provides several utilities to cancel bitmap decoding. 33 * decoding if another thread wants to cancel it, it calls the function 40 private static enum State {CANCEL, ALLOW} 48 if (mState == State.CANCEL) { 49 s = "Cancel"; 105 boolean result = (status.mState != State.CANCEL); 115 status.mState = State.CANCEL; 123 // Since our cancel request can arrive MediaProvider earlier than getThumbnail request, 124 // we use mThumbRequesting flag to make sure our request does cancel the request.
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
NotificationTestList.java | 299 new Test("Sound and Cancel") { 308 mNM.cancel(1); 322 new Test("Vibrate and cancel") { 330 mNM.cancel(1); 365 mVibrator.cancel(); 369 new Test("Cancel #1") { 371 mNM.cancel(1); 375 new Test("Cancel #1 in 3 sec") { 380 mNM.cancel(1); 386 new Test("Cancel #2") [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
AsyncTaskTest.java | 161 method = "cancel", 178 assertTrue(mAsyncTask.cancel(true)); 180 assertFalse(mAsyncTask.cancel(true)); 191 method = "cancel", 208 assertTrue(mAsyncTask.cancel(false)); 210 assertFalse(mAsyncTask.cancel(false)); 220 method = "cancel", 237 assertFalse(mAsyncTask.cancel(false));
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
IncomingMessageView.java | 39 // cancel the notification that we started in IncomingMessage 40 nm.cancel(R.string.imcoming_message_ticker_text);
|
/frameworks/base/core/java/android/webkit/ |
JsPromptResult.java | 24 * WebView. The client can call cancel() to cancel the dialog or confirm() with
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
IShellOutputReceiver.java | 40 * Cancel method to stop the execution of the remote shell command. 41 * @return true to cancel the execution of the command.
|