Home
last modified time | relevance | path

Searched refs:mSensorId (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintAuthenticator.java38 private final int mSensorId; field in FingerprintAuthenticator
42 mSensorId = sensorId; in FingerprintAuthenticator()
48 return mFingerprintService.createTestSession(mSensorId, callback, opPackageName); in createTestSession()
54 return mFingerprintService.getSensorProperties(mSensorId, opPackageName); in getSensorProperties()
59 return mFingerprintService.dumpSensorServiceStateProto(mSensorId, clearSchedulerBuffer); in dumpSensorServiceStateProto()
70 .setSensorId(mSensorId) in prepareForAuthentication()
79 mFingerprintService.startPreparedClient(mSensorId, cookie); in startPreparedClient()
86 mSensorId, token, opPackageName, requestId); in cancelAuthenticationFromService()
91 return mFingerprintService.isHardwareDetected(mSensorId, opPackageName); in isHardwareDetected()
96 return mFingerprintService.hasEnrolledFingerprints(mSensorId, userId, opPackageName); in hasEnrolledTemplates()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceAuthenticator.java38 private final int mSensorId; field in FaceAuthenticator
42 mSensorId = sensorId; in FaceAuthenticator()
48 return mFaceService.createTestSession(mSensorId, callback, opPackageName); in createTestSession()
54 return mFaceService.getSensorProperties(mSensorId, opPackageName); in getSensorProperties()
59 return mFaceService.dumpSensorServiceStateProto(mSensorId, clearSchedulerBuffer); in dumpSensorServiceStateProto()
71 .setSensorId(mSensorId) in prepareForAuthentication()
79 mFaceService.startPreparedClient(mSensorId, cookie); in startPreparedClient()
85 mFaceService.cancelAuthenticationFromService(mSensorId, token, opPackageName, requestId); in cancelAuthenticationFromService()
90 return mFaceService.isHardwareDetected(mSensorId, opPackageName); in isHardwareDetected()
95 return mFaceService.hasEnrolledFaces(mSensorId, userId, opPackageName); in hasEnrolledTemplates()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DAidlResponseHandler.java72 private final int mSensorId; field in AidlResponseHandler
92 mSensorId = sensorId; in AidlResponseHandler()
112 handleResponse(FaceGenerateChallengeClient.class, (c) -> c.onChallengeGenerated(mSensorId, in onChallengeGenerated()
118 handleResponse(FaceRevokeChallengeClient.class, (c) -> c.onChallengeRevoked(mSensorId, in onChallengeRevoked()
170 final CharSequence name = FaceUtils.getInstance(mSensorId) in onEnrollmentProgress()
172 final Face face = new Face(name, enrollmentId, mSensorId); in onEnrollmentProgress()
184 final Face face = new Face("" /* name */, enrollmentId, mSensorId); in onAuthenticationSucceeded()
196 final Face face = new Face("" /* name */, 0 /* faceId */, mSensorId); in onAuthenticationFailed()
214 (c) -> FaceResetLockoutClient.resetLocalLockoutStateToNone(mSensorId, mUserId, in onLockoutCleared()
216 Utils.getCurrentStrength(mSensorId), -1 /* requestId */)); in onLockoutCleared()
[all …]
DBiometricTestSessionImpl.java55 private final int mSensorId; field in BiometricTestSessionImpl
133 mSensorId = sensorId; in BiometricTestSessionImpl()
157 mProvider.scheduleEnroll(mSensorId, new Binder(), new byte[69], userId, mReceiver, in startEnroll()
186 List<Face> faces = FaceUtils.getInstance(mSensorId) in acceptAuthentication()
244 mProvider.scheduleInternalCleanup(mSensorId, userId, new ClientMonitorCallback() { in cleanupInternalState()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintAuthenticateOptions.java50 private int mSensorId; field in FingerprintAuthenticateOptions
123 this.mSensorId = sensorId; in FingerprintAuthenticateOptions()
150 return mSensorId; in getSensorId()
206 mSensorId = value; in setSensorId()
261 && mSensorId == that.mSensorId in equals()
277 _hash = 31 * _hash + mSensorId; in hashCode()
298 dest.writeInt(mSensorId); in writeToParcel()
326 this.mSensorId = sensorId; in FingerprintAuthenticateOptions()
362 private int mSensorId; field in FingerprintAuthenticateOptions.Builder
392 mSensorId = value; in setSensorId()
[all …]
DHidlFingerprintSensorConfig.java38 private int mSensorId; field in HidlFingerprintSensorConfig
52 mSensorId = Integer.parseInt(elems[0]); in parse()
66 commonProps.sensorId = mSensorId; in mapHidlToAidlSensorConfiguration()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
DAidlResponseHandler.java73 private final int mSensorId; field in AidlResponseHandler
92 mSensorId = sensorId; in AidlResponseHandler()
113 mSensorId, mUserId, challenge)); in onChallengeGenerated()
161 final CharSequence name = FingerprintUtils.getInstance(mSensorId) in onEnrollmentProgress()
164 enrollmentId, mSensorId); in onEnrollmentProgress()
175 final Fingerprint fp = new Fingerprint("", enrollmentId, mSensorId); in onAuthenticationSucceeded()
187 final Fingerprint fp = new Fingerprint("", 0 /* enrollmentId */, mSensorId); in onAuthenticationFailed()
208 mSensorId, mUserId, mLockoutTracker, mLockoutResetDispatcher, in onLockoutCleared()
209 mAuthSessionCoordinator, Utils.getCurrentStrength(mSensorId), in onLockoutCleared()
237 final Fingerprint fp = new Fingerprint("", enrollmentId, mSensorId); in onEnrollmentEnumerated()
[all …]
DBiometricTestSessionImpl.java55 private final int mSensorId; field in BiometricTestSessionImpl
132 mSensorId = sensorId; in BiometricTestSessionImpl()
157 mProvider.scheduleEnroll(mSensorId, new Binder(), new byte[69], userId, mReceiver, in startEnroll()
184 mProvider.simulateVhalFingerDown(userId, mSensorId); in finishEnroll()
208 mProvider.simulateVhalFingerDown(userId, mSensorId); in acceptAuthentication()
213 List<Fingerprint> fingerprints = FingerprintUtils.getInstance(mSensorId) in acceptAuthentication()
232 mProvider.simulateVhalFingerDown(userId, mSensorId); in rejectAuthentication()
273 mProvider.scheduleInternalCleanup(mSensorId, userId, new ClientMonitorCallback() { in cleanupInternalState()
/frameworks/base/core/java/android/hardware/face/
DFaceAuthenticateOptions.java55 private int mSensorId; field in FaceAuthenticateOptions
193 this.mSensorId = sensorId; in FaceAuthenticateOptions()
249 return mSensorId; in getSensorId()
306 mSensorId = value; in setSensorId()
349 && mSensorId == that.mSensorId in equals()
365 _hash = 31 * _hash + mSensorId; in hashCode()
384 dest.writeInt(mSensorId); in writeToParcel()
413 this.mSensorId = sensorId; in FaceAuthenticateOptions()
478 private int mSensorId; field in FaceAuthenticateOptions.Builder
508 mSensorId = value; in setSensorId()
[all …]
DHidlFaceSensorConfig.java35 private int mSensorId; field in HidlFaceSensorConfig
49 mSensorId = Integer.parseInt(elems[0]); in parse()
62 commonProps.sensorId = mSensorId; in mapHidlToAidlFaceSensorConfigurations()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricTestSession.java52 private final int mSensorId; field in BiometricTestSession
68 Log.d(getTag(), "onCleanupStarted, sensor: " + mSensorId + ", userId: " + userId);
73 Log.d(getTag(), "onCleanupFinished, sensor: " + mSensorId
90 mSensorId = sensorId; in BiometricTestSession()
110 Log.w(getTag(), "setTestHalEnabled, sensor: " + mSensorId + " enabled: " + enabled); in setTestHalEnabled()
262 return BASE_TAG + "_" + mSensorId; in getTag()
DSensorProperties.java137 private final int mSensorId; field in SensorProperties
146 mSensorId = sensorId; in SensorProperties()
155 return mSensorId; in getSensorId()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DTestHal.java41 private final int mSensorId; field in TestHal
48 mSensorId = sensorId; in TestHal()
117 final List<Fingerprint> fingerprints = FingerprintUtils.getInstance(mSensorId) in remove()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DTestHal.java43 private final int mSensorId; field in TestHal
51 mSensorId = sensorId; in TestHal()
133 final List<Face> faces = FaceUtils.getInstance(mSensorId) in remove()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBaseClientMonitor.java53 private final int mSensorId; // sensorId as configured by the framework field in BaseClientMonitor
104 mSensorId = sensorId; in BaseClientMonitor()
253 return mSensorId; in getSensorId()