Home
last modified time | relevance | path

Searched refs:auth (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountTypeProvider.java145 for (AuthenticatorDescription auth : contactsAuths.values()) { in shouldUpdate()
146 if (!deepEquals(mAuthTypes.get(auth.type), auth)) { in shouldUpdate()
158 final AuthenticatorDescription auth = mAuthTypes.get(type); in loadTypes() local
159 if (auth == null) { in loadTypes()
168 accountType = new GoogleAccountType(mContext, auth.packageName); in loadTypes()
170 accountType = new ExchangeAccountType(mContext, auth.packageName, type); in loadTypes()
172 auth.packageName)) { in loadTypes()
173 accountType = new SamsungAccountType(mContext, auth.packageName, type); in loadTypes()
174 } else if (!ExternalAccountType.hasContactsXml(mContext, auth.packageName) in loadTypes()
178 + ", packageName=" + auth.packageName); in loadTypes()
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/model/
DAccountTypeManager.java319 for (AuthenticatorDescription auth : auths) { in findAuthenticator()
320 if (accountType.equals(auth.type)) { in findAuthenticator()
321 return auth; in findAuthenticator()
436 final AuthenticatorDescription auth = findAuthenticator(auths, type); in loadAccountsInBackground() local
437 if (auth == null) { in loadAccountsInBackground()
444 accountType = new GoogleAccountType(mContext, auth.packageName); in loadAccountsInBackground()
446 accountType = new ExchangeAccountType(mContext, auth.packageName, type); in loadAccountsInBackground()
447 } else if (SamsungAccountType.isSamsungAccountType(mContext, type, auth.packageName)) { in loadAccountsInBackground()
448 accountType = new SamsungAccountType(mContext, auth.packageName, type); in loadAccountsInBackground()
451 TAG, "Registering external account type=" + type + ", packageName=" + auth.packageName); in loadAccountsInBackground()
[all …]
/packages/services/Car/car-lib/src/android/car/trust/
DCarTrustAgentEnrollmentManager.java675 AuthInfo auth; in dispatchEnrollmentCallback() local
679 auth = (AuthInfo) message.obj; in dispatchEnrollmentCallback()
680 enrollmentCallback.onEnrollmentHandshakeFailure(auth.mDevice, auth.mErrorCode); in dispatchEnrollmentCallback()
683 auth = (AuthInfo) message.obj; in dispatchEnrollmentCallback()
684 if (auth.mDevice != null && auth.mAuthString != null) { in dispatchEnrollmentCallback()
685 enrollmentCallback.onAuthStringAvailable(auth.mDevice, auth.mAuthString); in dispatchEnrollmentCallback()
/packages/apps/Contacts/src/com/android/contacts/util/
DLocalizedNameResolver.java64 for (AuthenticatorDescription auth : am.getAuthenticatorTypes()) { in resolveAllContactsName()
65 if (accountType.equals(auth.type)) { in resolveAllContactsName()
66 return resolveAllContactsNameFromMetaData(context, auth.packageName); in resolveAllContactsName()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoPriorityResolver.java105 for (AuthenticatorDescription auth : am.getAuthenticatorTypes()) { in resolvePhotoPriority()
106 if (accountType.equals(auth.type)) { in resolvePhotoPriority()
107 return resolvePhotoPriorityFromMetaData(auth.packageName); in resolvePhotoPriority()
/packages/apps/Email/provider_src/com/android/email/provider/
DAccountReconciler.java203 final HostAuth auth = providerAccount.getOrCreateHostAuthRecv(context); in reconcileAccountsInternal() local
204 LogUtils.d(Logging.LOG_TAG, "deleted account with hostAuth " + auth); in reconcileAccountsInternal()
205 if (auth != null && TextUtils.equals(auth.mProtocol, in reconcileAccountsInternal()
/packages/apps/Email/tests/src/com/android/email/activity/setup/
DAccountSetupIncomingTests.java198 final HostAuth auth = account.getOrCreateHostAuthRecv(context); in getTestIntent() local
199 auth.setHostAuthFromString(storeUriString); in getTestIntent()
DAccountSetupOutgoingTests.java203 final HostAuth auth = account.getOrCreateHostAuthSend(context); in getTestIntent() local
204 auth.setHostAuthFromString(senderUriString); in getTestIntent()
DAccountSetupOptionsTests.java173 final HostAuth auth = account.getOrCreateHostAuthRecv(context); in getTestIntent() local
174 auth.setHostAuthFromString(storeUri); in getTestIntent()
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java121 int auth = ImapStore.FLAG_NONE; in ImapHelper() local
126 auth = ImapStore.FLAG_SSL; in ImapHelper()
129 imapStore = new ImapStore(context, this, username, password, port, serverName, auth, network); in ImapHelper()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java605 public ServerSession acceptAndOpen(ServerRequestHandler handler, Authenticator auth) in acceptAndOpen() argument
616 return new ServerSession((ObexTransport) tt, handler, auth); in acceptAndOpen()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DSimpleUploaderAsyncTask.java25 import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;
DBugStorageUtils.java36 import com.google.api.client.auth.oauth2.TokenResponseException;
/packages/apps/KeyChain/robotests/src/com/android/keychain/
DKeyChainServiceRoboTest.java59 import javax.security.auth.x500.X500Principal;
DAliasLoaderTest.java31 import javax.security.auth.x500.X500Principal;
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapActivity.java156 mView = getLayoutInflater().inflate(R.layout.auth, null); in createView()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java66 import javax.security.auth.x500.X500Principal;
DKeyChainService.java70 import javax.security.auth.x500.X500Principal;