/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintAuthenticateSidecar.java | 37 private CancellationSignal mCancellationSignal; field in FingerprintAuthenticateSidecar 66 mCancellationSignal = null; 105 mCancellationSignal = new CancellationSignal(); in startAuthentication() 106 mFingerprintManager.authenticate(null /* crypto */, mCancellationSignal, in startAuthentication() 111 if (mCancellationSignal != null) { in stopAuthentication() 114 mCancellationSignal.cancel(); in stopAuthentication() 115 mCancellationSignal = null; in stopAuthentication() 137 return mCancellationSignal == null || mCancellationSignal.isCanceled(); in isCancelled()
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/ |
D | FingerprintEnrollProgressViewModel.java | 73 @Nullable private CancellationSignal mCancellationSignal = null; field in FingerprintEnrollProgressViewModel 189 if (mCancellationSignal != null) { in startEnrollment() 191 return mCancellationSignal; in startEnrollment() 202 mCancellationSignal = new CancellationSignal(); in startEnrollment() 216 mFingerprintUpdater.enroll(mToken, mCancellationSignal, mUserId, callback, reason, in startEnrollment() 219 mFingerprintUpdater.enroll(mToken, mCancellationSignal, mUserId, mEnrollmentCallback, in startEnrollment() 222 return mCancellationSignal; in startEnrollment() 229 final CancellationSignal cancellationSignal = mCancellationSignal; in cancelEnrollment() 230 mCancellationSignal = null; in cancelEnrollment() 245 return (mCancellationSignal != null); in isEnrolling()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | BiometricFragment.java | 55 private CancellationSignal mCancellationSignal; field in BiometricFragment 115 if (mCancellationSignal != null) { in cancel() 116 mCancellationSignal.cancel(); in cancel() 180 if (mCancellationSignal == null) { in onResume() 181 mCancellationSignal = new CancellationSignal(); in onResume() 182 mBiometricPrompt.authenticateUser(mCancellationSignal, mClientExecutor, in onResume()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | PdfPrintActivity.java | 47 private CancellationSignal mCancellationSignal; field in PdfPrintActivity 82 if (mCancellationSignal != null) { in onDestroy() 83 mCancellationSignal.cancel(); in onDestroy() 106 mCancellationSignal = cancellationSignal; in onWrite() 136 while ((length = in.read(buffer)) >= 0 && !mCancellationSignal.isCanceled()) { in doInBackground() 140 if (mCancellationSignal.isCanceled()) { in doInBackground()
|
D | ImagePrintActivity.java | 72 private CancellationSignal mCancellationSignal = new CancellationSignal(); field in ImagePrintActivity 119 if (mCancellationSignal.isCanceled()) { in doInBackground() 164 if (mCancellationSignal.isCanceled()) { in onPostExecute() 203 mCancellationSignal.cancel(); in onDestroy() 264 mCancellationSignal = cancellationSignal; in onWrite()
|
D | ImageToPdfTask.java | 48 private final CancellationSignal mCancellationSignal; field in ImageToPdfTask 54 mCancellationSignal = cancellationSignal; in ImageToPdfTask() 64 mCancellationSignal.throwIfCanceled(); in doInBackground()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/ |
D | ImmediateSyncWorker.java | 48 private final CancellationSignal mCancellationSignal = new CancellationSignal(); field in ImmediateSyncWorker 83 .syncAllMediaFromLocalProvider(mCancellationSignal); in doWork() 90 .syncAllMediaFromCloudProvider(mCancellationSignal); in doWork() 122 mCancellationSignal.cancel(); in onStopped() 130 return mCancellationSignal; in getCancellationSignal()
|
D | ProactiveSyncWorker.java | 48 private final CancellationSignal mCancellationSignal = new CancellationSignal(); field in ProactiveSyncWorker 89 .syncAllMediaFromLocalProvider(mCancellationSignal); in doWork() 101 .syncAllMediaFromCloudProvider(mCancellationSignal); in doWork() 133 mCancellationSignal.cancel(); in onStopped() 141 return mCancellationSignal; in getCancellationSignal()
|
D | ImmediateAlbumSyncWorker.java | 49 private final CancellationSignal mCancellationSignal = new CancellationSignal(); field in ImmediateAlbumSyncWorker 90 .syncAlbumMediaFromLocalProvider(albumId, mCancellationSignal); in doWork() 93 .syncAlbumMediaFromCloudProvider(albumId, mCancellationSignal); in doWork() 142 mCancellationSignal.cancel(); in onStopped() 150 return mCancellationSignal; in getCancellationSignal()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/glide/ |
D | PickerThumbnailFetcher.java | 51 private final CancellationSignal mCancellationSignal; field in PickerThumbnailFetcher 62 mCancellationSignal = new CancellationSignal(); in PickerThumbnailFetcher() 85 /* cancellationSignal= */ mCancellationSignal); in loadData() 119 mCancellationSignal.cancel(); in cancel()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/viewmodel/ |
D | PickerViewModel.java | 190 private CancellationSignal mCancellationSignal = new CancellationSignal(); field in PickerViewModel 238 mCancellationSignal.cancel(); in onCleared() 780 shouldScreenSelectionUris, mCancellationSignal)) { in loadItemsDataForPreSelection() argument 832 mMimeTypeFilters, userId, mCancellationSignal); in fetchItems() 835 mMimeTypeFilters, userId, mCancellationSignal); in fetchItems() 1002 .getLocalCategories(mMimeTypeFilters, userId, mCancellationSignal); in fetchCategories() 1005 .getAllCategories(mMimeTypeFilters, userId, mCancellationSignal); in fetchCategories()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | NsdPublisher.java | 656 private final CancellationSignal mCancellationSignal; field in NsdPublisher.HostInfoListener 666 this.mCancellationSignal = cancellationSignal; in HostInfoListener() 722 mCancellationSignal.cancel(); in cancel()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 1806 final CancellationSignal mCancellationSignal; field in NetworkMonitor.DnsCallback 1811 mCancellationSignal = new CancellationSignal(); in DnsCallback() 1905 mPendingQueries.valueAt(i).mCancellationSignal.cancel(); in cancelAllQueries() 1937 Runnable::run, v6Cb.mCancellationSignal, v6Cb); in sendQueries() 1939 Runnable::run, v4Cb.mCancellationSignal, v4Cb); in sendQueries() 2013 resolver.query(mNetwork, queryName, FLAG_EMPTY, Runnable::run, cb.mCancellationSignal, in sendQueries()
|