Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/inputmethod/
DInsertModeGesture.java52 mCancellationSignal = cancellationSignal; in InsertModeGesture()
71 return mCancellationSignal; in getCancellationSignal()
90 private CancellationSignal mCancellationSignal; field in InsertModeGesture.Builder
110 mCancellationSignal = cancellationSignal; in setCancellationSignal()
134 } else if (mCancellationSignal == null) { in build()
137 return new InsertModeGesture(mPoint, mFallbackText, mCancellationSignal); in build()
188 dest.writeStrongBinder(CancellationSignalBeamer.Sender.beamFromScope(mCancellationSignal)); in writeToParcel()
DCancellableHandwritingGesture.java33 CancellationSignal mCancellationSignal; field in CancellableHandwritingGesture
45 mCancellationSignal = cancellationSignal; in setCancellationSignal()
50 return mCancellationSignal; in getCancellationSignal()
59 mCancellationSignal = receiver.unbeam(mCancellationSignalToken); in unbeamCancellationSignal()
/frameworks/base/core/java/android/content/
DCursorLoader.java60 CancellationSignal mCancellationSignal; field in CursorLoader
69 mCancellationSignal = new CancellationSignal(); in loadInBackground()
73 mSelectionArgs, mSortOrder, mCancellationSignal); in loadInBackground()
87 mCancellationSignal = null; in loadInBackground()
97 if (mCancellationSignal != null) { in cancelLoadInBackground()
98 mCancellationSignal.cancel(); in cancelLoadInBackground()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteQuery.java34 private final CancellationSignal mCancellationSignal; field in SQLiteQuery
39 mCancellationSignal = cancellationSignal; in SQLiteQuery()
64 mCancellationSignal); in fillWindow()
DSQLiteDirectCursorDriver.java34 private final CancellationSignal mCancellationSignal; field in SQLiteDirectCursorDriver
42 mCancellationSignal = cancellationSignal; in SQLiteDirectCursorDriver()
46 final SQLiteQuery query = new SQLiteQuery(mDatabase, mSql, mCancellationSignal); in query()
/frameworks/base/core/java/android/service/rotationresolver/
DRotationResolverService.java113 private CancellationSignal mCancellationSignal; field in RotationResolverService
143 && (mCancellationSignal == null || !mCancellationSignal.isCanceled())
150 mCancellationSignal = CancellationSignal.fromTransport(transport);
152 onResolveRotation(request, mCancellationSignal, mPendingCallback);
/frameworks/base/core/java/android/print/
DPrintFileDocumentAdapter.java102 private final CancellationSignal mCancellationSignal; field in PrintFileDocumentAdapter.WriteFileAsyncTask
108 mCancellationSignal = cancellationSignal; in WriteFileAsyncTask()
109 mCancellationSignal.setOnCancelListener(new OnCancelListener() { in WriteFileAsyncTask()
121 FileUtils.copy(in, out, mCancellationSignal, null, null); in doInBackground()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintDetectClient.java61 @Nullable private ICancellationSignal mCancellationSignal; field in FingerprintDetectClient
97 if (mCancellationSignal != null) { in stopHalOperation()
99 mCancellationSignal.cancel(); in stopHalOperation()
135 mCancellationSignal = session.getSession().detectInteractionWithContext( in doDetectInteraction()
156 mCancellationSignal = session.getSession().detectInteraction(); in doDetectInteraction()
DFingerprintEnrollClient.java82 @Nullable private ICancellationSignal mCancellationSignal; field in FingerprintEnrollClient
255 mCancellationSignal = session.getSession().enrollWithContext( in doEnroll()
271 mCancellationSignal = session.getSession().enroll(hat); in doEnroll()
285 if (mCancellationSignal != null) { in stopHalOperation()
287 mCancellationSignal.cancel(); in stopHalOperation()
DFingerprintAuthenticationClient.java92 private ICancellationSignal mCancellationSignal; field in FingerprintAuthenticationClient
306 mCancellationSignal = session.getSession().authenticateWithContext(mOperationId, in doAuthenticate()
309 mCancellationSignal = session.getSession().authenticate(mOperationId); in doAuthenticate()
351 if (mCancellationSignal != null) { in stopHalOperation()
353 mCancellationSignal.cancel(); in stopHalOperation()
/frameworks/base/core/java/android/os/
DCancellationSignal.java192 return ((Transport)transport).mCancellationSignal; in fromTransport()
208 final CancellationSignal mCancellationSignal = new CancellationSignal(); field in CancellationSignal.Transport
212 mCancellationSignal.cancel(); in cancel()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/screenshot/scroll/
DFakeScrollCaptureConnection.java44 private CancellationSignal mCancellationSignal; field in FakeScrollCaptureConnection
58 mCancellationSignal = CancellationSignal.fromTransport(signal); in startCapture()
75 mCancellationSignal = CancellationSignal.fromTransport(signal); in requestImage()
90 mCancellationSignal = CancellationSignal.fromTransport(signal); in endCapture()
/frameworks/base/services/tests/servicestests/src/com/android/server/rotationresolver/
DRotationResolverManagerPerUserServiceTest.java60 private CancellationSignal mCancellationSignal; field in RotationResolverManagerPerUserServiceTest
83 mCancellationSignal = new CancellationSignal(); in setUp()
88 mMockCallbackInternal, mRequest, mCancellationSignal, lock); in setUp()
104 mService.resolveRotationLocked(callbackInternal, mRequest, mCancellationSignal); in testResolveRotation_callOnSuccess()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceDetectClient.java60 @Nullable private ICancellationSignal mCancellationSignal; field in FaceDetectClient
108 if (mCancellationSignal != null) { in stopHalOperation()
110 mCancellationSignal.cancel(); in stopHalOperation()
162 mCancellationSignal = session.getSession().detectInteractionWithContext(ctx); in doDetectInteraction()
175 mCancellationSignal = session.getSession().detectInteraction(); in doDetectInteraction()
DFaceEnrollClient.java84 @Nullable private ICancellationSignal mCancellationSignal; field in FaceEnrollClient
271 mCancellationSignal = session.getSession().enrollWithOptions(options); in doEnroll()
273 mCancellationSignal = session.getSession().enrollWithContext( in doEnroll()
290 mCancellationSignal = session.getSession().enroll(hat, EnrollmentType.DEFAULT, features, in doEnroll()
303 if (mCancellationSignal != null) { in stopHalOperation()
305 mCancellationSignal.cancel(); in stopHalOperation()
DFaceAuthenticationClient.java90 private ICancellationSignal mCancellationSignal; field in FaceAuthenticationClient
195 mCancellationSignal = session.getSession().authenticateWithContext( in doAuthenticate()
211 mCancellationSignal = session.getSession().authenticate(mOperationId); in doAuthenticate()
222 if (mCancellationSignal != null) { in stopHalOperation()
224 mCancellationSignal.cancel(); in stopHalOperation()
/frameworks/base/core/tests/coretests/src/android/hardware/biometrics/
DBiometricPromptTest.java64 private CancellationSignal mCancellationSignal; field in BiometricPromptTest
80 mCancellationSignal = new CancellationSignal(); in setUp()
97 mBiometricPrompt.authenticate(mCancellationSignal, mExecutor, callback); in testCancellationAfterAuthenticationFailed()
105 mCancellationSignal.cancel(); in testCancellationAfterAuthenticationFailed()
/frameworks/base/core/java/android/service/textclassifier/
DTextClassifierService.java123 @NonNull private final CancellationSignal mCancellationSignal = new CancellationSignal();
132 sessionId, request, mCancellationSignal, new ProxyCallback<>(callback)));
143 sessionId, request, mCancellationSignal, new ProxyCallback<>(callback)));
153 sessionId, request, mCancellationSignal, new ProxyCallback<>(callback)));
182 sessionId, request, mCancellationSignal, new ProxyCallback<>(callback)));
193 sessionId, request, mCancellationSignal, new ProxyCallback<>(callback)));
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DScrollCaptureClient.java253 private ICancellationSignal mCancellationSignal;
307 mCancellationSignal = mConnection.startCapture(mReader.getSurface(), this);
310 mCancellationSignal.cancel();
339 mCancellationSignal = mConnection.requestImage(mRequestRect);
342 mCancellationSignal.cancel();
/frameworks/base/core/tests/coretests/src/com/android/internal/view/
DAbsCaptureHelperTest.java95 private CancellationSignal mCancellationSignal; field in AbsCaptureHelperTest
104 mCancellationSignal = new CancellationSignal(); in createWindow()
303 helper.onScrollRequested(mTarget, scrollBounds, request, mCancellationSignal, in requestScrollSync()
311 mCancellationSignal.cancel(); in requestScrollSync()
315 mCancellationSignal.cancel(); in requestScrollSync()
/frameworks/base/services/credentials/java/com/android/server/credentials/
DRequestSession.java88 protected final CancellationSignal mCancellationSignal; field in RequestSession
138 mCancellationSignal = cancellationSignal; in RequestSession()
170 mCancellationSignal.setOnCancelListener( in setCancellationListener()
294 return mCancellationSignal.isCanceled(); in isSessionCancelled()
/frameworks/base/tests/HandwritingIme/src/com/google/android/test/handwritingime/
DHandwritingIme.java80 private CancellationSignal mCancellationSignal = new CancellationSignal(); field in HandwritingIme
199 mCancellationSignal = new CancellationSignal(); in computeGesture()
204 .setCancellationSignal(mCancellationSignal) in computeGesture()
/frameworks/base/core/java/android/service/autofill/augmented/
DAugmentedAutofillService.java443 private CancellationSignal mCancellationSignal; field in AugmentedAutofillService.AutofillProxy
459 mCancellationSignal = cancellationSignal; in AutofillProxy()
514 if (mCancellationSignal.isCanceled()) { in requestShowFillUi()
550 mCancellationSignal = cancellationSignal; in update()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DFaceAuthenticationClientTest.java138 private ICancellationSignal mCancellationSignal; field in FaceAuthenticationClientTest
272 when(mHal.authenticateWithContext(anyLong(), any())).thenReturn(mCancellationSignal); in cancelsAuthWhenNotInForeground()
279 verify(mCancellationSignal, never()).cancel(); in cancelsAuthWhenNotInForeground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflater.java1079 private CancellationSignal mCancellationSignal;
1240 mCancellationSignal = apply(
1281 if (mCancellationSignal != null) {
1283 mCancellationSignal.cancel();

12