Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/events/
DEventsDaoTest.java90 assertEquals(1, mDao.insertEvent(mTestEvent)); in testInsertQueryAndEvent()
99 assertEquals(2, mDao.insertEvent(testEvent)); in testInsertQueryAndEvent()
177 mDao.insertEvent(mTestEvent); in testDeleteEventsAndQueries()
187 long eventId2 = mDao.insertEvent(testEvent); in testDeleteEventsAndQueries()
229 long eventId1 = mDao.insertEvent(mTestEvent); in testReadAllNewRowsForPackage()
245 long eventId2 = mDao.insertEvent(packageAEvent); in testReadAllNewRowsForPackage()
271 long eventId1 = mDao.insertEvent(mTestEvent); in testReadAllNewRows()
287 long eventId2 = mDao.insertEvent(packageAEvent); in testReadAllNewRows()
370 long eventId1 = mDao.insertEvent(event1); in testReadAllEventIds()
379 long eventId2 = mDao.insertEvent(event2); in testReadAllEventIds()
[all …]
DJoinedTableDaoTest.java205 mDao.insertEvent(event1); in insertEventAndQueryData()
221 mDao.insertEvent(event2); in insertEventAndQueryData()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java234 insertEvent(mCalendarId, eventInfo); in execute()
1279 private Uri insertEvent(int calId, EventInfo event) { in insertEvent() method in CalendarProvider2Test
1280 return insertEvent(calId, event, null); in insertEvent()
1283 private Uri insertEvent(int calId, EventInfo event, ContentValues cv) { in insertEvent() method in CalendarProvider2Test
1520 Uri uri = insertEvent(calendarId0, mEvents[0], cv); in testInsertUpdateDeleteColor()
1644 uris[ii] = insertEvent(calId, event, cvs[ii]); in testInsertNormalEvents()
1693 uris[ii] = insertEvent(calId, event, cvs[ii]); in testInsertRepeatingEvents()
1733 url = insertEvent(calId, event); in testInstanceRange()
1950 insertEvent(calId, events[0]); in testInstanceSearchQuery()
1951 insertEvent(calId, events[1]); in testInstanceSearchQuery()
[all …]
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/
DDataAccessServiceImplTest.java652 mEventsDao.insertEvent(event1); in addTestData()
661 mEventsDao.insertEvent(event2); in addTestData()
670 mEventsDao.insertEvent(event3); in addTestData()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/reset/
DResetDataTaskTest.java138 mEventsDao.insertEvent(event); in addTestData()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEventsDao.java87 public long insertEvent(@NonNull Event event) { in insertEvent() method in EventsDao
117 if (insertEvent(event) == -1) { in insertEvents()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/display/
DWebViewFlow.java263 if (-1 == dao.insertEvent(event)) { in writeEvent()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/maintenance/
DOnDevicePersonalizationMaintenanceJobServiceTest.java141 mEventsDao.insertEvent(event); in addEventData()
DOnDevicePersonalizationMaintenanceJobTest.java413 mEventsDao.insertEvent(event); in addEventData()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java525 protected Uri insertEvent(long rawContactId, int type, String date) { in insertEvent() method in BaseContactsProvider2Test