Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/data/
DODPAuthorizationTokenDao.java35 public class ODPAuthorizationTokenDao { class
36 private static final String TAG = ODPAuthorizationTokenDao.class.getSimpleName();
42 private static volatile ODPAuthorizationTokenDao sSingletonInstance;
44 private ODPAuthorizationTokenDao(FederatedComputeDbHelper dbHelper, Clock clock) { in ODPAuthorizationTokenDao() method in ODPAuthorizationTokenDao
53 public static ODPAuthorizationTokenDao getInstance(Context context) { in getInstance()
55 synchronized (ODPAuthorizationTokenDao.class) { in getInstance()
57 sSingletonInstance = new ODPAuthorizationTokenDao( in getInstance()
69 public static ODPAuthorizationTokenDao getInstanceForTest(Context context) { in getInstanceForTest()
71 synchronized (ODPAuthorizationTokenDao.class) { in getInstanceForTest()
73 sSingletonInstance = new ODPAuthorizationTokenDao( in getInstanceForTest()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/security/
DAuthorizationContext.java31 import com.android.federatedcompute.services.data.ODPAuthorizationTokenDao;
63 private final ODPAuthorizationTokenDao mAuthorizationTokenDao;
72 ODPAuthorizationTokenDao authorizationTokenDao, in AuthorizationContext()
88 ODPAuthorizationTokenDao.getInstance(context), in create()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/
DDeleteExpiredJobServiceTest.java57 import com.android.federatedcompute.services.data.ODPAuthorizationTokenDao;
89 private ODPAuthorizationTokenDao mSpyAuthTokenDao;
109 mSpyAuthTokenDao = spy(ODPAuthorizationTokenDao.getInstanceForTest(mContext)); in setUp()
253 .isEqualTo(ODPAuthorizationTokenDao.getInstance(mContext)); in testDefaultInjector()
288 ODPAuthorizationTokenDao getODPAuthorizationTokenDao(Context context) { in getODPAuthorizationTokenDao()
DDeleteExpiredJobTest.java51 import com.android.federatedcompute.services.data.ODPAuthorizationTokenDao;
90 @Mock private ODPAuthorizationTokenDao mMockOdpAuthorizationTokenDao;
205 ODPAuthorizationTokenDao getODPAuthorizationTokenDao(Context context) { in getODPAuthorizationTokenDao()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/
DDeleteExpiredJob.java37 import com.android.federatedcompute.services.data.ODPAuthorizationTokenDao;
71 ODPAuthorizationTokenDao getODPAuthorizationTokenDao(Context context) { in getODPAuthorizationTokenDao()
72 return ODPAuthorizationTokenDao.getInstance(context); in getODPAuthorizationTokenDao()
DDeleteExpiredJobService.java39 import com.android.federatedcompute.services.data.ODPAuthorizationTokenDao;
74 ODPAuthorizationTokenDao getODPAuthorizationTokenDao(Context context) { in getODPAuthorizationTokenDao()
75 return ODPAuthorizationTokenDao.getInstance(context); in getODPAuthorizationTokenDao()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/security/
DAuthorizationContextTest.java48 import com.android.federatedcompute.services.data.ODPAuthorizationTokenDao;
84 private ODPAuthorizationTokenDao mAuthTokenDao;
92 mAuthTokenDao = spy(ODPAuthorizationTokenDao.getInstanceForTest(mContext)); in setUp()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/
DODPAuthorizationTokenDaoTest.java43 private ODPAuthorizationTokenDao mODPAuthorizationTokenDao;
61 mODPAuthorizationTokenDao = ODPAuthorizationTokenDao.getInstanceForTest(mContext); in setUp()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/
DHttpFederatedProtocolTest.java60 import com.android.federatedcompute.services.data.ODPAuthorizationTokenDao;
212 private ODPAuthorizationTokenDao mODPAuthorizationTokenDao;
223 ODPAuthorizationTokenDao.getInstanceForTest( in setUp()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/
DFederatedComputeWorkerTest.java71 import com.android.federatedcompute.services.data.ODPAuthorizationTokenDao;
1157 ODPAuthorizationTokenDao.getInstanceForTest(mContext), in createAuthContext()