/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmDatabaseHelper.java | 74 long rowId = db.insert("alarms", Alarm.Columns.MESSAGE, values); 75 if (rowId < 0) { 78 if (Log.LOGV) Log.v("Added alarm rowId = " + rowId); 80 return ContentUris.withAppendedId(Alarm.Columns.CONTENT_URI, rowId);
|
AlarmProvider.java | 101 long rowId = 0; 107 rowId = Long.parseLong(segment); 108 count = db.update("alarms", values, "_id=" + rowId, null); 116 if (Log.LOGV) Log.v("*** notifyChange() rowId: " + rowId + " url " + url); 135 long rowId = 0; 142 rowId = Long.parseLong(segment);
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssContentProvider.java | 184 long rowId = -1; 185 rowId = mDb.insert(DATABASE_TABLE_NAME, "rawcontent", initialValues); 186 Uri newUri = CONTENT_URI.addId(rowId);
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryProvider.java | 139 String rowId = uri.getLastPathSegment(); 144 return mDictionary.getWord(rowId, columns); 155 String rowId = uri.getLastPathSegment(); 163 return mDictionary.getWord(rowId, columns);
|
/frameworks/base/core/java/android/provider/ |
SyncStateContract.java | 139 long rowId = c.getLong(1); 141 return Pair.create(ContentUris.withAppendedId(uri, rowId), blob);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LocalProvider.java | 132 long rowId = 0; 138 rowId = Long.parseLong(segment); 139 count = db.update("data", values, "_id=" + rowId, null); 147 if (false) Log.d(TAG, "*** notifyChange() rowId: " + rowId);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
TrackerProvider.java | 101 long rowId = db.insert(TABLE_NAME, null, values); 102 if (rowId > 0) { 103 Uri addedUri = ContentUris.withAppendedId(CONTENT_URI, rowId);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastDatabaseService.java | 100 long rowId = mBroadcastDb.insert(CellBroadcastDatabase.TABLE_NAME, null, cv); 101 if (rowId == -1) { 107 long rowId = intent.getLongExtra(DATABASE_ROW_ID_EXTRA, -1); 108 if (rowId == -1) { 115 new String[]{Long.toString(rowId)}); 123 long rowId = intent.getLongExtra(DATABASE_ROW_ID_EXTRA, -1); 125 if (rowId == -1 && deliveryTime == -1) { 132 if (rowId != -1) { 135 new String[]{Long.toString(rowId)});
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailStatusTable.java | 66 long rowId = getDatabaseModifier(db).insert(mTableName, null, copiedValues); 67 if (rowId > 0) { 68 Uri newUri = ContentUris.withAppendedId(uriData.getUri(), rowId);
|
CallLogProvider.java | 200 long rowId = getDatabaseModifier(mCallsInserter).insert(copiedValues); 201 if (rowId > 0) { 202 return ContentUris.withAppendedId(uri, rowId);
|
DbModifierWithNotification.java | 100 long rowId = mDb.insert(table, nullColumnHack, values); 101 if (rowId > 0 && packagesModified.size() != 0) { 102 notifyVoicemailChangeOnInsert(ContentUris.withAppendedId(mBaseUri, rowId), 105 if (rowId > 0 && mIsCallsTable) { 108 return rowId; 114 long rowId = mInsertHelper.insert(values); 115 if (rowId > 0 && packagesModified.size() != 0) { 117 ContentUris.withAppendedId(mBaseUri, rowId), packagesModified); 119 if (rowId > 0 && mIsCallsTable) { 122 return rowId; [all...] |
VoicemailContentTable.java | 120 long rowId = getDatabaseModifier(db).insert(mTableName, null, copiedValues); 121 if (rowId > 0) { 122 Uri newUri = ContentUris.withAppendedId(uriData.getUri(), rowId);
|
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
Notepadv2.java | 138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID); 139 if (rowId != null) { 142 mDbHelper.updateNote(rowId, editTitle, editBody);
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
Notepadv3.java | 138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID); 139 if (rowId != null) { 142 mDbHelper.updateNote(rowId, editTitle, editBody);
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
UserDictionaryProvider.java | 184 long rowId = db.insert(USERDICT_TABLE_NAME, Words.WORD, values); 185 if (rowId > 0) { 186 Uri wordUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI, rowId);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderThrottle.java | 289 long rowId = db.insert(MainTable.TABLE_NAME, null, values); 292 if (rowId > 0) { 293 Uri noteUri = ContentUris.withAppendedId(MainTable.CONTENT_ID_URI_BASE, rowId);
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NotePadProvider.java | 547 long rowId = db.insert( 556 if (rowId > 0) { 558 Uri noteUri = ContentUris.withAppendedId(NotePad.Notes.CONTENT_ID_URI_BASE, rowId); 565 // If the insert didn't succeed, then the rowID is <= 0. Throws an exception.
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderThrottleSupport.java | 290 long rowId = db.insert(MainTable.TABLE_NAME, null, values); 293 if (rowId > 0) { 294 Uri noteUri = ContentUris.withAppendedId(MainTable.CONTENT_ID_URI_BASE, rowId);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppProvider.java | 278 long rowID = db.insert(DB_TABLE, null, filteredValues); 282 if (rowID != -1) { 284 ret = Uri.parse(BluetoothShare.CONTENT_URI + "/" + rowID); 391 long rowId = 0; 409 rowId = Long.parseLong(segment); 410 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) "; 450 long rowId = Long.parseLong(segment); 451 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) ";
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetModel.java | 280 final int rowId = cursor.getPosition(); 303 Log.d(TAG, "Row #" + rowId + " allDay:" + allDay + " start:" + start
|
/packages/providers/DrmProvider/src/com/android/providers/drm/ |
DrmProvider.java | 231 long rowId; 244 rowId = db.insert("audio", "title", values); 245 if (rowId > 0) { 246 newUri = ContentUris.withAppendedId(DrmStore.Audio.CONTENT_URI, rowId); 254 rowId = db.insert("images", "title", values); 255 if (rowId > 0) { 256 newUri = ContentUris.withAppendedId(DrmStore.Images.CONTENT_URI, rowId);
|
/frameworks/base/core/java/android/widget/ |
ExpandableListConnector.java | 790 long rowId; 815 rowId = adapter.getGroupId(seedGroupPosition); 816 if (rowId == groupIdToMatch) { [all...] |
AdapterView.java | [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
MmsProvider.java | 320 long rowId; 356 if ((rowId = db.insert(table, null, finalValues)) <= 0) { 361 res = Uri.parse(res + "/" + rowId); 367 if ((rowId = db.insert(table, null, finalValues)) <= 0) { 372 res = Uri.parse(res + "/addr/" + rowId); 409 if ((rowId = db.insert(table, null, finalValues)) <= 0) { 414 res = Uri.parse(res + "/part/" + rowId); 428 cv.put(Telephony.MmsSms.WordsTable.ID, (2 << 32) + rowId); 430 cv.put(Telephony.MmsSms.WordsTable.SOURCE_ROW_ID, rowId); 461 if ((rowId = db.insert(table, null, finalValues)) <= 0) [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsProvider.java | 139 * @param rowId of the row 142 private Uri getUriFor(Uri tableUri, ContentValues values, long rowId) { 151 return ContentUris.withAppendedId(tableUri, rowId); 563 final long rowId = db.insert(args.table, null, initialValues); 565 if (rowId <= 0) return null; 570 url = getUriFor(url, initialValues, rowId); [all...] |