Home
last modified time | relevance | path

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

123456

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothChatService.java142 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} in start()
145 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} in start()
205 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} in connect()
209 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} in connect()
235 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} in connected()
238 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} in connected()
242 mSecureAcceptThread.cancel(); in connected()
246 mInsecureAcceptThread.cancel(); in connected()
271 mConnectThread.cancel(); in stop()
276 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/
DAsyncTaskTest.java108 assertTrue(mMyAsyncTask.cancel(true)); in testCancelWithInterrupt()
110 assertFalse(mMyAsyncTask.cancel(true)); in testCancelWithInterrupt()
121 assertTrue(mMyAsyncTask.cancel(false)); in testCancel()
123 assertFalse(mMyAsyncTask.cancel(false)); in testCancel()
133 assertFalse(mMyAsyncTask.cancel(false)); in testCancelTooLate()
169 mAsyncTask.cancel(false); in testCancellationWithException()
/cts/tests/tests/soundtrigger/src/android/soundtrigger/cts/instrumentation/
DSoundTriggerInstrumentationObserver.java191 mOnRecognitionStarted.cancel(true /* mayInterruptIfRunning */); in close()
192 mOnRecognitionStopped.cancel(true /* mayInterruptIfRunning */); in close()
193 mOnModelUnloaded.cancel(true /* mayInterruptIfRunning */); in close()
335 mOnModelLoaded.cancel(true /* mayInterruptIfRunning */); in close()
336 mOnClientAttached.cancel(true /* mayInterruptIfRunning */); in close()
337 mOnClientDetached.cancel(true /* mayInterruptIfRunning */); in close()
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java173 mPendingIntent.cancel(); in testGetActivity()
240 mPendingIntent.cancel(); in testGetActivities()
313 mPendingIntent.cancel(); in testGetBroadcast()
428 pi.cancel(); in testUpdateCurrent()
446 mPendingIntent.cancel(); in testGetService()
507 mPendingIntent.cancel(); in testStartServiceOnFinishedHandler()
524 mPendingIntent.cancel(); in testStartServiceOnFinishedHandler()
568 mPendingIntent.cancel(); in testCancel()
596 mPendingIntent.cancel(); in testSend()
627 mPendingIntent.cancel(); in testSendWithParamInt()
[all …]
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DSharedUidTest.java55 js.cancel(JOBID); in testCancelDisabledPackageJob()
97 js.cancel(JOBID); in testCancelDisabledPackageJob()
/cts/tests/vibrator/src/android/os/cts/
DVibratorManagerTest.java109 mVibratorManager.cancel(); in cleanUp()
157 mVibratorManager.cancel(); in testCancel()
176 mVibratorManager.cancel(); in testCombinedVibrationOneShotMaxAmplitude()
216 mVibratorManager.cancel(); in testCombinedVibrationWaveformRepeats()
285 vibrator.cancel(); in testCombinedVibrationTargetingSingleVibrator()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowInsetsAnimationUtils.java70 mAnimator.cancel(); in requestControlThenTransitionToVisibility()
89 animator.cancel(); in runTransition()
/cts/tests/tests/widget/src/android/widget/cts/
DViewAnimatorTest.java103 final View v2 = mActivity.findViewById(R.id.cancel); in testShowNext()
150 final View v2 = mActivity.findViewById(R.id.cancel); in testAccessDisplayedChild()
185 final View v2 = mActivity.findViewById(R.id.cancel); in testAccessDisplayedChildBoundary()
214 final View v2 = mActivity.findViewById(R.id.cancel); in testGetBaseline()
241 final View v2 = mActivity.findViewById(R.id.cancel); in testShowPrevious()
301 final View v2 = mActivity.findViewById(R.id.cancel); in testAddView()
343 final View v2 = mActivity.findViewById(R.id.cancel); in testRemoveViews()
DTextViewHandwritingGestureTest.java1288 gesture.getCancellationSignal().cancel(); in performInsertModeGesture_firstLine()
1302 gesture.getCancellationSignal().cancel(); in performInsertModeGesture_secondLine()
1319 gesture.getCancellationSignal().cancel(); in performInsertModeGesture_aboveFirstLineWithinMargin()
1347 gesture.getCancellationSignal().cancel(); in performInsertModeGesture_betweenLinesWithinMargin()
1379 gesture.getCancellationSignal().cancel(); in performInsertModeGesture_belowLastLineWithinMargin()
1406 gesture.getCancellationSignal().cancel(); in performInsertModeGesture_leftOfLineWithinMargin()
1435 gesture.getCancellationSignal().cancel(); in performInsertModeGesture_rightOfLineWithinMargin()
1478 gesture.getCancellationSignal().cancel(); in performInsertModeGesture_singleLine()
1496 gesture.getCancellationSignal().cancel(); in performInsertModeGesture_aboveLineWithinMargin_singleLine()
1526 gesture.getCancellationSignal().cancel(); in performInsertModeGesture_belowLineWithinMargin_singleLine()
[all …]
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/
DNotification.kt10 fun cancel() { in cancel() method in com.android.bedstead.nene.notifications.Notification
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSession.java66 t.cancel(true); in onDestroy()
318 arg.abortReq.cancel(); in doInBackground()
324 arg.commandReq.cancel(); in doInBackground()
334 arg.compReq.cancel(); in doInBackground()
340 arg.confReq.cancel(); in doInBackground()
346 arg.pickReq.cancel(); in doInBackground()
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/
DSpeechRecognitionActivity.java84 cancel(/* index */ 0); in cancelDefault()
87 public void cancel(int index) { in cancel() method in SpeechRecognitionActivity
88 mHandler.post(mRecognizerInfos.get(index).mRecognizer::cancel); in cancel()
/cts/tests/AlarmManager/app/src/android/alarmmanager/alarmtestapp/cts/
DTestAlarmScheduler.java91 am.cancel(alarmClockSender); in onReceive()
92 am.cancel(alarmSender); in onReceive()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/
DMainFragment.java120 mAutoScrollTimer.cancel();
208 mAutoScrollTimer.cancel();
220 mAutoScrollTimer.cancel();
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DSimpleSaveActivity.java68 mCancel = findViewById(R.id.cancel); in onCreate()
71 mCancel.setOnClickListener((v) -> getAutofillManager().cancel()); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DDeviceSuspendTestActivity.java244 mAlarmManager.cancel(mPendingIntent); in verifyDeviceCanSuspend()
257 mAlarmManager.cancel(mPendingIntent); in verifyDeviceCanSuspend()
344 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenReportLatencyExpires()
391 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenFIFOFull()
478 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpByAlarmNonWakeSensor()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricSimpleTests.java395 CancellationSignal cancel = new CancellationSignal(); in testWhenCredentialEnrolled() local
397 showCredentialOnlyBiometricPrompt(callback, cancel, true /* shouldShow */); in testWhenCredentialEnrolled()
398 cancelAuthentication(cancel); in testWhenCredentialEnrolled()
410 cancel = new CancellationSignal(); in testWhenCredentialEnrolled()
412 showDeviceCredentialAllowedBiometricPrompt(callback, cancel, true /* shouldShow */); in testWhenCredentialEnrolled()
413 cancelAuthentication(cancel); in testWhenCredentialEnrolled()
/cts/tests/location/common/src/android/location/cts/common/
DGetCurrentLocationCapture.java51 mCancellationSignal.cancel(); in close()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DAnimationTestCase.java56 mAnimator.cancel(); in end()
/cts/tests/controls/src/android/controls/cts/
DCtsControlsPublisher.java56 public void cancel() { in subscribe()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DNotificationTest.java73 mJobScheduler.cancel(JOB_ID); in tearDown()
108 mJobScheduler.cancel(JOB_ID); in testNotificationJobEndDetach()
145 mJobScheduler.cancel(JOB_ID); in testNotificationJobEndRemove()
432 mNotificationManager.cancel(notificationId); in testUserInitiatedJobNotificationBehavior()
484 mNotificationManager.cancel(notificationId); in testNonUserInitiatedJobNotificationBehavior()
/cts/tests/tests/print/src/android/print/cts/
DInterfaceForAppsTest.java154 job.cancel(); in createFirstMockPrinterServiceCallbacks()
241 job.cancel();
258 job.cancel();
301 job.cancel();
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DVibratorTests.java75 mVibrator.cancel(); in testRepeatedWaveformVibration()

123456