Searched refs:insert (Results 201 - 225 of 264) sorted by relevance

1234567891011

/packages/apps/TV/jni/
H A DDvbManager.cpp331 mPidFilters.insert(std::pair<int, int>(pid, demuxFd));
/packages/apps/TV/src/com/android/tv/tuner/
H A DTunerPreferences.java358 resolver.insert(Preferences.CONTENT_URI, values);
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DEmlAttachmentProvider.java55 * Supports all of the semantics (query/insert/update/delete/openFile)
182 public Uri insert(Uri uri, ContentValues values) { method in class:EmlAttachmentProvider
H A DMailAppProvider.java236 public Uri insert(Uri url, ContentValues values) { method in class:MailAppProvider
475 // cursor. Initially assume that we insert these items to at the end of the list
H A DAttachment.java273 // insert attachment into content provider so that we can open the file
275 resolver.insert(uri, toContentValues());
290 // perform a second insert to put the updated size and downloaded size values in
291 resolver.insert(uri, toContentValues());
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DDictionaryProvider.java487 * @param values the values to insert for this content uri
488 * @return the URI for the newly inserted item. May be null if arguments don't allow for insert
491 public Uri insert(final Uri uri, final ContentValues values) method in class:DictionaryProvider
513 Log.w(TAG, "Not enough information to insert this dictionary " + values, e);
523 PrivateLog.log("Attempt to insert : " + uri);
533 * @see android.content.ContentProvider#insert(Uri, ContentValues)
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarAlarmManager.java451 Uri uri = CalendarAlerts.insert(
455 Log.e(CalendarProvider2.TAG, "runScheduleNextAlarm() insert into "
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactMetadataProvider.java179 public Uri insert(Uri uri, ContentValues values) { method in class:ContactMetadataProvider
202 "Calling contact metadata insert on an unknown/invalid URI", uri));
267 // Do not support update metadata sync by update() method. Please use insert().
349 "Calling contact metadata insert or update on an unknown/invalid URI", uri));
352 // Don't insert or update a deleted metadata.
356 "Cannot insert or update deleted metadata:" + values.toString(), uri));
366 // Update or insert for backupId and account info.
374 deleted = 0; // Only insert or update non-deleted metadata
385 // Update if it exists, otherwise insert.
H A DSearchIndexManager.java399 db.insert(Tables.SEARCH_INDEX, null, mValues);
/packages/providers/ContactsProvider/tests2/src/com/android/providers/contacts/tests2/
H A DAllUriTest.java41 insert for 'content://com.android.contacts/contacts' failed: Aggregate contacts are created automatically
42 insert for 'content://com.android.contacts/raw_contacts/1/data' failed: mimetype is required
44 insert for 'content://com.android.contacts/data' failed: raw_contact_id is required
45 insert for 'content://com.android.contacts/settings' failed: Must specify both or neither of ACCOUNT_NAME and ACCOUNT_TYPE; URI: content://com.android.contacts/settings?account_type=1, calling user: com.android.providers.contacts.tests2, calling package:com.android.providers.contacts.tests2
46 insert for 'content://com.android.contacts/status_updates' failed: PROTOCOL and IM_HANDLE are required
47 insert for 'content://com.android.contacts/profile' failed: The profile contact is created automatically
48 insert for 'content://com.android.contacts/profile/data' failed: raw_contact_id is required
49 insert for 'content://com.android.contacts/profile/raw_contacts/1/data' failed: mimetype is required
50 insert for 'content://com.android.contacts/profile/status_updates' failed: PROTOCOL and IM_HANDLE are required
59 * TODO Add test for delete/update/insert to
[all...]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DHbpcdLookupDatabaseHelper.java220 db.insert(tableName, null, row);
H A DHbpcdLookupProvider.java314 public Uri insert(Uri uri, ContentValues values) { method in class:HbpcdLookupProvider
315 throw new UnsupportedOperationException("Failed to insert row into " + uri);
H A DServiceStateProvider.java121 public Uri insert(Uri uri, ContentValues values) { method in class:ServiceStateProvider
128 Log.e(TAG, "insert: no subId provided in uri");
/packages/services/Telephony/src/com/android/phone/
H A DPhoneUtils.java961 .insert(0, "\n")
962 .insert(0, app.getResources().getString(R.string.ussd_dialog_sep))
963 .insert(0, "\n");
965 sUssdMsg.insert(0, text);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DOpenWnnDictionaryImpl.java466 /* If link search is enabled, insert information of the previous word */
903 mDbDic.insert( TABLE_NAME_DIC, null, content );
1078 mDbDic.insert( TABLE_NAME_DIC, null, content );
/packages/providers/TvProvider/src/com/android/providers/tv/
H A DTvProvider.java1297 public Uri insert(Uri uri, ContentValues values) { method in class:TvProvider
1331 throw new UnsupportedOperationException("Cannot insert into that URI: " + uri);
1346 long rowId = db.insert(CHANNELS_TABLE, null, values);
1353 throw new SQLException("Failed to insert row into " + uri);
1368 long rowId = db.insert(PROGRAMS_TABLE, null, values);
1375 throw new SQLException("Failed to insert row into " + uri);
1389 long rowId = db.insert(WATCHED_PROGRAMS_TABLE, null, values);
1396 Log.w(TAG, "Failed to insert row for " + values + ". Channel does not exist.");
1418 long rowId = db.insert(RECORDED_PROGRAMS_TABLE, null, values);
1425 throw new SQLException("Failed to insert ro
[all...]
/packages/services/Mms/src/com/android/mms/service/
H A DMmsService.java513 return getContentResolver().insert(insertUri, values);
687 return getContentResolver().insert(Telephony.Sms.Draft.CONTENT_URI, values);
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTests.java1037 // It's illegal to manually insert these, so we need to catch the
1039 // NOTE: The insert succeeds, and then throws the exception
1043 resolver.insert(Message.DELETED_CONTENT_URI, cv);
1049 resolver.insert(Message.DELETED_CONTENT_URI, cv);
1055 resolver.insert(Message.UPDATED_CONTENT_URI, cv);
1061 resolver.insert(Message.UPDATED_CONTENT_URI, cv);
2058 cr.insert(uri, cv);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapContentObserver.java2196 * create new thread by insert and remove of fake message */
2492 // Now insert the empty message into folder
2496 Uri uriNew = mProviderClient.insert(uriInsert, values);
2770 uri = mResolver.insert(uri, values);
2773 // unable to insert MMS
2774 Log.e(TAG, "Unabled to insert MMS " + values + "Uri: " + uri);
2779 at insert. */
2853 uri = mResolver.insert(uri, values);
2878 uri = mResolver.insert(uri, values);
2899 values.put(Mms.Addr.ADDRESS, "insert
[all...]
/packages/apps/Email/provider_src/com/android/email/provider/
H A DEmailProvider.java190 /** Appended to the notification URI for insert operations */
191 private static final String NOTIFICATION_OP_INSERT = "insert";
323 private static final String UPDATED_MESSAGE_INSERT = "insert or ignore into " +
330 private static final String DELETED_MESSAGE_INSERT = "insert or replace into " +
890 public Uri insert(Uri uri, ContentValues values) { method in class:EmailProvider
892 final int match = findMatch(uri, "insert");
918 longId = db.insert(Body.TABLE_NAME, "foo", dbValues);
925 "Cannot insert body without MESSAGE_KEY");
932 // NOTE: It is NOT legal for production code to insert directly into UPDATED_MESSAGE
945 longId = db.insert(TABLE_NAME
[all...]
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
H A DPduPersister.java734 SqliteWrapper.insert(mContext, mContentResolver, uri, values);
826 res = SqliteWrapper.insert(mContext, mContentResolver, uri, values);
829 LogUtil.e(TAG, "SqliteWrapper.insert threw: ", e);
1058 // Delete old address information and then insert new ones.
1499 res = SqliteWrapper.insert(mContext, mContentResolver, uri, values);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadProvider.java353 * insert() now ensures these four columns are never null for new downloads, so this method
557 public Uri insert(final Uri uri, final ContentValues values) { method in class:DownloadProvider
564 Log.d(Constants.TAG, "calling insert on an unknown/invalid URI: " + uri);
721 long rowID = db.insert(DB_TABLE, null, filteredValues);
723 Log.d(Constants.TAG, "couldn't insert into downloads database");
813 * @param values ContentValues provided to insert()
867 values.remove(Downloads.Impl.COLUMN_FILE_NAME_HINT); // checked later in insert()
868 values.remove(Downloads.Impl.COLUMN_NOTIFICATION_PACKAGE); // checked later in insert()
1065 db.insert(Downloads.Impl.RequestHeaders.HEADERS_DB_TABLE, null, rowValues);
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
H A DBluetoothMapEmailProvider.java304 * First create a message in the DB using insert into the message DB
435 public Uri insert(Uri uri, ContentValues values) { method in class:BluetoothMapEmailProvider
448 Log.d(TAG, "insert(): uri=" + uri.toString() + " - getLastPathSegment() = " +
453 if(D) Log.i(TAG, "insert() ID: " + id);
H A DBluetoothMapIMProvider.java236 public Uri insert(Uri uri, ContentValues values) { method in class:BluetoothMapIMProvider
249 Log.d(TAG, "insert(): uri=" + uri.toString() + " - getLastPathSegment() = " +
254 if(D) Log.i(TAG, "insert() ID: " + id);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppObexServerSession.java85 /* info id when we insert the record */
295 Uri contentUri = mContext.getContentResolver().insert(BluetoothShare.CONTENT_URI, values);
298 if (V) Log.v(TAG, "insert contentUri: " + contentUri);
330 * TODO check if this mInfo match the one that we insert before server

Completed in 1078 milliseconds

1234567891011