Home
last modified time | relevance | path

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

1234567

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java222 final String OUTER_RAW_CONTACTS_ID = OUTER_RAW_CONTACTS + "." + RawContacts._ID;
253 public static final String CONCRETE_ID = Tables.CONTACTS + "." + BaseColumns._ID;
270 Tables.RAW_CONTACTS + "." + BaseColumns._ID;
318 public static final String CONCRETE_ID = Tables.DATA + "." + BaseColumns._ID;
363 public static final String CONCRETE_ID = Tables.GROUPS + "." + BaseColumns._ID;
375 public static final String _ID = BaseColumns._ID; field
407 public static final String _ID = BaseColumns._ID; field
410 public static final String CONCRETE_ID = Tables.PACKAGES + "." + _ID;
414 public static final String _ID = BaseColumns._ID; field
417 public static final String CONCRETE_ID = Tables.MIMETYPES + "." + BaseColumns._ID;
[all …]
DLegacyApiSupport.java231 String[] COLUMNS = { BaseColumns._ID };
233 int _ID = 0; field
366 sPeopleProjectionMap.put(People._ID, People._ID); in sPeopleProjectionMap.put() argument
380 " WHERE " + DataColumns.CONCRETE_RAW_CONTACT_ID + "=people." + People._ID + in sPeopleProjectionMap.put()
386 sOrganizationProjectionMap.put(android.provider.Contacts.Organizations._ID, in sOrganizationProjectionMap.put() argument
387 android.provider.Contacts.Organizations._ID); in sOrganizationProjectionMap.put()
402 sContactMethodProjectionMap.put(ContactMethods._ID, ContactMethods._ID); in sContactMethodProjectionMap.put() argument
412 sPhoneProjectionMap.put(android.provider.Contacts.Phones._ID, in sPhoneProjectionMap.put() argument
413 android.provider.Contacts.Phones._ID); in sPhoneProjectionMap.put()
428 sExtensionProjectionMap.put(android.provider.Contacts.Extensions._ID, in sExtensionProjectionMap.put() argument
[all …]
DContactsProvider2.java275 Data._ID,
282 public static final int _ID = 0; field
290 String[] COLUMNS = { Data._ID, Data.RAW_CONTACT_ID, Data.MIMETYPE };
292 int _ID = 0; field
338 Contacts._ID + " IN "
346 + "(SELECT " + Tables.GROUPS + "." + Groups._ID
488 sContactsProjectionMap.put(Contacts._ID, Contacts._ID); in sContactsProjectionMap.put() argument
528 sRawContactsProjectionMap.put(RawContacts._ID, RawContacts._ID); in sRawContactsProjectionMap.put() argument
549 sDataProjectionMap.put(Data._ID, Data._ID); in sDataProjectionMap.put() argument
594 columns.put(RawContacts._ID, RawContacts._ID); in columns.put() argument
[all …]
DContactAggregator.java128 Contacts._ID
131 int _ID = 0; field
134 private static final String[] CONTACT_ID_COLUMN = new String[] { RawContacts._ID };
280 "SELECT COUNT(" + RawContacts._ID + ")" + in ContactAggregator()
283 + " AND " + RawContacts._ID + "<>?"); in ContactAggregator()
287 " WHERE " + Contacts._ID + "=?"); in ContactAggregator()
296 " WHERE " + RawContacts._ID + "=?" in ContactAggregator()
302 " WHERE " + Contacts._ID + "=?"); in ContactAggregator()
307 " WHERE " + Contacts._ID + "=?"); in ContactAggregator()
312 " WHERE " + Contacts._ID + "=?"); in ContactAggregator()
[all …]
DContactsProvider.java501 People._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + in bootstrapDatabase()
540 Groups._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + in bootstrapDatabase()
580 + Photos._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," in bootstrapDatabase()
868 Presence._ID + " INTEGER PRIMARY KEY," + in maybeCreatePresenceTable()
1685 new String[]{Groups._ID, Groups._SYNC_ID, Groups._SYNC_ACCOUNT, in queryAndroidStarredGroupId()
1691 result.put(Groups._ID, cursor.getLong(0)); in queryAndroidStarredGroupId()
2078 starredGroupInfo.put(Groups._ID, groupId); in fixupGroupMembershipAfterPeopleUpdate()
2086 final Long groupId = starredGroupInfo.getAsLong(Groups._ID); in fixupGroupMembershipAfterPeopleUpdate()
2123 Long.toString(starredGroupInfo.getAsLong(Groups._ID))}); in fixupGroupMembershipAfterPeopleUpdate()
2397 final int indexId = cursor.getColumnIndexOrThrow(Groups._ID); in deleteFromGroups()
[all …]
DSocialProvider.java93 columns.put(RawContacts._ID, Tables.RAW_CONTACTS + "." + RawContacts._ID + " AS _id"); in columns.put() argument
99 columns.put(Activities._ID, "activities._id AS _id"); in columns.put() argument
305 return db.delete(Tables.ACTIVITIES, Activities._ID + "=" + activityId, null); in delete()
345 qb.appendWhere(Activities._ID + "=" + activityId); in query()
365 qb.appendWhere(Activities.AUTHOR_CONTACT_ID + " IN (SELECT " + BaseColumns._ID in query()
DCallLogProvider.java59 sCallsProjectionMap.put(Calls._ID, Calls._ID); in sCallsProjectionMap.put() argument
172 where = DatabaseUtils.concatenateWhere(selection, Calls._ID + "=" in update()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java76 Data._ID, // 0
96 Contacts._ID, // 0
108 static final String CALLLOG_SORT_ORDER = Calls._ID + " DESC";
218 null, Contacts._ID); in getPhonebookNameList()
278 CallLog.Calls._ID, // 0 in composeAndSendCallLogVcards()
309 recordSelection = Calls._ID + "=" + startPointId; in composeAndSendCallLogVcards()
313 recordSelection = Calls._ID + ">=" + endPointId + " AND " + Calls._ID + "<=" in composeAndSendCallLogVcards()
342 Contacts._ID); in composeAndSendPhonebookVcards()
363 selection = Contacts._ID + "=" + startPointId + " AND " + CLAUSE_ONLY_VISIBLE; in composeAndSendPhonebookVcards()
365 selection = Contacts._ID + ">=" + startPointId + " AND " + Contacts._ID + "<=" in composeAndSendPhonebookVcards()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLookupKeyTest.java57 assertStoredValue(lookupUri, Contacts._ID, contactId); in testLookupKeyUsingDisplayNameAndNoAccount()
61 Contacts._ID, contactId); in testLookupKeyUsingDisplayNameAndNoAccount()
65 Contacts._ID, contactId); in testLookupKeyUsingDisplayNameAndNoAccount()
85 assertStoredValue(lookupUri, Contacts._ID, contactId); in testLookupKeyUsingSourceIdAndNoAccount()
113 assertStoredValue(lookupUri1, Contacts._ID, contactId1); in testLookupKeySameSourceIdDifferentAccounts()
116 assertStoredValue(lookupUri2, Contacts._ID, contactId2); in testLookupKeySameSourceIdDifferentAccounts()
154 assertStoredValue(lookupUri, Contacts._ID, largerContactId); in testLookupKeyChoosingLargestContact()
DLegacyContactImporterTest.java103 Groups._ID, in testContactImport()
121 Contacts._ID, in testContactImport()
134 RawContacts._ID, in testContactImport()
148 Data._ID, in testContactImport()
176 Calls._ID, in testContactImport()
190 Contacts._ID, in testContactImport()
223 Cursor c = mResolver.query(uri, projection, null, null, BaseColumns._ID); in dumpCursorToString()
DContactsProvider2Test.java87 assertSelection(RawContacts.CONTENT_URI, values, RawContacts._ID, rawContactId); in testRawContactsInsert()
103 assertSelection(Data.CONTENT_URI, values, Data._ID, dataId); in testDataInsert()
109 assertSelection(rawContactDataUri, values, Data._ID, dataId); in testDataInsert()
114 assertSelection(contactDataUri, values, Data._ID, dataId); in testDataInsert()
128 assertStoredValue(uri1, Data._ID, ContentUris.parseId(dataUri1)) ; in testRawContactDataQuery()
129 assertStoredValue(uri2, Data._ID, ContentUris.parseId(dataUri2)) ; in testRawContactDataQuery()
151 values.put(Data._ID, phoneId); in testPhonesQuery()
166 assertSelection(Phone.CONTENT_URI, values, Data._ID, phoneId); in testPhonesQuery()
212 values.put(PhoneLookup._ID, queryContactId(rawContactId)); in testPhoneLookup()
283 values.put(Data._ID, emailId); in testEmailsQuery()
[all …]
DRestrictionExceptionsTest.java213 new String[] { LiveFolders._ID }, null, null, null); in testContactsLiveFolder()
237 final long rawContactId = entity.getEntityValues().getAsLong(RawContacts._ID); in testRestrictedQueryParam()
246 final long rawContactId = entity.getEntityValues().getAsLong(RawContacts._ID); in testRestrictedQueryParam()
259 new String[] { Data._ID }, null, null, null); in testRestrictedEmailLookupRestricted()
278 new String[] { Data._ID }, null, null, null); in testRestrictedEmailLookupGeneric()
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationsProvider.java70 public static final String _ID = "_id"; field in ApplicationsProvider
230 _ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + in createDatabase()
243 "source INTEGER REFERENCES " + APPLICATIONS_TABLE + "(" + _ID + ")," + in createDatabase()
254 "DELETE FROM applicationsLookup WHERE source = new." + _ID + ";" + in createDatabase()
255 … "SELECT _TOKENIZE('applicationsLookup', new." + _ID + ", new." + NAME + ", ' ', 1);" + in createDatabase()
260 … "SELECT _TOKENIZE('applicationsLookup', new." + _ID + ", new." + NAME + ", ' ', 1);" + in createDatabase()
265 "DELETE FROM applicationsLookup WHERE source = old." + _ID + ";" + in createDatabase()
344 + " applicationsLookup.source = " + APPLICATIONS_TABLE + "." + _ID); in getSuggestions()
348 String groupBy = APPLICATIONS_TABLE + "." + _ID; in getSuggestions()
393 map.put(_ID, _ID); in buildSuggestionsProjectionMap()
/packages/providers/GoogleContactsProvider/tests/src/com/android/providers/contacts/
DSyncContactsTest.java34 PEOPLE_PHONES_JOIN_COLUMNS_TO_SKIP.add(Contacts.People._ID);
43 PEOPLE_PHONES_JOIN_COLUMNS_TO_SKIP.add(Contacts.Phones._ID);
47 PEOPLE_PHONES_JOIN_COLUMNS_TO_SKIP.add(Contacts.People.ContactMethods._ID);
49 PEOPLE_PHONES_JOIN_COLUMNS_TO_SKIP.add(Contacts.Organizations._ID);
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java339 Mms._ID + " INTEGER PRIMARY KEY," + in createMmsTables()
372 Addr._ID + " INTEGER PRIMARY KEY," + in createMmsTables()
380 Part._ID + " INTEGER PRIMARY KEY," + in createMmsTables()
399 BaseColumns._ID + " INTEGER PRIMARY KEY," + in createMmsTables()
515 Threads._ID + " INTEGER PRIMARY KEY," + in createCommonTables()
530 PendingMessages._ID + " INTEGER PRIMARY KEY," + in createCommonTables()
637 " new." + BaseColumns._ID + "," + in createCommonTriggers()
658 " new." + BaseColumns._ID + "," + in createCommonTriggers()
937 new String[] { Part._ID, Part._DATA, Part.TEXT}, in upgradeDatabaseToVersion46()
946 int partIdColumn = textRows.getColumnIndex(Part._ID); in upgradeDatabaseToVersion46()
DMmsProvider.java92 qb.appendWhere(Mms._ID + "=" + uri.getPathSegments().get(0)); in query()
99 qb.appendWhere(Mms._ID + "=" + uri.getPathSegments().get(1)); in query()
112 qb.appendWhere(Part._ID + "=" + uri.getPathSegments().get(1)); in query()
177 qb.appendWhere(BaseColumns._ID + "=" + uri.getLastPathSegment()); in query()
234 Part._ID + " = ?", new String[] { uri.getLastPathSegment() }, in getType()
481 extraSelection = Mms._ID + "=" + uri.getLastPathSegment(); in delete()
504 extraSelection = Part._ID + "=" + uri.getPathSegments().get(1); in delete()
541 Cursor cursor = db.query(TABLE_PDU, new String[] { Mms._ID }, in deleteMessages()
660 extraSelection = Mms._ID + "=" + msgId; in update()
670 extraSelection = Part._ID + "=" + uri.getPathSegments().get(1); in update()
[all …]
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java77 + Words._ID + " INTEGER PRIMARY KEY," in onCreate()
206 count = db.delete(USERDICT_TABLE_NAME, Words._ID + "=" + wordId in delete()
230 count = db.update(USERDICT_TABLE_NAME, values, Words._ID + "=" + wordId in update()
249 sDictProjectionMap.put(Words._ID, Words._ID); in sDictProjectionMap.put() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java103 LIVE_FOLDER_PROJECTION_MAP.put(LiveFolders._ID, BluetoothShare._ID + " AS " in LIVE_FOLDER_PROJECTION_MAP.put() argument
104 + LiveFolders._ID); in LIVE_FOLDER_PROJECTION_MAP.put() argument
173 db.execSQL("CREATE TABLE " + DB_TABLE + "(" + BluetoothShare._ID in createTable()
314 qb.appendWhere(BluetoothShare._ID + "="); in query()
410 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) "; in update()
451 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) "; in delete()
DBluetoothOppNotification.java167 WHERE_RUNNING, null, BluetoothShare._ID); in updateActiveNotification()
177 int id = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID)); in updateActiveNotification()
260 WHERE_COMPLETED, null, BluetoothShare._ID); in updateCompletedNotification()
269 int id = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID)); in updateCompletedNotification()
323 WHERE_CONFIRM_PENDING, null, BluetoothShare._ID); in updateIncomingFileConfirmNotification()
333 int id = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID)); in updateIncomingFileConfirmNotification()
/packages/apps/Contacts/src/com/android/contacts/model/
DEntityDiff.java131 return child.uri.toString() + child.values.getAsString(BaseColumns._ID); in buildChildKey()
135 return BaseColumns._ID + "=" + values.getAsLong(BaseColumns._ID); in getSelectIdClause()
DEntitySet.java217 Long rawContactId1 = get(index1).getValues().getAsLong(RawContacts._ID); in buildSplitContactDiff()
224 Long rawContactId2 = get(index2).getValues().getAsLong(RawContacts._ID); in buildSplitContactDiff()
240 final Long rawContactId = delta.getValues().getAsLong(RawContacts._ID); in findRawContactId()
256 return values.getAsLong(RawContacts._ID); in getRawContactId()
/packages/apps/Launcher2/src/com/android/launcher2/
DUninstallShortcutReceiver.java45 new String[] { LauncherSettings.Favorites._ID, LauncherSettings.Favorites.INTENT }, in onReceive()
49 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID); in onReceive()
/packages/apps/Launcher/src/com/android/launcher/
DUninstallShortcutReceiver.java45 new String[] { LauncherSettings.Favorites._ID, LauncherSettings.Favorites.INTENT }, in onReceive()
49 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID); in onReceive()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotification.java114 Downloads._ID, in updateActiveNotification()
123 WHERE_RUNNING, null, Downloads._ID); in updateActiveNotification()
219 Downloads._ID, in updateCompletedNotification()
231 WHERE_COMPLETED, null, Downloads._ID); in updateCompletedNotification()
/packages/apps/IM/src/com/android/im/app/
DSignoutActivity.java36 Imps.Account._ID,
73 accountId = c.getLong(c.getColumnIndexOrThrow(Imps.Account._ID)); in onCreate()

1234567