Home
last modified time | relevance | path

Searched refs:_ID (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/ex/common/java/com/android/common/content/
DSyncStateContentProviderHelper.java52 + " WHERE " + SyncStateContract.Columns._ID + "=?";
57 + SyncStateContract.Columns._ID + " INTEGER PRIMARY KEY," in createDatabase()
107 + " WHERE " + SyncStateContract.Columns._ID + "=" + rowId, in update()
/frameworks/base/core/java/android/provider/
DBrowser.java80 BookmarkColumns._ID, // 0
111 BookmarkColumns._ID,
134 SearchColumns._ID, // 0
298 return cr.query(History.CONTENT_URI, new String[] { History._ID, History.VISITS }, in getVisitedLike()
404 new String[] { History._ID, History.URL, History.DATE_LAST_VISITED }, in truncateHistory()
433 new String [] { History._ID, History.VISITS }, in canClearHistory()
DUserDictionary.java66 public static final String _ID = BaseColumns._ID; field in UserDictionary.Words
DBaseColumns.java25 public static final String _ID = "_id"; field
DSearchRecentSuggestions.java73 SuggestionColumns._ID,
85 SuggestionColumns._ID,
DCallLog.java487 new String[] { Phone._ID }, in addCall()
497 new String[] { Phone._ID }, in addCall()
618 resolver.update(Data.CONTENT_URI, values, Data._ID + "=?", new String[] {dataId}); in updateNormalizedNumber()
DBrowserContract.java159 public static final String _ID = "_id"; field
486 public static final String _ID = "_id"; field in BrowserContract.Searches
DCalendarContract.java521 final long calendarId = cursor.getLong(cursor.getColumnIndexOrThrow(_ID)); in getEntityAndIncrementCursor()
525 cv.put(_ID, calendarId); in getEntityAndIncrementCursor()
1338 ExtendedProperties._ID,
1363 final long eventId = cursor.getLong(cursor.getColumnIndexOrThrow(Events._ID)); in getEntityAndIncrementCursor()
1365 cv.put(Events._ID, eventId); in getEntityAndIncrementCursor()
1503 extendedValues.put(ExtendedProperties._ID, in getEntityAndIncrementCursor()
DSyncStateContract.java59 private static final String[] DATA_PROJECTION = new String[]{Columns.DATA, Columns._ID};
/frameworks/opt/chips/src/com/android/ex/chips/
DQueries.java37 Phone._ID, // 5
57 Email._ID, // 5
/frameworks/base/media/java/android/mtp/
DMtpPropertyGroup.java62 private static final String ID_WHERE = Files.FileColumns._ID + "=?";
78 columns.add(Files.FileColumns._ID); in MtpPropertyGroup()
194 new String [] { Files.FileColumns._ID, column }, in queryString()
214 new String [] { Files.FileColumns._ID, column }, in queryAudio()
235 new String [] { Files.FileColumns._ID, Audio.GenresColumns.NAME }, in queryGenre()
257 new String [] { Files.FileColumns._ID, column }, in queryLong()
DMtpDatabase.java85 Files.FileColumns._ID, // 0
88 Files.FileColumns._ID, // 0
92 Files.FileColumns._ID, // 0
97 Files.FileColumns._ID, // 0
105 private static final String ID_WHERE = Files.FileColumns._ID + "=?";
1087 values.put(Files.FileColumns._ID, references[i]); in setObjectReferences()
/frameworks/base/docs/html/training/contacts-provider/
Ddisplay-contact-badge.jd116 <li>{@link android.provider.ContactsContract.Contacts#_ID Contacts._ID}</li>
127 <li>{@link android.provider.ContactsContract.Contacts#_ID Contacts._ID}</li>
152 // The index of the _ID column in the Cursor
165 // Gets the _ID column index
166 mIdColumn = mCursor.getColumnIndex(Contacts._ID);
196 {@link android.provider.ContactsContract.Contacts#_ID Contacts._ID} and
216 // Otherwise, sets the thumbnail column to the _ID column
237 * @param photoData photo ID Prior to Honeycomb, the contact's _ID value.
256 // Prior to Android 3.0, constructs a photo Uri using _ID
259 * incoming photoData (_ID)
[all …]
Dmodify-data.jd199 {@link android.provider.ContactsContract.Contacts#_ID Contacts._ID} and
211 // The index of the contact's _ID value
215 // The _ID value from the Cursor
222 * this gets the contact's lookup key and _ID values from the
229 // Gets the _ID column index
230 mIdIndex = mCursor.getColumnIndex(Contacts._ID);
Dretrieve-details.jd88 {@link android.provider.ContactsContract.Data#_ID Data._ID} if you're binding the result
96 Data._ID,
322 be sure to retrieve the <code>_ID</code> column. For example, to retrieve email data, define the
328 Email._ID,
Dretrieve-names.jd218 // The contact's _ID value
326 The column {@link android.provider.ContactsContract.Contacts#_ID Contacts._ID} is used by the
328 {@link android.provider.ContactsContract.Contacts#_ID Contacts._ID} and
337 Contacts._ID,
354 // The column index for the _ID column
399 // Get the _ID value
608 Data._ID,
613 // The contact's _ID, to construct a content URI
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java233 intent.putExtra(BaseColumns._ID, subId); in broadcastSimInfoContentChanged()
255 info.subId = cursor.getLong(cursor.getColumnIndexOrThrow(BaseColumns._ID)); in getSubInfoRecord()
350 null, BaseColumns._ID + "=?", new String[] {Long.toString(subId)}, null); in getSubInfoForSubscriber()
547 new String[] {BaseColumns._ID, SubscriptionManager.SIM_ID, in addSubInfoRecord()
577 BaseColumns._ID + "=" + Long.toString(subId), null); in addSubInfoRecord()
594 long subId = cursor.getLong(cursor.getColumnIndexOrThrow(BaseColumns._ID)); in addSubInfoRecord()
667 BaseColumns._ID + "=" + Long.toString(subId), null); in setColor()
715 BaseColumns._ID + "=" + Long.toString(subId), null); in setDisplayNameUsingSrc()
764 BaseColumns._ID + "=" + Long.toString(subId), null); in setDisplayNumber()
794 BaseColumns._ID + "=" + Long.toString(subId), null); in setDisplayNumberFormat()
[all …]
DSubInfoRecordUpdater.java142 SubscriptionManager._ID + "=" + Long.toString(subId), null);
168 SubscriptionManager._ID + "=" + Long.toString(subId), null);
331 SubscriptionManager._ID + "=" in updateSimInfoByIccId()
405 SubscriptionManager._ID + "=" + Long.toString(temp.subId), null); in updateSimInfoByIccId()
/frameworks/ex/common/java/com/android/common/contacts/
DDataUsageStatUpdater.java121 new String[] {Email.CONTACT_ID, Email._ID}, whereBuilder.toString(), in updateWithAddress()
171 new String[] {Phone.CONTACT_ID, Phone._ID}, whereBuilder.toString(), in updateWithPhoneNumber()
237 whereBuilder.append(ContactsContract.Contacts._ID + " IN ("). in update()
/frameworks/base/docs/html/guide/topics/ui/
Dbinding.jd29 People._ID, People.NAME
49 <p>Note that it is necessary to have the People._ID column in projection used with CursorAdapter
/frameworks/base/media/java/android/media/
DRingtoneManager.java180 MediaStore.Audio.Media._ID, MediaStore.Audio.Media.TITLE,
186 MediaStore.Audio.Media._ID, MediaStore.Audio.Media.TITLE,
/frameworks/base/core/java/android/app/
DDownloadManager.java66 public final static String COLUMN_ID = Downloads.Impl._ID;
315 Downloads.Impl._ID,
1264 whereClause.append(Downloads.Impl._ID); in getWhereClauseForIds()
1331 long downloadId = getLong(getColumnIndex(Downloads.Impl._ID)); in getLocalUri()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestProvider.java158 TestCase.assertEquals(Contacts._ID, columnName);
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-provider-basics.jd163 <th style="width:20%" align="center" scope="col">_ID</th>
206 this provider, the <code>_ID</code> column serves as a "primary key" column that
211 to use <code>_ID</code> as the column name of a primary key if one is present. However,
213 column names has to be <code>_ID</code>. This requirement is explained in more detail in the
337 to the end of the URI. For example, to retrieve a row whose <code>_ID</code> is
418 UserDictionary.Words._ID, // Contract class constant for the _ID column name
512 SELECT _ID, word, locale FROM words WHERE word = &lt;userinput&gt; ORDER BY word ASC;
630 {@link android.database.Cursor}, the cursor must contain a column named <code>_ID</code>.
631 Because of this, the query shown previously retrieves the <code>_ID</code> column for the
633 This restriction also explains why most providers have a <code>_ID</code> column for each of
[all …]
/frameworks/base/docs/html/training/basics/data-storage/
Ddatabases.jd67 key field called {@code _ID} that some Android classes such as cursor adaptors
105 FeedEntry._ID + &quot; INTEGER PRIMARY KEY,&quot; +
228 FeedEntry._ID,
263 cursor.getColumnIndexOrThrow(FeedEntry._ID)

123