/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/ |
D | ODPAuthorizationTokenDaoTest.java | 61 mODPAuthorizationTokenDao = ODPAuthorizationTokenDao.getInstanceForTest(mContext); in setUp() 66 FederatedComputeDbHelper dbHelper = FederatedComputeDbHelper.getInstanceForTest(mContext); in cleanUp() 75 FederatedComputeDbHelper.getInstanceForTest(mContext).getReadableDatabase(); in testInsertAuthToken_notExist_success() 95 FederatedComputeDbHelper.getInstanceForTest(mContext).getReadableDatabase(); in testInsertAuthToken_preExist_success() 168 FederatedComputeDbHelper.getInstanceForTest(mContext).getReadableDatabase(); in testDeleteAuthToken_exist_success()
|
D | FederatedComputeEncryptionKeyDaoTest.java | 62 mEncryptionKeyDao = FederatedComputeEncryptionKeyDao.getInstanceForTest(mContext); in setUp() 67 FederatedComputeDbHelper dbHelper = FederatedComputeDbHelper.getInstanceForTest(mContext); in cleanUp() 82 FederatedComputeDbHelper.getInstanceForTest(mContext).getReadableDatabase(); in testInsertEncryptionKey_success()
|
D | FederatedComputeDbHelperTest.java | 90 FederatedComputeDbHelper dbHelper = FederatedComputeDbHelper.getInstanceForTest(mContext); in onCreate() 118 spy(FederatedComputeDbHelper.getInstanceForTest(mContext)); in testSafeGetReadableDatabase_exceptionOccurs_validatesErrorLogging() 135 spy(FederatedComputeDbHelper.getInstanceForTest(mContext)); in testSafeGetWriteDatabase_exceptionOccurs_validatesErrorLogging()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/reset/ |
D | ResetDataTaskTest.java | 63 mDao = OnDevicePersonalizationVendorDataDao.getInstanceForTest(mContext, TEST_OWNER, in setup() 65 mLocalDao = OnDevicePersonalizationLocalDataDao.getInstanceForTest(mContext, TEST_OWNER, in setup() 67 mEventsDao = EventsDao.getInstanceForTest(mContext); in setup() 73 OnDevicePersonalizationDbHelper.getInstanceForTest(mContext); in cleanup()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/user/ |
D | UserDataDao.java | 70 public static UserDataDao getInstanceForTest(@NonNull Context context, Clock clock) { in getInstanceForTest() method in UserDataDao 74 OnDevicePersonalizationDbHelper.getInstanceForTest(context); in getInstanceForTest() 83 public static UserDataDao getInstanceForTest(@NonNull Context context) { in getInstanceForTest() method in UserDataDao 87 OnDevicePersonalizationDbHelper.getInstanceForTest(context); in getInstanceForTest()
|
D | UserDataCollector.java | 120 public static UserDataCollector getInstanceForTest(Context context, UserDataDao userDataDao) { in getInstanceForTest() method in UserDataCollector 126 public static UserDataCollector getInstanceForTest(Context context) { in getInstanceForTest() method in UserDataCollector 130 new UserDataCollector(context, UserDataDao.getInstanceForTest(context)); in getInstanceForTest()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/ |
D | DeleteExpiredJobServiceTest.java | 109 mSpyAuthTokenDao = spy(ODPAuthorizationTokenDao.getInstanceForTest(mContext)); in setUp() 110 mTrainingTaskDao = FederatedTrainingTaskDao.getInstanceForTest(mContext); in setUp() 120 FederatedComputeDbHelper dbHelper = FederatedComputeDbHelper.getInstanceForTest(mContext); in tearDown() 144 FederatedComputeDbHelper.getInstanceForTest(mContext).getReadableDatabase(); in deleteExpiredAuthToken_success() 167 FederatedComputeDbHelper.getInstanceForTest(mContext).getReadableDatabase(); in deleteExpiredAuthToken_failure()
|
D | FederatedComputeLearningJobScheduleOrchestratorTest.java | 69 mTrainingTaskDao = FederatedTrainingTaskDao.getInstanceForTest(mContext); in setUp() 78 FederatedComputeDbHelper dbHelper = FederatedComputeDbHelper.getInstanceForTest(mContext); in tearDown()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/vendor/ |
D | OnDevicePersonalizationVendorDataDaoTest.java | 79 mDao = OnDevicePersonalizationVendorDataDao.getInstanceForTest(mContext, TEST_OWNER, in setup() 81 mEventsDao = EventsDao.getInstanceForTest(mContext); in setup() 82 mOtherDao = OnDevicePersonalizationVendorDataDao.getInstanceForTest(mContext, OTHER_OWNER, in setup() 154 SQLiteDatabase db = OnDevicePersonalizationDbHelper.getInstanceForTest( in testInsertNewSyncToken() 229 OnDevicePersonalizationDbHelper.getInstanceForTest(mContext); in cleanup()
|
D | OnDevicePersonalizationLocalDataDaoTest.java | 54 mLocalDao = OnDevicePersonalizationLocalDataDao.getInstanceForTest(mContext, TEST_OWNER, in setup() 56 mVendorDao = OnDevicePersonalizationVendorDataDao.getInstanceForTest(mContext, TEST_OWNER, in setup() 150 OnDevicePersonalizationDbHelper.getInstanceForTest(mContext); in cleanup()
|
/packages/modules/OnDevicePersonalization/tests/manualtests/src/com/android/ondevicepersonalization/services/download/ |
D | OnDevicePersonalizationDataProcessingAsyncCallableManualTests.java | 79 OnDevicePersonalizationVendorDataDao.getInstanceForTest(mContext, mService, in setup() 96 OnDevicePersonalizationVendorDataDao.getInstanceForTest(mContext, mService, in testRun() 132 OnDevicePersonalizationDbHelper.getInstanceForTest(mContext); in cleanup()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/serviceflow/ |
D | AppRequestFlowTest.java | 80 OnDevicePersonalizationDbHelper.getInstanceForTest(mContext); 206 EventsDao.getInstanceForTest(mContext).insertQuery( in setUpTestData() 214 EventsDao.getInstanceForTest(mContext); in setUpTestData() 217 .getInstanceForTest(mContext, in setUpTestData()
|
D | RenderFlowTest.java | 75 OnDevicePersonalizationDbHelper.getInstanceForTest(mContext); 188 EventsDao.getInstanceForTest(mContext).insertQuery( in setUpTestDate() 191 EventsDao.getInstanceForTest(mContext); in setUpTestDate()
|
D | WebTriggerFlowTest.java | 69 OnDevicePersonalizationDbHelper.getInstanceForTest(mContext); 243 EventsDao.getInstanceForTest(mContext).insertQuery( in setUpTestData() 246 EventsDao.getInstanceForTest(mContext); in setUpTestData()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/user/ |
D | UserDataCollectorTest.java | 88 mUserDataDao = UserDataDao.getInstanceForTest(mContext, mMockClock); in setup() 89 mCollector = UserDataCollector.getInstanceForTest(mContext, mUserDataDao); in setup() 97 OnDevicePersonalizationDbHelper.getInstanceForTest(mContext); in cleanUp()
|
D | UserDataDaoTest.java | 51 mUserDataDao = UserDataDao.getInstanceForTest(mContext, mClock); in setup() 58 OnDevicePersonalizationDbHelper.getInstanceForTest(mContext); in cleanUp()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/federatedcompute/ |
D | FederatedComputeServiceImplTest.java | 243 EventsDao.getInstanceForTest(mApplicationContext) in testCancel() 266 EventsDao.getInstanceForTest(mApplicationContext) in testCancelErr() 287 OnDevicePersonalizationDbHelper.getInstanceForTest(mApplicationContext); in cleanup() 319 return EventsDao.getInstanceForTest(context); in getEventsDao()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/ |
D | OnDevicePersonalizationDataProcessingAsyncCallableTests.java | 136 OnDevicePersonalizationVendorDataDao.getInstanceForTest(mContext, mService, in setup() 164 OnDevicePersonalizationVendorDataDao.getInstanceForTest(mContext, mService, in testRun() 224 OnDevicePersonalizationVendorDataDao.getInstanceForTest(mContext, mService, in testRunOldDataDownloaded() 299 OnDevicePersonalizationDbHelper.getInstanceForTest(mContext); in cleanup()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/maintenance/ |
D | OnDevicePersonalizationMaintenanceJobServiceTest.java | 168 OnDevicePersonalizationVendorDataDao.getInstanceForTest( in setup() 172 mDao = OnDevicePersonalizationVendorDataDao.getInstanceForTest(mContext, in setup() 175 mEventsDao = EventsDao.getInstanceForTest(mContext); in setup() 298 var localDao = OnDevicePersonalizationLocalDataDao.getInstanceForTest(mContext, in testLocalDataCleanup() 348 OnDevicePersonalizationDbHelper.getInstanceForTest(mContext); in cleanup()
|
D | OnDevicePersonalizationMaintenanceJobTest.java | 133 OnDevicePersonalizationVendorDataDao.getInstanceForTest( in setup() 137 OnDevicePersonalizationVendorDataDao.getInstanceForTest( in setup() 141 mEventsDao = EventsDao.getInstanceForTest(sContext); in setup() 147 OnDevicePersonalizationDbHelper.getInstanceForTest(sContext); in teardown() 315 OnDevicePersonalizationLocalDataDao.getInstanceForTest( in testLocalDataCleanup()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/data/ |
D | FederatedComputeEncryptionKeyDao.java | 73 public static FederatedComputeEncryptionKeyDao getInstanceForTest(Context context) { in getInstanceForTest() method in FederatedComputeEncryptionKeyDao 78 FederatedComputeDbHelper.getInstanceForTest(context); in getInstanceForTest()
|
D | ODPAuthorizationTokenDao.java | 69 public static ODPAuthorizationTokenDao getInstanceForTest(Context context) { in getInstanceForTest() method in ODPAuthorizationTokenDao 74 FederatedComputeDbHelper.getInstanceForTest(context), in getInstanceForTest()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/display/ |
D | DisplayHelperTest.java | 69 mDao = OnDevicePersonalizationVendorDataDao.getInstanceForTest( in setup() 139 OnDevicePersonalizationDbHelper.getInstanceForTest(mContext); in cleanup()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/ |
D | OnDevicePersonalizationDbHelperTest.java | 123 mDbHelper = OnDevicePersonalizationDbHelper.getInstanceForTest(mContext); in setup() 220 spy(OnDevicePersonalizationDbHelper.getInstanceForTest(mContext)); in testSafeGetReadableDatabase_exceptionOccurs_validatesErrorLogging() 237 spy(OnDevicePersonalizationDbHelper.getInstanceForTest(mContext)); in testSafeGetWritableDatabase_exceptionOccurs_validatesErrorLogging()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | FastScrollingIndexCacheTest.java | 56 mCache = FastScrollingIndexCache.getInstanceForTest(mPrefs); in setUp() 143 FastScrollingIndexCache cache2 = FastScrollingIndexCache.getInstanceForTest(mPrefs); in testPutAndGet()
|