HomeSort by relevance Sort by last modified time
    Searched full:initialvalues (Results 1 - 25 of 40) sorted by null

1 2

  /packages/providers/DrmProvider/src/com/android/providers/drm/
DrmProvider.java 206 * @param initialValues the values passed to insert by the caller
209 private ContentValues ensureFile(ContentValues initialValues) {
214 ContentValues values = new ContentValues(initialValues);
224 public Uri insert(Uri uri, ContentValues initialValues)
236 if (initialValues == null) {
237 initialValues = new ContentValues();
242 ContentValues values = ensureFile(initialValues);
252 ContentValues values = ensureFile(initialValues);
366 public int update(Uri uri, ContentValues initialValues, String userWhere,
382 count = db.update(sGetTableAndWhereParam.table, initialValues,
    [all...]
  /frameworks/base/core/java/android/content/
IContentProvider.java 39 public Uri insert(Uri url, ContentValues initialValues)
41 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException;
ContentProviderClient.java 64 public Uri insert(Uri url, ContentValues initialValues)
66 return mContentProvider.insert(url, initialValues);
70 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException {
71 return mContentProvider.bulkInsert(url, initialValues);
AsyncQueryHandler.java 205 * @param initialValues the ContentValues parameter passed to the insert operation.
208 ContentValues initialValues) {
217 args.values = initialValues;
  /development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
NotesDbAdapter.java 121 ContentValues initialValues = new ContentValues();
122 initialValues.put(KEY_TITLE, title);
123 initialValues.put(KEY_BODY, body);
125 return mDb.insert(DATABASE_TABLE, null, initialValues);
  /development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
NotesDbAdapter.java 121 ContentValues initialValues = new ContentValues();
122 initialValues.put(KEY_TITLE, title);
123 initialValues.put(KEY_BODY, body);
125 return mDb.insert(DATABASE_TABLE, null, initialValues);
  /development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
NotesDbAdapter.java 121 ContentValues initialValues = new ContentValues();
122 initialValues.put(KEY_TITLE, title);
123 initialValues.put(KEY_BODY, body);
125 return mDb.insert(DATABASE_TABLE, null, initialValues);
  /development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
NotesDbAdapter.java 121 ContentValues initialValues = new ContentValues();
122 initialValues.put(KEY_TITLE, title);
123 initialValues.put(KEY_BODY, body);
125 return mDb.insert(DATABASE_TABLE, null, initialValues);
  /development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
NotesDbAdapter.java 121 ContentValues initialValues = new ContentValues();
122 initialValues.put(KEY_TITLE, title);
123 initialValues.put(KEY_BODY, body);
125 return mDb.insert(DATABASE_TABLE, null, initialValues);
  /development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
NotesDbAdapter.java 121 ContentValues initialValues = new ContentValues();
122 initialValues.put(KEY_TITLE, title);
123 initialValues.put(KEY_BODY, body);
125 return mDb.insert(DATABASE_TABLE, null, initialValues);
  /frameworks/base/test-runner/src/android/test/mock/
MockContentProvider.java 61 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException {
62 return MockContentProvider.this.bulkInsert(url, initialValues);
77 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException {
78 return MockContentProvider.this.insert(url, initialValues);
MockIContentProvider.java 43 public int bulkInsert(Uri url, ContentValues[] initialValues) {
58 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException {
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsProvider.java 475 * 'initialValues' if needed.
477 private boolean parseProviderList(Uri url, ContentValues initialValues) {
478 String value = initialValues.getAsString(Settings.Secure.VALUE);
532 initialValues.put(Settings.Secure.VALUE, newProviders);
541 public Uri insert(Uri url, ContentValues initialValues) {
550 String name = initialValues.getAsString(Settings.Secure.NAME);
552 if (!parseProviderList(url, initialValues)) return null;
556 String value = initialValues.getAsString(Settings.NameValueTable.VALUE);
563 final long rowId = db.insert(args.table, null, initialValues);
567 SettingsCache.populate(cache, initialValues); // before we notif
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarInstancesHelper.java 186 ContentValues initialValues;
208 initialValues = null;
343 initialValues = new ContentValues();
344 initialValues.put(Instances.EVENT_ID, eventId);
346 initialValues.put(Instances.BEGIN, date);
348 initialValues.put(Instances.END, dtendMillis);
351 eventTime, initialValues);
352 instancesMap.add(syncIdKey, initialValues);
356 initialValues = new ContentValues();
366 initialValues.put(ORIGINAL_EVENT_AND_CALENDAR
    [all...]
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DictionaryDatabase.java 229 ContentValues initialValues = new ContentValues();
230 initialValues.put(KEY_WORD, word);
231 initialValues.put(KEY_DEFINITION, definition);
233 return mDatabase.insert(FTS_VIRTUAL_TABLE, null, initialValues);
  /cts/tests/src/android/content/cts/
MockContentProvider.java 137 public Uri insert(Uri uri, ContentValues initialValues) {
143 if (initialValues != null)
144 values = new ContentValues(initialValues);
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 156 public Uri insert(Uri uri, ContentValues initialValues) {
163 if (initialValues != null) {
164 values = new ContentValues(initialValues);
  /frameworks/base/core/tests/coretests/src/android/app/
SuggestionProvider.java 102 public Uri insert(Uri url, ContentValues initialValues) {
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmProvider.java 122 public Uri insert(Uri url, ContentValues initialValues) {
127 Uri newUrl = mOpenHelper.commonInsert(initialValues);
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
SmsProvider.java 338 public Uri insert(Uri url, ContentValues initialValues) {
348 Integer typeObj = initialValues.getAsInteger(Sms.TYPE);
409 if (initialValues == null) {
414 values = new ContentValues(initialValues);
416 if (!initialValues.containsKey(Sms.DATE)) {
420 if (!initialValues.containsKey(Sms.TYPE)) {
482 if (initialValues == null) {
485 values = initialValues;
TelephonyProvider.java 482 public Uri insert(Uri url, ContentValues initialValues)
496 if (initialValues != null) {
497 values = new ContentValues(initialValues);
563 String numeric = initialValues.getAsString("numeric");
582 if (initialValues != null) {
583 if(initialValues.containsKey(COLUMN_APN_ID)) {
584 setPreferredApnId(initialValues.getAsLong(COLUMN_APN_ID));
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaProvider.java     [all...]
  /frameworks/base/core/tests/coretests/src/android/app/activity/
LocalProvider.java 154 public Uri insert(Uri url, ContentValues initialValues) {
  /frameworks/base/telephony/java/com/android/internal/telephony/
IccProvider.java 296 public Uri insert(Uri url, ContentValues initialValues) {
311 pin2 = initialValues.getAsString("pin2");
319 String tag = initialValues.getAsString("tag");
320 String number = initialValues.getAsString("number");
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
RssContentProvider.java 180 public Uri insert(Uri requestUri, ContentValues initialValues) {
185 rowId = mDb.insert(DATABASE_TABLE_NAME, "rawcontent", initialValues);

Completed in 314 milliseconds

1 2