/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
H A D | ClockDatabaseHelper.java | 200 long fixAlarmInsert(ContentValues values) { argument 208 Object value = values.get(ClockContract.AlarmsColumns._ID); 218 values.putNull(ClockContract.AlarmsColumns._ID); 223 rowId = db.insert(ALARMS_TABLE_NAME, ClockContract.AlarmsColumns.RINGTONE, values);
|
H A D | ClockProvider.java | 131 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument 138 count = db.update(ClockDatabaseHelper.ALARMS_TABLE_NAME, values, 144 count = db.update(ClockDatabaseHelper.INSTANCES_TABLE_NAME, values, 150 count = db.update(ClockDatabaseHelper.CITIES_TABLE_NAME, values,
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | PhotoAppWidgetProvider.java | 134 ContentValues values = new ContentValues(); 135 values.put(PhotoDatabaseHelper.FIELD_APPWIDGET_ID, appWidgetId); 136 values.put(PhotoDatabaseHelper.FIELD_PHOTO_BLOB, 141 values);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | IfdData.java | 58 return mExifTags.values().toArray(new ExifTag[mExifTags.size()]);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
H A D | IfdData.java | 58 return mExifTags.values().toArray(new ExifTag[mExifTags.size()]);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
H A D | SavedWallpaperImages.java | 172 ContentValues values = new ContentValues(); 173 values.put(ImageDb.COLUMN_IMAGE_THUMBNAIL_FILENAME, thumbFile.getName()); 174 values.put(ImageDb.COLUMN_IMAGE_FILENAME, imageFile.getName()); 175 db.insert(ImageDb.TABLE_NAME, null, values);
|
/packages/apps/Mms/src/com/android/mms/exif/ |
H A D | IfdData.java | 58 return mExifTags.values().toArray(new ExifTag[mExifTags.size()]);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | RecentFolderList.java | 114 ContentValues values = new ContentValues(); 117 values.put(mFolder.folderUri.fullUri.toString(), 0); 119 mContext.getContentResolver().update(uri, values, null, null); 175 // Add them backwards, since the most recent values are at the beginning in the cursor. 176 // This enables older values to fall off the LRU cache. Also, read all values, just in case 233 recent.addAll(mFolderCache.values()); 246 // Sort the values as the very last step.
|
H A D | SwipeableListView.java | 228 final FolderList folders = FolderList.copyOf(targetFolders.values()); 230 final ContentValues values = new ContentValues(); 235 ConversationCursor.addFolderUpdates(folderUris, adds, values); 236 ConversationCursor.addTargetFolders(targetFolders.values(), values); 237 cc.mostlyDestructiveUpdate(Conversation.listOf(conv), values);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | DictionaryListInterfaceState.java | 65 for (final State state : mWordlistToState.values()) {
|
H A D | DictionaryProvider.java | 428 return Collections.unmodifiableCollection(dicts.values()); 494 * @param values the values to insert for this content uri 498 public Uri insert(final Uri uri, final ContentValues values) argument 500 if (null == uri || null == values) return null; // Should never happen but let's be safe 505 // The values should contain a valid client ID and a valid URI for the metadata. 510 MetadataDbHelper.updateClientInfo(getContext(), clientId, values); 516 MetadataDbHelper.completeWithDefaultValues(values)); 520 Log.w(TAG, "Not enough information to insert this dictionary " + values, e); 543 public int update(final Uri uri, final ContentValues values, fina argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | ExecutorUtils.java | 69 for (final ExecutorService executor : sExecutorMap.values()) {
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
H A D | TypedUriMatcherImplTest.java | 61 new TypedUriMatcherImpl<TestUriType>(AUTHORITY, TestUriType.values());
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
H A D | RawContactDeltaTests.java | 96 // Merge modified values and assert they match 113 // Merge modified values and assert they match 127 // Merge modified values and assert they match 141 // Merge modified values and assert they match 151 final ValuesDelta values = ValuesDelta.fromBefore(before); 152 values.markDeleted(); 155 final Builder builder = values.buildDiff(Data.CONTENT_URI); 217 // Update parent contact values 321 final ValuesDelta values = ValuesDelta.fromAfter(after); 322 final RawContactDelta source = new RawContactDelta(values); [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | EmlAttachmentProvider.java | 182 public Uri insert(Uri uri, ContentValues values) { argument 186 if (mUriAttachmentMap.put(uri, new Attachment(values)) == null) { 223 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 227 return copyAttachment(uri, values); 283 private int copyAttachment(Uri uri, ContentValues values) { argument 284 final Integer newState = values.getAsInteger(UIProvider.AttachmentColumns.STATE); 286 values.getAsInteger(UIProvider.AttachmentColumns.DESTINATION);
|
H A D | MailAppProvider.java | 129 * values with keys listed in {@link AccountCursorExtraKeys} 168 for (CursorLoader loader : mCursorLoaderMap.values()) { 189 accountList = ImmutableList.copyOf(mAccountCache.values()); 214 public Uri insert(Uri url, ContentValues values) { argument 219 public int update(Uri url, ContentValues values, String selection, argument 382 accountList = ImmutableList.copyOf(mAccountCache.values()); 433 accountList = ImmutableList.copyOf(mAccountCache.values()); 493 for (Boolean loaded : mAccountsLoaded.values()) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppObexServerSession.java | 266 ContentValues values = new ContentValues(); 268 values.put(BluetoothShare.FILENAME_HINT, name); 269 values.put(BluetoothShare.TOTAL_BYTES, length.intValue()); 270 values.put(BluetoothShare.MIMETYPE, mimeType); 272 values.put(BluetoothShare.DESTINATION, destination); 274 values.put(BluetoothShare.DIRECTION, BluetoothShare.DIRECTION_INBOUND); 275 values.put(BluetoothShare.TIMESTAMP, mTimestamp); 280 values.put(BluetoothShare.USER_CONFIRMATION, 286 values.put(BluetoothShare.USER_CONFIRMATION, 292 Uri contentUri = mContext.getContentResolver().insert(BluetoothShare.CONTENT_URI, values); [all...] |
/packages/apps/Email/tests/src/com/android/email/service/ |
H A D | AttachmentServiceTests.java | 345 // The values should be going up or staying the same...indicating a lower priority 457 // values. 458 final ContentValues values = 461 assertTrue(values.size() == 0); 470 // values. 471 final ContentValues values = 474 assertTrue(values.size() == 0); 483 // values in return. 484 final ContentValues values = 488 assertTrue(values [all...] |
/packages/apps/Gallery2/src/com/android/photos/data/ |
H A D | PhotoProvider.java | 47 * values for the metadata must be in the ContentValues, even if they are also 49 * metadata. If the metadata values are null, the row will be deleted. 146 * VISIBILITY_* values. 160 // Privacy values for Albums.VISIBILITY 292 public Uri insertInTransaction(Uri uri, ContentValues values, boolean callerIsSyncAdapter) { argument 298 long id = db.insert(table, null, values); 329 public int updateInTransaction(Uri uri, ContentValues values, String selection, argument 335 rowsUpdated = modifyMetadata(db, values); 340 rowsUpdated = db.update(table, values, selection, selectionArgs); 420 private int modifyMetadata(SQLiteDatabase db, ContentValues values) { argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | KindSectionView.java | 346 ValuesDelta values = null; 356 values = entries.get(0); 361 if (values == null) { 362 values = RawContactModifier.insertChild(mState, mKind); 365 final View newField = createEditorView(values);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | GoogleSource.java | 209 final ContentValues values = new ContentValues(); 210 values.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); 237 values.put(GroupMembership.GROUP_ROW_ID, ContentUris.parseId(results[1].uri)); 250 values.put(GroupMembership.GROUP_SOURCE_ID, assignToGroupSourceId); 257 state.addEntry(ValuesDelta.fromAfter(values));
|
/packages/apps/Settings/src/com/android/settings/search/ |
H A D | Index.java | 111 // If you change the order of columns here, you SHOULD change the COLUMN_INDEX_XXX values 1035 ContentValues values = new ContentValues(); 1036 values.put(IndexColumns.DOCID, docId); 1037 values.put(IndexColumns.LOCALE, locale); 1038 values.put(IndexColumns.DATA_RANK, rank); 1039 values.put(IndexColumns.DATA_TITLE, updatedTitle); 1040 values.put(IndexColumns.DATA_TITLE_NORMALIZED, normalizedTitle); 1041 values.put(IndexColumns.DATA_SUMMARY_ON, updatedSummaryOn); 1042 values.put(IndexColumns.DATA_SUMMARY_ON_NORMALIZED, normalizedSummaryOn); 1043 values [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | CallLogAdapter.java | 666 // Store some values used when the actions ViewStub is inflated on expansion of the actions 1088 final ContentValues values = new ContentValues(); 1093 values.put(Calls.CACHED_NAME, updatedInfo.name); 1098 values.put(Calls.CACHED_NUMBER_TYPE, updatedInfo.type); 1103 values.put(Calls.CACHED_NUMBER_LABEL, updatedInfo.label); 1107 values.put(Calls.CACHED_LOOKUP_URI, UriUtils.uriToString(updatedInfo.lookupUri)); 1113 values.put(Calls.CACHED_NORMALIZED_NUMBER, updatedInfo.normalizedNumber); 1117 values.put(Calls.CACHED_MATCHED_NUMBER, updatedInfo.number); 1121 values.put(Calls.CACHED_PHOTO_ID, updatedInfo.photoId); 1125 values [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | MailboxSettings.java | 154 * Setup the entries and entry values for the sync lookback preference 163 // Load the complete list of entries/values 165 CharSequence[] values; 170 values = resources.getTextArray( 175 values = resources.getTextArray(R.array.account_settings_mail_window_values); 182 values = Arrays.copyOf(values, size); 186 pref.setEntryValues(values);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherModel.java | 650 static void updateItemInDatabaseHelper(Context context, final ContentValues values, argument 659 cr.update(uri, values, null, null); 680 ContentValues values = valuesList.get(i); 682 ops.add(ContentProviderOperation.newUpdate(uri).withValues(values).build()); 784 final ContentValues values = new ContentValues(); 785 values.put(LauncherSettings.Favorites.CONTAINER, item.container); 786 values.put(LauncherSettings.Favorites.CELLX, item.cellX); 787 values.put(LauncherSettings.Favorites.CELLY, item.cellY); 788 values.put(LauncherSettings.Favorites.SCREEN, item.screenId); 790 updateItemInDatabaseHelper(context, values, ite [all...] |