Searched refs:insert (Results 1 - 25 of 215) sorted by relevance

123456789

/packages/apps/Launcher2/
H A Dfill_screens.py65 insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY, itemType, appWidgetId, iconType) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d)"
66 insert = insert % (id, "title", "", -100, s, x, y, 1, 1, 2, -1, 0)
67 c.execute(insert)
73 insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY, itemType, appWidgetId, iconType) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d)"
74 insert = insert % (id, "title", intent, folder_id, 0, 0, 0, 1, 1, 0, -1, 0)
75 c.execute(insert)
/packages/apps/Launcher3/
H A Dfill_screens.py65 insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY, itemType, appWidgetId, iconType) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d)"
66 insert = insert % (id, "title", "", -100, s, x, y, 1, 1, 2, -1, 0)
67 c.execute(insert)
73 insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY, itemType, appWidgetId, iconType) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d)"
74 insert = insert % (id, "title", intent, folder_id, 0, 0, 0, 1, 1, 0, -1, 0)
75 c.execute(insert)
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDatabaseModifier.java25 * An interface which wraps key database modify operations (insert, update, delete) to perform
31 * Use this method to insert a value which you would otherwise do using the
32 * {@link SQLiteDatabase#insert(String, String, ContentValues)} method.
34 public abstract long insert(String table, String nullColumnHack, ContentValues values); method in interface:DatabaseModifier
36 * Use this method to insert a value which you would otherwise do using the
37 * {@link DatabaseUtils.InsertHelper#insert(ContentValues)} method.
39 public abstract long insert(ContentValues values); method in interface:DatabaseModifier
H A DDataRowHandlerForCommonDataKind.java44 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, method in class:DataRowHandlerForCommonDataKind
47 return super.insert(db, txContext, rawContactId, values);
H A DDataRowHandlerForIdentity.java36 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, method in class:DataRowHandlerForIdentity
38 final long dataId = super.insert(db, txContext, rawContactId, values);
H A DContactLocaleUtils.java371 keyPinyin.insert(0, token.target);
372 keyInitial.insert(0, token.target.charAt(0));
376 keyPinyin.insert(0, ' ');
379 keyOriginal.insert(0, ' ');
381 keyPinyin.insert(0, token.source);
382 keyInitial.insert(0, token.source.charAt(0));
384 keyOriginal.insert(0, token.source);
H A DDataRowHandlerForPhoto.java43 * insert/update. This is used when the photo has been written directly to an
58 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, method in class:DataRowHandlerForPhoto
70 long dataId = super.insert(db, txContext, rawContactId, values);
101 * Pre-processes the given content values for update or insert. If the photo column contains
151 long photoFileId = mPhotoStore.insert(processor);
160 Log.e(TAG, "Could not process photo for insert or update", ioe);
H A DDataRowHandlerForEmail.java38 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, method in class:DataRowHandlerForEmail
42 long dataId = super.insert(db, txContext, rawContactId, values);
H A DDataRowHandlerForNickname.java40 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, method in class:DataRowHandlerForNickname
44 long dataId = super.insert(db, txContext, rawContactId, values);
H A DDataRowHandlerForStructuredPostal.java55 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, method in class:DataRowHandlerForStructuredPostal
58 return super.insert(db, txContext, rawContactId, values);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DPrivateLog.java75 insert(db, "Created table");
84 insert(db, "Upgrade finished");
87 private static void insert(SQLiteDatabase db, String event) { method in class:PrivateLog.DebugHelper
92 db.insert(LOG_TABLE_NAME, null, c);
100 DebugHelper.insert(l, event);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DLinkedNode.java28 public void insert(LinkedNode node) { method in class:LinkedNode
47 mHead.mPrev.insert(node);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DLegacyContactsProviderTest.java71 Uri uri = mResolver.insert(People.CONTENT_URI, values);
80 Uri uri = mResolver.insert(People.CONTENT_URI, values);
99 Uri personId = mResolver.insert(People.CONTENT_URI, values);
116 mResolver.insert(People.CONTENT_URI, values);
120 mResolver.insert(People.CONTENT_URI, values);
124 mResolver.insert(People.CONTENT_URI, values);
135 Uri personUri = mResolver.insert(People.CONTENT_URI, values);
141 final Uri personUri = mResolver.insert(People.CONTENT_URI, values);
150 Uri orgUri1 = mResolver.insert(Organizations.CONTENT_URI, values);
157 Uri orgUri2 = mResolver.insert(Organization
[all...]
H A DCallLogProviderTest.java93 Uri uri = mResolver.insert(Calls.CONTENT_URI, values);
119 mResolver.insert(Calls.CONTENT_URI, values);
124 Uri uri = mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, values);
163 mResolver.insert(Calls.CONTENT_URI, values);
226 mResolver.insert(Calls.CONTENT_URI, getDefaultValues(Calls.INCOMING_TYPE));
229 mResolver.insert(Calls.CONTENT_URI, getDefaultValues(Calls.MISSED_TYPE));
284 mResolver.insert(Calls.CONTENT_URI, values);
325 mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, getDefaultVoicemailValues());
330 mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, getDefaultVoicemailValues());
390 return mResolver.insert(Call
[all...]
H A DContactsProvider2TransactionTest.java59 * Make sure we start/finish transactions on the right databases for insert.
67 mResolver.insert(RawContacts.CONTENT_URI, values);
77 mResolver.insert(Profile.CONTENT_RAW_CONTACTS_URI, values);
93 mResolver.insert(RawContacts.CONTENT_URI, values);
94 mResolver.insert(Profile.CONTENT_RAW_CONTACTS_URI, values);
127 mResolver.insert(RawContacts.CONTENT_URI, values);
128 mResolver.insert(Profile.CONTENT_RAW_CONTACTS_URI, values);
149 * Make sure we start/finish transactions on the right databases for bulk insert.
H A DVoicemailProviderTest.java82 Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues());
137 Uri uri = mResolver.insert(voicemailUri(), values);
153 mResolver.insert(Voicemails.CONTENT_URI, getTestVoicemailValues());
190 // Once again try to insert message for another package. This time
342 mResolver.insert(voicemailUri(), getTestVoicemailValues());
375 mResolver.insert(voicemailUri(), values);
416 Uri uri = mResolver.insert(statusUri(), values);
425 assertNotNull(mResolver.insert(statusUri(), values));
430 assertNull(mResolver.insert(statusUri(), values));
433 // Now insert entr
[all...]
H A DPhotoStoreTest.java72 assertEquals(0, mPhotoStore.insert(newPhotoProcessor(photo, false)));
130 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, false));
160 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, true));
177 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, false));
204 long photoFileId = mPhotoStore.insert(
/packages/apps/Settings/tests/src/com/android/settings/bluetooth/
H A DUtf8ByteLengthFilterTest.java60 dest.insert(1, source);
68 dest.insert(2, source);
93 dest.insert(0, source);
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/
H A DNaughtySuggestionProvider.java43 public Uri insert(Uri uri, ContentValues values) { method in class:NaughtySuggestionProvider
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DProvider.java39 public Uri insert(Uri uri, ContentValues values) { method in class:Provider
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DCalendarColorCache.java68 insert(c.getString(0), c.getString(1));
84 private void insert(String accountName, String accountType) { method in class:CalendarColorCache
/packages/apps/Dialer/src/com/android/dialer/database/
H A DDialerDatabaseHelper.java620 final SQLiteStatement insert = db.compileStatement(sqlInsert);
630 insert.bindLong(1, updatedContactCursor.getLong(PhoneQuery.PHONE_ID));
631 insert.bindString(2, updatedContactCursor.getString(PhoneQuery.PHONE_NUMBER));
632 insert.bindLong(3, updatedContactCursor.getLong(PhoneQuery.PHONE_CONTACT_ID));
633 insert.bindString(4, updatedContactCursor.getString(PhoneQuery.PHONE_LOOKUP_KEY));
634 insert.bindString(5, updatedContactCursor.getString(PhoneQuery.PHONE_DISPLAY_NAME));
635 insert.bindLong(6, updatedContactCursor.getLong(PhoneQuery.PHONE_PHOTO_ID));
636 insert.bindLong(7, updatedContactCursor.getLong(PhoneQuery.PHONE_LAST_TIME_USED));
637 insert.bindLong(8, updatedContactCursor.getInt(PhoneQuery.PHONE_TIMES_USED));
638 insert
[all...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/
H A Ddynamic_patricia_trie_gc_event_listeners.cpp91 mDictPositionRelocationMap->mPtNodeArrayPositionRelocationMap.insert(
124 mDictPositionRelocationMap->mPtNodePositionRelocationMap.insert(
130 mDictPositionRelocationMap->mPtNodePositionRelocationMap.insert(
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/
H A DPublicApiAccessTest.java66 mContentResolver.insert(Downloads.Impl.CONTENT_URI, buildValidValues());
78 mContentResolver.insert(Downloads.Impl.CONTENT_URI, values);
135 mContentResolver.insert(Downloads.Impl.CONTENT_URI, values);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/history/
H A DHistoryManager.java130 insert(preset, 0);
134 private void insert(HistoryItem preset, int position) { method in class:HistoryManager

Completed in 521 milliseconds

123456789