/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 | 51 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()
|
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 | 50 Contacts._ID, 87 Data._ID, 374 sb.append(Contacts._ID + " in "); in assertCursorStoredValuesWithContactsFilter()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Audio_Playlists_MembersTest.java | 59 Members._ID, 85 Members._ID, 134 long id = c.getLong(c.getColumnIndex(Media._ID)); in insertAudioItem() 156 mContentResolver.delete(uri, Media._ID + "=" + mIdOfAudio1, null); in tearDown() 157 mContentResolver.delete(uri, Media._ID + "=" + mIdOfAudio2, null); in tearDown() 158 mContentResolver.delete(uri, Media._ID + "=" + mIdOfAudio3, null); in tearDown() 159 mContentResolver.delete(uri, Media._ID + "=" + mIdOfAudio4, null); in tearDown() 160 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 …]
|
D | MediaStore_Audio_Genres_MembersTest.java | 81 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() 118 long genreId = c.getLong(c.getColumnIndex(Genres._ID)); in testStoreAudioGenresMembersExternal() 141 assertEquals(mAudioIdOfJam, c.getLong(c.getColumnIndex(Members._ID))); in testStoreAudioGenresMembersExternal() 188 Members._ID + "=?", new String[] {Long.toString(mAudioIdOfJam)}, null); in testStoreAudioGenresMembersExternal() 191 assertEquals(mAudioIdOfJam, c.getLong(c.getColumnIndex(Members._ID))); in testStoreAudioGenresMembersExternal() 226 genre2Id = c.getLong(c.getColumnIndex(Genres._ID)); in testStoreAudioGenresMembersExternal() 291 Media._ID + "=" + mAudioIdOfJam, null); in testStoreAudioGenresMembersExternal() [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_Images_ThumbnailsTest.java | 204 new String[]{ Media._ID, Media.DATA }, null, null, null); in testQueryExternalMiniThumbnails() 206 long imageId = c.getLong(c.getColumnIndex(Media._ID)); in testQueryExternalMiniThumbnails() 229 new String[]{ Media._ID, Media.DATA}, null, null, null); in testQueryExternalMiniThumbnails() 231 imageId = c.getLong(c.getColumnIndex(Media._ID)); in testQueryExternalMiniThumbnails() 275 long id = c.getLong(c.getColumnIndex(Thumbnails._ID)); in testStoreImagesMediaExternal() 398 MediaColumns._ID + order); in testThumbnailOrderedQuery() 400 long id = c.getLong(c.getColumnIndex(MediaColumns._ID)); in testThumbnailOrderedQuery()
|
D | MediaStore_Audio_ArtistsTest.java | 99 long id = c.getLong(c.getColumnIndex(Artists._ID)); in testStoreAudioArtists() 130 long fid = c.getLong(c.getColumnIndex(Artists._ID)); in testStoreAudioArtists()
|
D | MediaStore_Audio_GenresTest.java | 95 assertTrue(c.getLong(c.getColumnIndex(Genres._ID)) > 0); in testStoreAudioGenresExternal() 134 assertEquals(genreId, cursor.getLong(cursor.getColumnIndex(Genres._ID))); in testGetContentUriForAudioId()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvContractTest.java | 50 Channels._ID, 68 Programs._ID, 317 assertEquals(channelId, cursor.getLong(cursor.getColumnIndex(Channels._ID))); in verifyChannel() 339 Channels._ID, in verifyNonExistingColumn() 449 values.put(Channels._ID, channelId); in testChannelsTableForModifyIdAndPackageName() 452 values.put(Channels._ID, channelId + 1); in testChannelsTableForModifyIdAndPackageName() 569 assertEquals(programId, cursor.getLong(cursor.getColumnIndex(Programs._ID))); in verifyProgram() 602 assertEquals(programId, cursor.getLong(cursor.getColumnIndex(PreviewPrograms._ID))); in verifyPreviewProgram() 1016 RecordedPrograms._ID))); in verifyRecordedProgram() 1139 final String[] projection = { Channels._ID }; in testAllEpgPermissionBlocksSortOrderOnQuery_Channels() [all …]
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/ |
D | Entity.java | 52 if (field.mName.equals(BaseColumns._ID)) { in createEntitySql() 76 addFieldInternal(BaseColumns._ID, Cursor.FIELD_TYPE_INTEGER); in Builder()
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | LockedMessageTest.java | 86 assertThat(cursor.getColumnNames()).isEqualTo(new String[]{Telephony.BaseMmsColumns._ID}); in testLockedMessage_atMostOneLockedMessage() 87 assertThat(cursor.getInt(cursor.getColumnIndex(Telephony.BaseMmsColumns._ID))) in testLockedMessage_atMostOneLockedMessage() 89 assertThat(cursor.getInt(cursor.getColumnIndex(Telephony.BaseMmsColumns._ID))) in testLockedMessage_atMostOneLockedMessage()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 51 static final String _ID = "_id"; field in TestResultsProvider 176 query.appendWhere(_ID); in query() 238 String idSelection = _ID + "=" + uri.getPathSegments().get(1); in update() 401 + _ID + " INTEGER PRIMARY KEY AUTOINCREMENT, " 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/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/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/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/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ContactsTest.java | 521 Directory._ID, in testGetDirectoryListInPrimaryProfile() 914 new String[]{Directory._ID}, null, null, null); in testPrimaryProfileEnterpriseDirectories_canNotAccessManagedDirectories() 954 cursor.getLong(cursor.getColumnIndex(ContactsContract.PhoneLookup._ID)); in showQuickContactInternal() 985 Directory._ID, Directory.DIRECTORY_AUTHORITY in getRemoteDirectoryIdInternal() 1014 Directory._ID, Directory.DIRECTORY_AUTHORITY in getEnterpriseRemoteDirectoryIdSliently() 1154 ContactInfo contactInfo = getContactInfoFromUri(uri, PhoneLookup._ID, in getContactInfoFromPhoneLookupUri() 1180 return getContactInfoFromUri(uri, PhoneLookup._ID, PhoneLookup.DISPLAY_NAME, in getContactInfoFromEnterprisePhoneLookupUriInDirectory() 1224 return getContactInfoFromUri(uri, Contacts._ID, Contacts.DISPLAY_NAME_PRIMARY, in getContactInfoFromEnterpriseContactFilterUriInDirectory()
|
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
D | MediaStorageTest.java | 150 new String[] { MediaColumns._ID }, null, null)) { in doSandboxed() argument 199 new String[] { MediaColumns._ID }, null, null)) { in doMediaNone() argument 236 new String[] { MediaColumns._ID }, null, null)) { in doMediaRead() argument 271 new String[] { MediaColumns._ID }, null, null)) { in doMediaWrite() argument
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | DefaultDialerOperationsTest.java | 157 Voicemails._ID + "=999 AND 1=2", null); in testVoicemailReadWritePermissions() 176 Voicemails._ID + "=999 AND 1=2", null); in testVoicemailReadWritePermissions()
|