Searched refs:insert (Results 1 - 25 of 223) 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 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/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/
H A Ddynamic_pt_gc_event_listeners.cpp84 mDictPositionRelocationMap->mPtNodeArrayPositionRelocationMap.insert(
115 mDictPositionRelocationMap->mPtNodePositionRelocationMap.insert(
121 mDictPositionRelocationMap->mPtNodePositionRelocationMap.insert(
/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 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());
138 Uri uri = mResolver.insert(voicemailUri(), values);
154 mResolver.insert(Voicemails.CONTENT_URI, getTestVoicemailValues());
191 // Once again try to insert message for another package. This time
206 // An insert for another package should still fail
410 mResolver.insert(voicemailUri(), getTestVoicemailValues());
443 mResolver.insert(voicemailUri(), values);
484 Uri uri = mResolver.insert(statusUri(), values);
493 assertNotNull(mResolver.insert(statusUri(), values));
498 assertNull(mResolver.insert(statusUr
[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(
H A DCallLogProviderTest.java95 Uri uri = mResolver.insert(Calls.CONTENT_URI, values);
117 mResolver.insert(Calls.CONTENT_URI, values);
122 Uri uri = mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, values);
161 mResolver.insert(Calls.CONTENT_URI, values);
238 mResolver.insert(Calls.CONTENT_URI, getDefaultValues(Calls.INCOMING_TYPE));
241 mResolver.insert(Calls.CONTENT_URI, getDefaultValues(Calls.MISSED_TYPE));
296 mResolver.insert(Calls.CONTENT_URI, values);
337 mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, getDefaultVoicemailValues());
342 mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, getDefaultVoicemailValues());
414 mResolver.insert(Call
[all...]
/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/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
H A DAbstractKeyboardBuilder.java110 * Set or insert an element at specified position.
111 * @param row the row number to set or insert the <code>element</code>.
112 * @param column the column number to set or insert the <code>element</code>.
113 * @param element the element to set or insert at <code>row,column</code>.
114 * @param insert if true, the <code>element</code> is inserted at <code>row,column</code>.
118 void setElementAt(final int row, final int column, final E element, final boolean insert) { argument
124 if (insert) {
/packages/apps/Dialer/src/com/android/dialer/database/
H A DDialerDatabaseHelper.java637 final SQLiteStatement insert = db.compileStatement(sqlInsert);
647 insert.clearBindings();
656 insert.bindString(2, number);
664 insert.bindString(4, lookupKey);
670 insert.bindString(5, mContext.getResources().getString(R.string.missing_name));
672 insert.bindString(5, displayName);
674 insert.bindLong(1, updatedContactCursor.getLong(PhoneQuery.PHONE_ID));
675 insert.bindLong(3, updatedContactCursor.getLong(PhoneQuery.PHONE_CONTACT_ID));
676 insert.bindLong(6, updatedContactCursor.getLong(PhoneQuery.PHONE_PHOTO_ID));
677 insert
[all...]
/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 3110 milliseconds

123456789