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

1 2

  /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);
  /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/providers/ContactsProvider/src/com/android/providers/contacts/
VoicemailStatusTable.java 67 long rowId = getDatabaseModifier(db).insert(mTableName, null, copiedValues);
68 if (rowId > 0) {
69 Uri newUri = ContentUris.withAppendedId(uriData.getUri(), rowId);
CallLogProvider.java 234 long rowId = getDatabaseModifier(mCallsInserter).insert(copiedValues);
235 if (rowId > 0) {
236 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 121 long rowId = getDatabaseModifier(db).insert(mTableName, null, copiedValues);
122 if (rowId > 0) {
123 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);
  /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);
  /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);
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 209 long rowId = db.insert(USERDICT_TABLE_NAME, Words.WORD, values);
210 if (rowId > 0) {
211 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 281 long rowID = db.insert(DB_TABLE, null, filteredValues);
285 if (rowID != -1) {
287 ret = Uri.parse(BluetoothShare.CONTENT_URI + "/" + rowID);
394 long rowId = 0;
412 rowId = Long.parseLong(segment);
413 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) ";
453 long rowId = Long.parseLong(segment);
454 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 796 long rowId;
821 rowId = adapter.getGroupId(seedGroupPosition);
822 if (rowId == groupIdToMatch) {
    [all...]
AdapterView.java     [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
AdapterViewICS.java     [all...]

Completed in 2028 milliseconds

1 2