/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
AutoLoginProcessor.java | 16 * @param authToken The authentication token access is being requested for. 21 String accountName, String authToken, boolean success, String result);
|
AutoLoginDelegate.java | 75 public void dismissAutoLogins(String accountName, String authToken, boolean success, 85 if (accountAuthToken != null && accountAuthToken.equals(authToken)
|
InfoBarContainer.java | 417 * {@code accountName} and {@code authToken}. This also resets all {@link InfoBar}s that are 420 * @param authToken The authentication token access is being requested for. 425 public void processAutoLogin(String accountName, String authToken, boolean success, 427 mAutoLoginDelegate.dismissAutoLogins(accountName, authToken, success, result);
|
/frameworks/volley/src/com/android/volley/toolbox/ |
Authenticator.java | 35 public void invalidateAuthToken(String authToken);
|
AndroidAuthenticator.java | 81 String authToken = null; 87 authToken = result.getString(AccountManager.KEY_AUTHTOKEN); 89 if (authToken == null) { 93 return authToken; 97 public void invalidateAuthToken(String authToken) { 98 AccountManager.get(mContext).invalidateAuthToken(mAccount.type, authToken);
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
AccountManagerHelper.java | 272 public void onPostExecute(String authToken) { 273 onGotAuthTokenResult(account, authTokenType, authToken, callback, numTries, 278 String authToken = getAuthTokenInner(finalFuture, errorEncountered); 279 onGotAuthTokenResult(account, authTokenType, authToken, callback, numTries, 284 private void onGotAuthTokenResult(Account account, String authTokenType, String authToken, 287 if (authToken != null || !errorEncountered.get() || 290 callback.tokenAvailable(authToken); 311 public String getNewAuthToken(Account account, String authToken, String authTokenType) { 315 if (authToken != null && !authToken.isEmpty()) [all...] |
SystemAccountManagerDelegate.java | 54 public void invalidateAuthToken(String accountType, String authToken) { 55 mAccountManager.invalidateAuthToken(accountType, authToken);
|
AccountManagerDelegate.java | 31 void invalidateAuthToken(String accountType, String authToken);
|
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/ |
AccountHolder.java | 65 * @param authToken the auth token to remove 68 public boolean removeAuthToken(String authToken) { 71 if (authToken.equals(tokenEntry.getValue())) { 107 public AccountHolder withAuthToken(String authTokenType, String authToken) { 108 return copy().authToken(authTokenType, authToken).build(); 146 public Builder authToken(String authTokenType, String authToken) { 150 mTempAuthTokens.put(authTokenType, authToken);
|
MockAccountManager.java | 230 final String authToken = internalGenerateAndStoreAuthToken(ah, authTokenType); 237 return getAuthTokenBundle(ah.getAccount(), authToken); 259 private static Bundle getAuthTokenBundle(Account account, String authToken) { 261 result.putString(AccountManager.KEY_AUTHTOKEN, authToken); 272 // No authtoken registered. Need to create one. 273 String authToken = UUID.randomUUID().toString(); 275 ": autTokenType = " + authTokenType + ", authToken = " + authToken); 276 ah = ah.withAuthToken(authTokenType, authToken); 289 public void invalidateAuthToken(String accountType, String authToken) { [all...] |
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/signin/ |
OAuth2TokenServiceTest.java | 75 String authToken = "someToken"; 77 runTestOfGetOAuth2AccessTokenWithTimeout(authToken); 83 String authToken = null; 85 runTestOfGetOAuth2AccessTokenWithTimeout(authToken); 98 .authToken(oauth2Scope, expectedToken).build();
|
/external/chromium_org/native_client_sdk/src/examples/demo/drive/ |
example.js | 7 var authToken = ''; 14 function onGetAuthToken(authToken) { 17 if (authToken) { 20 window.authToken = authToken; 23 common.naclModule.postMessage('token:'+authToken);
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
AuthenticatorActivity.java | 70 * doesn't cause the user's password or authToken to be changed on the 186 * authToken that's returned from the server as the 'password' for this 191 private void finishLogin(String authToken) { 213 * @param authToken the authentication token returned by the server, or NULL if 216 public void onAuthenticationResult(String authToken) { 218 boolean success = ((authToken != null) && (authToken.length() > 0)); 229 finishLogin(authToken); 312 protected void onPostExecute(final String authToken) { 314 // communicate the authToken (or null for an error) [all...] |
Authenticator.java | 39 * for syncing, we want to use an authtoken instead - so we're not continually 42 * we need to return the appropriate authToken for the specified account. If we 43 * already have an authToken stored in the account, we return that authToken. If 45 * to the sample service to fetch an authToken. If that fails (or we didn't have 92 // If the caller requested an authToken type we don't support, then 101 // the server for an appropriate AuthToken. 105 final String authToken = NetworkUtilities.authenticate(account.name, password); 106 if (!TextUtils.isEmpty(authToken)) { 110 result.putString(AccountManager.KEY_AUTHTOKEN, authToken); [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AccountManagerTest.java | 134 String authToken = accountManager.peekAuthToken(ACCOUNT, authTokenType); 136 assertThat(authToken, equalTo("myToken")); 143 String authToken = 146 assertNull(authToken); 153 String authToken = accountManager.peekAuthToken(ACCOUNT, "other"); 155 assertNull(authToken);
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
NetworkUtilities.java | 67 public static final String PARAM_AUTH_TOKEN = "authtoken"; 123 String authToken = null; 129 authToken = ireader.readLine().trim(); 132 if ((authToken != null) && (authToken.length() > 0)) { 134 return authToken; 140 Log.e(TAG, "IOException when getting authtoken", e); 154 * @param authtoken The authtoken stored in the AccountManager for this 161 Account account, String authtoken, long serverSyncState, List<RawContact> dirtyContacts [all...] |
/external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/ |
TestShellTab.java | 123 String authToken, boolean success, String result) { 124 getInfoBarContainer().processAutoLogin(accountName, authToken,
|
/frameworks/base/core/java/android/accounts/ |
IAccountManager.aidl | 41 void invalidateAuthToken(String accountType, String authToken); 43 void setAuthToken(in Account account, String authTokenType, String authToken);
|
AccountManager.java | 175 public static final String KEY_AUTHTOKEN = "authtoken"; 455 * Change whether or not an app (identified by its uid) is allowed to retrieve an authToken 670 * @param authToken The auth token to invalidate, may be null 672 public void invalidateAuthToken(final String accountType, final String authToken) { 675 if (authToken != null) { 676 mService.invalidateAuthToken(accountType, authToken); [all...] |
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
Chromoting.java | 221 String authToken = result.getString(AccountManager.KEY_AUTHTOKEN); 226 mToken = authToken; 236 link.setRequestProperty("Authorization", "OAuth " + authToken);
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/jni/ |
JniInterface.java | 110 public static void connectToHost(String username, String authToken, 116 nativeConnect(username, authToken, hostJid, hostId, hostPubkey, 122 private static native void nativeConnect(String username, String authToken, String hostJid,
|
/external/chromium_org/chrome/browser/signin/ |
android_profile_oauth2_token_service.cc | 249 // |authToken| param is only valid when |result| is true. 251 jstring authToken, 254 std::string token = ConvertJavaStringToUTF8(env, authToken);
|
/external/chromium_org/remoting/client/jni/ |
chromoting_jni_runtime.cc | 72 jstring authToken, 80 ConvertJavaStringToUTF8(env, authToken).c_str(),
|
/frameworks/base/services/java/com/android/server/accounts/ |
AccountManagerService.java | 97 * A system service that provides account, password, and authtoken management for all 137 private static final String AUTHTOKENS_AUTHTOKEN = "authtoken"; [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/ |
OAuth2TokenService.java | 267 String authToken, boolean result, long nativeCallback);
|