/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStore_Audio_Artists_AlbumsTest.java | 92 Long artistId = c.getLong(c.getColumnIndex(Media.ARTIST_ID)); in testStoreAudioArtistsAlbums() 109 assertFalse(c.isNull(c.getColumnIndex(Albums._ID))); in testStoreAudioArtistsAlbums() 110 assertFalse(c.isNull(c.getColumnIndex(Albums.ALBUM_ID))); in testStoreAudioArtistsAlbums() 111 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Albums.ALBUM))); in testStoreAudioArtistsAlbums() 112 assertNull(c.getString(c.getColumnIndex(Albums.ALBUM_ART))); in testStoreAudioArtistsAlbums() 113 assertNotNull(c.getString(c.getColumnIndex(Albums.ALBUM_KEY))); in testStoreAudioArtistsAlbums() 114 assertFalse(c.isNull(c.getColumnIndex(Albums.ARTIST_ID))); in testStoreAudioArtistsAlbums() 115 assertEquals(Audio1.ARTIST, c.getString(c.getColumnIndex(Albums.ARTIST))); in testStoreAudioArtistsAlbums() 116 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Albums.FIRST_YEAR))); in testStoreAudioArtistsAlbums() 117 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Albums.LAST_YEAR))); in testStoreAudioArtistsAlbums() [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() 119 long genreId = c.getLong(c.getColumnIndex(Genres._ID)); in testStoreAudioGenresMembersExternal() 140 assertEquals(mAudioIdOfJam, c.getLong(c.getColumnIndex(Members.AUDIO_ID))); in testStoreAudioGenresMembersExternal() 141 assertEquals(genreId, c.getLong(c.getColumnIndex(Members.GENRE_ID))); in testStoreAudioGenresMembersExternal() 142 assertEquals(mAudioIdOfJam, c.getLong(c.getColumnIndex(Members._ID))); in testStoreAudioGenresMembersExternal() 145 assertEquals(expected1, c.getString(c.getColumnIndex(Members.DATA))); in testStoreAudioGenresMembersExternal() 146 assertTrue(c.getLong(c.getColumnIndex(Members.DATE_ADDED)) > 0); in testStoreAudioGenresMembersExternal() 147 assertEquals(Audio1.DATE_MODIFIED, c.getLong(c.getColumnIndex(Members.DATE_MODIFIED))); in testStoreAudioGenresMembersExternal() 148 assertEquals(Audio1.DISPLAY_NAME, c.getString(c.getColumnIndex(Members.DISPLAY_NAME))); in testStoreAudioGenresMembersExternal() [all …]
|
D | MediaStore_Audio_Playlists_MembersTest.java | 135 long id = c.getLong(c.getColumnIndex(Media._ID)); in insertAudioItem() 205 members[pos], c.getInt(c.getColumnIndex(Members.AUDIO_ID))); in verifyPlaylist() 209 ordering[pos], c.getInt(c.getColumnIndex(Members.PLAY_ORDER))); in verifyPlaylist() 231 long playlistId = c.getLong(c.getColumnIndex(Playlists._ID)); in testStoreAudioPlaylistsMembersExternal() 250 long memberId = c.getLong(c.getColumnIndex(Members._ID)); in testStoreAudioPlaylistsMembersExternal() 254 assertEquals(expected1, c.getString(c.getColumnIndex(Members.DATA))); in testStoreAudioPlaylistsMembersExternal() 255 assertTrue(c.getLong(c.getColumnIndex(Members.DATE_ADDED)) > 0); in testStoreAudioPlaylistsMembersExternal() 256 assertEquals(Audio1.DATE_MODIFIED, c.getLong(c.getColumnIndex(Members.DATE_MODIFIED))); in testStoreAudioPlaylistsMembersExternal() 257 assertEquals(Audio1.DISPLAY_NAME, c.getString(c.getColumnIndex(Members.DISPLAY_NAME))); in testStoreAudioPlaylistsMembersExternal() 258 assertEquals(Audio1.MIME_TYPE, c.getString(c.getColumnIndex(Members.MIME_TYPE))); in testStoreAudioPlaylistsMembersExternal() [all …]
|
D | MediaStore_Audio_MediaTest.java | 137 long id = c.getLong(c.getColumnIndex(Media._ID)); in testStoreAudioMedia() 140 assertEquals(expected, c.getString(c.getColumnIndex(Media.DATA))); in testStoreAudioMedia() 141 assertTrue(c.getLong(c.getColumnIndex(Media.DATE_ADDED)) > 0); in testStoreAudioMedia() 142 assertEquals(Audio1.DATE_MODIFIED, c.getLong(c.getColumnIndex(Media.DATE_MODIFIED))); in testStoreAudioMedia() 143 assertEquals(Audio1.DISPLAY_NAME, c.getString(c.getColumnIndex(Media.DISPLAY_NAME))); in testStoreAudioMedia() 144 assertEquals(Audio1.MIME_TYPE, c.getString(c.getColumnIndex(Media.MIME_TYPE))); in testStoreAudioMedia() 145 assertEquals(Audio1.SIZE, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreAudioMedia() 146 assertEquals(Audio1.TITLE, c.getString(c.getColumnIndex(Media.TITLE))); in testStoreAudioMedia() 147 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Media.ALBUM))); in testStoreAudioMedia() 148 String albumKey = c.getString(c.getColumnIndex(Media.ALBUM_KEY)); in testStoreAudioMedia() [all …]
|
D | MediaStore_Video_MediaTest.java | 159 long id = c.getLong(c.getColumnIndex(Media._ID)); in testStoreVideoMediaExternal() 161 assertEquals("cts", c.getString(c.getColumnIndex(Media.ALBUM))); in testStoreVideoMediaExternal() 162 assertEquals("cts team", c.getString(c.getColumnIndex(Media.ARTIST))); in testStoreVideoMediaExternal() 163 assertEquals("test", c.getString(c.getColumnIndex(Media.CATEGORY))); in testStoreVideoMediaExternal() 164 assertEquals(dateTaken, c.getLong(c.getColumnIndex(Media.DATE_TAKEN))); in testStoreVideoMediaExternal() 165 assertEquals(8480, c.getInt(c.getColumnIndex(Media.DURATION))); in testStoreVideoMediaExternal() 167 c.getString(c.getColumnIndex(Media.DESCRIPTION))); in testStoreVideoMediaExternal() 168 assertEquals("en", c.getString(c.getColumnIndex(Media.LANGUAGE))); in testStoreVideoMediaExternal() 169 assertEquals(1, c.getInt(c.getColumnIndex(Media.IS_PRIVATE))); in testStoreVideoMediaExternal() 170 assertEquals(0, c.getLong(c.getColumnIndex(Media.MINI_THUMB_MAGIC))); in testStoreVideoMediaExternal() [all …]
|
D | MediaStore_Images_MediaTest.java | 162 assertEquals(testTitle2, c.getString(c.getColumnIndex(Media.TITLE))); in testInsertImageWithImagePath() 163 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); in testInsertImageWithImagePath() 173 assertEquals(testTitle2, c.getString(c.getColumnIndex(Media.TITLE))); in testInsertImageWithImagePath() 174 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); in testInsertImageWithImagePath() 176 assertEquals(testTitle1, c.getString(c.getColumnIndex(Media.TITLE))); in testInsertImageWithImagePath() 177 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); in testInsertImageWithImagePath() 186 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); in testInsertImageWithImagePath() 212 Uri.fromFile(new File(c.getString(c.getColumnIndex(Media.DATA))))); in testInsertImageWithBitmap() 277 long id = c.getLong(c.getColumnIndex(Media._ID)); in testStoreImagesMediaExternal() 279 assertEquals(0, c.getInt(c.getColumnIndex(Media.ORIENTATION))); in testStoreImagesMediaExternal() [all …]
|
D | MediaStore_Audio_AlbumsTest.java | 111 long id = c.getLong(c.getColumnIndex(Albums._ID)); in testStoreAudioAlbums() 113 assertFalse(c.isNull(c.getColumnIndex(Albums.ALBUM_ID))); in testStoreAudioAlbums() 114 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Albums.ALBUM))); in testStoreAudioAlbums() 115 assertNull(c.getString(c.getColumnIndex(Albums.ALBUM_ART))); in testStoreAudioAlbums() 116 assertNotNull(c.getString(c.getColumnIndex(Albums.ALBUM_KEY))); in testStoreAudioAlbums() 117 assertFalse(c.isNull(c.getColumnIndex(Albums.ARTIST_ID))); in testStoreAudioAlbums() 118 assertEquals(Audio1.ARTIST, c.getString(c.getColumnIndex(Albums.ARTIST))); in testStoreAudioAlbums() 119 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Albums.FIRST_YEAR))); in testStoreAudioAlbums() 120 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Albums.LAST_YEAR))); in testStoreAudioAlbums() 121 assertEquals(1, c.getInt(c.getColumnIndex(Albums.NUMBER_OF_SONGS))); in testStoreAudioAlbums() [all …]
|
D | MediaStore_Audio_ArtistsTest.java | 99 assertEquals(Audio1.ARTIST, c.getString(c.getColumnIndex(Artists.ARTIST))); in testStoreAudioArtists() 100 long id = c.getLong(c.getColumnIndex(Artists._ID)); in testStoreAudioArtists() 102 assertNotNull(c.getString(c.getColumnIndex(Artists.ARTIST_KEY))); in testStoreAudioArtists() 103 assertEquals(1, c.getInt(c.getColumnIndex(Artists.NUMBER_OF_ALBUMS))); in testStoreAudioArtists() 104 assertEquals(1, c.getInt(c.getColumnIndex(Artists.NUMBER_OF_TRACKS))); in testStoreAudioArtists() 131 long fid = c.getLong(c.getColumnIndex(Artists._ID)); in testStoreAudioArtists()
|
D | MediaStore_Images_ThumbnailsTest.java | 165 assertEquals(Thumbnails.MINI_KIND, c.getInt(c.getColumnIndex(Thumbnails.KIND))); in testQueryExternalThumbnails() 166 assertEquals(path, c.getString(c.getColumnIndex(Thumbnails.DATA))); in testQueryExternalThumbnails() 178 assertEquals(Thumbnails.MINI_KIND, c.getInt(c.getColumnIndex(Thumbnails.KIND))); in testQueryExternalThumbnails() 179 assertEquals(path, c.getString(c.getColumnIndex(Thumbnails.DATA))); in testQueryExternalThumbnails() 207 long imageId = c.getLong(c.getColumnIndex(Media._ID)); in testQueryExternalMiniThumbnails() 208 String imagePath = c.getString(c.getColumnIndex(Media.DATA)); in testQueryExternalMiniThumbnails() 232 imageId = c.getLong(c.getColumnIndex(Media._ID)); in testQueryExternalMiniThumbnails() 233 imagePath = c.getString(c.getColumnIndex(Media.DATA)); in testQueryExternalMiniThumbnails() 276 long id = c.getLong(c.getColumnIndex(Thumbnails._ID)); in testStoreImagesMediaExternal() 278 assertEquals(Thumbnails.FULL_SCREEN_KIND, c.getInt(c.getColumnIndex(Thumbnails.KIND))); in testStoreImagesMediaExternal() [all …]
|
D | MediaStore_Audio_PlaylistsTest.java | 95 c.getString(c.getColumnIndex(Playlists.NAME))); in testStoreAudioPlaylistsExternal() 97 long realDateAdded = c.getLong(c.getColumnIndex(Playlists.DATE_ADDED)); in testStoreAudioPlaylistsExternal() 98 long realDateModified = c.getLong(c.getColumnIndex(Playlists.DATE_MODIFIED)); in testStoreAudioPlaylistsExternal() 104 assertTrue(c.getLong(c.getColumnIndex(Playlists._ID)) > 0); in testStoreAudioPlaylistsExternal()
|
D | MediaStore_Audio_GenresTest.java | 94 assertEquals("POP", c.getString(c.getColumnIndex(Genres.NAME))); in testStoreAudioGenresExternal() 95 assertTrue(c.getLong(c.getColumnIndex(Genres._ID)) > 0); in testStoreAudioGenresExternal() 135 assertEquals(genreId, cursor.getLong(cursor.getColumnIndex(Genres._ID))); in testGetContentUriForAudioId()
|
D | MediaStore_DownloadsTest.java | 169 cursor.getString(cursor.getColumnIndex(Images.Media.MIME_TYPE))); in testMediaInDownloadsDir() 210 cursor.getString(cursor.getColumnIndex(Downloads.MIME_TYPE))); in testInsertDownload() 212 cursor.getString(cursor.getColumnIndex(Downloads.DISPLAY_NAME))); in testInsertDownload() 214 cursor.getString(cursor.getColumnIndex(Downloads.DOWNLOAD_URI))); in testInsertDownload() 216 cursor.getString(cursor.getColumnIndex(Downloads.REFERER_URI))); in testInsertDownload() 260 cursor.getString(cursor.getColumnIndex(Downloads.MIME_TYPE))); in testUpdateDownload() 262 cursor.getString(cursor.getColumnIndex(Downloads.DOWNLOAD_URI))); in testUpdateDownload()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | DatabaseUtils_InsertHelperTest.java | 63 assertEquals(1, mInsertHelper.getColumnIndex("_id")); in testGetColumnIndex() 64 assertEquals(2, mInsertHelper.getColumnIndex("name")); in testGetColumnIndex() 65 assertEquals(3, mInsertHelper.getColumnIndex("age")); in testGetColumnIndex() 66 assertEquals(4, mInsertHelper.getColumnIndex("address")); in testGetColumnIndex() 68 mInsertHelper.getColumnIndex("missing_column"); in testGetColumnIndex() 113 mInsertHelper.bind(mInsertHelper.getColumnIndex("boolean_value"), true); in testInsert() 114 mInsertHelper.bind(mInsertHelper.getColumnIndex("int_value"), 10); in testInsert() 115 mInsertHelper.bind(mInsertHelper.getColumnIndex("long_value"), 1000L); in testInsert() 116 mInsertHelper.bind(mInsertHelper.getColumnIndex("double_value"), 123.456); in testInsert() 117 mInsertHelper.bind(mInsertHelper.getColumnIndex("float_value"), 1.0f); in testInsert() [all …]
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_TestDataBuilder.java | 194 mId = mCursor.getLong(getColumnIndex(BaseColumns._ID)); in loadUsingValues() 199 return mCursor.isNull(mCursor.getColumnIndex(columnName)); in isNull() 203 return mCursor.getLong(mCursor.getColumnIndex(columnName)); in getLong() 207 return mCursor.getString(mCursor.getColumnIndex(columnName)); in getString() 211 assertEquals(value, mCursor.getLong(getColumnIndex(columnName))); in assertColumn() 215 assertEquals(value, mCursor.getString(getColumnIndex(columnName))); in assertColumn() 219 assertEquals(value, mCursor.getBlob(getColumnIndex(columnName))); in assertColumn() 223 assertNotNull(mCursor.getBlob(getColumnIndex(columnName))); in assertBlobColumnNotNull() 227 assertNull(mCursor.getBlob(getColumnIndex(columnName))); in assertBlobColumnNull() 242 private int getColumnIndex(String columnName) { in getColumnIndex() method in ContactsContract_TestDataBuilder.Builder [all …]
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | SmsTestHelper.java | 68 assertThat(cursor.getString(cursor.getColumnIndex(columnName))).isEqualTo(expectedValue); in assertSmsColumnEquals() 78 assertThat(cursor.getString(cursor.getColumnIndex(Telephony.Sms.BODY))) in assertBulkSmsContentEqual() 82 assertThat(cursor.getString(cursor.getColumnIndex(Telephony.Sms.BODY))) in assertBulkSmsContentEqual() 97 int statusResult = cursorStatus.getInt(cursorStatus.getColumnIndex(Telephony.Sms.STATUS)); in assertUpdateSmsStatus() 112 int typeResult = cursorStatus.getInt(cursorStatus.getColumnIndex(Telephony.Sms.TYPE)); in assertUpdateSmsType()
|
D | SmsTest.java | 90 String actualSmsBody = cursor.getString(cursor.getColumnIndex(Telephony.Sms.BODY)); in testSmsInsert() 234 cursor.getInt(cursor.getColumnIndex(Telephony.Sms.READ))).isEqualTo(0); in testDefaultValuesAreInsertedInSmsTable() 237 cursor.getInt(cursor.getColumnIndex(Telephony.Sms.STATUS))).isEqualTo(-1); in testDefaultValuesAreInsertedInSmsTable() 240 cursor.getInt(cursor.getColumnIndex(Telephony.Sms.DATE_SENT))).isEqualTo(0); in testDefaultValuesAreInsertedInSmsTable() 243 cursor.getInt(cursor.getColumnIndex(Telephony.Sms.LOCKED))).isEqualTo(0); in testDefaultValuesAreInsertedInSmsTable() 246 cursor.getInt(cursor.getColumnIndex(Telephony.Sms.SUBSCRIPTION_ID))).isEqualTo( in testDefaultValuesAreInsertedInSmsTable() 250 cursor.getInt(cursor.getColumnIndex(Telephony.Sms.ERROR_CODE))).isEqualTo(-1); in testDefaultValuesAreInsertedInSmsTable() 253 cursor.getInt(cursor.getColumnIndex(Telephony.Sms.SEEN))).isEqualTo(0); in testDefaultValuesAreInsertedInSmsTable() 275 int thread_id = cursor.getInt(cursor.getColumnIndex(Telephony.Sms.THREAD_ID)); in testDeleteSms_ifLastSmsDeletedThenThreadIsDeleted() 421 int thread_id = cursor.getInt(cursor.getColumnIndex(Telephony.Sms.THREAD_ID)); in query_threadIdParameter_validWithIntValue()
|
D | MmsTest.java | 94 String actualSubject = cursor.getString(cursor.getColumnIndex(Telephony.Mms.SUBJECT)); in testMmsInsert_insertSendReqSucceeds() 149 assertThat(partCursor.getLong(partCursor.getColumnIndex(Telephony.Mms.Part.MSG_ID))) in testMmsInsert_canInsertTextMms() 152 assertThat(partCursor.getInt(partCursor.getColumnIndex(Telephony.Mms.Part.SEQ))).isEqualTo( in testMmsInsert_canInsertTextMms() 154 assertThat(partCursor.getString(partCursor.getColumnIndex(Telephony.Mms.Part.CONTENT_TYPE))) in testMmsInsert_canInsertTextMms() 157 assertThat(partCursor.getString(partCursor.getColumnIndex(Telephony.Mms.Part.TEXT))) in testMmsInsert_canInsertTextMms() 268 assertThat(cursor.getString(cursor.getColumnIndex(Telephony.Mms.SUBJECT))) in assertThatMmsCursorValues() 270 assertThat(cursor.getInt(cursor.getColumnIndex(Telephony.Mms.MESSAGE_TYPE))) in assertThatMmsCursorValues() 325 assertThat(cursor.getString(cursor.getColumnIndex(Telephony.Mms.SUBJECT))) in testMmsUpdate() 340 cursorAfterUpdate.getColumnIndex(Telephony.Mms.SUBJECT))) in testMmsUpdate() 367 cursorAfterReadUpdate.getColumnIndex(Telephony.Mms.READ))) in testMmsUpdate_canUpdateReadAndSeenStatus() [all …]
|
D | LockedMessageTest.java | 90 assertThat(cursor.getInt(cursor.getColumnIndex(Telephony.BaseMmsColumns._ID))) in testLockedMessage_atMostOneLockedMessage() 92 assertThat(cursor.getInt(cursor.getColumnIndex(Telephony.BaseMmsColumns._ID))) in testLockedMessage_atMostOneLockedMessage() 137 cursorAfterReadUpdate.getColumnIndex(Telephony.Mms.LOCKED))) in insertMmsWithLockedMessage() 163 cursorAfterReadUpdate.getColumnIndex(Telephony.Sms.LOCKED))) in insertSmsWithLockedMessage()
|
D | ServiceStateTest.java | 131 int voiceRegState = cursor.getInt(cursor.getColumnIndex(VOICE_REG_STATE)); in testGetVoiceRegState_query() 192 int dataNetworkType = cursor.getInt(cursor.getColumnIndex(DATA_NETWORK_TYPE)); in testGetDataNetworkType_query() 267 int duplexMode = cursor.getInt(cursor.getColumnIndex(DUPLEX_MODE)); in testGetDuplexMode_query() 315 int dataRegState = cursor.getInt(cursor.getColumnIndex(DATA_REG_STATE)); in testGetDataRegState_query() 371 assertThat(cursor.getColumnIndex("network_id")).isEqualTo(-1); in testLocationProtectedFields_noPermission() 372 assertThat(cursor.getColumnIndex("system_id")).isEqualTo(-1); in testLocationProtectedFields_noPermission()
|
D | SmsConversationTest.java | 90 conversationCursor.getString(conversationCursor.getColumnIndex(Conversations.SNIPPET))) in testQueryConversation_snippetEqualsMostRecentMessageBody() 115 .getInt(conversationCursor.getColumnIndex(Conversations.MESSAGE_COUNT))) in testQueryConversation_returnsCorrectMessageCount()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ThirdPartyCallScreeningServiceTest.java | 451 int numberIndex = callsCursor.getColumnIndex(CallLog.Calls.NUMBER); in addIncomingAndVerifyAllowed() 452 int callTypeIndex = callsCursor.getColumnIndex(CallLog.Calls.TYPE); in addIncomingAndVerifyAllowed() 453 int blockReasonIndex = callsCursor.getColumnIndex(CallLog.Calls.BLOCK_REASON); in addIncomingAndVerifyAllowed() 476 int numberIndex = callsCursor.getColumnIndex(CallLog.Calls.NUMBER); in addIncomingAndVerifyBlocked() 477 int callTypeIndex = callsCursor.getColumnIndex(CallLog.Calls.TYPE); in addIncomingAndVerifyBlocked() 478 int blockReasonIndex = callsCursor.getColumnIndex(CallLog.Calls.BLOCK_REASON); in addIncomingAndVerifyBlocked() 479 int callScreeningAppNameIndex = callsCursor.getColumnIndex( in addIncomingAndVerifyBlocked() 481 int callScreeningCmpNameIndex = callsCursor.getColumnIndex( in addIncomingAndVerifyBlocked()
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/ |
D | CloudPhotoPickerTest.java | 296 assertThat(c.getString(c.getColumnIndex(PickerMediaColumns.MIME_TYPE))) in testUriAccessWithValidProjection() 298 assertThat(c.getString(c.getColumnIndex(PickerMediaColumns.DISPLAY_NAME))) in testUriAccessWithValidProjection() 300 assertThat(c.getLong(c.getColumnIndex(PickerMediaColumns.SIZE))) in testUriAccessWithValidProjection() 302 assertThat(c.getLong(c.getColumnIndex(PickerMediaColumns.DURATION_MILLIS))) in testUriAccessWithValidProjection() 304 assertThat(c.getLong(c.getColumnIndex(PickerMediaColumns.DATE_TAKEN))) in testUriAccessWithValidProjection() 307 final File file = new File(c.getString(c.getColumnIndex(PickerMediaColumns.DATA))); in testUriAccessWithValidProjection() 331 assertThat(c.getString(c.getColumnIndex(MediaStore.MediaColumns.RELATIVE_PATH))) in testUriAccessWithInvalidProjection()
|
/cts/hostsidetests/appcloning/test-apps/AppCloningContactsSharingApps/CloneProfileAppWithLaunchableActivity/src/com/android/cts/launchable/cloneprofile/contacts/app/ |
D | CloneContactsSharingTest.java | 105 return c.getString(c.getColumnIndex(columnName)); in getCursorValue() 392 rawContactsForTestAccount.getColumnIndex( in testCloneContactsProviderReads_rawContactsReads_redirectsToPrimary() 396 rawContactsForTestAccount.getColumnIndex( in testCloneContactsProviderReads_rawContactsReads_redirectsToPrimary() 400 rawContactsForTestAccount.getColumnIndex( in testCloneContactsProviderReads_rawContactsReads_redirectsToPrimary() 450 cursor.getColumnIndex( in testAccessManagedProfileContacts_contactReadSuccessfully() 454 cursor.getColumnIndex( in testAccessManagedProfileContacts_contactReadSuccessfully() 458 cursor.getColumnIndex( in testAccessManagedProfileContacts_contactReadSuccessfully()
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/ |
D | ResultsAssertionsUtils.java | 105 final String mimeType = c.getString(c.getColumnIndex(PickerMediaColumns.MIME_TYPE)); in assertRedactedReadOnlyAccess() 131 final String mimeType = c.getString(c.getColumnIndex(PickerMediaColumns.MIME_TYPE)); in assertExtension() 135 c.getString(c.getColumnIndex(PickerMediaColumns.DISPLAY_NAME)); in assertExtension() 186 File file = new File(c.getString(c.getColumnIndex(PickerMediaColumns.DATA))); in assertImageRedactedReadOnlyAccess()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsCbMessageTest.java | 298 doReturn(-1).when(cursor).getColumnIndex(eq( in testCreateFromCursor() 301 doReturn(0).when(cursor).getColumnIndex(eq( in testCreateFromCursor() 304 doReturn(-1).when(cursor).getColumnIndex(eq( in testCreateFromCursor() 307 doReturn(9).when(cursor).getColumnIndex(eq( in testCreateFromCursor()
|