Home
last modified time | relevance | path

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

12345

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothChatService.java139 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} in start()
142 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} in start()
202 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} in connect()
206 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} in connect()
224 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} in connected()
227 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} in connected()
231 mSecureAcceptThread.cancel(); in connected()
235 mInsecureAcceptThread.cancel(); in connected()
260 mConnectThread.cancel(); in stop()
265 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.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()
DVibratorManagerTest.java96 mVibratorManager.cancel(); in cleanUp()
105 mVibratorManager.cancel(); in testCancel()
121 mVibratorManager.cancel(); in testVibrateOneShot()
143 mVibratorManager.cancel(); in testVibrateWaveform()
171 vibrator.cancel(); in testVibrateSingleVibrator()
223 vibrator.cancel(); in testVibrator()
DVibratorTest.java111 mVibrator.cancel(); in cleanUp()
119 mVibrator.cancel(); in testVibratorCancel()
169 mVibrator.cancel(); in testVibrateOneShot()
193 mVibrator.cancel(); in testVibrateWaveform()
303 mVibrator.cancel(); in testVibratorIsVibrating()
343 mVibrator.cancel(); in testVibratorStateCallback()
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java160 mPendingIntent.cancel(); in testGetActivity()
204 mPendingIntent.cancel(); in testGetBroadcast()
292 pi.cancel(); in testUpdateCurrent()
310 mPendingIntent.cancel(); in testGetService()
344 mPendingIntent.cancel(); in testStartServiceOnFinishedHandler()
361 mPendingIntent.cancel(); in testStartServiceOnFinishedHandler()
373 mPendingIntent.cancel(); in testCancel()
401 mPendingIntent.cancel(); in testSend()
432 mPendingIntent.cancel(); in testSendWithParamInt()
450 mPendingIntent.cancel(); in testSendWithParamContextIntIntent()
[all …]
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricSimpleTests.java197 CancellationSignal cancel = new CancellationSignal(); in testWhenCredentialEnrolled() local
199 showCredentialOnlyBiometricPrompt(callback, cancel, true /* shouldShow */); in testWhenCredentialEnrolled()
200 cancelAuthentication(cancel); in testWhenCredentialEnrolled()
212 cancel = new CancellationSignal(); in testWhenCredentialEnrolled()
214 showDeviceCredentialAllowedBiometricPrompt(callback, cancel, true /* shouldShow */); in testWhenCredentialEnrolled()
215 cancelAuthentication(cancel); in testWhenCredentialEnrolled()
/cts/tests/tests/widget/src/android/widget/cts/
DViewAnimatorTest.java94 final View v2 = mActivity.findViewById(R.id.cancel); in testShowNext()
141 final View v2 = mActivity.findViewById(R.id.cancel); in testAccessDisplayedChild()
176 final View v2 = mActivity.findViewById(R.id.cancel); in testAccessDisplayedChildBoundary()
205 final View v2 = mActivity.findViewById(R.id.cancel); in testGetBaseline()
232 final View v2 = mActivity.findViewById(R.id.cancel); in testShowPrevious()
292 final View v2 = mActivity.findViewById(R.id.cancel); in testAddView()
334 final View v2 = mActivity.findViewById(R.id.cancel); in testRemoveViews()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSession.java60 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/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DSharedUidTest.java55 js.cancel(JOBID); in testCancelDisabledPackageJob()
97 js.cancel(JOBID); in testCancelDisabledPackageJob()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowInsetsAnimationUtils.java70 mAnimator.cancel(); in requestControlThenTransitionToVisibility()
89 animator.cancel(); in runTransition()
/cts/tests/tests/hardware/src/android/hardware/fingerprint/cts/
DFingerprintManagerTest.java110 cancelAuth.cancel(); in test_authenticateNullCallback()
128 cancelAuth.cancel(); in test_authenticate()
/cts/tests/AlarmManager/app/src/android/alarmmanager/alarmtestapp/cts/
DTestAlarmScheduler.java89 am.cancel(alarmClockSender); in onReceive()
90 am.cancel(alarmSender); in onReceive()
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/
DSpeechRecognitionActivity.java81 public void cancel() { in cancel() method in SpeechRecognitionActivity
82 mHandler.post(mRecognizer::cancel); in 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/tests/leanbackjank/app/src/android/leanbackjank/app/ui/
DMainFragment.java120 mAutoScrollTimer.cancel();
208 mAutoScrollTimer.cancel();
220 mAutoScrollTimer.cancel();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DDeviceSuspendTestActivity.java267 mAlarmManager.cancel(mPendingIntent); in verifyDeviceCanSuspend()
280 mAlarmManager.cancel(mPendingIntent); in verifyDeviceCanSuspend()
367 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenReportLatencyExpires()
414 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenFIFOFull()
508 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/tests/webkit/src/android/webkit/cts/
DHttpAuthHandlerTest.java87 handler.cancel(); in onReceivedHttpAuthRequest()
109 handler.cancel(); in onReceivedHttpAuthRequest()
/cts/tests/tests/view/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/location/common/src/android/location/cts/common/
DGetCurrentLocationCapture.java51 mCancellationSignal.cancel(); in close()
/cts/tests/tests/app/src/android/app/cts/
DApplyOverrideConfigurationActivity.java71 mOnConfigurationChangedFuture.cancel(true); in watchForSingleOnConfigurationChangedCallback()
/cts/hostsidetests/devicepolicy/app/NotificationSender/src/com/android/cts/managedprofiletests/notificationsender/
DSendNotification.java70 notificationManager.cancel(NOTIFICATION_ID); in cancelNotification()

12345