Home
last modified time | relevance | path

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

12

/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_SearchSnippetsTest.java46 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()
DContactsContract_AggregationSuggestionsTest.java38 = 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()
DMediaStore_Audio_Genres_MembersTest.java47 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 …]
DMediaStore_Images_ThumbnailsTest.java131 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 …]
DMediaStore_Audio_Playlists_MembersTest.java40 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 …]
DContactsContract_PhoneLookup.java118 expected.put(PhoneLookup._ID, ids[0]); in testPhoneLookup_found1()
133 expected.put(PhoneLookup._ID, ids[1]); in testPhoneLookup_found2()
159 expected.put(PhoneLookup._ID, ids[0]); in testPhoneLookupEnterprise_found1()
174 expected.put(PhoneLookup._ID, ids[1]); in testPhoneLookupEnterprise_found2()
185 sb.append(Contacts._ID + " in "); in assertCursorStoredValuesWithContactsFilter()
DVoicemailContractTest.java64 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()
258 Voicemails._ID + " = " + id, null, null, null); in testStatusTable()
269 mStatusProvider.delete(mStatusContentUri, Voicemails._ID + " = " + id, null); in testStatusTable()
271 Voicemails._ID + " = " + id, null, null, null); in testStatusTable()
DContactsContract_TestDataBuilder.java54 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()
DContactsTest.java70 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()
510 Calls._ID + " = " + id, null, null, null); in testCallsTable()
533 mCallLogProvider.delete(Calls.CONTENT_URI, Calls._ID + " = " + id, null); in testCallsTable()
[all …]
DMediaStore_Audio_ArtistsTest.java85 long id = c.getLong(c.getColumnIndex(Artists._ID)); in testStoreAudioArtists()
116 long fid = c.getLong(c.getColumnIndex(Artists._ID)); in testStoreAudioArtists()
DMediaStore_Audio_GenresTest.java75 assertTrue(c.getLong(c.getColumnIndex(Genres._ID)) > 0); in testStoreAudioGenresExternal()
133 assertEquals(genreId, cursor.getLong(cursor.getColumnIndex(Genres._ID))); in testGetContentUriForAudioId()
DSettingsTest.java35 Settings.System._ID, Settings.System.NAME, Settings.System.VALUE in testSystemTable()
102 Settings.Secure._ID, Settings.Secure.NAME, Settings.Secure.VALUE in testSecureTable()
DMediaStore_Audio_MediaTest.java94 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()
DContacts_PeopleTest.java52 People._ID,
59 Groups._ID,
212 Groups._ID + "=" + id, null, null, null); in testAddToGroup()
DMediaStore_Images_MediaTest.java242 long id = c.getLong(c.getColumnIndex(Media._ID)); in testStoreImagesMediaExternal()
288 assertEquals(id, c.getLong(c.getColumnIndex(Media._ID))); in testStoreImagesMediaExternal()
327 Cursor c = mContentResolver.query(Uri.parse(stringUrl), new String[]{ Media._ID }, null,
330 long imageId = c.getLong(c.getColumnIndex(Media._ID));
DContactsContract_FrequentsStrequentsTest.java52 Contacts._ID,
89 Data._ID,
386 sb.append(Contacts._ID + " in "); in assertCursorStoredValuesWithContactsFilter()
DMediaStore_Audio_AlbumsTest.java95 long id = c.getLong(c.getColumnIndex(Albums._ID)); in testStoreAudioAlbums()
146 long fid = c.getLong(c.getColumnIndex(Albums._ID)); in testStoreAudioAlbums()
DUserDictionary_WordsTest.java35 UserDictionary.Words._ID,
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java46 TvContract.Channels._ID,
63 TvContract.Programs._ID,
117 String[] projection = { TvContract.Channels._ID }; in tearDown()
196 assertEquals(channelId, cursor.getLong(cursor.getColumnIndex(TvContract.Channels._ID))); in verifyChannel()
252 assertEquals(programId, cursor.getLong(cursor.getColumnIndex(TvContract.Programs._ID))); in verifyProgram()
450 final String[] projection = { TvContract.Channels._ID }; in testAllEpgPermissionBlocksSortOrderOnQuery_Channels()
452 TvContract.Channels._ID + " ASC"); in testAllEpgPermissionBlocksSortOrderOnQuery_Channels()
459 final String[] projection = { TvContract.Channels._ID }; in testAllEpgPermissionBlocksSelectionOnQuery_Channels()
461 TvContract.Channels._ID + ">0"); in testAllEpgPermissionBlocksSelectionOnQuery_Channels()
469 TvContract.Channels._ID + ">0"); in testAllEpgPermissionBlocksSelectionOnUpdate_Channels()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java51 static final String _ID = "_id"; field in TestResultsProvider
104 + _ID + " INTEGER PRIMARY KEY AUTOINCREMENT, " in onCreate()
131 query.appendWhere(_ID); in query()
167 String idSelection = _ID + "=" + uri.getPathSegments().get(1); in update()
/cts/tests/tests/content/src/android/content/cts/
DDummyProvider.java56 public static final String _ID = "_id"; field in DummyProvider
85 db.execSQL("CREATE TABLE " + NAME_VALUE_TABLE + " (" + _ID + " INTEGER PRIMARY KEY," in onCreate()
/cts/tests/tests/telecom/src/android/telecom/cts/
DDefaultDialerOperationsTest.java95 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/
DCreatePrivateDataTest.java248 static final String _ID = "_id"; field in CreatePrivateDataTest.TestDatabaseOpenHelper
257 + _ID + " INTEGER PRIMARY KEY AUTOINCREMENT, " in onCreate()
/cts/tests/tests/calllog/src/android/calllog/cts/
DCallLogBackupTest.java66 CallLog.Calls._ID,
240 call.id = cursor.getInt(cursor.getColumnIndex(Calls._ID)); in getCalls()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactUtil.java49 ContactsContract.Contacts._ID in recordExistsForContactId()

12