/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/ |
D | FaceProvider.java | 135 final int sensorId = prop.commonProps.sensorId; in FaceProvider() local 147 prop.commonProps.sensorId, prop.commonProps.sensorStrength, in FaceProvider() 151 final Sensor sensor = new Sensor(getTag() + "/" + sensorId, this, mContext, mHandler, in FaceProvider() 154 mSensors.put(sensorId, sensor); in FaceProvider() 199 final int sensorId = mSensors.keyAt(i); in getHalInstance() local 200 scheduleLoadAuthenticatorIds(sensorId); in getHalInstance() 201 scheduleInternalCleanup(sensorId, ActivityManager.getCurrentUser(), in getHalInstance() 208 private void scheduleForSensor(int sensorId, @NonNull BaseClientMonitor client) { in scheduleForSensor() argument 209 if (!mSensors.contains(sensorId)) { in scheduleForSensor() 211 + " for sensor: " + sensorId); in scheduleForSensor() [all …]
|
D | FaceInternalCleanupClient.java | 42 int sensorId, @NonNull List<Face> enrolledList, @NonNull BiometricUtils<Face> utils, in FaceInternalCleanupClient() argument 44 super(context, lazyDaemon, userId, owner, sensorId, BiometricsProtoEnums.MODALITY_FACE, in FaceInternalCleanupClient() 51 List<Face> enrolledList, BiometricUtils<Face> utils, int sensorId) { in getEnumerateClient() argument 53 enrolledList, utils, sensorId); in getEnumerateClient() 59 int biometricId, int userId, String owner, BiometricUtils<Face> utils, int sensorId, in getRemovalClient() argument 65 utils, sensorId, authenticatorIds); in getRemovalClient()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/ |
D | FingerprintProvider.java | 142 final int sensorId = prop.commonProps.sensorId; in FingerprintProvider() local 154 new FingerprintSensorPropertiesInternal(prop.commonProps.sensorId, in FingerprintProvider() 163 final Sensor sensor = new Sensor(getTag() + "/" + sensorId, this, mContext, mHandler, in FingerprintProvider() 166 mSensors.put(sensorId, sensor); in FingerprintProvider() 215 final int sensorId = mSensors.keyAt(i); in getHalInstance() local 216 scheduleLoadAuthenticatorIds(sensorId); in getHalInstance() 217 scheduleInternalCleanup(sensorId, ActivityManager.getCurrentUser(), in getHalInstance() 224 private void scheduleForSensor(int sensorId, @NonNull BaseClientMonitor client) { in scheduleForSensor() argument 225 if (!mSensors.contains(sensorId)) { in scheduleForSensor() 227 + " for sensor: " + sensorId); in scheduleForSensor() [all …]
|
D | FingerprintInternalCleanupClient.java | 43 int sensorId, @NonNull List<Fingerprint> enrolledList, in FingerprintInternalCleanupClient() argument 45 super(context, lazyDaemon, userId, owner, sensorId, in FingerprintInternalCleanupClient() 52 List<Fingerprint> enrolledList, BiometricUtils<Fingerprint> utils, int sensorId) { in getEnumerateClient() argument 54 enrolledList, utils, sensorId); in getEnumerateClient() 60 String owner, BiometricUtils<Fingerprint> utils, int sensorId, in getRemovalClient() argument 64 utils, sensorId, authenticatorIds); in getRemovalClient()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/ |
D | ServiceProvider.java | 63 boolean containsSensor(int sensorId); in containsSensor() argument 69 FaceSensorPropertiesInternal getSensorProperties(int sensorId); in getSensorProperties() argument 72 List<Face> getEnrolledFaces(int sensorId, int userId); in getEnrolledFaces() argument 75 int getLockoutModeForUser(int sensorId, int userId); in getLockoutModeForUser() argument 81 default void scheduleInvalidateAuthenticatorId(int sensorId, int userId, in scheduleInvalidateAuthenticatorId() argument 87 long getAuthenticatorId(int sensorId, int userId); in getAuthenticatorId() argument 89 boolean isHardwareDetected(int sensorId); in isHardwareDetected() argument 91 void scheduleGenerateChallenge(int sensorId, int userId, @NonNull IBinder token, in scheduleGenerateChallenge() argument 94 void scheduleRevokeChallenge(int sensorId, int userId, @NonNull IBinder token, in scheduleRevokeChallenge() argument 97 void scheduleEnroll(int sensorId, @NonNull IBinder token, @NonNull byte[] hardwareAuthToken, in scheduleEnroll() argument [all …]
|
D | FaceService.java | 89 private ServiceProvider getProviderForSensor(int sensorId) { in getProviderForSensor() argument 91 if (provider.containsSensor(sensorId)) { in getProviderForSensor() 112 final int sensorId = properties.get(0).sensorId; in getSingleProvider() local 114 if (provider.containsSensor(sensorId)) { in getSingleProvider() 115 return new Pair<>(sensorId, provider); in getSingleProvider() 137 public ITestSession createTestSession(int sensorId, @NonNull ITestSessionCallback callback, in createTestSession() argument 141 final ServiceProvider provider = getProviderForSensor(sensorId); in createTestSession() 144 Slog.w(TAG, "Null provider for createTestSession, sensorId: " + sensorId); in createTestSession() 148 return provider.createTestSession(sensorId, callback, opPackageName); in createTestSession() 152 public byte[] dumpSensorServiceStateProto(int sensorId, boolean clearSchedulerBuffer) { in dumpSensorServiceStateProto() argument [all …]
|
D | FaceUtils.java | 44 public static FaceUtils getInstance(int sensorId) { in getInstance() argument 46 return getInstance(sensorId, null /* fileName */); in getInstance() 56 private static FaceUtils getInstance(int sensorId, @Nullable String fileName) { in getInstance() argument 62 if (sInstances.get(sensorId) == null) { in getInstance() 64 fileName = "settings_face_" + sensorId + ".xml"; in getInstance() 66 sInstances.put(sensorId, new FaceUtils(fileName)); in getInstance() 68 utils = sInstances.get(sensorId); in getInstance() 77 public static FaceUtils getLegacyInstance(int sensorId) { in getLegacyInstance() argument 80 return getInstance(sensorId, LEGACY_FACE_FILE); in getLegacyInstance()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/ |
D | ServiceProvider.java | 66 boolean containsSensor(int sensorId); in containsSensor() argument 78 FingerprintSensorPropertiesInternal getSensorProperties(int sensorId); in getSensorProperties() argument 80 void scheduleResetLockout(int sensorId, int userId, @Nullable byte[] hardwareAuthToken); in scheduleResetLockout() argument 82 void scheduleGenerateChallenge(int sensorId, int userId, @NonNull IBinder token, in scheduleGenerateChallenge() argument 85 void scheduleRevokeChallenge(int sensorId, int userId, @NonNull IBinder token, in scheduleRevokeChallenge() argument 91 void scheduleEnroll(int sensorId, @NonNull IBinder token, @NonNull byte[] hardwareAuthToken, in scheduleEnroll() argument 96 void cancelEnrollment(int sensorId, @NonNull IBinder token); in cancelEnrollment() argument 98 void scheduleFingerDetect(int sensorId, @NonNull IBinder token, int userId, in scheduleFingerDetect() argument 103 void scheduleAuthenticate(int sensorId, @NonNull IBinder token, long operationId, int userId, in scheduleAuthenticate() argument 109 void startPreparedClient(int sensorId, int cookie); in startPreparedClient() argument [all …]
|
D | FingerprintService.java | 135 public ITestSession createTestSession(int sensorId, @NonNull ITestSessionCallback callback, in createTestSession() argument 139 final ServiceProvider provider = getProviderForSensor(sensorId); in createTestSession() 142 Slog.w(TAG, "Null provider for createTestSession, sensorId: " + sensorId); in createTestSession() 146 return provider.createTestSession(sensorId, callback, mFingerprintStateCallback, in createTestSession() 151 public byte[] dumpSensorServiceStateProto(int sensorId, boolean clearSchedulerBuffer) { in dumpSensorServiceStateProto() argument 155 final ServiceProvider provider = getProviderForSensor(sensorId); in dumpSensorServiceStateProto() 157 provider.dumpProtoState(sensorId, proto, clearSchedulerBuffer); in dumpSensorServiceStateProto() 175 public FingerprintSensorPropertiesInternal getSensorProperties(int sensorId, in getSensorProperties() argument 179 final ServiceProvider provider = getProviderForSensor(sensorId); in getSensorProperties() 181 Slog.w(TAG, "No matching sensor for getSensorProperties, sensorId: " + sensorId in getSensorProperties() [all …]
|
D | UdfpsHelper.java | 82 public static void showUdfpsOverlay(int sensorId, int reason, in showUdfpsOverlay() argument 98 udfpsOverlayController.showUdfpsOverlay(sensorId, reason, callback); in showUdfpsOverlay() 104 public static void hideUdfpsOverlay(int sensorId, in hideUdfpsOverlay() argument 110 udfpsOverlayController.hideUdfpsOverlay(sensorId); in hideUdfpsOverlay() 116 public static void onAcquiredGood(int sensorId, in onAcquiredGood() argument 123 udfpsOverlayController.onAcquiredGood(sensorId); in onAcquiredGood() 129 public static void onEnrollmentProgress(int sensorId, int remaining, in onEnrollmentProgress() argument 135 udfpsOverlayController.onEnrollmentProgress(sensorId, remaining); in onEnrollmentProgress() 141 public static void onEnrollmentHelp(int sensorId, in onEnrollmentHelp() argument 147 udfpsOverlayController.onEnrollmentHelp(sensorId); in onEnrollmentHelp()
|
D | FingerprintUtils.java | 59 public static FingerprintUtils getInstance(int sensorId) { in getInstance() argument 61 return getInstance(sensorId, null /* fileName */); in getInstance() 71 private static FingerprintUtils getInstance(int sensorId, @Nullable String fileName) { in getInstance() argument 77 if (sInstances.get(sensorId) == null) { in getInstance() 79 fileName = "settings_fingerprint_" + sensorId + ".xml"; in getInstance() 81 sInstances.put(sensorId, new FingerprintUtils(fileName)); in getInstance() 83 utils = sInstances.get(sensorId); in getInstance() 92 public static FingerprintUtils getLegacyInstance(int sensorId) { in getLegacyInstance() argument 95 return getInstance(sensorId, LEGACY_FINGERPRINT_FILE); in getLegacyInstance()
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | IFingerprintService.aidl | 40 … ITestSession createTestSession(int sensorId, ITestSessionCallback callback, String opPackageName); in createTestSession() argument 43 byte[] dumpSensorServiceStateProto(int sensorId, boolean clearSchedulerBuffer); in dumpSensorServiceStateProto() argument 49 FingerprintSensorPropertiesInternal getSensorProperties(int sensorId, String opPackageName); in getSensorProperties() argument 54 void authenticate(IBinder token, long operationId, int sensorId, int userId, in authenticate() argument 67 void prepareForAuthentication(int sensorId, IBinder token, long operationId, int userId, in prepareForAuthentication() argument 72 void startPreparedClient(int sensorId, int cookie); in startPreparedClient() argument 82 void cancelAuthenticationFromService(int sensorId, IBinder token, String opPackageName); in cancelAuthenticationFromService() argument 108 boolean isHardwareDetected(int sensorId, String opPackageName); in isHardwareDetected() argument 111 …void generateChallenge(IBinder token, int sensorId, int userId, IFingerprintServiceReceiver receiv… in generateChallenge() argument 114 …void revokeChallenge(IBinder token, int sensorId, int userId, String opPackageName, long challenge… in revokeChallenge() argument [all …]
|
D | IUdfpsOverlayController.aidl | 33 void showUdfpsOverlay(int sensorId, int reason, IUdfpsOverlayControllerCallback callback); in showUdfpsOverlay() argument 36 void hideUdfpsOverlay(int sensorId); in hideUdfpsOverlay() argument 40 void onAcquiredGood(int sensorId); in onAcquiredGood() argument 43 void onEnrollmentProgress(int sensorId, int remaining); in onEnrollmentProgress() argument 46 void onEnrollmentHelp(int sensorId); in onEnrollmentHelp() argument 49 void setDebugMessage(int sensorId, String message); in setDebugMessage() argument
|
D | FingerprintManager.java | 174 public BiometricTestSession createTestSession(int sensorId) { in createTestSession() argument 176 return new BiometricTestSession(mContext, sensorId, in createTestSession() 379 public void onUdfpsPointerDown(int sensorId) {} in onUdfpsPointerDown() argument 386 public void onUdfpsPointerUp(int sensorId) {} in onUdfpsPointerUp() argument 398 void onFingerprintDetected(int sensorId, int userId, boolean isStrongBiometric); in onFingerprintDetected() argument 473 public void onLockoutReset(int sensorId) { } in onLockoutReset() argument 483 void onChallengeGenerated(int sensorId, int userId, long challenge); in onChallengeGenerated() argument 544 @NonNull AuthenticationCallback callback, Handler handler, int sensorId, int userId) { in authenticate() argument 570 mService.authenticate(mToken, operationId, sensorId, userId, mServiceReceiver, in authenticate() 677 public void generateChallenge(int sensorId, int userId, GenerateChallengeCallback callback) { in generateChallenge() argument [all …]
|
D | IFingerprintServiceReceiver.aidl | 28 void onFingerprintDetected(int sensorId, int userId, boolean isStrongBiometric); in onFingerprintDetected() argument 32 void onChallengeGenerated(int sensorId, int userId, long challenge); in onChallengeGenerated() argument 33 void onUdfpsPointerDown(int sensorId); in onUdfpsPointerDown() argument 34 void onUdfpsPointerUp(int sensorId); in onUdfpsPointerUp() argument
|
D | FingerprintServiceReceiver.java | 43 public void onFingerprintDetected(int sensorId, int userId, boolean isStrongBiometric) in onFingerprintDetected() argument 64 public void onChallengeGenerated(int sensorId, int userId, long challenge) in onChallengeGenerated() argument 70 public void onUdfpsPointerDown(int sensorId) throws RemoteException { in onUdfpsPointerDown() argument 75 public void onUdfpsPointerUp(int sensorId) throws RemoteException { in onUdfpsPointerUp() argument
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | ClientMonitorCallbackConverter.java | 62 void onAcquired(int sensorId, int acquiredInfo, int vendorCode) throws RemoteException { in onAcquired() argument 64 mSensorReceiver.onAcquired(sensorId, acquiredInfo, vendorCode); in onAcquired() 72 void onAuthenticationSucceeded(int sensorId, BiometricAuthenticator.Identifier identifier, in onAuthenticationSucceeded() argument 75 mSensorReceiver.onAuthenticationSucceeded(sensorId, token); in onAuthenticationSucceeded() 85 void onAuthenticationFailed(int sensorId) throws RemoteException { in onAuthenticationFailed() argument 87 mSensorReceiver.onAuthenticationFailed(sensorId); in onAuthenticationFailed() 95 public void onError(int sensorId, int cookie, int error, int vendorCode) in onError() argument 98 mSensorReceiver.onError(sensorId, cookie, error, vendorCode); in onError() 108 public void onDetected(int sensorId, int userId, boolean isStrongBiometric) in onDetected() argument 111 mFaceServiceReceiver.onFaceDetected(sensorId, userId, isStrongBiometric); in onDetected() [all …]
|
/frameworks/base/core/java/android/hardware/face/ |
D | IFaceService.aidl | 36 … ITestSession createTestSession(int sensorId, ITestSessionCallback callback, String opPackageName); in createTestSession() argument 39 byte[] dumpSensorServiceStateProto(int sensorId, boolean clearSchedulerBuffer); in dumpSensorServiceStateProto() argument 45 FaceSensorPropertiesInternal getSensorProperties(int sensorId, String opPackageName); in getSensorProperties() argument 60 …void prepareForAuthentication(int sensorId, boolean requireConfirmation, IBinder token, long opera… in prepareForAuthentication() argument 65 void startPreparedClient(int sensorId, int cookie); in startPreparedClient() argument 74 void cancelAuthenticationFromService(int sensorId, IBinder token, String opPackageName); in cancelAuthenticationFromService() argument 95 List<Face> getEnrolledFaces(int sensorId, int userId, String opPackageName); in getEnrolledFaces() argument 98 boolean isHardwareDetected(int sensorId, String opPackageName); in isHardwareDetected() argument 101 …void generateChallenge(IBinder token, int sensorId, int userId, IFaceServiceReceiver receiver, Str… in generateChallenge() argument 104 …void revokeChallenge(IBinder token, int sensorId, int userId, String opPackageName, long challenge… in revokeChallenge() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | BiometricDeferredQueue.java | 101 public void onGenerateChallengeResult(int sensorId, int userId, long challenge) { in onGenerateChallengeResult() argument 102 if (!sensorIds.contains(sensorId)) { in onGenerateChallengeResult() 103 Slog.e(TAG, "Unknown sensorId received: " + sensorId); in onGenerateChallengeResult() 109 Slog.d(TAG, "Resetting face lockout for sensor: " + sensorId in onGenerateChallengeResult() 114 faceManager.resetLockout(sensorId, userAuthInfo.userId, hat); in onGenerateChallengeResult() 118 sensorIds.remove(sensorId); in onGenerateChallengeResult() 119 faceManager.revokeChallenge(sensorId, userId, challenge); in onGenerateChallengeResult() 200 mFingerprintManager.resetLockout(prop.sensorId, user.userId, in processPendingLockoutsForFingerprint() 205 Slog.d(TAG, "Resetting fingerprint lockout for sensor: " + prop.sensorId in processPendingLockoutsForFingerprint() 210 mFingerprintManager.resetLockout(prop.sensorId, user.userId, hat); in processPendingLockoutsForFingerprint() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
D | Fingerprint21.java | 156 mLockoutResetDispatcher.notifyLockoutResetCallbacks(mSensorProperties.sensorId); 185 HalResultController(int sensorId, @NonNull Context context, @NonNull Handler handler, in HalResultController() argument 187 mSensorId = sensorId; in HalResultController() 323 mSensorId = sensorProps.sensorId; in Fingerprint21() 358 final HalResultController controller = new HalResultController(sensorProps.sensorId, in newInstance() 369 PerformanceTracker.getInstanceForSensorId(mSensorProperties.sensorId) in serviceDied() 483 !getEnrolledFingerprints(mSensorProperties.sensorId, targetUserId).isEmpty(); in scheduleUpdateActiveUserWithoutHandler() 486 mContext.getOpPackageName(), mSensorProperties.sensorId, mCurrentUserId, in scheduleUpdateActiveUserWithoutHandler() 500 public boolean containsSensor(int sensorId) { in containsSensor() argument 501 return mSensorProperties.sensorId == sensorId; in containsSensor() [all …]
|
D | FingerprintInternalCleanupClient.java | 44 @NonNull String owner, int sensorId, @NonNull List<Fingerprint> enrolledList, in FingerprintInternalCleanupClient() argument 47 super(context, lazyDaemon, userId, owner, sensorId, in FingerprintInternalCleanupClient() 55 BiometricUtils<Fingerprint> utils, int sensorId) { in getEnumerateClient() argument 57 enrolledList, utils, sensorId); in getEnumerateClient() 64 int sensorId, Map<Integer, Long> authenticatorIds) { in getRemovalClient() argument 69 sensorId, authenticatorIds); in getRemovalClient()
|
/frameworks/base/core/java/android/hardware/biometrics/ |
D | SensorPropertiesInternal.java | 34 public final int sensorId; field in SensorPropertiesInternal 42 return new SensorPropertiesInternal(prop.sensorId, prop.sensorStrength, in from() 47 public SensorPropertiesInternal(int sensorId, @SensorProperties.Strength int sensorStrength, in SensorPropertiesInternal() argument 50 this.sensorId = sensorId; in SensorPropertiesInternal() 59 sensorId = in.readInt(); in SensorPropertiesInternal() 88 dest.writeInt(sensorId); in writeToParcel() 106 return "ID: " + sensorId + ", Strength: " + sensorStrength in toString()
|
D | IBiometricSensorReceiver.aidl | 25 void onAuthenticationSucceeded(int sensorId, in byte[] token); in onAuthenticationSucceeded() argument 27 void onAuthenticationFailed(int sensorId); in onAuthenticationFailed() argument 30 void onError(int sensorId, int cookie, int error, int vendorCode); in onError() argument 32 void onAcquired(int sensorId, int acquiredInfo, int vendorCode); in onAcquired() argument
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/ |
D | FaceInternalCleanupClient.java | 42 int sensorId, @NonNull List<Face> enrolledList, @NonNull BiometricUtils<Face> utils, in FaceInternalCleanupClient() argument 44 super(context, lazyDaemon, userId, owner, sensorId, BiometricsProtoEnums.MODALITY_FACE, in FaceInternalCleanupClient() 51 List<Face> enrolledList, BiometricUtils<Face> utils, int sensorId) { in getEnumerateClient() argument 53 enrolledList, utils, sensorId); in getEnumerateClient() 59 int biometricId, int userId, String owner, BiometricUtils<Face> utils, int sensorId, in getRemovalClient() argument 65 sensorId, authenticatorIds); in getRemovalClient()
|
D | Face10.java | 152 HalResultController(int sensorId, @NonNull Context context, @NonNull Handler handler, in HalResultController() argument 155 mSensorId = sensorId; in HalResultController() 336 mSensorId = sensorProps.sensorId; in Face10() 343 mHalResultController = new HalResultController(sensorProps.sensorId, context, mHandler, in Face10() 448 public boolean containsSensor(int sensorId) { in containsSensor() argument 449 return mSensorId == sensorId; in containsSensor() 462 public FaceSensorPropertiesInternal getSensorProperties(int sensorId) { in getSensorProperties() argument 468 public List<Face> getEnrolledFaces(int sensorId, int userId) { in getEnrolledFaces() argument 474 public int getLockoutModeForUser(int sensorId, int userId) { in getLockoutModeForUser() argument 479 public long getAuthenticatorId(int sensorId, int userId) { in getAuthenticatorId() argument [all …]
|