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

1 2 3 4 5

  /development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
NotesDbAdapter.java 113 * successfully created return the new rowId for that note, otherwise return
118 * @return rowId or -1 if failed
129 * Delete the note with the given rowId
131 * @param rowId id of note to delete
134 public boolean deleteNote(long rowId) {
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
151 * Return a Cursor positioned at the note that matches the given rowId
153 * @param rowId id of note to retrieve
157 public Cursor fetchNote(long rowId) throws SQLException {
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null
    [all...]
  /development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
NotesDbAdapter.java 113 * successfully created return the new rowId for that note, otherwise return
118 * @return rowId or -1 if failed
129 * Delete the note with the given rowId
131 * @param rowId id of note to delete
134 public boolean deleteNote(long rowId) {
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
151 * Return a Cursor positioned at the note that matches the given rowId
153 * @param rowId id of note to retrieve
157 public Cursor fetchNote(long rowId) throws SQLException {
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null
    [all...]
  /development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
NotesDbAdapter.java 113 * successfully created return the new rowId for that note, otherwise return
118 * @return rowId or -1 if failed
129 * Delete the note with the given rowId
131 * @param rowId id of note to delete
134 public boolean deleteNote(long rowId) {
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
151 * Return a Cursor positioned at the note that matches the given rowId
153 * @param rowId id of note to retrieve
157 public Cursor fetchNote(long rowId) throws SQLException {
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null
    [all...]
  /development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
NotesDbAdapter.java 113 * successfully created return the new rowId for that note, otherwise return
118 * @return rowId or -1 if failed
129 * Delete the note with the given rowId
131 * @param rowId id of note to delete
134 public boolean deleteNote(long rowId) {
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
151 * Return a Cursor positioned at the note that matches the given rowId
153 * @param rowId id of note to retrieve
157 public Cursor fetchNote(long rowId) throws SQLException {
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null
    [all...]
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/
NotesDbAdapter.java 113 * successfully created return the new rowId for that note, otherwise return
118 * @return rowId or -1 if failed
129 * Delete the note with the given rowId
131 * @param rowId id of note to delete
134 public boolean deleteNote(long rowId) {
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
151 * Return a Cursor positioned at the note that matches the given rowId
153 * @param rowId id of note to retrieve
157 public Cursor fetchNote(long rowId) throws SQLException {
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null
    [all...]
Notepadv3.java 138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID);
139 if (rowId != null) {
142 mDbHelper.updateNote(rowId, editTitle, editBody);
  /development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
NotesDbAdapter.java 113 * successfully created return the new rowId for that note, otherwise return
118 * @return rowId or -1 if failed
129 * Delete the note with the given rowId
131 * @param rowId id of note to delete
134 public boolean deleteNote(long rowId) {
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
151 * Return a Cursor positioned at the note that matches the given rowId
153 * @param rowId id of note to retrieve
157 public Cursor fetchNote(long rowId) throws SQLException {
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null
    [all...]
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DictionaryDatabase.java 73 map.put(BaseColumns._ID, "rowid AS " +
75 map.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA_ID, "rowid AS " +
77 map.put(SearchManager.SUGGEST_COLUMN_SHORTCUT_ID, "rowid AS " +
83 * Returns a Cursor positioned at the word specified by rowId
85 * @param rowId id of word to retrieve
89 public Cursor getWord(String rowId, String[] columns) {
90 String selection = "rowid = ?";
91 String[] selectionArgs = new String[] {rowId};
96 * SELECT <columns> FROM <table> WHERE rowid = <rowId>
    [all...]
DictionaryProvider.java 139 String rowId = uri.getLastPathSegment();
144 return mDictionary.getWord(rowId, columns);
155 String rowId = uri.getLastPathSegment();
163 return mDictionary.getWord(rowId, columns);
  /libcore/luni/src/main/java/java/sql/
RowId.java 21 * Maps SQL's ROWID type into Java.
24 public interface RowId {
29 * Returns an array of bytes representing the value of the corresponding SQL ROWID.
RowIdLifetime.java 21 * An enumeration to describe the life-time of RowID.
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmProvider.java 143 long rowId = 0;
149 rowId = Long.parseLong(segment);
150 count = db.update("alarms", values, "_id=" + rowId, null);
158 if (Log.LOGV) Log.v("*** notifyChange() rowId: " + rowId + " url " + url);
172 long rowId = db.insert("alarms", Alarm.Columns.MESSAGE, values);
173 if (rowId < 0) {
176 if (Log.LOGV) Log.v("Added alarm rowId = " + rowId);
178 Uri newUrl = ContentUris.withAppendedId(Alarm.Columns.CONTENT_URI, rowId);
    [all...]
  /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)});
CellBroadcastListActivity.java 195 * @param rowId the row ID of the broadcast to delete, or -1 to delete all broadcasts
197 public void confirmDeleteThread(long rowId) {
198 DeleteThreadListener listener = new DeleteThreadListener(rowId);
199 confirmDeleteThreadDialog(listener, (rowId == -1), this);
231 public DeleteThreadListener(long rowId) {
232 mRowId = rowId;
  /frameworks/base/core/tests/coretests/src/android/app/activity/
LocalProvider.java 133 long rowId = 0;
139 rowId = Long.parseLong(segment);
140 count = db.update("data", values, "_id=" + rowId, null);
148 if (Config.LOGD) Log.d(TAG, "*** notifyChange() rowId: " + rowId);
  /frameworks/base/core/java/com/android/internal/content/
SyncStateContentProviderHelper.java 104 public int update(SQLiteDatabase db, long rowId, Object data) {
106 new String[]{Long.toString(rowId)}) < 1) {
111 + " WHERE " + SyncStateContract.Columns._ID + "=" + 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/providers/DrmProvider/src/com/android/providers/drm/
DrmProvider.java 232 long rowId;
245 rowId = db.insert("audio", "title", values);
246 if (rowId > 0) {
247 newUri = ContentUris.withAppendedId(DrmStore.Audio.CONTENT_URI, rowId);
255 rowId = db.insert("images", "title", values);
256 if (rowId > 0) {
257 newUri = ContentUris.withAppendedId(DrmStore.Images.CONTENT_URI, rowId);
  /frameworks/base/media/java/android/media/
MediaScanner.java 345 FileCacheEntry(Uri tableUri, long rowId, String path, long lastModified) {
347 mRowId = rowId;
722 long rowId = entry.mRowId;
723 if (isAudio && rowId == 0) {
777 if (rowId == 0) {
781 rowId = ContentUris.parseId(result);
782 entry.mRowId = rowId;
786 result = ContentUris.withAppendedId(tableUri, rowId);
825 values.put(MediaStore.Audio.Genres.Members.AUDIO_ID, Long.valueOf(rowId));
    [all...]
  /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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
SynchronousContactsProvider2.java 134 long rowId =
137 db.execSQL("DELETE FROM raw_contacts WHERE _id > " + rowId + ";");
  /cts/tests/src/android/content/cts/
MockContentProvider.java 138 long rowID;
165 rowID = db.insert(table, "key", values);
167 if (rowID > 0) {
168 Uri url = ContentUris.withAppendedId(testUri, rowID);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
CallLogProvider.java 153 long rowId = mCallsInserter.insert(values);
154 if (rowId > 0) {
156 return ContentUris.withAppendedId(uri, rowId);
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
MmsProvider.java 321 long rowId;
357 if ((rowId = db.insert(table, null, finalValues)) <= 0) {
362 res = Uri.parse(res + "/" + rowId);
368 if ((rowId = db.insert(table, null, finalValues)) <= 0) {
373 res = Uri.parse(res + "/addr/" + rowId);
410 if ((rowId = db.insert(table, null, finalValues)) <= 0) {
415 res = Uri.parse(res + "/part/" + rowId);
429 cv.put(Telephony.MmsSms.WordsTable.ID, (2 << 32) + rowId);
431 cv.put(Telephony.MmsSms.WordsTable.SOURCE_ROW_ID, rowId);
462 if ((rowId = db.insert(table, null, finalValues)) <= 0)
    [all...]

Completed in 333 milliseconds

1 2 3 4 5