HomeSort by relevance Sort by last modified time
    Searched refs:rowId (Results 1 - 25 of 72) sorted by null

1 2 3

  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmDatabaseHelper.java 76 long rowId = -1;
93 rowId = db.insert("alarms", Alarm.Columns.MESSAGE, values);
98 if (rowId < 0) {
101 if (Log.LOGV) Log.v("Added alarm rowId = " + rowId);
103 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);
  /frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
BaseCursorPagerAdapter.java 94 final Integer rowId;
96 rowId = mCursor.getString(mRowIDColumn).hashCode();
98 rowId = null;
104 mObjectRowMap.put(obj, rowId);
118 final Integer rowId = mObjectRowMap.get(object);
119 if (rowId == null || mItemPosition == null) {
123 final int position = mItemPosition.get(rowId, POSITION_NONE);
252 final int rowId = mCursor.getString(mRowIDColumn).hashCode();
255 itemPosition.append(rowId, position);
  /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...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
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...]
VoicemailStatusTable.java 67 long rowId = getDatabaseModifier(db).insert(mTableName, null, copiedValues);
68 if (rowId > 0) {
69 Uri newUri = ContentUris.withAppendedId(uriData.getUri(), 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);
  /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/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);
  /hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/
DBAdapter.java 115 public boolean deleteStation(long rowId)
119 "=" + rowId, null) > 0;
139 public Cursor getStation(long rowId) throws SQLException
149 KEY_ROWID + "=" + rowId,
  /packages/apps/Dialer/src/com/android/dialer/calllog/
IntentProvider.java 46 public static IntentProvider getPlayVoicemailIntentProvider(final long rowId,
53 Calls.CONTENT_URI_WITH_VOICEMAIL, rowId));
  /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);
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastContentProvider.java 198 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv);
199 if (rowId == -1) {
212 * @param rowId the row ID of the broadcast to delete
215 boolean deleteBroadcast(long rowId) {
220 new String[]{Long.toString(rowId)});
224 Log.e(TAG, "failed to delete broadcast at row " + rowId);
CellBroadcastListActivity.java 232 * @param rowId the row ID of the broadcast to delete, or -1 to delete all broadcasts
234 public void confirmDeleteThread(long rowId) {
235 DeleteThreadListener listener = new DeleteThreadListener(rowId);
236 confirmDeleteThreadDialog(listener, (rowId == -1), getActivity());
262 public DeleteThreadListener(long rowId) {
263 mRowId = rowId;
  /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);
  /frameworks/ex/common/java/com/android/common/content/
SyncStateContentProviderHelper.java 100 public int update(SQLiteDatabase db, long rowId, Object data) {
102 new String[]{Long.toString(rowId)}) < 1) {
107 + " WHERE " + SyncStateContract.Columns._ID + "=" + rowId,
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaProvider.java     [all...]
  /frameworks/base/media/java/android/media/
MediaScanner.java 361 FileEntry(long rowId, String path, long lastModified, int format) {
362 mRowId = rowId;
532 // if this file was just inserted via mtp, set the rowid to zero
    [all...]

Completed in 434 milliseconds

1 2 3