/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_SearchSnippetsTest.java | 46 Contacts._ID, 103 expected.put(Contacts._ID, ids[1]); in testSearchSnippets_MatchEmailAddressCorrectSnippet() 115 expected.put(Contacts._ID, ids[1]); in testEnterpriseSearchSnippets_MatchEmailAddressCorrectSnippet() 126 expected.put(Contacts._ID, ids[0]); in testSearchSnippets_MatchPhoneNumberCorrectSnippet() 138 expected.put(Contacts._ID, ids[0]); in testEnterpriseSearchSnippets_MatchPhoneNumberCorrectSnippet() 149 expected.put(Contacts._ID, ids[2]); in testSearchSnippets_MatchPostalAddressCorrectSnippet() 161 expected.put(Contacts._ID, ids[2]); in testEnterpriseSearchSnippets_MatchPostalAddressCorrectSnippet() 172 expected.put(Contacts._ID, ids[2]); in testSearchSnippets_LongMatchTruncation() 184 expected.put(Contacts._ID, ids[2]); in testEnterpriseSearchSnippets_LongMatchTruncation() 195 expected.put(Contacts._ID, ids[1]); in testSearchSnippets_MultipleMatchesCorrectSnippet() [all …]
|
D | ContactsContract_AggregationSuggestionsTest.java | 37 = new String[] {Contacts.DISPLAY_NAME, Contacts._ID}; 73 values.put(Contacts._ID, contactIds[0]); in testAggregationSuggestionsByNameReversed() 95 values.put(Contacts._ID, contactIds[0]); in testAggregationSuggestionsByName() 111 uri, new String[] { Contacts._ID, Contacts.DISPLAY_NAME }, null, null, null); in testAggregationSuggestionsByName_noMatch() 132 values.put(Contacts._ID, contactIds[1]); in testAggregationSuggestionsByName_matchSecondNameParameter() 153 values.put(Contacts._ID, contactIds[1]); in testAggregationSuggestionsByName_matchFirstNameParameter()
|
D | ContactsContract_PhoneLookup.java | 145 expected.put(PhoneLookup._ID, ids[0].contactId); in testPhoneLookup_found1() 162 expected.put(PhoneLookup._ID, ids[1].contactId); in testPhoneLookup_found2() 205 expected.put(PhoneLookup._ID, ids[0].contactId); in testPhoneLookupEnterprise_found1() 222 expected.put(PhoneLookup._ID, ids[1].contactId); in testPhoneLookupEnterprise_found2() 238 expected.put(PhoneLookup._ID, ids[2].dataId); in testPhoneLookupEnterprise_sip_found() 251 sb.append(Contacts._ID + " in "); in assertCursorStoredValuesWithContactsFilter()
|
D | ContactsContract_TestDataBuilder.java | 54 BaseColumns._ID, 57 int _ID = 0; field 80 mId = cursor.getInt(IdQuery._ID); in getId() 197 mId = mCursor.getLong(getColumnIndex(BaseColumns._ID)); in loadUsingValues() 313 return with(Contacts._ID, mRawContact.getContactId()).loadUsingValues(); in load() 349 return getLong(Data._ID); in getId()
|
D | ContactsTest.java | 70 People._ID, in testPeopleTable() 152 Groups._ID, Groups.NAME, Groups.NOTES, in testGroupsTable() 173 GROUPS_PROJECTION, Groups._ID + " = ?", in testGroupsTable() 189 Groups._ID + " = " + id, null, null, null); in testGroupsTable() 208 Photos._ID, Photos.EXISTS_ON_SERVER, Photos.PERSON_ID, in testPhotosTable() 253 Phones._ID, Phones.PERSON_ID, Phones.TYPE, Phones.NUMBER, in testPhonesTable() 332 Organizations._ID, Organizations.COMPANY, Organizations.TITLE, in testOrganizationsTable() 415 Calls._ID, Calls.NUMBER, Calls.DATE, Calls.DURATION, Calls.TYPE, in testCallsTable() 512 Calls._ID + " = " + id, null, null, null); in testCallsTable() 536 mCallLogProvider.delete(Calls.CONTENT_URI, Calls._ID + " = " + id, null); in testCallsTable() [all …]
|
D | VoicemailContractTest.java | 91 Voicemails._ID, in testVoicemailsTable() 208 Voicemails._ID + " = " + id, null, null, null); in testVoicemailsTable() 226 mVoicemailProvider.delete(mVoicemailContentUri, Voicemails._ID + " = " + id, null); in testVoicemailsTable() 228 Voicemails._ID + " = " + id, null, null, null); in testVoicemailsTable() 449 Status._ID, Status.SOURCE_PACKAGE, Status.CONFIGURATION_STATE, in testStatusTable() 514 Voicemails._ID + " = " + id, null, null, null); in testStatusTable() 527 mStatusProvider.delete(mStatusContentUri, Voicemails._ID + " = " + id, null); in testStatusTable() 529 Voicemails._ID + " = " + id, null, null, null); in testStatusTable()
|
D | Contacts_PeopleTest.java | 52 People._ID, 61 Groups._ID, 214 Groups._ID + "=" + id, null, null, null); in testAddToGroup()
|
D | ContactsContract_FrequentsStrequentsTest.java | 47 Contacts._ID, 84 Data._ID, 381 sb.append(Contacts._ID + " in "); in assertCursorStoredValuesWithContactsFilter()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Audio_Genres_MembersTest.java | 47 mAudioIdOfJam = c.getLong(c.getColumnIndex(Media._ID)); in setUp() 53 mAudioIdOfJamLive = c.getLong(c.getColumnIndex(Media._ID)); in setUp() 61 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mAudioIdOfJam, null); in tearDown() 62 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mAudioIdOfJamLive, in tearDown() 97 long genreId = c.getLong(c.getColumnIndex(Genres._ID)); in testStoreAudioGenresMembersExternal() 120 assertEquals(mAudioIdOfJam, c.getLong(c.getColumnIndex(Members._ID))); in testStoreAudioGenresMembersExternal() 166 Members._ID + "=?", new String[] {Long.toString(mAudioIdOfJam)}, null); in testStoreAudioGenresMembersExternal() 169 assertEquals(mAudioIdOfJam, c.getLong(c.getColumnIndex(Members._ID))); in testStoreAudioGenresMembersExternal() 202 genre2Id = c.getLong(c.getColumnIndex(Genres._ID)); in testStoreAudioGenresMembersExternal() 281 Media._ID + "=" + mAudioIdOfJam, null); in testStoreAudioGenresMembersExternal() [all …]
|
D | MediaStore_Audio_Playlists_MembersTest.java | 40 Members._ID, 67 Members._ID, 108 long id = c.getLong(c.getColumnIndex(Media._ID)); in insertAudioItem() 127 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio1, null); in tearDown() 128 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio2, null); in tearDown() 129 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio3, null); in tearDown() 130 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio4, null); in tearDown() 131 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio5, null); in tearDown() 198 long playlistId = c.getLong(c.getColumnIndex(Playlists._ID)); in testStoreAudioPlaylistsMembersExternal() 217 long memberId = c.getLong(c.getColumnIndex(Members._ID)); in testStoreAudioPlaylistsMembersExternal() [all …]
|
D | MediaStore_Images_ThumbnailsTest.java | 133 new String[]{ Media._ID, Media.DATA }, null, null, null); in testQueryExternalMiniThumbnails() 135 long imageId = c.getLong(c.getColumnIndex(Media._ID)); in testQueryExternalMiniThumbnails() 158 new String[] { Thumbnails._ID, Thumbnails.DATA, Thumbnails.IMAGE_ID}); in testQueryExternalMiniThumbnails() 175 new String[] { Thumbnails._ID, Thumbnails.DATA, Thumbnails.IMAGE_ID}); in testQueryExternalMiniThumbnails() 185 new String[]{ Media._ID, Media.DATA}, null, null, null); in testQueryExternalMiniThumbnails() 187 imageId = c.getLong(c.getColumnIndex(Media._ID)); in testQueryExternalMiniThumbnails() 199 new String[]{ Media._ID, Media.DATA}, null, null, null); in testQueryExternalMiniThumbnails() 201 imageId = c.getLong(c.getColumnIndex(Media._ID)); in testQueryExternalMiniThumbnails() 205 new String[] { Thumbnails._ID, Thumbnails.DATA, Thumbnails.IMAGE_ID}); in testQueryExternalMiniThumbnails() 255 long id = c.getLong(c.getColumnIndex(Thumbnails._ID)); in testStoreImagesMediaExternal() [all …]
|
D | MockFontProvider.java | 181 MatrixCursor cursor = new MatrixCursor(new String[] { Columns._ID, Columns.FILE_ID }); in buildCursor() 184 builder.add(Columns._ID, font.getId()); in buildCursor() 190 Columns._ID, Columns.TTC_INDEX, Columns.VARIATION_SETTINGS, Columns.WEIGHT, in buildCursor() 194 builder.add(Columns._ID, font.getId()); in buildCursor()
|
D | MediaStore_Audio_ArtistsTest.java | 85 long id = c.getLong(c.getColumnIndex(Artists._ID)); in testStoreAudioArtists() 116 long fid = c.getLong(c.getColumnIndex(Artists._ID)); in testStoreAudioArtists()
|
D | MediaStore_Audio_GenresTest.java | 75 assertTrue(c.getLong(c.getColumnIndex(Genres._ID)) > 0); in testStoreAudioGenresExternal() 133 assertEquals(genreId, cursor.getLong(cursor.getColumnIndex(Genres._ID))); in testGetContentUriForAudioId()
|
D | UserDictionary_WordsTest.java | 39 UserDictionary.Words._ID,
|
D | MediaStore_Audio_MediaTest.java | 94 long id = c.getLong(c.getColumnIndex(Media._ID)); in testStoreAudioMedia() 137 long id2 = c.getLong(c.getColumnIndex(Media._ID)); in testStoreAudioMedia() 172 long fid = c.getLong(c.getColumnIndex(Media._ID)); in testStoreAudioMedia()
|
D | MediaStore_Images_MediaTest.java | 258 long id = c.getLong(c.getColumnIndex(Media._ID)); in testStoreImagesMediaExternal() 304 assertEquals(id, c.getLong(c.getColumnIndex(Media._ID))); in testStoreImagesMediaExternal() 343 Cursor c = mContentResolver.query(Uri.parse(stringUrl), new String[]{ Media._ID }, null, 346 long imageId = c.getLong(c.getColumnIndex(Media._ID));
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/ |
D | Entity.java | 50 if (field.name.equals(BaseColumns._ID)) { in createEntitySql() 70 addFieldInternal(BaseColumns._ID, Cursor.FIELD_TYPE_INTEGER); in Builder()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 64 static final String _ID = "_id"; field in TestResultsProvider 118 + _ID + " INTEGER PRIMARY KEY AUTOINCREMENT, " in onCreate() 145 query.appendWhere(_ID); in query() 181 String idSelection = _ID + "=" + uri.getPathSegments().get(1); in update()
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/ |
D | DummyJobContentProvider.java | 43 public static final String _ID = "_id"; field in DummyJobContentProvider 71 db.execSQL("CREATE TABLE " + NAME_VALUE_TABLE + " (" + _ID + " INTEGER PRIMARY KEY," in onCreate()
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | DummyJobContentProvider.java | 43 public static final String _ID = "_id"; field in DummyJobContentProvider 71 db.execSQL("CREATE TABLE " + NAME_VALUE_TABLE + " (" + _ID + " INTEGER PRIMARY KEY," in onCreate()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | DummyProvider.java | 53 public static final String _ID = "_id"; field in DummyProvider 82 db.execSQL("CREATE TABLE " + NAME_VALUE_TABLE + " (" + _ID + " INTEGER PRIMARY KEY," in onCreate()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvContractTest.java | 50 Channels._ID, 68 Programs._ID, 316 assertEquals(channelId, cursor.getLong(cursor.getColumnIndex(Channels._ID))); in verifyChannel() 338 Channels._ID, in verifyNonExistingColumn() 443 values.put(Channels._ID, channelId); in testChannelsTableForModifyIdAndPackageName() 446 values.put(Channels._ID, channelId + 1); in testChannelsTableForModifyIdAndPackageName() 562 assertEquals(programId, cursor.getLong(cursor.getColumnIndex(Programs._ID))); in verifyProgram() 595 assertEquals(programId, cursor.getLong(cursor.getColumnIndex(PreviewPrograms._ID))); in verifyPreviewProgram() 1009 RecordedPrograms._ID))); in verifyRecordedProgram() 1132 final String[] projection = { Channels._ID }; in testAllEpgPermissionBlocksSortOrderOnQuery_Channels() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
D | CreatePrivateDataTest.java | 173 static final String _ID = "_id"; field in CreatePrivateDataTest.TestDatabaseOpenHelper 182 + _ID + " INTEGER PRIMARY KEY AUTOINCREMENT, " in onCreate()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | DefaultDialerOperationsTest.java | 95 Voicemails._ID + "=999 AND 1=2", null); in testVoicemailReadWritePermissions() 114 Voicemails._ID + "=999 AND 1=2", null); in testVoicemailReadWritePermissions()
|