Home
last modified time | relevance | path

Searched refs:accountManager (Results 1 – 10 of 10) sorted by relevance

/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/backends/
DAndroidUriAdapter.java37 @Nullable private final AccountManager accountManager; field in AndroidUriAdapter
39 private AndroidUriAdapter(Context context, @Nullable AccountManager accountManager) { in AndroidUriAdapter() argument
41 this.accountManager = accountManager; in AndroidUriAdapter()
50 public static AndroidUriAdapter forContext(Context context, AccountManager accountManager) { in forContext() argument
51 return new AndroidUriAdapter(context, accountManager); in forContext()
115 if (accountManager == null) { in toFile()
120 int accountId = accountManager.getAccountId(account).get(); in toFile()
DAndroidFileBackend.java46 @Nullable private final AccountManager accountManager; field in AndroidFileBackend
82 @Nullable private AccountManager accountManager; field in AndroidFileBackend.Builder
107 public Builder setAccountManager(AccountManager accountManager) { in setAccountManager() argument
108 this.accountManager = accountManager; in setAccountManager()
137 accountManager = builder.accountManager; in AndroidFileBackend()
227 return AndroidUri.builder(context).fromAbsolutePath(uri.getPath(), accountManager).build(); in reverseRewriteUri()
236 File file = AndroidUriAdapter.forContext(context, accountManager).toFile(uri); in toFile()
DAndroidUri.java258 public Builder fromFile(File file, @Nullable AccountManager accountManager) { in fromFile() argument
259 return fromAbsolutePath(file.getAbsolutePath(), accountManager); in fromFile()
278 public Builder fromAbsolutePath(String absolutePath, @Nullable AccountManager accountManager) { in fromAbsolutePath() argument
343 Preconditions.checkArgument(accountManager != null, "AccountManager cannot be null"); in fromAbsolutePath()
345 setAccount(accountManager.getAccount(accountId).get()); in fromAbsolutePath()
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
DAuthenticationHelperImpl.java73 private Object accountManager = null; field in AuthenticationHelperImpl
92 public AuthenticationHelperImpl(SipStackImpl sipStack, AccountManager accountManager, in AuthenticationHelperImpl() argument
94 this.accountManager = accountManager; in AuthenticationHelperImpl()
109 public AuthenticationHelperImpl(SipStackImpl sipStack, SecureAccountManager accountManager, in AuthenticationHelperImpl() argument
111 this.accountManager = accountManager; in AuthenticationHelperImpl()
231 if ( this.accountManager instanceof SecureAccountManager ) { in handleChallenge()
233 … ((SecureAccountManager)this.accountManager).getCredentialHash(challengedTransaction,realm); in handleChallenge()
241 …UserCredentials userCreds = ((AccountManager) this.accountManager).getCredentials(challengedTransa… in handleChallenge()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/account/
DAccountManagerAccountSource.java31 private final AccountManager accountManager; field in AccountManagerAccountSource
35 this.accountManager = AccountManager.get(context); in AccountManagerAccountSource()
42 accountManager.getAccountsByTypeForPackage(GOOGLE_ACCOUNT_TYPE, packageName); in getAllAccounts()
/external/cronet/net/android/java/src/org/chromium/net/
DHttpNegotiateAuthenticator.java76 public AccountManager accountManager; field in HttpNegotiateAuthenticator.RequestData
145 mRequestData.accountManager.getAuthToken(mRequestData.account, in run()
185 mRequestData.accountManager.getAuthToken(mRequestData.account, in run()
231 requestData.accountManager = AccountManager.get(applicationContext); in getNextAuthToken()
327 requestData.accountManager.getAccountsByTypeAndFeatures(mAccountType, features, in requestTokenWithoutActivity()
368 requestData.accountManager.getAuthTokenByFeatures(mAccountType, requestData.authTokenType, in requestTokenWithActivity()
/external/nist-sip/java/gov/nist/javax/sip/
DSipStackExt.java66 public AuthenticationHelper getAuthenticationHelper(AccountManager accountManager, in getAuthenticationHelper() argument
81 public AuthenticationHelper getSecureAuthenticationHelper(SecureAccountManager accountManager, in getSecureAuthenticationHelper() argument
DSipStackImpl.java1374 AccountManager accountManager, HeaderFactory headerFactory) { in getAuthenticationHelper() argument
1375 return new AuthenticationHelperImpl(this, accountManager, headerFactory); in getAuthenticationHelper()
1386 SecureAccountManager accountManager, HeaderFactory headerFactory) { in getSecureAuthenticationHelper() argument
1387 return new AuthenticationHelperImpl(this, accountManager, headerFactory); in getSecureAuthenticationHelper()
/external/volley/core/src/main/java/com/android/volley/toolbox/
DAndroidAuthenticator.java67 AccountManager accountManager, in AndroidAuthenticator() argument
71 mAccountManager = accountManager; in AndroidAuthenticator()
/external/cronet/net/android/junit/src/org/chromium/net/
DHttpNegotiateAuthenticatorTest.java179 requestData.accountManager = sMockAccountManager; in testGetAccountCallback()
214 requestData.accountManager = sMockAccountManager; in testGetTokenCallbackWithIntent()