Home
last modified time | relevance | path

Searched refs:authToken (Results 1 – 8 of 8) sorted by relevance

/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/security/
DAuthorizationContext.java144 ODPAuthorizationToken authToken = in generateAuthHeaders() local
156 () -> mAuthorizationTokenDao.insertAuthorizationToken(authToken), in generateAuthHeaders()
206 private AuthTokenCallbackResult convertODPAuthToken(ODPAuthorizationToken authToken) {
207 return new AuthTokenCallbackResult(authToken, authToken == null);
215 AuthTokenCallbackResult(ODPAuthorizationToken authToken, boolean isEmpty) {
216 mAuthToken = authToken;
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
DTranscriptionClientFactory.java143 private final String authToken; field in TranscriptionClientFactory.Interceptor
154 public Interceptor(String packageName, String cert, String apiKey, String authToken) { in Interceptor() argument
158 this.authToken = authToken; in Interceptor()
186 if (!TextUtils.isEmpty(authToken)) { in interceptCall()
188 headers.put(AUTHORIZATION_HEADER, "Bearer " + authToken); in interceptCall()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/
DODPAuthorizationTokenDaoTest.java117 ODPAuthorizationToken authToken = in insertNullAuthToken() local
123 mODPAuthorizationTokenDao.insertAuthorizationToken(authToken); in insertNullAuthToken()
128 ODPAuthorizationToken authToken = in testGetAuthToken_notExist_success() local
130 assertThat(authToken).isEqualTo(null); in testGetAuthToken_notExist_success()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/
DAuthUtils.java44 public void invalidateAuthToken(final String accountType, final String authToken) { in invalidateAuthToken() argument
45 mAccountManager.invalidateAuthToken(accountType, authToken); in invalidateAuthToken()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/data/
DODPAuthorizationTokenDao.java164 ODPAuthorizationToken authToken = null; in readTokenFromDatabase() local
192 authToken = encryptionKeyBuilder.build(); in readTokenFromDatabase()
199 return authToken; in readTokenFromDatabase()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/security/
DAuthorizationContextTest.java185 ODPAuthorizationToken authToken = in insertAuthToken() local
192 mAuthTokenDao.insertAuthorizationToken(authToken); in insertAuthToken()
193 assertThat(mAuthTokenDao.getUnexpiredAuthorizationToken(OWNER_ID)).isEqualTo(authToken); in insertAuthToken()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/
DHttpFederatedProtocolTest.java334 ODPAuthorizationToken authToken = createAuthToken(); in testIssueCheckin_withAuthToken_success() local
335 mODPAuthorizationTokenDao.insertAuthorizationToken(authToken); in testIssueCheckin_withAuthToken_success()
337 .isEqualTo(authToken); in testIssueCheckin_withAuthToken_success()
362 .isEqualTo(authToken); in testIssueCheckin_withAuthToken_success()
935 ODPAuthorizationToken authToken = createAuthToken(); in insertAuthToken() local
936 mODPAuthorizationTokenDao.insertAuthorizationToken(authToken); in insertAuthToken()
938 .isEqualTo(authToken); in insertAuthToken()
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-api-client-android-1.30.2.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...