Home
last modified time | relevance | path

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

/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DFingerprintUiHelper.java36 private CancellationSignal mCancellationSignal; field in FingerprintUiHelper
62 mCancellationSignal = new CancellationSignal(); in startListening()
67 .authenticate(cryptoObject, mCancellationSignal, 0 /* flags */, this, null); in startListening()
72 if (mCancellationSignal != null) { in stopListening()
74 mCancellationSignal.cancel(); in stopListening()
75 mCancellationSignal = null; in stopListening()
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DFingerprintUiHelper.java44 private CancellationSignal mCancellationSignal; field in FingerprintUiHelper
87 mCancellationSignal = new CancellationSignal(); in startListening()
90 .authenticate(cryptoObject, mCancellationSignal, 0 /* flags */, this, null); in startListening()
95 if (mCancellationSignal != null) { in stopListening()
97 mCancellationSignal.cancel(); in stopListening()
98 mCancellationSignal = null; in stopListening()