Home
last modified time | relevance | path

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

1234

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_SearchSnippetsTest.java46 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 …]
DContactsContract_AggregationSuggestionsTest.java37 = 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()
DContactsContract_PhoneLookup.java145 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()
DContactsContract_TestDataBuilder.java51 BaseColumns._ID,
54 int _ID = 0; field
77 mId = cursor.getInt(IdQuery._ID); in getId()
194 mId = mCursor.getLong(getColumnIndex(BaseColumns._ID)); in loadUsingValues()
310 return with(Contacts._ID, mRawContact.getContactId()).loadUsingValues(); in load()
346 return getLong(Data._ID); in getId()
DContactsTest.java85 People._ID, in testPeopleTable()
168 Groups._ID, Groups.NAME, Groups.NOTES, in testGroupsTable()
189 GROUPS_PROJECTION, Groups._ID + " = ?", in testGroupsTable()
205 Groups._ID + " = " + id, null, null, null); in testGroupsTable()
225 Photos._ID, Photos.EXISTS_ON_SERVER, Photos.PERSON_ID, in testPhotosTable()
271 Phones._ID, Phones.PERSON_ID, Phones.TYPE, Phones.NUMBER, in testPhonesTable()
351 Organizations._ID, Organizations.COMPANY, Organizations.TITLE, in testOrganizationsTable()
439 Calls._ID, Calls.NUMBER, Calls.DATE, Calls.DURATION, Calls.TYPE, in testCallsTable()
536 Calls._ID + " = " + id, null, null, null); in testCallsTable()
560 mCallLogProvider.delete(Calls.CONTENT_URI, Calls._ID + " = " + id, null); in testCallsTable()
[all …]
DContactsContract_FrequentsStrequentsTest.java50 Contacts._ID,
87 Data._ID,
374 sb.append(Contacts._ID + " in "); in assertCursorStoredValuesWithContactsFilter()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_Audio_Genres_MembersTest.java81 mAudioIdOfJam = c.getLong(c.getColumnIndex(Media._ID)); in setUp()
87 mAudioIdOfJamLive = c.getLong(c.getColumnIndex(Media._ID)); in setUp()
96 Media._ID + "=" + mAudioIdOfJam, null); in tearDown()
98 Media._ID + "=" + mAudioIdOfJamLive, null); in tearDown()
119 long genreId = c.getLong(c.getColumnIndex(Genres._ID)); in testStoreAudioGenresMembersExternal()
142 assertEquals(mAudioIdOfJam, c.getLong(c.getColumnIndex(Members._ID))); in testStoreAudioGenresMembersExternal()
189 Members._ID + "=?", new String[]{Long.toString(mAudioIdOfJam)}, null); in testStoreAudioGenresMembersExternal()
192 assertEquals(mAudioIdOfJam, c.getLong(c.getColumnIndex(Members._ID))); in testStoreAudioGenresMembersExternal()
227 genre2Id = c.getLong(c.getColumnIndex(Genres._ID)); in testStoreAudioGenresMembersExternal()
293 Media._ID + "=" + mAudioIdOfJam, null); in testStoreAudioGenresMembersExternal()
[all …]
DMediaStore_Audio_Playlists_MembersTest.java60 Members._ID,
86 Members._ID,
135 long id = c.getLong(c.getColumnIndex(Media._ID)); in insertAudioItem()
157 mContentResolver.delete(uri, Media._ID + "=" + mIdOfAudio1, null); in tearDown()
158 mContentResolver.delete(uri, Media._ID + "=" + mIdOfAudio2, null); in tearDown()
159 mContentResolver.delete(uri, Media._ID + "=" + mIdOfAudio3, null); in tearDown()
160 mContentResolver.delete(uri, Media._ID + "=" + mIdOfAudio4, null); in tearDown()
161 mContentResolver.delete(uri, Media._ID + "=" + mIdOfAudio5, null); in tearDown()
231 long playlistId = c.getLong(c.getColumnIndex(Playlists._ID)); in testStoreAudioPlaylistsMembersExternal()
250 long memberId = c.getLong(c.getColumnIndex(Members._ID)); in testStoreAudioPlaylistsMembersExternal()
[all …]
DMediaStore_Images_ThumbnailsTest.java205 new String[]{Media._ID, Media.DATA}, null, null, null); in testQueryExternalMiniThumbnails()
207 long imageId = c.getLong(c.getColumnIndex(Media._ID)); in testQueryExternalMiniThumbnails()
230 new String[]{Media._ID, Media.DATA}, null, null, null); in testQueryExternalMiniThumbnails()
232 imageId = c.getLong(c.getColumnIndex(Media._ID)); in testQueryExternalMiniThumbnails()
276 long id = c.getLong(c.getColumnIndex(Thumbnails._ID)); in testStoreImagesMediaExternal()
399 MediaColumns._ID + order); in testThumbnailOrderedQuery()
401 long id = c.getLong(c.getColumnIndex(MediaColumns._ID)); in testThumbnailOrderedQuery()
DMediaStore_Audio_GenresTest.java95 assertTrue(c.getLong(c.getColumnIndex(Genres._ID)) > 0); in testStoreAudioGenresExternal()
135 assertEquals(genreId, cursor.getLong(cursor.getColumnIndex(Genres._ID))); in testGetContentUriForAudioId()
DMediaStore_Audio_ArtistsTest.java100 long id = c.getLong(c.getColumnIndex(Artists._ID)); in testStoreAudioArtists()
131 long fid = c.getLong(c.getColumnIndex(Artists._ID)); in testStoreAudioArtists()
DMediaStore_Audio_Artists_AlbumsTest.java109 assertFalse(c.isNull(c.getColumnIndex(Albums._ID))); in testStoreAudioArtistsAlbums()
193 assertThat(c.isNull(c.getColumnIndex(Albums._ID))).isFalse(); in testDifferentArtistInSameAlbum()
210 assertThat(c.isNull(c.getColumnIndex(Albums._ID))).isFalse(); in testDifferentArtistInSameAlbum()
227 assertThat(c.isNull(c.getColumnIndex(Albums._ID))).isFalse(); in testDifferentArtistInSameAlbum()
/cts/hostsidetests/appcloning/test-apps/AppCloningContactsSharingApps/CloneProfileAppWithLaunchableActivity/src/com/android/cts/launchable/cloneprofile/contacts/app/
DCloneContactsSharingTest.java146 ContactsContract.RawContacts._ID, in getAllRawContactsForTestAccount()
155 new String[]{ContactsContract.Data._ID}, in getAllDataTableIds()
245 new HashSet<>(List.of(ContactsContract.RawContacts._ID))); in testCloneContactsProviderInsert_rawContacts_doesNotInsertActually()
266 new HashSet<>(List.of(ContactsContract.RawContacts._ID))); in testCloneContactsProviderBulkInsert_rawContacts_noContactsInserted()
290 new HashSet<>(List.of(ContactsContract.RawContacts._ID))); in testCloneContactsProviderApplyBatch_rawContacts_noContactsInserted()
292 new HashSet<>(List.of(ContactsContract.Data._ID))); in testCloneContactsProviderApplyBatch_rawContacts_noContactsInserted()
306 ContactsContract.RawContacts._ID, in testCloneContactsProviderUpdates_rawContactsUpdate_doesNotUpdateActually()
377 ContactsContract.RawContacts._ID, in testCloneContactsProviderReads_rawContactsReads_redirectsToPrimary()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
DEntity.java52 if (field.mName.equals(BaseColumns._ID)) { in createEntitySql()
76 addFieldInternal(BaseColumns._ID, Cursor.FIELD_TYPE_INTEGER); in Builder()
/cts/tests/tests/provider/src/android/provider/cts/
DMockFontProvider.java181 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()
/cts/tests/JobScheduler/src/android/jobscheduler/
DDummyJobContentProvider.java43 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/JobSchedulerSharedUid/src/android/jobscheduler/
DDummyJobContentProvider.java43 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/PhotoPicker/src/android/photopicker/cts/
DActionUserSelectImagesForAppTest.java192 new String[]{MediaStore.MediaColumns._ID}, null, null)) { in testNoCloudContent() argument
196 assertThat(c.getLong(c.getColumnIndexOrThrow(MediaStore.MediaColumns._ID))) in testNoCloudContent()
199 assertThat(c.getLong(c.getColumnIndexOrThrow(MediaStore.MediaColumns._ID))) in testNoCloudContent()
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DLockedMessageTest.java89 assertThat(cursor.getColumnNames()).isEqualTo(new String[]{Telephony.BaseMmsColumns._ID}); in testLockedMessage_atMostOneLockedMessage()
90 assertThat(cursor.getInt(cursor.getColumnIndex(Telephony.BaseMmsColumns._ID))) in testLockedMessage_atMostOneLockedMessage()
92 assertThat(cursor.getInt(cursor.getColumnIndex(Telephony.BaseMmsColumns._ID))) in testLockedMessage_atMostOneLockedMessage()
/cts/hostsidetests/appcloning/test-apps/AppCloningContactsSharingApps/CloneProfileAppWithoutLaunchableActivity/src/com/android/cts/cloneprofile/contacts/app/
DCloneContactsProviderDataTest.java49 new String[]{ContactsContract.RawContacts._ID}, in testCloneContactsProvider_rawContactsIsEmpty()
/cts/tests/tests/content/src/android/content/cts/
DDummyProvider.java53 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/
DTvContractTest.java52 Channels._ID,
76 Programs._ID,
344 assertEquals(channelId, cursor.getLong(cursor.getColumnIndex(Channels._ID))); in verifyChannel()
372 Channels._ID, in verifyNonExistingColumn()
482 values.put(Channels._ID, channelId); in testChannelsTableForModifyIdAndPackageName()
485 values.put(Channels._ID, channelId + 1); in testChannelsTableForModifyIdAndPackageName()
765 assertEquals(programId, cursor.getLong(cursor.getColumnIndex(Programs._ID))); in verifyProgram()
801 assertEquals(programId, cursor.getLong(cursor.getColumnIndex(PreviewPrograms._ID))); in verifyPreviewProgram()
1221 RecordedPrograms._ID))); in verifyRecordedProgram()
1348 final String[] projection = { Channels._ID }; in testAllEpgPermissionBlocksSortOrderOnQuery_Channels()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DVoicemailContractTest.java91 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()
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DCreatePrivateDataTest.java173 static final String _ID = "_id"; field in CreatePrivateDataTest.TestDatabaseOpenHelper
182 + _ID + " INTEGER PRIMARY KEY AUTOINCREMENT, " in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java55 static final String _ID = "_id"; field in TestResultsProvider
223 query.appendWhere(_ID); in query()
285 String idSelection = _ID + "=" + uri.getPathSegments().get(1); in update()
448 + _ID + " INTEGER PRIMARY KEY AUTOINCREMENT, " in onCreate()

1234