/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | DbModifierWithNotification.java | 104 long rowId = mDb.insert(table, nullColumnHack, values); 105 if (rowId > 0 && packagesModified.size() != 0) { 106 notifyVoicemailChangeOnInsert(ContentUris.withAppendedId(mBaseUri, rowId), 109 if (rowId > 0 && mIsCallsTable) { 112 return rowId; 118 long rowId = mInsertHelper.insert(values); 119 if (rowId > 0 && packagesModified.size() != 0) { 121 ContentUris.withAppendedId(mBaseUri, rowId), packagesModified); 123 if (rowId > 0 && mIsCallsTable) { 126 return rowId; [all...] |
H A D | VoicemailStatusTable.java | 67 long rowId = getDatabaseModifier(db).insert(mTableName, null, copiedValues); 68 if (rowId > 0) { 69 Uri newUri = ContentUris.withAppendedId(uriData.getUri(), rowId);
|
H A D | TransactionContext.java | 85 public void syncStateUpdated(long rowId, Object data) { argument 87 mUpdatedSyncStates.put(rowId, data);
|
H A D | VoicemailContentTable.java | 151 long rowId = getDatabaseModifier(db).insert(mTableName, null, copiedValues); 152 if (rowId > 0) { 153 Uri newUri = ContentUris.withAppendedId(uriData.getUri(), rowId);
|
H A D | CallLogProvider.java | 317 long rowId = getDatabaseModifier(mCallsInserter).insert(copiedValues); 318 if (rowId > 0) { 319 return ContentUris.withAppendedId(uri, rowId);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastContentProvider.java | 200 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv); 201 if (rowId == -1) { 214 * @param rowId the row ID of the broadcast to delete 217 boolean deleteBroadcast(long rowId) { argument 222 new String[]{Long.toString(rowId)}); 226 Log.e(TAG, "failed to delete broadcast at row " + rowId);
|
H A D | CellBroadcastListActivity.java | 236 * @param rowId the row ID of the broadcast to delete, or -1 to delete all broadcasts 238 public void confirmDeleteThread(long rowId) { argument 239 DeleteThreadListener listener = new DeleteThreadListener(rowId); 240 confirmDeleteThreadDialog(listener, (rowId == -1), getActivity()); 266 public DeleteThreadListener(long rowId) { argument 267 mRowId = rowId;
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
H A D | ClockDatabaseHelper.java | 205 long rowId = -1; 223 rowId = db.insert(ALARMS_TABLE_NAME, ClockContract.AlarmsColumns.RINGTONE, values); 228 if (rowId < 0) { 231 LogUtils.v("Added alarm rowId = " + rowId); 233 return rowId;
|
H A D | ClockProvider.java | 166 long rowId; 170 rowId = mOpenHelper.fixAlarmInsert(initialValues); 173 rowId = db.insert(ClockDatabaseHelper.INSTANCES_TABLE_NAME, null, initialValues); 176 rowId = db.insert(ClockDatabaseHelper.CITIES_TABLE_NAME, null, initialValues); 182 Uri uriResult = ContentUris.withAppendedId(ClockContract.AlarmsColumns.CONTENT_URI, rowId);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 1968 String [] rowId = new String[1]; 1972 rowId[0] = cursor.getString(idColumnIndex); 1976 db.update("files", values, "_id=?", rowId); 1978 Log.w(TAG, "null data at id " + rowId); 2013 int rowId = cursor.getInt(idColumnIndex); 2014 db.update(tableName, values, "_id=" + rowId, null); 2983 long rowId = db.insert("files", FileColumns.DATE_MODIFIED, values); 2984 sendObjectAdded(rowId); 2985 return rowId; 3151 long rowId 3380 updateGenre(long rowId, String genre) argument [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarInstancesHelper.java | 140 * @param rowId The Event's _id. 144 private static String getEventValue(SQLiteDatabase db, long rowId, String columnName) { argument 148 new String[] { String.valueOf(rowId) }); 606 * @param rowId The database row id of the event. 610 public void updateInstancesLocked(ContentValues values, long rowId, boolean newEvent, argument 646 String.valueOf(rowId) 673 updateRecurrenceInstancesLocked(values, rowId, db); 693 instanceValues.put(Instances.EVENT_ID, rowId); 724 * @param rowId The database row id of the event. 727 private void updateRecurrenceInstancesLocked(ContentValues values, long rowId, argument 833 getRelevantRecurrenceEntries(String recurrenceSyncId, long rowId) argument [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | SynchronousContactsProvider2.java | 190 long rowId = 193 db.execSQL("DELETE FROM raw_contacts WHERE _id > " + rowId + ";");
|
/packages/apps/FMRadio/src/com/android/fmradio/ |
H A D | FmProvider.java | 166 long rowId = mSqlDb.insert(TABLE_NAME, null, v); 167 if (rowId <= 0) { 170 rowUri = ContentUris.appendId(FmStation.Station.CONTENT_URI.buildUpon(), rowId)
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppProvider.java | 379 long rowId = 0; 397 rowId = Long.parseLong(segment); 398 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) "; 438 long rowId = Long.parseLong(segment); 439 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) ";
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | MmsProvider.java | 365 long rowId; 409 if ((rowId = db.insert(table, null, finalValues)) <= 0) { 414 res = Uri.parse(res + "/" + rowId); 419 if ((rowId = db.insert(table, null, finalValues)) <= 0) { 424 res = Uri.parse(res + "/addr/" + rowId); 488 if ((rowId = db.insert(table, null, finalValues)) <= 0) { 493 res = Uri.parse(res + "/part/" + rowId); 507 cv.put(Telephony.MmsSms.WordsTable.ID, (2 << 32) + rowId); 509 cv.put(Telephony.MmsSms.WordsTable.SOURCE_ROW_ID, rowId); 540 if ((rowId [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | CallLogAdapter.java | 108 // Tracks the rowId of the currently expanded list item, so the position can be updated if there 265 mCurrentlyExpandedRowId = viewHolder.rowId; 526 views.rowId = c.getLong(CallLogQuery.ID); 540 int currentGroup = getDayGroupForCall(views.rowId); 551 if (mCurrentlyExpandedRowId == views.rowId) { 704 * @param rowId The row Id of the current call. 708 public void setDayGroup(long rowId, int dayGroup) { argument 709 if (!mDayGroups.containsKey(rowId)) { 710 mDayGroups.put(rowId, dayGroup);
|
H A D | CallLogGroupBuilder.java | 58 * @param rowId The row Id of the current call. 61 public void setDayGroup(long rowId, int dayGroup); argument
|
H A D | CallLogListItemViewHolder.java | 88 public long rowId; field in class:CallLogListItemViewHolder 334 IntentProvider.getCallDetailIntentProvider(rowId, callIds, null));
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
H A D | DatabaseWrapper.java | 386 long rowId = -1; 388 rowId = mDatabase.insert(table, nullColumnHack, values); 396 return rowId; 406 long rowId = -1; 408 rowId = mDatabase.replace(table, nullColumnHack, values); 416 return rowId;
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
H A D | UserDictionaryProvider.java | 242 long rowId = db.insert(USERDICT_TABLE_NAME, Words.WORD, values); 243 if (rowId > 0) { 244 Uri wordUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI, rowId);
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
H A D | TvProvider.java | 585 long rowId = db.insert(CHANNELS_TABLE, null, values); 586 if (rowId > 0) { 587 Uri channelUri = TvContract.buildChannelUri(rowId); 602 long rowId = db.insert(PROGRAMS_TABLE, null, values); 603 if (rowId > 0) { 604 Uri programUri = TvContract.buildProgramUri(rowId); 623 long rowId = db.insert(WATCHED_PROGRAMS_TABLE, null, values); 624 if (rowId > 0) { 628 return TvContract.buildWatchedProgramUri(rowId); 1377 long rowId [all...] |
/packages/apps/Messaging/src/com/android/messaging/sms/ |
H A D | BugleApnSettingsLoader.java | 158 * @param rowId the APN's row ID in database 164 final long rowId, final int current) { 177 return new DatabaseApn(apns, base, rowId, current); 185 public DatabaseApn(final List<Apn> apns, final BaseApn base, final long rowId, argument 189 mRowId = rowId; 162 from(final List<Apn> apns, final String typesIn, final String mmscIn, final String proxyIn, final String portIn, final long rowId, final int current) argument
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetModel.java | 280 final int rowId = cursor.getPosition(); 303 Log.d(TAG, "Row #" + rowId + " allDay:" + allDay + " start:" + start
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | UIIntents.java | 339 public abstract Intent getApnEditorIntent(final Context context, final String rowId, int subId); argument
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
H A D | PhotoProvider.java | 428 long rowId = db.replace(Metadata.TABLE, null, values); 429 rowCount = (rowId == -1) ? 0 : 1;
|