Home
last modified time | relevance | path

Searched refs:mCancellationSignal (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintAuthenticateSidecar.java36 private CancellationSignal mCancellationSignal; field in FingerprintAuthenticateSidecar
65 mCancellationSignal = null;
83 mCancellationSignal = null;
105 mCancellationSignal = new CancellationSignal(); in startAuthentication()
106 mFingerprintManager.authenticate(null /* crypto */, mCancellationSignal, in startAuthentication()
111 if (mCancellationSignal != null && !mCancellationSignal.isCanceled()) { in stopAuthentication()
112 mCancellationSignal.cancel(); in stopAuthentication()
114 mCancellationSignal = null; in stopAuthentication()
/packages/apps/Settings/src/com/android/settings/password/
DBiometricFragment.java51 private CancellationSignal mCancellationSignal; field in BiometricFragment
108 if (mCancellationSignal != null) { in cancel()
109 mCancellationSignal.cancel(); in cancel()
150 if (mCancellationSignal == null) { in onResume()
151 mCancellationSignal = new CancellationSignal(); in onResume()
152 mBiometricPrompt.authenticateUser(mCancellationSignal, mClientExecutor, in onResume()
/packages/services/BuiltInPrintService/src/com/android/bips/
DPdfPrintActivity.java47 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()
DImagePrintActivity.java69 private CancellationSignal mCancellationSignal = new CancellationSignal(); field in ImagePrintActivity
116 if (mCancellationSignal.isCanceled()) { in doInBackground()
160 if (mCancellationSignal.isCanceled()) { in onPostExecute()
199 mCancellationSignal.cancel(); in onDestroy()
260 mCancellationSignal = cancellationSignal; in onWrite()
DImageToPdfTask.java48 private final CancellationSignal mCancellationSignal; field in ImageToPdfTask
54 mCancellationSignal = cancellationSignal; in ImageToPdfTask()
64 mCancellationSignal.throwIfCanceled(); in doInBackground()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DCachingWidgetPreviewLoader.java141 prev.mCancellationSignal.cancel(); in loadPreview()
214 ((CacheResult.Loading) previousCacheResult).mCancellationSignal.cancel(); in clearPreviews()
234 ((CacheResult.Loading) previousCacheResult).mCancellationSignal.cancel(); in clearAll()
243 @NonNull final CancellationSignal mCancellationSignal; field in CachingWidgetPreviewLoader.CacheResult.Loading
248 mCancellationSignal = cancellationSignal; in Loading()
259 return new Loading(mCancellationSignal, newCallbacks); in withCallback()
272 return new Loading(mCancellationSignal, newCallbacks); in withoutCallback()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/
DCachingWidgetPreviewLoaderTest.java66 @Mock private CancellationSignal mCancellationSignal; field in CachingWidgetPreviewLoaderTest
89 when(mDelegate.loadPreview(any(), any(), any(), any())).thenReturn(mCancellationSignal); in setUp()
173 verify(mCancellationSignal).cancel(); in loadPreview_thenCancelled_shouldCancelDelegateRequest()
186 verifyZeroInteractions(mCancellationSignal); in loadPreview_thenCancelled_otherCallListening_shouldNotCancelDelegateRequest()
216 verify(mCancellationSignal).cancel(); in loadPreview_thenCancelled_bothCallsCancelled_shouldCancelDelegateRequest()
349 verify(mCancellationSignal).cancel(); in clearPreviews_loading_shouldCancelLoad()
398 verify(mCancellationSignal).cancel(); in clearAll_loading_shouldCancelLoad()