Home
last modified time | relevance | path

Searched refs:cancel (Results 1 – 25 of 90) sorted by relevance

1234

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothChatService.java120 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} in start()
123 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} in start()
148 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} in connect()
152 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} in connect()
170 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} in connected()
173 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} in connected()
177 mSecureAcceptThread.cancel(); in connected()
181 mInsecureAcceptThread.cancel(); in connected()
206 mConnectThread.cancel(); in stop()
211 mConnectedThread.cancel(); in stop()
[all …]
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DCategoryTest.java36 receiver.cancel(); in testDefaultCategories()
52 receiver.cancel(); in testSingleCategory()
66 receiver2.cancel(); in testSingleCategory()
83 receiver.cancel(); in testMultipleCategories()
DPackageTest.java46 receiver.cancel(); in testSinglePackage()
60 receiver2.cancel(); in testSinglePackage()
76 receiver.cancel(); in testMultiplePackages()
/cts/tests/tests/os/src/android/os/cts/
DVibratorTest.java54 mVibrator.cancel(); in testVibratorCancel()
65 mVibrator.cancel(); in testVibratePattern()
104 mVibrator.cancel(); in testVibrateOneShot()
122 mVibrator.cancel(); in testVibrateWaveform()
DAsyncTaskTest.java106 assertTrue(mMyAsyncTask.cancel(true)); in testCancelWithInterrupt()
108 assertFalse(mMyAsyncTask.cancel(true)); in testCancelWithInterrupt()
119 assertTrue(mMyAsyncTask.cancel(false)); in testCancel()
121 assertFalse(mMyAsyncTask.cancel(false)); in testCancel()
131 assertFalse(mMyAsyncTask.cancel(false)); in testCancelTooLate()
167 mAsyncTask.cancel(false); in testCancellationWithException()
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java156 mPendingIntent.cancel(); in testGetActivity()
193 mPendingIntent.cancel(); in testGetBroadcast()
273 pi.cancel(); in testUpdateCurrent()
291 mPendingIntent.cancel(); in testGetService()
318 mPendingIntent.cancel(); in testStartServiceOnFinishedHandler()
335 mPendingIntent.cancel(); in testStartServiceOnFinishedHandler()
347 mPendingIntent.cancel(); in testCancel()
375 mPendingIntent.cancel(); in testSend()
406 mPendingIntent.cancel(); in testSendWithParamInt()
423 mPendingIntent.cancel(); in testSendWithParamContextIntIntent()
[all …]
DAlarmManagerTest.java253 mAm.cancel(mSender); in testSetRepeating()
267 mAm.cancel(mSender); in testCancel()
321 mAm.cancel(mSender2); in testSetAlarmClock()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DSharedUidTest.java55 js.cancel(JOBID); in testCancelDisabledPackageJob()
97 js.cancel(JOBID); in testCancelDisabledPackageJob()
/cts/tests/tests/hardware/src/android/hardware/fingerprint/cts/
DFingerprintManagerTest.java98 cancelAuth.cancel(); in test_authenticateNullCallback()
116 cancelAuth.cancel(); in test_authenticate()
/cts/tests/tests/widget/src/android/widget/cts/
DViewAnimatorTest.java93 final View v2 = mActivity.findViewById(R.id.cancel); in testShowNext()
140 final View v2 = mActivity.findViewById(R.id.cancel); in testAccessDisplayedChild()
175 final View v2 = mActivity.findViewById(R.id.cancel); in testAccessDisplayedChildBoundary()
204 final View v2 = mActivity.findViewById(R.id.cancel); in testGetBaseline()
231 final View v2 = mActivity.findViewById(R.id.cancel); in testShowPrevious()
291 final View v2 = mActivity.findViewById(R.id.cancel); in testAddView()
333 final View v2 = mActivity.findViewById(R.id.cancel); in testRemoveViews()
/cts/tests/AlarmManager/app/src/android/alarmmanager/alarmtestapp/cts/
DTestAlarmScheduler.java84 am.cancel(alarmClockSender); in onReceive()
85 am.cancel(alarmSender); in onReceive()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSession.java63 t.cancel(true); in onDestroy()
281 arg.abortReq.cancel(); in doInBackground()
287 arg.commandReq.cancel(); in doInBackground()
297 arg.compReq.cancel(); in doInBackground()
303 arg.confReq.cancel(); in doInBackground()
309 arg.pickReq.cancel(); in doInBackground()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DSimpleSaveActivity.java74 mCancel = findViewById(R.id.cancel); in onCreate()
77 mCancel.setOnClickListener((v) -> getAutofillManager().cancel()); in onCreate()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/
DMainFragment.java120 mAutoScrollTimer.cancel();
208 mAutoScrollTimer.cancel();
220 mAutoScrollTimer.cancel();
/cts/tests/tests/view/src/android/view/cts/surfacevalidator/
DAnimationTestCase.java56 mAnimator.cancel(); in end()
/cts/tests/tests/app/src/android/app/cts/
DApplyOverrideConfigurationActivity.java71 mOnConfigurationChangedFuture.cancel(true); in watchForSingleOnConfigurationChangedCallback()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DDeviceSuspendTestActivity.java227 mAlarmManager.cancel(mPendingIntent); in testTimestampClockSource()
240 mAlarmManager.cancel(mPendingIntent); in testTimestampClockSource()
305 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenReportLatencyExpires()
352 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenFIFOFull()
446 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpByAlarmNonWakeSensor()
/cts/tests/tests/print/src/android/print/cts/
DInterfaceForAppsTest.java154 job.cancel(); in createFirstMockPrinterServiceCallbacks()
241 job.cancel();
258 job.cancel();
301 job.cancel();
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DStorageConstraintTest.java48 mJobScheduler.cancel(STORAGE_JOB_ID); in tearDown()
DDeviceStatesTest.java44 mJobScheduler.cancel(STATE_JOB_ID); in tearDown()
DTimingConstraintsTest.java55 mJobScheduler.cancel(CANCEL_JOB_ID); in testCancel()
/cts/hostsidetests/devicepolicy/app/NotificationSender/src/com/android/cts/managedprofiletests/notificationsender/
DSendNotification.java70 notificationManager.cancel(NOTIFICATION_ID); in cancelNotification()
/cts/tests/tests/webkit/src/android/webkit/cts/
DHttpAuthHandlerTest.java85 handler.cancel(); in onReceivedHttpAuthRequest()
107 handler.cancel(); in onReceivedHttpAuthRequest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DServRespTestCase.java117 mTimer.cancel(); in tearDown()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteQueryBuilderTest.java298 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately()
320 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted()
355 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows()
420 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows()

1234