Home
last modified time | relevance | path

Searched refs:getTargetUserId (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DRemovalClient.java94 mBiometricUtils.removeBiometricForUser(getContext(), getTargetUserId(), in onRemoved()
106 if (mBiometricUtils.getBiometricsForUser(getContext(), getTargetUserId()).isEmpty()) { in onRemoved()
107 Slog.d(TAG, "Last biometric removed for user: " + getTargetUserId()); in onRemoved()
111 mAuthenticatorIds.put(getTargetUserId(), 0L); in onRemoved()
120 .getBiometricsForUser(getContext(), getTargetUserId()).isEmpty(); in hasEnrollmentStateChanged()
126 return !mBiometricUtils.getBiometricsForUser(getContext(), getTargetUserId()).isEmpty(); in hasEnrollments()
DAuthenticationClient.java172 authenticated, mRequireConfirmation, getTargetUserId(), isBiometricPrompt()); in onAuthenticated()
182 + ", user: " + getTargetUserId() in onAuthenticated()
187 pm.incrementCryptoAuthForUser(getTargetUserId(), authenticated); in onAuthenticated()
189 pm.incrementAuthForUser(getTargetUserId(), authenticated); in onAuthenticated()
239 getSensorId(), getTargetUserId(), byteToken); in onAuthenticated()
262 getTargetUserId(), in onAuthenticated()
268 getTargetUserId(), in onAuthenticated()
303 handleFailedAttempt(getTargetUserId()); in onAuthenticated()
400 mLockoutTracker.getLockoutModeForUser(getTargetUserId()); in onAcquired()
403 pt.incrementAcquireForUser(getTargetUserId(), isCryptoOperation()); in onAcquired()
[all …]
DInvalidationRequesterClient.java71 mUtils.setInvalidationInProgress(getContext(), getTargetUserId(),
90 mUtils.setInvalidationInProgress(getContext(), getTargetUserId(), true /* inProgress */); in start()
91 mBiometricManager.invalidateAuthenticatorIds(getTargetUserId(), getSensorId(), in start()
DEnrollClient.java75 return !mBiometricUtils.getBiometricsForUser(getContext(), getTargetUserId()).isEmpty(); in hasEnrollments()
93 mBiometricUtils.addBiometricForUser(getContext(), getTargetUserId(), identifier); in onEnrollResult()
94 getLogger().logOnEnrolled(getTargetUserId(), in onEnrollResult()
122 getLogger().logOnEnrolled(getTargetUserId(), in onError()
DInternalCleanupClient.java82 mCurrentTask.getTargetUserId()));
156 mCurrentTask = getEnumerateClient(getContext(), mLazyDaemon, getToken(), getTargetUserId(), in start()
183 .getBiometricsForUser(getContext(), getTargetUserId()).isEmpty(); in hasEnrollmentStateChanged()
189 return !mBiometricUtils.getBiometricsForUser(getContext(), getTargetUserId()).isEmpty(); in hasEnrollments()
DBaseClientMonitor.java240 public int getTargetUserId() { in getTargetUserId() method in BaseClientMonitor
294 + ", userId=" + getTargetUserId() + "}"; in toString()
DAcquisitionClient.java114 errorCode, vendorCode, getTargetUserId()); in onErrorInternal()
173 acquiredInfo, vendorCode, getTargetUserId()); in onAcquiredInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java87 if (!getKeyguardManager().isDeviceLocked(getTargetUserId())) { in onCreate()
114 PackageManager.ApplicationInfoFlags.of(0), getTargetUserId())), in getBadgedIcon()
115 UserHandle.of(getTargetUserId())); in getBadgedIcon()
165 final int targetUserId = getTargetUserId();
174 if (isFinishing() || !getKeyguardManager().isDeviceLocked(getTargetUserId())) { in showConfirmCredentialActivity()
180 .createConfirmDeviceCredentialIntent(null, null, getTargetUserId(), in showConfirmCredentialActivity()
231 final int getTargetUserId() { in getTargetUserId() method in WorkLockActivity
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
DUserAwareBiometricSchedulerTest.java130 when(nextClient.getTargetUserId()).thenReturn(0); in testScheduleOperation_whenNoUser()
151 when(client.getTargetUserId()).thenReturn(5); in testScheduleOperation_whenNoUser_notStarted()
170 when(client.getTargetUserId()).thenReturn(5); in testScheduleOperation_whenNoUser_notStarted_andReset()
191 when(nextClient.getTargetUserId()).thenReturn(mCurrentUserId); in testScheduleOperation_whenSameUser()
208 when(nextClient.getTargetUserId()).thenReturn(nextUserId); in testScheduleOperation_whenDifferentUser()
225 when(nextClient.getTargetUserId()).thenReturn(10); in testStartUser_alwaysStartsNextOperation()
239 when(nextClient.getTargetUserId()).thenReturn(11); in testStartUser_alwaysStartsNextOperation()
254 when(nextClient.getTargetUserId()).thenReturn(10); in testStartUser_failsClearsStopUserClient()
268 when(nextClient.getTargetUserId()).thenReturn(11); in testStartUser_failsClearsStopUserClient()
372 getTargetUserId(), new Object(), 1 /* halInterfaceVersion */); in start()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DFingerprintUpdateActiveUserClient.java71 if (mCurrentUserId.get() == getTargetUserId() && !mForceUpdateAuthenticatorId) { in start()
84 baseDir = Environment.getUserSystemDirectory(getTargetUserId()); in start()
86 baseDir = Environment.getDataVendorDeDirectory(getTargetUserId()); in start()
117 final int targetId = getTargetUserId(); in startHalOperation()
DFingerprintDetectClient.java98 getFreshDaemon().authenticate(0 /* operationId */, getTargetUserId()); in startHalOperation()
135 getTargetUserId(), false /* isBiometricPrompt */); in onAuthenticated()
141 pm.incrementAuthForUser(getTargetUserId(), authenticated); in onAuthenticated()
145 getListener().onDetected(getSensorId(), getTargetUserId(), mIsStrongBiometric); in onAuthenticated()
DFingerprintEnrollClient.java94 final int enrolled = mBiometricUtils.getBiometricsForUser(getContext(), getTargetUserId()) in hasReachedEnrollmentLimit()
97 Slog.w(TAG, "Too many fingerprints registered, user: " + getTargetUserId()); in hasReachedEnrollmentLimit()
110 getFreshDaemon().enroll(mHardwareAuthToken, getTargetUserId(), mTimeoutSec); in startHalOperation()
DFingerprintAuthenticationClient.java122 resetFailedAttempts(getTargetUserId()); in onAuthenticated()
127 mLockoutFrameworkImpl.getLockoutModeForUser(getTargetUserId()); in onAuthenticated()
183 getFreshDaemon().authenticate(mOperationId, getTargetUserId()); in startHalOperation()
DBiometricTestSessionImpl.java209 mCallback.onCleanupStarted(clientMonitor.getTargetUserId()); in cleanupInternalState()
219 mCallback.onCleanupFinished(clientMonitor.getTargetUserId()); in cleanupInternalState()
DFingerprintResetLockoutClient.java49 getTargetUserId()); in start()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DFaceUpdateActiveUserClient.java67 final File storePath = new File(Environment.getDataVendorDeDirectory(getTargetUserId()), in startHalOperation()
77 daemon.setActiveUser(getTargetUserId(), storePath.getAbsolutePath()); in startHalOperation()
78 mAuthenticatorIds.put(getTargetUserId(), in startHalOperation()
DFaceEnrollClient.java85 final int enrolled = mBiometricUtils.getBiometricsForUser(getContext(), getTargetUserId()) in hasReachedEnrollmentLimit()
88 Slog.w(TAG, "Too many faces registered, user: " + getTargetUserId()); in hasReachedEnrollmentLimit()
DBiometricTestSessionImpl.java205 mCallback.onCleanupStarted(clientMonitor.getTargetUserId()); in cleanupInternalState()
215 mCallback.onCleanupFinished(clientMonitor.getTargetUserId()); in cleanupInternalState()
DFaceAuthenticationClient.java168 getTargetUserId())); in onAuthenticated()
179 getTargetUserId())); in onError()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceAuthenticationClient.java209 getTargetUserId())); in onAuthenticated()
220 getTargetUserId())); in onError()
276 mLockoutCache.setLockoutModeForUser(getTargetUserId(), LockoutTracker.LOCKOUT_TIMED); in onLockoutTimed()
280 error, 0 /* vendorCode */, getTargetUserId()); in onLockoutTimed()
292 mLockoutCache.setLockoutModeForUser(getTargetUserId(), LockoutTracker.LOCKOUT_PERMANENT); in onLockoutPermanent()
296 error, 0 /* vendorCode */, getTargetUserId()); in onLockoutPermanent()
DFaceStartUserClient.java64 getTargetUserId(), mSessionCallback); in startHalOperation()
66 mUserStartedCallback.onUserStarted(getTargetUserId(), newSession, version); in startHalOperation()
DBiometricTestSessionImpl.java230 mCallback.onCleanupStarted(clientMonitor.getTargetUserId()); in cleanupInternalState()
241 mCallback.onCleanupFinished(clientMonitor.getTargetUserId()); in cleanupInternalState()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintStartUserClient.java64 getTargetUserId(), mSessionCallback); in startHalOperation()
66 mUserStartedCallback.onUserStarted(getTargetUserId(), newSession, version); in startHalOperation()
DFingerprintAuthenticationClient.java385 mLockoutCache.setLockoutModeForUser(getTargetUserId(), LockoutTracker.LOCKOUT_TIMED); in onLockoutTimed()
394 getTargetUserId()); in onLockoutTimed()
409 mLockoutCache.setLockoutModeForUser(getTargetUserId(), LockoutTracker.LOCKOUT_PERMANENT); in onLockoutPermanent()
418 getTargetUserId()); in onLockoutPermanent()
DBiometricTestSessionImpl.java213 mCallback.onCleanupStarted(clientMonitor.getTargetUserId()); in cleanupInternalState()
224 mCallback.onCleanupFinished(clientMonitor.getTargetUserId()); in cleanupInternalState()

123