Home
last modified time | relevance | path

Searched refs:isCanceled (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/TV/src/com/android/tv/menu/
DChannelsPosterPrefetcher.java51 private boolean isCanceled; field in ChannelsPosterPrefetcher
67 SoftPreconditions.checkState(!isCanceled, TAG, "Prefetch called after cancel was called."); in prefetch()
68 if (isCanceled) { in prefetch()
83 isCanceled = true; in cancel()
96 if (isCanceled) { in doPrefetchImages()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/
DPermissionGroups.java150 @Nullable Supplier<Boolean> isCanceled, boolean getAppUiInfo, in getAllPermissionGroups() argument
152 return getPermissionGroups(context, isCanceled, getAppUiInfo, getNonPlatformPermissions, in getAllPermissionGroups()
169 @Nullable Supplier<Boolean> isCanceled, boolean getAppUiInfo, in getPermissionGroups() argument
185 if (isCanceled != null && isCanceled.get()) { in getPermissionGroups()
/packages/modules/Connectivity/framework/src/android/net/
DDnsResolver.java200 if (cancellationSignal != null && cancellationSignal.isCanceled()) { in rawQuery()
241 if (cancellationSignal != null && cancellationSignal.isCanceled()) { in rawQuery()
349 if (cancellationSignal != null && cancellationSignal.isCanceled()) { in query()
448 if (cancellationSignal != null && cancellationSignal.isCanceled()) { in query()
506 if (cancellationSignal != null && cancellationSignal.isCanceled()) { in registerFDListener()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DResolvedResourcesJob.java85 if (!isCanceled() && docsResolved < mResourceUris.getItemCount()) { in setUp()
151 if (isCanceled()) { in buildDocumentList()
DJob.java150 if (isCanceled()) { in run()
160 if (result && !isCanceled()) { in run()
244 final boolean isCanceled() { in isCanceled() method in Job
DCopyJob.java205 if (isCanceled()) { in setUp()
214 if (isCanceled()) { in setUp()
226 for (int i = 0; i < mResolvedDocs.size() && !isCanceled(); ++i) { in start()
507 while (cursor.moveToNext() && !isCanceled()) { in copyDirectoryHelper()
719 if (isCanceled()) { in createProgressTracker()
753 while (cursor.moveToNext() && !isCanceled()) { in calculateFileSizesRecursively()
DDeleteJob.java129 if (isCanceled()) { in start()
DCompressJob.java140 if (!isFinished() || isCanceled()) { in finish()
DMoveJob.java185 if(!isCanceled()) { in processDocument()
/packages/services/BuiltInPrintService/src/com/android/bips/
DPdfPrintActivity.java136 while ((length = in.read(buffer)) >= 0 && !mCancellationSignal.isCanceled()) { in doInBackground()
140 if (mCancellationSignal.isCanceled()) { in doInBackground()
DImagePrintActivity.java119 if (mCancellationSignal.isCanceled()) { in doInBackground()
164 if (mCancellationSignal.isCanceled()) { in onPostExecute()
270 if (cancellationSignal.isCanceled()) { in onWrite()
/packages/modules/Media/apex/framework/java/android/media/
DMediaController2.java323 boolean isCanceled; in onSessionCommand()
325 isCanceled = !mRequestedCommandSeqNumbers.remove(seq); in onSessionCommand()
327 if (isCanceled) { in onSessionCommand()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DOtherActivityInputConsumer.java426 boolean isCanceled = ev.getActionMasked() == ACTION_CANCEL; in finishTouchTracking()
428 if (isCanceled) { in finishTouchTracking()
453 isCanceled /* forceFinish */, mForceFinishRecentsTransitionCallback); in finishTouchTracking()
/packages/apps/TV/src/com/android/tv/ui/
DOnRepeatedKeyInterceptListener.java58 if (duration < THRESHOLD_FAST_FOCUS_CHANGE_TIME_MS[0] || event.isCanceled()) { in onInterceptKeyEvent()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestJobListener.java128 if (!finished.isCanceled()) { in assertCanceled()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintAuthenticateSidecar.java137 return mCancellationSignal == null || mCancellationSignal.isCanceled(); in isCancelled()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DEmojiAltPhysicalKeyDetector.java96 if (!keyEvent.isCanceled()) { in onKeyUp()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DProactiveSyncWorkerTest.java222 assertThat(proactiveSyncWorker.getCancellationSignal().isCanceled()).isTrue(); in testProactiveSyncWorkerOnStopped()
DImmediateSyncWorkerTest.java226 assertThat(immediateSyncWorker.getCancellationSignal().isCanceled()).isTrue(); in testImmediateSyncWorkerOnStopped()
DImmediateAlbumSyncWorkerTest.java264 assertThat(immediateAlbumSyncWorker.getCancellationSignal().isCanceled()).isTrue(); in testImmediateAlbumSyncWorkerOnStopped()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/indexer/
DIndexerMaintenanceService.java284 jobFinished(params, signal.isCanceled()); in doUpdateForUser()
/packages/apps/Gallery/src/com/android/camera/
DImageViewTouchBase.java106 && !event.isCanceled()) { in onKeyUp()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DDnsResolverTest.java284 if (mCancelSignal != null && mCancelSignal.isCanceled()) { in onAnswer()
629 if (mCancelSignal != null && mCancelSignal.isCanceled()) { in onAnswer()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSearchActivityView.kt268 event.getAction() == KeyEvent.ACTION_UP && !event.isCanceled() && state.isTracking(event) in dispatchKeyEventPreIme()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/
DFingerprintEnrollProgressViewModelTest.java188 assertThat(mCancellationSignalWrapper.mValue.isCanceled()).isTrue(); in testCancelEnrollment()

12