Home
last modified time | relevance | path

Searched refs:EventsDao (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/reset/
DResetDataTask.java23 import com.android.ondevicepersonalization.services.data.events.EventsDao;
44 EventsDao eventsDao = EventsDao.getInstance(context); in deleteMeasurementData()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEventsDao.java38 public class EventsDao { class
44 private static volatile EventsDao sSingleton;
48 private EventsDao(@NonNull OnDevicePersonalizationDbHelper dbHelper) { in EventsDao() method in EventsDao
53 public static EventsDao getInstance(@NonNull Context context) { in getInstance()
55 synchronized (EventsDao.class) { in getInstance()
59 sSingleton = new EventsDao(dbHelper); in getInstance()
71 public static EventsDao getInstanceForTest(@NonNull Context context) { in getInstanceForTest()
72 synchronized (EventsDao.class) { in getInstanceForTest()
76 sSingleton = new EventsDao(dbHelper); in getInstanceForTest()
DJoinedTableDao.java144 EventsDao eventsDao = EventsDao.getInstance(context); in populateTable()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/util/
DLogUtils.java32 import com.android.ondevicepersonalization.services.data.events.EventsDao;
60 EventsDao eventsDao = EventsDao.getInstance(context); in writeLogRecords()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/federatedcompute/
DOdpResultHandlingService.java30 import com.android.ondevicepersonalization.services.data.events.EventsDao;
127 EventsDao eventsDao = EventsDao.getInstance(this); in processExampleConsumptions()
DFederatedComputeServiceImpl.java39 import com.android.ondevicepersonalization.services.data.events.EventsDao;
246 EventsDao getEventsDao(Context context) { in getEventsDao()
247 return EventsDao.getInstance(context); in getEventsDao()
DOdpExampleStoreService.java43 import com.android.ondevicepersonalization.services.data.events.EventsDao;
122 EventsDao eventDao = EventsDao.getInstance(getContext()); in startQuery()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/federatedcompute/
DFederatedComputeServiceImplTest.java49 import com.android.ondevicepersonalization.services.data.events.EventsDao;
243 EventsDao.getInstanceForTest(mApplicationContext) in testCancel()
266 EventsDao.getInstanceForTest(mApplicationContext) in testCancelErr()
318 EventsDao getEventsDao(Context context) { in getEventsDao()
319 return EventsDao.getInstanceForTest(context); in getEventsDao()
DOdpExampleStoreIteratorFactoryTest.java29 import com.android.ondevicepersonalization.services.data.events.EventsDao;
48 EventsDao.getInstanceForTest(mContext); in setup()
DOdpResultHandlingServiceTests.java44 import com.android.ondevicepersonalization.services.data.events.EventsDao;
82 private EventsDao mEventsDao;
86 mEventsDao = EventsDao.getInstanceForTest(mContext); in setup()
DOdpExampleStoreServiceTests.java55 import com.android.ondevicepersonalization.services.data.events.EventsDao;
99 private final EventsDao mEventsDao = EventsDao.getInstanceForTest(mContext);
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/maintenance/
DOnDevicePersonalizationMaintenanceJob.java42 import com.android.ondevicepersonalization.services.data.events.EventsDao;
133 EventsDao eventsDao = EventsDao.getInstance(context); in deleteEventsAndQueries()
DOnDevicePersonalizationMaintenanceJobService.java43 import com.android.ondevicepersonalization.services.data.events.EventsDao;
104 EventsDao eventsDao = EventsDao.getInstance(context); in deleteEventsAndQueries()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/reset/
DResetDataTaskTest.java32 import com.android.ondevicepersonalization.services.data.events.EventsDao;
59 private EventsDao mEventsDao;
67 mEventsDao = EventsDao.getInstanceForTest(mContext); in setup()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/serviceflow/
DWebViewFlowTest.java40 import com.android.ondevicepersonalization.services.data.events.EventsDao;
64 private EventsDao mDao;
74 mDao = EventsDao.getInstanceForTest(mContext); in setup()
DRenderFlowTest.java47 import com.android.ondevicepersonalization.services.data.events.EventsDao;
188 EventsDao.getInstanceForTest(mContext).insertQuery( in setUpTestDate()
191 EventsDao.getInstanceForTest(mContext); in setUpTestDate()
DWebTriggerFlowTest.java45 import com.android.ondevicepersonalization.services.data.events.EventsDao;
243 EventsDao.getInstanceForTest(mContext).insertQuery( in setUpTestData()
246 EventsDao.getInstanceForTest(mContext); in setUpTestData()
DAppRequestFlowTest.java52 import com.android.ondevicepersonalization.services.data.events.EventsDao;
206 EventsDao.getInstanceForTest(mContext).insertQuery( in setUpTestData()
214 EventsDao.getInstanceForTest(mContext); in setUpTestData()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/display/
DWebViewFlow.java42 import com.android.ondevicepersonalization.services.data.events.EventsDao;
257 EventsDao dao = EventsDao.getInstance(mContext); in writeEvent()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/
DDataAccessServiceImpl.java44 import com.android.ondevicepersonalization.services.data.events.EventsDao;
80 private final EventsDao mEventsDao;
531 EventsDao getEventsDao( in getEventsDao()
534 return EventsDao.getInstance(context); in getEventsDao()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/vendor/
DOnDevicePersonalizationVendorDataDaoTest.java41 import com.android.ondevicepersonalization.services.data.events.EventsDao;
68 private EventsDao mEventsDao;
81 mEventsDao = EventsDao.getInstanceForTest(mContext); in setup()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/display/
DOdpWebViewClientTests.java60 import com.android.ondevicepersonalization.services.data.events.EventsDao;
100 private EventsDao mDao;
136 mDao = EventsDao.getInstanceForTest(mContext); in setup()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/events/
DJoinedTableDaoTest.java50 private EventsDao mDao;
55 mDao = EventsDao.getInstanceForTest(mContext); in setup()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/maintenance/
DOnDevicePersonalizationMaintenanceJobServiceTest.java58 import com.android.ondevicepersonalization.services.data.events.EventsDao;
94 private EventsDao mEventsDao;
175 mEventsDao = EventsDao.getInstanceForTest(mContext); in setup()
DOnDevicePersonalizationMaintenanceJobTest.java61 import com.android.ondevicepersonalization.services.data.events.EventsDao;
112 private EventsDao mEventsDao;
141 mEventsDao = EventsDao.getInstanceForTest(sContext); in setup()

12