Home
last modified time | relevance | path

Searched refs:isCancelled (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java116 if (isCancelled()) { in decode()
134 if (isCancelled()) { in decode()
148 if (isCancelled()) { in decode()
196 if (isCancelled()) { in decode()
205 if (isCancelled()) { in decode()
219 if (isCancelled()) { in decode()
269 if (isCancelled()) { in decode()
287 if (isCancelled()) { in decode()
296 if (isCancelled()) { in decode()
319 if (isCancelled()) { in decode()
[all …]
/frameworks/base/libs/dream/lowlight/tests/src/com.android.dream.lowlight/
DLowLightTransitionCoordinatorTest.kt122 assertThat(job.isCancelled).isFalse() in <lambda>()
134 assertThat(job.isCancelled).isFalse() in <lambda>()
137 assertThat(job.isCancelled).isTrue() in <lambda>()
152 assertThat(job.isCancelled).isFalse() in <lambda>()
158 assertThat(job.isCancelled).isTrue() in <lambda>()
/frameworks/base/media/tests/mediatestutils/javatests/com/android/media/mediatestutils/
DCancelAllFuturesRuleTest.java59 assertThat(mFutures.get(0).isCancelled()) in apply()
62 assertThat(mFutures.get(0).isCancelled()) in apply()
65 assertThat(mFutures.get(1).isCancelled()) in apply()
/frameworks/base/core/java/android/view/
DWindowInsetsAnimationController.java164 return !isFinished() && !isCancelled(); in isReady()
183 boolean isCancelled(); in isCancelled() method
DInsetsAnimationThreadControlRunner.java124 if (mControl.isCancelled()) { in InsetsAnimationThreadControlRunner()
/frameworks/av/services/audioflinger/timing/tests/
Dmediasyncevent_tests.cpp66 ASSERT_FALSE(syncEvent->isCancelled()); in TEST()
68 ASSERT_TRUE(syncEvent->isCancelled()); in TEST()
Dsynchronizedrecordstate_tests.cpp61 ASSERT_TRUE(syncEvent->isCancelled()); in TEST()
77 ASSERT_TRUE(syncEvent->isCancelled()); in TEST()
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsAnimationControlImplTest.java140 assertFalse(mController.isCancelled()); in testReady()
189 assertFalse(mController.isCancelled()); in testFinishing()
203 assertTrue(mController.isCancelled()); in testCancelled()
215 assertTrue(mController.isCancelled()); in testCancelled_beforeReadyDispatched()
232 assertFalse(mController.isCancelled()); in testFinish_immediately()
/frameworks/av/services/audioflinger/timing/
DSynchronizedRecordState.h44 if (mSyncStartEvent->isCancelled()) { in startRecording()
77 if (mFramesToDrop >= 0 || !mSyncStartEvent || mSyncStartEvent->isCancelled()) { in updateRecordFrames()
DSyncEvent.h47 bool isCancelled() const { in isCancelled() function
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DAsyncRunner.java68 while (!isCancelled() && result.status == RESULT_RUNNING) { in doInBackground()
79 if (isCancelled()) { in doInBackground()
205 if (mRunTask != null && !mRunTask.isCancelled() ) { in stop()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DInstallationAsyncTask.java255 if (isCancelled()) { in doInBackground()
264 if (isCancelled()) { in doInBackground()
279 if (isCancelled()) { in doInBackground()
486 if (isCancelled()) { in installWritablePartition()
593 if (isCancelled()) { in installStreamingZipUpdate()
614 if (isCancelled()) { in installLocalZipUpdate()
669 if (isCancelled()) { in installImage()
740 if (isCancelled()) { in installImage()
/frameworks/base/core/java/android/accounts/
DAccountManagerFuture.java66 boolean isCancelled(); in isCancelled() method
/frameworks/base/core/java/android/os/
DAsyncTask.java564 public final boolean isCancelled() { in isCancelled() method in AsyncTask
761 if (!isCancelled()) { in publishProgress()
768 if (isCancelled()) { in finish()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingReconsideration.java76 public boolean isCancelled() { in isCancelled() method in RankingReconsideration
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java629 if (task.isPreload() && !task.isCancelled()) { in stopPreload()
679 if (renderTask != null && !renderTask.isCancelled()) { in renderPage()
707 if (task != null && !task.isCancelled()) { in cancelRendering()
716 if (!task.isCancelled()) { in cancelAllRendering()
748 while (mRenderer == null && !isCancelled()) { in doInBackground()
892 if (isCancelled()) { in doInBackground()
/frameworks/base/services/credentials/java/com/android/server/credentials/
DRemoteCredentialService.java185 if (future != null && future.isCancelled()) { in onBeginGetCredential()
248 if (future != null && future.isCancelled()) { in onBeginCreateCredential()
310 if (future != null && future.isCancelled()) { in onClearCredentialState()
/frameworks/base/test-mock/src/android/test/mock/
DMockAccountManager.java101 public boolean isCancelled() { in isCancelled() method in MockAccountManager.MockAccountManagerFuture
/frameworks/base/core/java/android/print/
DPrintJob.java176 public boolean isCancelled() { in isCancelled() method in PrintJob
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingExtensionSessionCallback.java175 public boolean isCancelled() { in isCancelled() method in BlockingExtensionSessionCallback.SessionFuture
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageExporterTest.java137 assertFalse("future should not be canceled", direct.isCancelled()); in testImageExport()
203 assertFalse("future should not be canceled", direct.isCancelled()); in testImageExport_customizedFileName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DScrollCaptureExecutor.kt135 if (responseFuture.isCancelled) { in <lambda>()
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentController.java320 boolean isCancelled; in registerIntentSenderCancelListener()
323 isCancelled = pendingIntent.canceled; in registerIntentSenderCancelListener()
324 if (!isCancelled) { in registerIntentSenderCancelListener()
/frameworks/base/core/tests/coretests/src/android/widget/
DAppWidgetHostViewTest.java113 assertTrue(((Future) executor.get(0)).isCancelled()); in asyncInflation_cancelled()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteAugmentedAutofillService.java193 && !requestAutofill.isCancelled(); in onRequestAutofillLocked()
198 if (requestAutofill.isCancelled()) { in onRequestAutofillLocked()

123