Home
last modified time | relevance | path

Searched refs:rowId (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmDatabaseHelper.java74 long rowId = db.insert("alarms", Alarm.Columns.MESSAGE, values); in commonInsert() local
75 if (rowId < 0) { in commonInsert()
78 if (Log.LOGV) Log.v("Added alarm rowId = " + rowId); in commonInsert()
80 return ContentUris.withAppendedId(Alarm.Columns.CONTENT_URI, rowId); in commonInsert()
DAlarmProvider.java101 long rowId = 0; in update() local
107 rowId = Long.parseLong(segment); in update()
108 count = db.update("alarms", values, "_id=" + rowId, null); in update()
116 if (Log.LOGV) Log.v("*** notifyChange() rowId: " + rowId + " url " + url); in update()
135 long rowId = 0; in delete() local
142 rowId = Long.parseLong(segment); in delete()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDbModifierWithNotification.java100 long rowId = mDb.insert(table, nullColumnHack, values); in insert() local
101 if (rowId > 0 && packagesModified.size() != 0) { in insert()
102 notifyVoicemailChangeOnInsert(ContentUris.withAppendedId(mBaseUri, rowId), in insert()
105 if (rowId > 0 && mIsCallsTable) { in insert()
108 return rowId; in insert()
114 long rowId = mInsertHelper.insert(values); in insert() local
115 if (rowId > 0 && packagesModified.size() != 0) { in insert()
117 ContentUris.withAppendedId(mBaseUri, rowId), packagesModified); in insert()
119 if (rowId > 0 && mIsCallsTable) { in insert()
122 return rowId; in insert()
DVoicemailStatusTable.java67 long rowId = getDatabaseModifier(db).insert(mTableName, null, copiedValues); in insert() local
68 if (rowId > 0) { in insert()
69 Uri newUri = ContentUris.withAppendedId(uriData.getUri(), rowId); in insert()
DTransactionContext.java65 public void syncStateUpdated(long rowId, Object data) { in syncStateUpdated() argument
67 mUpdatedSyncStates.put(rowId, data); in syncStateUpdated()
DVoicemailContentTable.java121 long rowId = getDatabaseModifier(db).insert(mTableName, null, copiedValues); in insert() local
122 if (rowId > 0) { in insert()
123 Uri newUri = ContentUris.withAppendedId(uriData.getUri(), rowId); in insert()
DCallLogProvider.java200 long rowId = getDatabaseModifier(mCallsInserter).insert(copiedValues); in insert() local
201 if (rowId > 0) { in insert()
202 return ContentUris.withAppendedId(uri, rowId); in insert()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java1790 String [] rowId = new String[1]; in updateBucketNames() local
1794 rowId[0] = cursor.getString(idColumnIndex); in updateBucketNames()
1798 db.update("files", values, "_id=?", rowId); in updateBucketNames()
1800 Log.w(TAG, "null data at id " + rowId); in updateBucketNames()
1835 int rowId = cursor.getInt(idColumnIndex); in updateDisplayName() local
1836 db.update(tableName, values, "_id=" + rowId, null); in updateDisplayName()
2713 long rowId = db.insert("files", FileColumns.DATE_MODIFIED, values); in insertDirectory() local
2714 sendObjectAdded(rowId); in insertDirectory()
2715 return rowId; in insertDirectory()
2894 long rowId = 0; in insertFile() local
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java193 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv); in insertNewBroadcast() local
194 if (rowId != -1) { in insertNewBroadcast()
208 boolean deleteBroadcast(long rowId, boolean decrementUnreadCount) { in deleteBroadcast() argument
213 new String[]{Long.toString(rowId)}); in deleteBroadcast()
220 Log.e(TAG, "failed to delete broadcast at row " + rowId); in deleteBroadcast()
DCellBroadcastListActivity.java224 public void confirmDeleteThread(long rowId, boolean unread) { in confirmDeleteThread() argument
225 DeleteThreadListener listener = new DeleteThreadListener(rowId, unread); in confirmDeleteThread()
226 confirmDeleteThreadDialog(listener, (rowId == -1), getActivity()); in confirmDeleteThread()
253 public DeleteThreadListener(long rowId, boolean unread) { in DeleteThreadListener() argument
254 mRowId = rowId; in DeleteThreadListener()
/packages/providers/DrmProvider/src/com/android/providers/drm/
DDrmProvider.java231 long rowId; in insert() local
244 rowId = db.insert("audio", "title", values); in insert()
245 if (rowId > 0) { in insert()
246 newUri = ContentUris.withAppendedId(DrmStore.Audio.CONTENT_URI, rowId); in insert()
254 rowId = db.insert("images", "title", values); in insert()
255 if (rowId > 0) { in insert()
256 newUri = ContentUris.withAppendedId(DrmStore.Images.CONTENT_URI, rowId); in insert()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java146 private static String getEventValue(SQLiteDatabase db, long rowId, String columnName) { in getEventValue() argument
150 new String[] { String.valueOf(rowId) }); in getEventValue()
611 public void updateInstancesLocked(ContentValues values, long rowId, boolean newEvent, in updateInstancesLocked() argument
647 String.valueOf(rowId) in updateInstancesLocked()
674 updateRecurrenceInstancesLocked(values, rowId, db); in updateInstancesLocked()
694 instanceValues.put(Instances.EVENT_ID, rowId); in updateInstancesLocked()
728 private void updateRecurrenceInstancesLocked(ContentValues values, long rowId, in updateRecurrenceInstancesLocked() argument
752 originalSyncId = getEventValue(db, rowId, Events.ORIGINAL_SYNC_ID); in updateRecurrenceInstancesLocked()
766 recurrenceSyncId = getEventValue(db, rowId, Events._SYNC_ID); in updateRecurrenceInstancesLocked()
779 originalId = getEventValue(db, rowId, Events.ORIGINAL_ID); in updateRecurrenceInstancesLocked()
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsProvider.java324 long rowId; in insert() local
360 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert()
365 res = Uri.parse(res + "/" + rowId); in insert()
371 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert()
376 res = Uri.parse(res + "/addr/" + rowId); in insert()
440 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert()
445 res = Uri.parse(res + "/part/" + rowId); in insert()
459 cv.put(Telephony.MmsSms.WordsTable.ID, (2 << 32) + rowId); in insert()
461 cv.put(Telephony.MmsSms.WordsTable.SOURCE_ROW_ID, rowId); in insert()
492 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert()
[all …]
DMmsSmsProvider.java1211 long rowId = db.insert(TABLE_PENDING_MSG, null, values); in insert() local
1212 return Uri.parse(uri + "/" + rowId); in insert()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DSoftKeyboard.java176 public void beginNewRow(int rowId, float yStartingPos) { in beginNewRow() argument
179 keyRow.mRowId = rowId; in beginNewRow()
461 private boolean enableRow(int rowId) { in enableRow() argument
462 if (KeyRow.ALWAYS_SHOW_ROW_ID == rowId) return false; in enableRow()
467 if (mKeyRows.get(row).mRowId == rowId) { in enableRow()
473 mEnabledRowId = rowId; in enableRow()
DXmlKeyboardLoader.java515 int rowId = getInteger(xrp, XMLATTR_ROW_ID, in loadKeyboard() local
517 softKeyboard.beginNewRow(rowId, mKeyYPos); in loadKeyboard()
/packages/apps/Contacts/src/com/android/contacts/calllog/
DIntentProvider.java47 public static IntentProvider getPlayVoicemailIntentProvider(final long rowId,
54 Calls.CONTENT_URI_WITH_VOICEMAIL, rowId));
DCallLogAdapter.java538 final long rowId = c.getLong(CallLogQuery.ID); in bindView() local
540 IntentProvider.getPlayVoicemailIntentProvider(rowId, voicemailUri)); in bindView()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java394 long rowId = 0; in update() local
412 rowId = Long.parseLong(segment); in update()
413 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) "; in update()
453 long rowId = Long.parseLong(segment); in delete() local
454 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) "; in delete()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSynchronousContactsProvider2.java187 long rowId =
190 db.execSQL("DELETE FROM raw_contacts WHERE _id > " + rowId + ";");
DBaseContactsProvider2Test.java694 protected long assertSingleGroup(Long rowId, Account account, String sourceId, String title) { in assertSingleGroup() argument
698 long actualRowId = assertGroup(c, rowId, account, sourceId, title); in assertSingleGroup()
706 protected long assertSingleGroupMembership(Long rowId, Long rawContactId, Long groupRowId, in assertSingleGroupMembership() argument
711 long actualRowId = assertGroupMembership(c, rowId, rawContactId, groupRowId, sourceId); in assertSingleGroupMembership()
719 protected long assertGroupMembership(Cursor c, Long rowId, Long rawContactId, Long groupRowId, in assertGroupMembership() argument
721 assertNullOrEquals(c, rowId, Data._ID); in assertGroupMembership()
728 … protected long assertGroup(Cursor c, Long rowId, Account account, String sourceId, String title) { in assertGroup() argument
729 assertNullOrEquals(c, rowId, Groups._ID); in assertGroup()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java209 long rowId = db.insert(USERDICT_TABLE_NAME, Words.WORD, values); in insert() local
210 if (rowId > 0) { in insert()
211 Uri wordUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI, rowId); in insert()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetModel.java280 final int rowId = cursor.getPosition(); in buildFromCursor() local
303 Log.d(TAG, "Row #" + rowId + " allDay:" + allDay + " start:" + start in buildFromCursor()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java142 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues); in insert() local
143 if (rowId <= 0) return null; in insert()
145 uri = ContentUris.withAppendedId(uri, rowId); in insert()
/packages/apps/Gallery/src/com/android/camera/
DMenuHelper.java192 private static void hideDetailsRow(View d, int rowId) { in hideDetailsRow() argument
193 d.findViewById(rowId).setVisibility(View.GONE); in hideDetailsRow()

12