/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_SearchSnippetsTest.java | 46 Contacts._ID, 94 expected.put(Contacts._ID, ids[1]); in testSearchSnippets_MatchEmailAddressCorrectSnippet() 105 expected.put(Contacts._ID, ids[0]); in testSearchSnippets_MatchPhoneNumberCorrectSnippet() 116 expected.put(Contacts._ID, ids[2]); in testSearchSnippets_MatchPostalAddressCorrectSnippet() 127 expected.put(Contacts._ID, ids[2]); in testSearchSnippets_LongMatchTruncation() 138 expected.put(Contacts._ID, ids[1]); in testSearchSnippets_MultipleMatchesCorrectSnippet() 142 expected2.put(Contacts._ID, ids[2]); in testSearchSnippets_MultipleMatchesCorrectSnippet() 160 expected.put(Contacts._ID, ids[0]); in testSearchSnippets_DeferredSnippetingSingleWordQuerySnippetDeferred() 177 expected.put(Contacts._ID, ids[2]); in testSearchSnippets_DeferredSnippetingMultiWordQuerySnippetNotDeferred() 198 sb.append(Contacts._ID + " in "); in assertCursorStoredValuesWithContactsFilter()
|
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 | ContactsContract_AggregationSuggestionsTest.java | 38 = new String[] {Contacts.DISPLAY_NAME, Contacts._ID}; 74 values.put(Contacts._ID, contactIds[0]); in testAggregationSuggestionsByNameReversed() 96 values.put(Contacts._ID, contactIds[0]); in testAggregationSuggestionsByName() 112 uri, new String[] { Contacts._ID, Contacts.DISPLAY_NAME }, null, null, null); in testAggregationSuggestionsByName_noMatch() 133 values.put(Contacts._ID, contactIds[1]); in testAggregationSuggestionsByName_matchSecondNameParameter() 154 values.put(Contacts._ID, contactIds[1]); in testAggregationSuggestionsByName_matchFirstNameParameter()
|
D | MediaStore_Images_ThumbnailsTest.java | 131 new String[]{ Media._ID, Media.DATA }, null, null, null); in testQueryExternalMiniThumbnails() 133 long imageId = c.getLong(c.getColumnIndex(Media._ID)); in testQueryExternalMiniThumbnails() 156 new String[] { Thumbnails._ID, Thumbnails.DATA, Thumbnails.IMAGE_ID}); in testQueryExternalMiniThumbnails() 173 new String[] { Thumbnails._ID, Thumbnails.DATA, Thumbnails.IMAGE_ID}); in testQueryExternalMiniThumbnails() 183 new String[]{ Media._ID, Media.DATA}, null, null, null); in testQueryExternalMiniThumbnails() 185 imageId = c.getLong(c.getColumnIndex(Media._ID)); in testQueryExternalMiniThumbnails() 197 new String[]{ Media._ID, Media.DATA}, null, null, null); in testQueryExternalMiniThumbnails() 199 imageId = c.getLong(c.getColumnIndex(Media._ID)); in testQueryExternalMiniThumbnails() 203 new String[] { Thumbnails._ID, Thumbnails.DATA, Thumbnails.IMAGE_ID}); in testQueryExternalMiniThumbnails() 253 long id = c.getLong(c.getColumnIndex(Thumbnails._ID)); in testStoreImagesMediaExternal() [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 | VoicemailContractTest.java | 64 Voicemails._ID, Voicemails.NUMBER, Voicemails.DATE, Voicemails.DURATION, in testVoicemailsTable() 126 Voicemails._ID + " = " + id, null, null, null); in testVoicemailsTable() 137 mVoicemailProvider.delete(mVoicemailContentUri, Voicemails._ID + " = " + id, null); in testVoicemailsTable() 139 Voicemails._ID + " = " + id, null, null, null); in testVoicemailsTable() 206 Status._ID, Status.SOURCE_PACKAGE, Status.CONFIGURATION_STATE, in testStatusTable() 271 Voicemails._ID + " = " + id, null, null, null); in testStatusTable() 284 mStatusProvider.delete(mStatusContentUri, Voicemails._ID + " = " + id, null); in testStatusTable() 286 Voicemails._ID + " = " + id, null, null, null); in testStatusTable()
|
D | ContactsContract_PhoneLookup.java | 146 expected.put(PhoneLookup._ID, ids[0].contactId); in testPhoneLookup_found1() 163 expected.put(PhoneLookup._ID, ids[1].contactId); in testPhoneLookup_found2() 206 expected.put(PhoneLookup._ID, ids[0].contactId); in testPhoneLookupEnterprise_found1() 223 expected.put(PhoneLookup._ID, ids[1].contactId); in testPhoneLookupEnterprise_found2() 239 expected.put(PhoneLookup._ID, ids[2].dataId); in testPhoneLookupEnterprise_sip_found() 252 sb.append(Contacts._ID + " in "); in assertCursorStoredValuesWithContactsFilter()
|
D | ContactsContract_TestDataBuilder.java | 54 BaseColumns._ID, 57 int _ID = 0; field 79 mId = cursor.getInt(IdQuery._ID); in getId() 193 mId = mCursor.getLong(getColumnIndex(BaseColumns._ID)); in loadUsingValues() 302 return with(Contacts._ID, mRawContact.getContactId()).loadUsingValues(); in load() 338 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 | 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 | 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 | Contacts_PeopleTest.java | 52 People._ID, 59 Groups._ID, 212 Groups._ID + "=" + id, null, null, null); in testAddToGroup()
|
D | UserDictionary_WordsTest.java | 39 UserDictionary.Words._ID,
|
D | MediaStore_Images_MediaTest.java | 257 long id = c.getLong(c.getColumnIndex(Media._ID)); in testStoreImagesMediaExternal() 303 assertEquals(id, c.getLong(c.getColumnIndex(Media._ID))); in testStoreImagesMediaExternal() 342 Cursor c = mContentResolver.query(Uri.parse(stringUrl), new String[]{ Media._ID }, null, 345 long imageId = c.getLong(c.getColumnIndex(Media._ID));
|
D | ContactsContract_FrequentsStrequentsTest.java | 52 Contacts._ID, 89 Data._ID, 386 sb.append(Contacts._ID + " in "); in assertCursorStoredValuesWithContactsFilter()
|
D | MediaStore_Audio_AlbumsTest.java | 95 long id = c.getLong(c.getColumnIndex(Albums._ID)); in testStoreAudioAlbums() 146 long fid = c.getLong(c.getColumnIndex(Albums._ID)); in testStoreAudioAlbums()
|
/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/tests/tv/src/android/media/tv/cts/ |
D | TvContractTest.java | 47 TvContract.Channels._ID, 64 TvContract.Programs._ID, 130 String[] projection = { TvContract.Channels._ID }; in tearDown() 251 assertEquals(channelId, cursor.getLong(cursor.getColumnIndex(TvContract.Channels._ID))); in verifyChannel() 307 assertEquals(programId, cursor.getLong(cursor.getColumnIndex(TvContract.Programs._ID))); in verifyProgram() 531 RecordedPrograms._ID))); in verifyRecordedProgram() 652 final String[] projection = { TvContract.Channels._ID }; in testAllEpgPermissionBlocksSortOrderOnQuery_Channels() 654 TvContract.Channels._ID + " ASC"); in testAllEpgPermissionBlocksSortOrderOnQuery_Channels() 661 final String[] projection = { TvContract.Channels._ID }; in testAllEpgPermissionBlocksSelectionOnQuery_Channels() 663 TvContract.Channels._ID + ">0"); in testAllEpgPermissionBlocksSelectionOnQuery_Channels() [all …]
|
/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/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()
|
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
D | CreatePrivateDataTest.java | 244 static final String _ID = "_id"; field in CreatePrivateDataTest.TestDatabaseOpenHelper 253 + _ID + " INTEGER PRIMARY KEY AUTOINCREMENT, " in onCreate()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ContactsTest.java | 517 Directory._ID, in testGetDirectoryListInPrimaryProfile() 907 new String[]{Directory._ID}, null, null, null); in testPrimaryProfileEnterpriseDirectories_canNotAccessManagedDirectories() 947 cursor.getLong(cursor.getColumnIndex(ContactsContract.PhoneLookup._ID)); in showQuickContactInternal() 978 Directory._ID in getRemoteDirectoryIdInternal() 1005 Directory._ID in getEnterpriseRemoteDirectoryIdSliently() 1143 ContactInfo contactInfo = getContactInfoFromUri(uri, PhoneLookup._ID, in getContactInfoFromPhoneLookupUri() 1169 return getContactInfoFromUri(uri, PhoneLookup._ID, PhoneLookup.DISPLAY_NAME, in getContactInfoFromEnterprisePhoneLookupUriInDirectory() 1213 return getContactInfoFromUri(uri, Contacts._ID, Contacts.DISPLAY_NAME_PRIMARY, in getContactInfoFromEnterpriseContactFilterUriInDirectory()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | AppLinkTestActivity.java | 49 String[] projection = { TvContract.Channels._ID }; in onClick()
|