Home
last modified time | relevance | path

Searched refs:DATA (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Images_ThumbnailsTest.java86 values.put(Thumbnails.DATA, path); in testQueryInternalThumbnails()
97 assertEquals(path, c.getString(c.getColumnIndex(Thumbnails.DATA))); in testQueryInternalThumbnails()
110 assertEquals(path, c.getString(c.getColumnIndex(Thumbnails.DATA))); in testQueryInternalThumbnails()
131 new String[]{ Media._ID, Media.DATA }, null, null, null); in testQueryExternalMiniThumbnails()
134 String imagePath = c.getString(c.getColumnIndex(Media.DATA)); in testQueryExternalMiniThumbnails()
156 new String[] { Thumbnails._ID, Thumbnails.DATA, Thumbnails.IMAGE_ID}); in testQueryExternalMiniThumbnails()
161 String thumbPath = c.getString(c.getColumnIndex(Thumbnails.DATA)); 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()
186 imagePath = c.getString(c.getColumnIndex(Media.DATA)); in testQueryExternalMiniThumbnails()
[all …]
DMediaStoreAudioTestHelper.java123 values.put(Media.DATA, isInternal ? INTERNAL_DATA : EXTERNAL_DATA); in getContentValues()
202 values.put(Media.DATA, isInternal ? INTERNAL_DATA : EXTERNAL_DATA); in getContentValues()
237 values.put(Media.DATA, values.getAsString(Media.DATA) + "_3"); in getContentValues()
255 values.put(Media.DATA, values.getAsString(Media.DATA) + "_4"); in getContentValues()
273 values.put(Media.DATA, values.getAsString(Media.DATA) + "_5"); in getContentValues()
DContactsContract_DataTest.java145 cv1.put(Email.DATA, "tamale@acme.com"); in cv1.put() argument
152 cv2.put(Phone.DATA, "510-123-5769"); in cv2.put() argument
159 cv3.put(Email.DATA, "hot@google.com"); in cv3.put() argument
166 cv4.put(Email.DATA, "eggs@farmers.org"); in cv4.put() argument
173 cv5.put(Email.DATA, "doeassociates@deer.com"); in cv5.put() argument
180 cv6.put(Phone.DATA, "518-354-1111"); in cv6.put() argument
187 cv7.put(SipAddress.DATA, "mysip@sipaddress.com"); in cv7.put() argument
431 .with(Email.DATA, "test@test.com") in testContactablesUri()
435 cv.put(Email.DATA, "test@test.com"); in testContactablesUri()
447 .with(Phone.DATA, "123456789") in testContactablesUri()
[all …]
DMediaStore_VideoTest.java65 values.put(VideoColumns.DATA, valueOfData); in testQuery()
72 Cursor c = Video.query(mContentResolver, newUri, new String[] { VideoColumns.DATA }); in testQuery()
75 assertEquals(valueOfData, c.getString(c.getColumnIndex(VideoColumns.DATA))); in testQuery()
DMediaStore_FilesTest.java110 values.put(MediaColumns.DATA, dataPath); in testGetContentUri()
124 assertStringColumn(fileUri, MediaColumns.DATA, dataPath); in testGetContentUri()
128 values.put(MediaColumns.DATA, updatedPath); in testGetContentUri()
130 assertStringColumn(fileUri, MediaColumns.DATA, updatedPath); in testGetContentUri()
152 values.put(MediaColumns.DATA, b + "/testing"); in testGetContentUri()
163 new String[] { MediaColumns.DATA }, null, null, null); in testGetContentUri()
186 values.put(MediaColumns.DATA, fileDir + "/test.mp3"); in testCaseSensitivity()
216 values.put(MediaStore.Images.Media.DATA, "/foo/bar/dummy.jpg"); in testAccess()
366 values.put(MediaStore.Audio.Media.DATA, fileName); in testAccess()
397 values.put(MediaStore.Audio.Media.DATA, file.getAbsolutePath()); in testAccess()
[all …]
DMediaStore_Audio_PlaylistsTest.java69 values.put(Playlists.DATA, externalPlaylistPath); in testStoreAudioPlaylistsExternal()
84 c.getString(c.getColumnIndex(Playlists.DATA))); in testStoreAudioPlaylistsExternal()
102 c.getString(c.getColumnIndex(Playlists.DATA))); in testStoreAudioPlaylistsExternal()
115 values.put(Playlists.DATA, "/data/data/android.provider.cts/files/my_favorites.pl"); in testStoreAudioPlaylistsInternal()
DContactsContract_SearchSnippetsTest.java225 .with(Phone.DATA, "510-123-5769") in setupTestData()
239 .with(Email.DATA, "eggs@farmers.org") in setupTestData()
243 .with(Phone.DATA, "123-456-7890") in setupTestData()
258 .with(StructuredPostal.DATA, "123 Main Street Unit 3113") in setupTestData()
DMediaStore_Video_MediaTest.java96 values.put(Media.DATA, externalVideoPath); in testStoreVideoMediaExternal()
131 assertEquals(externalVideoPath, c.getString(c.getColumnIndex(Media.DATA))); in testStoreVideoMediaExternal()
157 values.put(Media.DATA, externalVideoPath2); in testStoreVideoMediaExternal()
185 c.getString(c.getColumnIndex(Media.DATA))); in testStoreVideoMediaExternal()
234 values.put(VideoColumns.DATA, file.getAbsolutePath()); in insertVideo()
DMediaStore_Images_MediaTest.java182 Cursor c = Media.query(mContentResolver, Uri.parse(stringUrl), new String[] { Media.DATA }, in testInsertImageWithBitmap()
187 Uri.fromFile(new File(c.getString(c.getColumnIndex(Media.DATA))))); in testInsertImageWithBitmap()
238 values.put(Media.DATA, externalPath); in testStoreImagesMediaExternal()
268 assertEquals(externalPath, c.getString(c.getColumnIndex(Media.DATA))); in testStoreImagesMediaExternal()
291 values.put(Media.DATA, externalPath2); in testStoreImagesMediaExternal()
314 c.getString(c.getColumnIndex(Media.DATA))); in testStoreImagesMediaExternal()
DMediaStore_Video_ThumbnailsTest.java106 new String[] { Thumbnails._ID, Thumbnails.DATA, Thumbnails.VIDEO_ID }, in testGetThumbnail()
133 values.put(VideoColumns.DATA, file.getAbsolutePath()); in insertVideo()
DMediaStore_Audio_Playlists_MembersTest.java48 Members.DATA,
78 Members.DATA,
188 values.put(Playlists.DATA, ""); in testStoreAudioPlaylistsMembersExternal()
219 assertEquals(Audio1.EXTERNAL_DATA, c.getString(c.getColumnIndex(Members.DATA))); in testStoreAudioPlaylistsMembersExternal()
263 assertEquals(Audio2.EXTERNAL_DATA, c.getString(c.getColumnIndex(Members.DATA))); in testStoreAudioPlaylistsMembersExternal()
352 values.put(Playlists.DATA, ""); in testStoreAudioPlaylistsMembersExternal()
457 values.put(Playlists.DATA, "/data/data/android.provider.cts/files/my_favorites.pl"); in testStoreAudioPlaylistsMembersInternal()
DContactsContract_FrequentsStrequentsTest.java444 .with(Phone.DATA, "510-123-5769") in setupTestData()
458 .with(Email.DATA, "eggs@farmers.org") in setupTestData()
472 .with(Phone.DATA, "518-354-1111") in setupTestData()
DContactsContract_PhoneLookup.java83 .with(Phone.DATA, "1111222333444") in setupTestData()
97 .with(Phone.DATA, "2111222333444") in setupTestData()
DMediaStore_Audio_MediaTest.java97 assertEquals(expected, c.getString(c.getColumnIndex(Media.DATA))); in testStoreAudioMedia()
140 assertEquals(expected, c.getString(c.getColumnIndex(Media.DATA))); in testStoreAudioMedia()
DContactsTest.java209 Photos.LOCAL_VERSION, Photos.DATA, in testPhotosTable()
233 value.put(Photos.DATA, data); in testPhotosTable()
553 ContactMethods.DATA, ContactMethods.AUX_DATA, ContactMethods.TYPE,
581 value.put(ContactMethods.DATA, insertData);
604 value.put(ContactMethods.DATA, updateData);
DMediaStore_Audio_AlbumsTest.java174 v.put(Media.DATA, path.getAbsolutePath()); in testAlbumArt()
DCalendarTest.java233 SyncState.DATA
247 values.put(SyncState.DATA, SAMPLE_SYNC_DATA); in getNewSyncStateValues()
657 Colors.DATA, // 3
703 colorValues.put(Colors.DATA, data); in addColor()
1531 colorValues.put(Colors.DATA, "0"); in testColorWriteRequirements()
1551 if (!TextUtils.equals(key, Colors.DATA)) { in testColorWriteRequirements()
1557 if (TextUtils.equals(key, Colors.DATA)) { in testColorWriteRequirements()
3753 if (key.equals(SyncState.DATA)) { in verifySyncState()
DMediaStore_Audio_Genres_MembersTest.java121 assertEquals(Audio1.EXTERNAL_DATA, c.getString(c.getColumnIndex(Members.DATA))); in testStoreAudioGenresMembersExternal()
/cts/tools/dex-tools/src/dex/reader/
DDexFileReader.java53 private static final int DATA = 8; field in DexFileReader
91 readSize(DATA); in read()
92 readOffset(DATA); in read()
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java78 final int DATA = 1; in testFromSocket() local
90 out.write(DATA); in testFromSocket()
106 assertEquals(DATA, in.read()); in testFromSocket()
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerTest.java137 values.put(MediaStore.MediaColumns.DATA, nomedia.getAbsolutePath()); in testMediaScanner()
168 MediaStore.Files.FileColumns.DATA + "=?", in testMediaScanner()
171 MediaStore.Files.FileColumns.DATA + "=?", in testMediaScanner()
494 MediaStore.Audio.Media.DATA + "=?", new String[] {path}, null); in testEncodingDetection()
515 MediaStore.Audio.Media.DATA + "=?", new String[] {path}); in testEncodingDetection()
/cts/tests/tests/os/jni/seccomp-tests/
DLICENSE24 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java362 values.put(Images.Media.DATA, in assertMediaNoAccess()
381 values.put(Images.Media.DATA, in assertMediaReadWriteAccess()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java60 MediaStore.Images.ImageColumns._ID, MediaStore.Images.ImageColumns.DATA
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DAttentionManagementVerifierActivity.java906 builder.withValue(Email.DATA, email); in insertSingleContact()

12