Home
last modified time | relevance | path

Searched refs:getUnexpiredAuthorizationToken (Results 1 – 5 of 5) sorted by relevance

/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/
DODPAuthorizationTokenDaoTest.java107 mODPAuthorizationTokenDao.getUnexpiredAuthorizationToken(OWNER_IDENTIFIER1); in testInsertAuthToken_preExist_success()
129 mODPAuthorizationTokenDao.getUnexpiredAuthorizationToken(OWNER_IDENTIFIER1); in testGetAuthToken_notExist_success()
141 mODPAuthorizationTokenDao.getUnexpiredAuthorizationToken(OWNER_IDENTIFIER1); in testGetAuthToken_exist_success()
143 mODPAuthorizationTokenDao.getUnexpiredAuthorizationToken(OWNER_IDENTIFIER2); in testGetAuthToken_exist_success()
157 mODPAuthorizationTokenDao.getUnexpiredAuthorizationToken(OWNER_IDENTIFIER1); in testGetAuthToken_expired_success()
159 mODPAuthorizationTokenDao.getUnexpiredAuthorizationToken(OWNER_IDENTIFIER2); in testGetAuthToken_expired_success()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/security/
DAuthorizationContextTest.java134 assertNull(mAuthTokenDao.getUnexpiredAuthorizationToken(OWNER_ID)); in generateAuthHeader_emptyToken()
172 assertNull(mAuthTokenDao.getUnexpiredAuthorizationToken(OWNER_ID)); in generateAuthHeader_attestationRecord()
179 assertNotNull(mAuthTokenDao.getUnexpiredAuthorizationToken(OWNER_ID)); in generateAuthHeader_attestationRecord()
193 assertThat(mAuthTokenDao.getUnexpiredAuthorizationToken(OWNER_ID)).isEqualTo(authToken); in insertAuthToken()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/
DHttpFederatedProtocolTest.java336 assertThat(mODPAuthorizationTokenDao.getUnexpiredAuthorizationToken(OWNER_ID)) in testIssueCheckin_withAuthToken_success()
361 assertThat(mODPAuthorizationTokenDao.getUnexpiredAuthorizationToken(OWNER_ID)) in testIssueCheckin_withAuthToken_success()
441 .getUnexpiredAuthorizationToken(OWNER_ID) in testIssueCheckin_withAttestationRecord()
446 .getUnexpiredAuthorizationToken(OWNER_ID) in testIssueCheckin_withAttestationRecord()
937 assertThat(mODPAuthorizationTokenDao.getUnexpiredAuthorizationToken(OWNER_ID)) in insertAuthToken()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/data/
DODPAuthorizationTokenDao.java109 public ODPAuthorizationToken getUnexpiredAuthorizationToken(String ownerIdentifier) { in getUnexpiredAuthorizationToken() method in ODPAuthorizationTokenDao
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/security/
DAuthorizationContext.java166 .getUnexpiredAuthorizationToken(mOwnerId)), in generateAuthHeaders()