Searched refs:mCancellationSignal (Results 1 – 7 of 7) sorted by relevance
36 private CancellationSignal mCancellationSignal; field in FingerprintAuthenticateSidecar65 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()
51 private CancellationSignal mCancellationSignal; field in BiometricFragment108 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()
47 private CancellationSignal mCancellationSignal; field in PdfPrintActivity82 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()
69 private CancellationSignal mCancellationSignal = new CancellationSignal(); field in ImagePrintActivity116 if (mCancellationSignal.isCanceled()) { in doInBackground()160 if (mCancellationSignal.isCanceled()) { in onPostExecute()199 mCancellationSignal.cancel(); in onDestroy()260 mCancellationSignal = cancellationSignal; in onWrite()
48 private final CancellationSignal mCancellationSignal; field in ImageToPdfTask54 mCancellationSignal = cancellationSignal; in ImageToPdfTask()64 mCancellationSignal.throwIfCanceled(); in doInBackground()
141 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.Loading248 mCancellationSignal = cancellationSignal; in Loading()259 return new Loading(mCancellationSignal, newCallbacks); in withCallback()272 return new Loading(mCancellationSignal, newCallbacks); in withoutCallback()
66 @Mock private CancellationSignal mCancellationSignal; field in CachingWidgetPreviewLoaderTest89 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()