Home
last modified time | relevance | path

Searched refs:insert (Results 1 – 25 of 106) sorted by relevance

12345

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyContactImporter.java234 SQLiteStatement insert = mTargetDb.compileStatement(GroupsInsert.INSERT_SQL); in importGroups() local
239 insertGroup(c, insert); in importGroups()
246 private void insertGroup(Cursor c, SQLiteStatement insert) { in insertGroup() argument
249 insert.bindLong(GroupsInsert.ID, id); in insertGroup()
250 bindString(insert, GroupsInsert.TITLE, c.getString(GroupsQuery.NAME)); in insertGroup()
251 bindString(insert, GroupsInsert.NOTES, c.getString(GroupsQuery.NOTES)); in insertGroup()
252 bindString(insert, GroupsInsert.SYSTEM_ID, c.getString(GroupsQuery.SYSTEM_ID)); in insertGroup()
253 insert.bindLong(GroupsInsert.DIRTY, c.getLong(GroupsQuery._SYNC_DIRTY)); in insertGroup()
254 insert.bindLong(GroupsInsert.GROUP_VISIBLE, 1); in insertGroup()
258 bindString(insert, GroupsInsert.ACCOUNT_NAME, account); in insertGroup()
[all …]
DCallLogProvider.java152 public Uri insert(Uri uri, ContentValues values) { in insert() method in CallLogProvider
153 long rowId = mCallsInserter.insert(values); in insert()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DEnglishInputProcessor.java61 String insert = null; in processKey() local
67 insert = "\n"; in processKey()
69 insert = " "; in processKey()
74 if (null != insert && realAction) in processKey()
75 inputContext.commitText(insert, insert.length()); in processKey()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java71 Uri uri = mResolver.insert(People.CONTENT_URI, values); in testPeopleInsert()
80 Uri uri = mResolver.insert(People.CONTENT_URI, values); in testPeopleUpdate()
99 Uri personId = mResolver.insert(People.CONTENT_URI, values); in testPeopleDelete()
116 mResolver.insert(People.CONTENT_URI, values); in testPeopleFilter()
120 mResolver.insert(People.CONTENT_URI, values); in testPeopleFilter()
124 mResolver.insert(People.CONTENT_URI, values); in testPeopleFilter()
135 Uri personUri = mResolver.insert(People.CONTENT_URI, values); in testDefaultDisplayName()
141 final Uri personUri = mResolver.insert(People.CONTENT_URI, values); in testPrimaryOrganization()
150 Uri orgUri1 = mResolver.insert(Organizations.CONTENT_URI, values); in testPrimaryOrganization()
157 Uri orgUri2 = mResolver.insert(Organizations.CONTENT_URI, values); in testPrimaryOrganization()
[all …]
DCallLogProviderTest.java71 Uri uri = mResolver.insert(Calls.CONTENT_URI, values); in testInsert()
79 Uri uri = mResolver.insert(Calls.CONTENT_URI, values); in testUpdate()
98 Uri uri = mResolver.insert(Calls.CONTENT_URI, values); in testDelete()
115 mResolver.insert(Calls.CONTENT_URI, values); in testCallLogFilter()
DContactsActor.java267 Uri contactUri = resolver.insert(RawContacts.CONTENT_URI, values); in createContact()
289 Uri dataUri = resolver.insert(insertUri, values); in createName()
305 Uri dataUri = resolver.insert(insertUri, values); in createPhone()
320 Uri dataUri = resolver.insert(insertUri, values); in createEmail()
329 Uri dataUri = resolver.insert(StatusUpdates.CONTENT_URI, values); in createStatus()
387 Uri groupUri = resolver.insert(ContactsContract.Groups.CONTENT_URI, values); in createGroup()
399 Uri dataUri = resolver.insert(insertUri, values); in createGroupMembership()
DGlobalSearchSupportTest.java194 mResolver.insert(Data.CONTENT_URI, values); in assertSearchSuggestion()
208 mResolver.insert(Data.CONTENT_URI, values); in assertSearchSuggestion()
217 mResolver.insert(Data.CONTENT_URI, values); in assertSearchSuggestion()
227 mResolver.insert(StatusUpdates.CONTENT_URI, values); in assertSearchSuggestion()
237 mResolver.insert(Data.CONTENT_URI, values); in assertSearchSuggestion()
DBaseContactsProvider2Test.java149 Uri contactUri = mResolver.insert(uri, values); in createRawContact()
163 return ContentUris.parseId(mResolver.insert(uri, values)); in createGroup()
172 mResolver.insert(Settings.CONTENT_URI, values); in createSettings()
197 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertStructuredName()
213 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertOrganization()
231 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPhoneNumber()
249 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertEmail()
260 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertNickname()
270 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPostalAddress()
279 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPhoto()
[all …]
DContactsProvider2Test.java83 Uri rowUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testRawContactsInsert()
96 Uri dataUri = mResolver.insert(Data.CONTENT_URI, values); in testDataInsert()
141 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhonesQuery()
203 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhoneLookup()
235 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhoneUpdate()
274 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testEmailsQuery()
466 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhonesWithStatusUpdate()
546 Uri rowUri = mResolver.insert(Groups.CONTENT_URI, values); in testGroupInsert()
778 Uri resultUri = mResolver.insert(StatusUpdates.CONTENT_URI, values); in testStatusUpdateInsert()
802 mResolver.insert(StatusUpdates.CONTENT_URI, values); in testStatusUpdateInsert()
[all …]
DCallerInfoIntegrationTest.java44 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testCallerInfo()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DTestCalendarSyncAdapter.java83 tempProvider.insert(sEventsURL, values); in getServerDiffs()
99 tempProvider.insert(sEventsURL, values); in getServerDiffs()
115 tempProvider.insert(sEventsURL, values); in getServerDiffs()
122 tempProvider.insert(sDeletedEventsURL, values); in getServerDiffs()
138 tempProvider.insert(sEventsURL, values); in getServerDiffs()
DCalendarProviderTest.java1001 Uri url = mResolver.insert(Uri.parse("content://calendar/calendars"), m); in insertCal()
1042 Uri url = mResolver.insert(mEventsUri, m); in insertEvent()
1380 mResolver.insert(Calendar.Reminders.CONTENT_URI, reminder); in testEntityQuery()
1382 mResolver.insert(Calendar.Reminders.CONTENT_URI, reminder); in testEntityQuery()
1388 mResolver.insert(Calendar.ExtendedProperties.CONTENT_URI, extended); in testEntityQuery()
1390 mResolver.insert(Calendar.ExtendedProperties.CONTENT_URI, extended); in testEntityQuery()
1393 mResolver.insert(Calendar.ExtendedProperties.CONTENT_URI, extended); in testEntityQuery()
1404 mResolver.insert(Calendar.Attendees.CONTENT_URI, attendee); in testEntityQuery()
1457 Uri attendeesUri = mResolver.insert(Calendar.Attendees.CONTENT_URI, attendee); in testAttendees()
1487 mResolver.insert(Calendar.Attendees.CONTENT_URI, attendee); in testAttendees()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/
DRecentCallsListActivityTests.java267 private void insert(String number, long date, int duration, int type) { in insert() method in RecentCallsListActivityTests
294 insert(CallerInfo.PRIVATE_NUMBER, date, duration, Calls.INCOMING_TYPE); in insertPrivate()
303 insert(CallerInfo.UNKNOWN_NUMBER, date, duration, Calls.INCOMING_TYPE); in insertUnknown()
312 insert(mVoicemail, date, duration, Calls.OUTGOING_TYPE); in insertVoicemail()
348 insert(number, NOW, RAND_DURATION, inout); in insertRandomRange()
/packages/apps/Mms/src/com/android/mms/drm/
DDrmUtils.java43 public static Uri insert(Context context, DrmWrapper drmObj) in insert() method in DrmUtils
46 Uri uri = SqliteWrapper.insert(context, cr, DRM_TEMP_URI, in insert()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java114 public Uri insert(Uri uri, ContentValues initialValues) { in insert() method in LauncherProvider
118 final long rowId = db.insert(args.table, null, initialValues); in insert()
136 if (db.insert(args.table, null, values[i]) < 0) return 0; in bulkInsert()
332 if (db.insert(TABLE_FAVORITES, null, rows[i]) < 0) { in copyFromCursor()
598 db.insert(TABLE_FAVORITES, null, values); in addAppShortcut()
612 db.insert(TABLE_FAVORITES, null, values); in addSearchWidget()
636 db.insert(TABLE_FAVORITES, null, values); in addClockWidget()
678 db.insert(TABLE_FAVORITES, null, values); in addAppWidget()
722 db.insert(TABLE_FAVORITES, null, values); in addUriShortcut()
/packages/apps/Launcher/src/com/android/launcher/
DLauncherProvider.java116 public Uri insert(Uri uri, ContentValues initialValues) { in insert() method in LauncherProvider
120 final long rowId = db.insert(args.table, null, initialValues); in insert()
138 if (db.insert(args.table, null, values[i]) < 0) return 0; in bulkInsert()
333 if (db.insert(TABLE_FAVORITES, null, rows[i]) < 0) { in copyFromCursor()
579 db.insert(TABLE_FAVORITES, null, values); in addAppShortcut()
619 db.insert(TABLE_FAVORITES, null, values); in addShortcut()
629 db.insert(TABLE_FAVORITES, null, values); in addSearchWidget()
653 db.insert(TABLE_FAVORITES, null, values); in addClockWidget()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorDisplay.java132 void insert(String delta) { in insert() method in CalculatorDisplay
135 editor.getText().insert(cursor, delta); in insert()
DLogic.java83 void insert(String delta) { in insert() method in Logic
84 mDisplay.insert(delta); in insert()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarApplication.java47 public void insert(Screen node) { in insert() method in CalendarApplication.Screen
/packages/providers/DrmProvider/src/com/android/providers/drm/
DDrmProvider.java216 public Uri insert(Uri uri, ContentValues initialValues) in insert() method in DrmProvider
236 rowId = db.insert("audio", "title", values); in insert()
246 rowId = db.insert("images", "title", values); in insert()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsProvider.java260 public Uri insert(Uri uri, ContentValues values) { in insert() method in MmsProvider
345 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert()
356 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert()
396 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert()
407 db.insert(table, null, values); in insert()
428 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert()
/packages/providers/GoogleContactsProvider/src/com/android/providers/contacts/
DContactsSyncAdapter.java883 provider.insert(People.DELETED_CONTENT_URI, deletedValues);
891 provider.insert(Groups.DELETED_CONTENT_URI, deletedValues);
920 Uri personUri = provider.insert(People.CONTENT_URI, values);
935 if (provider.insert(Photos.CONTENT_URI, values) == null) {
947 provider.insert(uri, values);
958 provider.insert(uri, values);
984 provider.insert(uri, values);
996 provider.insert(uri, values);
1011 provider.insert(uri, values);
1022 provider.insert(uri, values);
[all …]
/packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/
DDownloadProviderPermissionsTest.java92 mContentResolver.insert(Downloads.CONTENT_URI, values); in testWriteDownloadProvider()
/packages/apps/HTMLViewer/src/com/android/htmlviewer/
DFileContentProvider.java64 public Uri insert(Uri uri, ContentValues values) { in insert() method in FileContentProvider
/packages/apps/GlobalSearch/tests/spammy/src/com/android/globalsearch/tests/spammy/
DSpammySuggestionProvider.java69 public Uri insert(Uri uri, ContentValues values) { in insert() method in SpammySuggestionProvider

12345