/external/volley/src/main/java/com/android/volley/toolbox/ |
Authenticator.java | 35 public void invalidateAuthToken(String authToken);
|
AndroidAuthenticator.java | 98 String authToken = null; 104 authToken = result.getString(AccountManager.KEY_AUTHTOKEN); 106 if (authToken == null) { 110 return authToken; 114 public void invalidateAuthToken(String authToken) { 115 mAccountManager.invalidateAuthToken(mAccount.type, authToken);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/ |
AuthUtils.java | 44 public void invalidateAuthToken(final String accountType, final String authToken) { 45 mAccountManager.invalidateAuthToken(accountType, 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/v1/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);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/ |
TranscriptionClientFactory.java | 141 private final String authToken; 152 public Interceptor(String packageName, String cert, String apiKey, String authToken) { 156 this.authToken = authToken; 184 if (!TextUtils.isEmpty(authToken)) { 186 headers.put(AUTHORIZATION_HEADER, "Bearer " + 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...] |
/system/security/keystore/ |
operation.cpp | 125 *outToken = entry->second.authToken.get(); 130 const HardwareAuthToken* authToken) { 135 entry->second.authToken.reset(new HardwareAuthToken); 136 *entry->second.authToken = *authToken;
|
operation.h | 60 const HardwareAuthToken* authToken); 79 std::unique_ptr<HardwareAuthToken> authToken;
|
key_store_service.cpp | [all...] |
key_store_service.h | 209 const HardwareAuthToken** authToken,
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
SyntheticPasswordManager.java | 130 public AuthenticationToken authToken; 455 public void newSidForUser(IGateKeeperService gatekeeper, AuthenticationToken authToken, 458 authToken.deriveGkPassword()); 486 private boolean loadEscrowData(AuthenticationToken authToken, int userId) { 487 authToken.E0 = loadState(SP_E0_NAME, DEFAULT_HANDLE, userId); 488 authToken.P1 = loadState(SP_P1_NAME, DEFAULT_HANDLE, userId); 489 return authToken.E0 != null && authToken.P1 != null; 492 private void saveEscrowData(AuthenticationToken authToken, int userId) { 493 saveState(SP_E0_NAME, authToken.E0, DEFAULT_HANDLE, userId) [all...] |
LockSettingsService.java | [all...] |
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/ |
AccountManagementTest.java | 88 String authToken = mAccountManager.blockingGetAuthToken(account, "authTokenType", false); 89 assertEquals(MockAccountAuthenticator.AUTH_TOKEN, authToken);
|
/test/vts/utils/python/build/api/ |
artifact_fetcher.py | 87 authToken = ServiceAccountCredentials.from_json_keyfile_name( 89 http_auth = authToken.authorize(httplib2.Http())
|
/frameworks/base/core/java/android/accounts/ |
IAccountManager.aidl | 55 void invalidateAuthToken(String accountType, String authToken); 57 void setAuthToken(in Account account, String authTokenType, String authToken);
|
AccountManager.java | 208 public static final String KEY_AUTHTOKEN = "authtoken"; 693 * Change whether or not an app (identified by its uid) is allowed to retrieve an authToken [all...] |
/frameworks/base/core/java/android/security/ |
IKeystoreService.aidl | 75 int addAuthToken(in byte[] authToken);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
SyntheticPasswordTests.java | 63 AuthenticationToken authToken = manager.newSyntheticPasswordAndSid(mGateKeeperService, null, 66 LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, authToken, PASSWORD_QUALITY_ALPHABETIC, 70 assertEquals(result.authToken.deriveKeyStorePassword(), authToken.deriveKeyStorePassword()); 73 assertNull(result.authToken);
|
/hardware/interfaces/biometrics/fingerprint/2.1/default/ |
BiometricsFingerprint.cpp | 163 const hw_auth_token_t* authToken = 165 return ErrorFilter(mDevice->enroll(mDevice, authToken, gid, timeoutSec));
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountsDb.java | 74 private static final String AUTHTOKENS_AUTHTOKEN = "authtoken"; 320 Cursor findAuthtokenForAllAccounts(String accountType, String authToken) { 332 new String[]{authToken, accountType}); 346 final String authToken = cursor.getString(1); 347 authTokensForAccount.put(type, authToken); 369 long insertAuthToken(long accountId, String authTokenType, String authToken) { 374 values.put(AUTHTOKENS_AUTHTOKEN, authToken); [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAccountManager.java | 33 public static final String AUTH_TOKEN_VALUE = "authToken"; 166 public void invalidateAuthToken(String accountType, String authToken) {}
|
/development/apps/Development/src/com/android/development/ |
AccountsTester.java | 459 String authToken = result.getString(AccountManager.KEY_AUTHTOKEN); 460 mAccountManager.invalidateAuthToken(mAccount.type, authToken);
|
/frameworks/base/keystore/java/android/security/ |
KeyStore.java | 556 * @param authToken The packed bytes of a hw_auth_token_t to be provided to keymaster. 560 public int addAuthToken(byte[] authToken) { 562 return mBinder.addAuthToken(authToken);
|