Lines Matching refs:mSpManager

164     // Order of holding lock: mSeparateChallengeLock -> mSpManager -> this
165 // Do not call into ActivityManager while holding mSpManager lock.
184 private final SyntheticPasswordManager mSpManager;
440 mSpManager = injector.getSyntheticPasswordManager(mStorage);
600 synchronized (mSpManager) {
610 mSpManager.unwrapPasswordBasedSyntheticPassword(
658 mSpManager.initWeaverService();
856 synchronized (mSpManager) {
861 mSpManager.migrateFrpPasswordLocked(
1058 synchronized (mSpManager) {
1061 return mSpManager.getCredentialType(handle, userId) ==
1072 synchronized (mSpManager) {
1075 return mSpManager.getCredentialType(handle, userId) ==
1084 synchronized (mSpManager) {
1087 return mSpManager.getCredentialType(handle, userId) !=
1320 synchronized (mSpManager) {
1369 synchronized (mSpManager) {
1814 synchronized (mSpManager) {
1926 mSpManager.removeUser(userId);
2179 @GuardedBy("mSpManager")
2185 synchronized (mSpManager) {
2214 synchronized (mSpManager) {
2277 @GuardedBy("mSpManager")
2283 final AuthenticationToken auth = mSpManager.newSyntheticPasswordAndSid(
2290 long handle = mSpManager.createPasswordBasedSyntheticPassword(getGateKeeperService(),
2296 mSpManager.newSidForUser(getGateKeeperService(), auth, userId);
2298 mSpManager.verifyChallenge(getGateKeeperService(), auth, 0L, userId);
2351 synchronized (mSpManager) {
2356 return mSpManager.verifyFrpCredential(getGateKeeperService(),
2361 authResult = mSpManager.unwrapPasswordBasedSyntheticPassword(
2373 response = mSpManager.verifyChallenge(getGateKeeperService(), authResult.authToken,
2420 @GuardedBy("mSpManager")
2424 long newHandle = mSpManager.createPasswordBasedSyntheticPassword(getGateKeeperService(),
2431 if (mSpManager.hasSidForUser(userId)) {
2437 mSpManager.verifyChallenge(getGateKeeperService(), auth, 0L, userId);
2441 mSpManager.newSidForUser(getGateKeeperService(), auth, userId);
2442 mSpManager.verifyChallenge(getGateKeeperService(), auth, 0L, userId);
2453 mSpManager.clearSidForUser(userId);
2468 @GuardedBy("mSpManager")
2486 AuthenticationResult authResult = mSpManager.unwrapPasswordBasedSyntheticPassword(
2521 mSpManager.newSidForUser(getGateKeeperService(), auth, userId);
2525 mSpManager.destroyPasswordBasedSyntheticPassword(handle, userId);
2556 synchronized (mSpManager) {
2562 AuthenticationResult auth = mSpManager.unwrapPasswordBasedSyntheticPassword(
2574 synchronized (mSpManager) {
2586 auth = mSpManager.unwrapPasswordBasedSyntheticPassword(getGateKeeperService(),
2592 if (!mSpManager.hasEscrowData(userId)) {
2596 long handle = mSpManager.createTokenBasedSyntheticPassword(token, userId);
2598 mSpManager.activateTokenBasedSyntheticPassword(handle, auth, userId);
2606 synchronized (mSpManager) {
2608 for (long handle : mSpManager.getPendingTokensForUser(userId)) {
2610 mSpManager.activateTokenBasedSyntheticPassword(handle, auth, userId);
2616 synchronized (mSpManager) {
2617 return mSpManager.existsHandle(handle, userId);
2622 synchronized (mSpManager) {
2627 if (mSpManager.removePendingToken(handle, userId)) {
2630 if (mSpManager.existsHandle(handle, userId)) {
2631 mSpManager.destroyTokenBasedSyntheticPassword(handle, userId);
2642 synchronized (mSpManager) {
2643 if (!mSpManager.hasEscrowData(userId)) {
2662 synchronized (mSpManager) {
2663 result = mSpManager.unwrapTokenBasedSyntheticPassword(
2683 mSpManager.destroyPasswordBasedSyntheticPassword(oldHandle, userId);
2692 synchronized (mSpManager) {
2693 if (!mSpManager.hasEscrowData(userId)) {
2696 authResult = mSpManager.unwrapTokenBasedSyntheticPassword(getGateKeeperService(),
2720 synchronized (mSpManager) {
2768 mSpManager.destroyEscrowData(userId);