/frameworks/base/core/java/android/provider/ |
BaseColumns.java | 25 public static final String _ID = "_id";
|
UserDictionary.java | 63 public static final String _ID = BaseColumns._ID;
|
BrowserContract.java | 144 public static final String _ID = "_id"; 395 public static final String _ID = "_id";
|
MediaStore.java | 365 * Table also contains MediaColumns._ID, DATA, SIZE and DATE_MODIFIED. 443 private static final String[] PROJECTION = new String[] {_ID, MediaColumns.DATA}; [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarSyncTestingBase.java | 55 EVENT_COLUMNS_TO_SKIP.add(CalendarContract.Events._ID); 61 ATTENDEES_COLUMNS_TO_SKIP.add(CalendarContract.Attendees._ID); 62 CALENDARS_COLUMNS_TO_SKIP.add(CalendarContract.Calendars._ID); 67 INSTANCES_COLUMNS_TO_SKIP.add(CalendarContract.Instances._ID); 213 return calendarsCursor.getInt(calendarsCursor.getColumnIndex("_id"));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestResultsProvider.java | 45 static final String _ID = "_id"; 95 + _ID + " INTEGER PRIMARY KEY AUTOINCREMENT, " 121 query.appendWhere(_ID); 157 String idSelection = _ID + "=" + uri.getPathSegments().get(1);
|
/cts/tests/appsecurity-tests/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
CreatePrivateDataTest.java | 132 static final String _ID = "_id"; 141 + _ID + " INTEGER PRIMARY KEY AUTOINCREMENT, "
|
/cts/tests/src/android/content/cts/ |
DummyProvider.java | 56 public static final String _ID = "_id"; 85 db.execSQL("CREATE TABLE " + NAME_VALUE_TABLE + " (" + _ID + " INTEGER PRIMARY KEY,"
|
/external/qemu/distrib/sdl-1.2.12/src/stdlib/ |
SDL_qsort.c | 19 * - the _ID string below is altered by inserting, after 63 static char _ID[]="<qsort.c gjm 1.12 1998-03-19>";
|
/packages/apps/Browser/src/com/android/browser/provider/ |
SnapshotProvider.java | 47 public static final String _ID = "_id"; 89 Snapshots._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + 178 selection = DatabaseUtils.concatenateWhere(selection, "_id=?"); 242 selection = DatabaseUtils.concatenateWhere(selection, TABLE_SNAPSHOTS + "._id=?");
|
BrowserProvider2.java | 81 public static final String _ID = "_id"; 88 public static final String _ID = "_id"; 126 qualifyColumn(TABLE_HISTORY, History._ID), 185 Bookmarks.IS_FOLDER + " DESC, position ASC, _id ASC"; 188 static final String DEFAULT_BOOKMARKS_SORT_ORDER_SYNC = "position ASC, _id ASC"; 256 map.put(Bookmarks._ID, qualifyColumn(TABLE_BOOKMARKS, Bookmarks._ID)); 281 "A." + Bookmarks._ID + "=" + TABLE_BOOKMARKS + "." + Bookmarks.PARENT [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
AttachmentUtilities.java | 43 public static final String _ID = "_id";
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactLoader.java | 51 Data._ID, Data.STATUS, Data.STATUS_RES_PACKAGE, Data.STATUS_ICON, 55 final int _ID = 0; 89 final long dataId = cursor.getLong(StatusQuery._ID);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactLookupKeyTest.java | 59 assertStoredValue(lookupUri, Contacts._ID, contactId); 63 Contacts._ID, contactId); 67 Contacts._ID, contactId); 93 assertStoredValue(lookupUri, Contacts._ID, contactId); 121 assertStoredValue(lookupUri1, Contacts._ID, contactId1); 124 assertStoredValue(lookupUri2, Contacts._ID, contactId2); 164 assertStoredValue(lookupUri, Contacts._ID, largerContactId);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_TestDataBuilder.java | 54 BaseColumns._ID, 57 int _ID = 0; 79 mId = cursor.getInt(IdQuery._ID); 85 assertTrue("Could not obtain _ID for URI: " + mUri, mId != -1); 193 mId = mCursor.getLong(getColumnIndex(BaseColumns._ID)); 298 return with(Contacts._ID, mRawContact.getContactId()).loadUsingValues();
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandler.java | 52 Data._ID, 59 public static final int _ID = 0; 67 String[] COLUMNS = { Data._ID, Data.RAW_CONTACT_ID, Data.MIMETYPE }; 69 int _ID = 0; 150 long dataId = c.getLong(DataUpdateQuery._ID); 157 db.update(Tables.DATA, values, Data._ID + " =?", mSelectionArgs1); 207 cols, Data._ID + "=?", mSelectionArgs1, null, null, null); 250 long dataId = c.getLong(DataDeleteQuery._ID); 254 int count = db.delete(Tables.DATA, Data._ID + "=?", mSelectionArgs1); 280 long dataId = c.getLong(DataDeleteQuery._ID); [all...] |
LegacyApiSupport.java | 121 " LEFT OUTER JOIN data name ON (raw_contacts._id = name.raw_contact_id" 122 + " AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = name.mimetype_id)" 124 + " LEFT OUTER JOIN data organization ON (raw_contacts._id = organization.raw_contact_id" 125 + " AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = organization.mimetype_id)" 127 + " LEFT OUTER JOIN data email ON (raw_contacts._id = email.raw_contact_id" 128 + " AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = email.mimetype_id)" 130 + " LEFT OUTER JOIN data note ON (raw_contacts._id = note.raw_contact_id" 131 + " AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = note.mimetype_id)" 133 + " LEFT OUTER JOIN data phone ON (raw_contacts._id = phone.raw_contact_id" 134 + " AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = phone.mimetype_id) [all...] |
LegacyContactImporter.java | 208 // the legacy table does not provide an _ID field - the _ID field 239 "_id", "name", "notes", "should_sync", "system_id", "_sync_account", "_sync_id", 256 Groups._ID + "," + 324 + "organizations._id = primary_organization) " 327 +"(SELECT number FROM phones WHERE phones._id = primary_phone) " 331 + "contact_methods._id = primary_email) " 341 "_id", NAME_SQL, "notes", "times_contacted", "last_time_contacted", "starred", 348 "_id", NAME_SQL, "notes", "times_contacted", "last_time_contacted", "starred", 355 "_id", "name", "notes", "times_contacted", "last_time_contacted", "starred" [all...] |
ContactAggregator.java | 285 "SELECT COUNT(" + RawContacts._ID + ")" + 288 + " AND " + RawContacts._ID + "<>?"); 292 " WHERE " + Contacts._ID + "=?"); 301 " WHERE " + RawContacts._ID + "=?" 307 " WHERE " + Contacts._ID + "=?"); 312 " WHERE " + Contacts._ID + "=?"); 317 " WHERE " + Contacts._ID + "=?"); 323 + RawContacts.STARRED + "=1)" + " WHERE " + Contacts._ID + "=?"); 329 " WHERE " + RawContacts._ID + "=?"); 334 " WHERE " + RawContacts._ID + "=?") [all...] |
ContactsDatabaseHelper.java | 158 + "JOIN mimetypes ON (data.mimetype_id = mimetypes._id)"; 161 + "JOIN raw_contacts ON (data.raw_contact_id = raw_contacts._id)"; 164 + "JOIN mimetypes ON (data.mimetype_id = mimetypes._id) " 165 + "JOIN raw_contacts ON (data.raw_contact_id = raw_contacts._id)"; 175 + "data.raw_contact_id = raw_contacts._id) " 176 + "LEFT OUTER JOIN groups ON (groups._id = data." + GroupMembership.GROUP_ROW_ID 185 + "data.raw_contact_id = raw_contacts._id) " 186 + "LEFT OUTER JOIN contacts ON (raw_contacts.contact_id = contacts._id)"; 200 + "(SELECT " + MimetypesColumns._ID 209 + "JOIN mimetypes ON (data.mimetype_id = mimetypes._id) " [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ConfirmAddDetailActivity.java | 127 Contacts._ID, 132 final int _ID = 0; 327 new String[] { Contacts._ID } /* unused projection but a valid one was needed */, 329 + Contacts._ID + " <> ?", 396 RawContacts._ID + "=?", new String[] { String.valueOf(rawContactId) }, 466 mContactId = cursor.getLong(ContactQuery._ID); [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
QuickContactActivity.java | 236 + "!=? OR (" + Data.MIMETYPE + "=? AND " + Data._ID + "=" + Contacts.PHOTO_ID 397 final long dataId = cursor.getLong(DataQuery._ID); 659 Data._ID, 685 final int _ID = 0;
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
ContactHeaderWidget.java | 96 Contacts._ID, 108 int _ID = 0; 133 PhoneLookup._ID, 148 Contacts._ID, 265 cursor.getLong(ContactQuery._ID),
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
ApplicationsProvider.java | 87 public static final String _ID = "_id"; 103 + " applicationsLookup.source = " + APPLICATIONS_TABLE + "." + _ID; 248 _ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + 263 "source INTEGER REFERENCES " + APPLICATIONS_TABLE + "(" + _ID + ")," + 274 "DELETE FROM applicationsLookup WHERE source = new." + _ID + ";" + 275 "SELECT _TOKENIZE('applicationsLookup', new." + _ID + ", new." + NAME + ", ' ', 1);" + 280 "SELECT _TOKENIZE('applicationsLookup', new." + _ID + ", new." + NAME + ", ' ', 1);" + 285 "DELETE FROM applicationsLookup WHERE source = old." + _ID + ";" + 407 String groupBy = APPLICATIONS_TABLE + "." + _ID; [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactSaveService.java | 332 new String[] {Contacts._ID, Contacts.LOOKUP_KEY}, 363 final StringBuilder sb = new StringBuilder(RawContacts._ID + " IN("); [all...] |