Home
last modified time | relevance | path

Searched refs:fileUri (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsDownloadFlowTest.java69 Uri fileUri = checkReceivedDownloadCompleteIntent(captor.getIntent(), request, in testSingleFileDownloadFlow() local
71 checkFileContentIntegrity(CtsDownloadService.FILE_INFO_1, fileUri); in testSingleFileDownloadFlow()
88 Uri fileUri = checkReceivedDownloadCompleteIntent(captor.getIntent(), request, in testFileInSubdirectoryDownloadFlow() local
93 assertTrue("got path: " + fileUri.getPath() + ", should end with: " + file2RelativePath, in testFileInSubdirectoryDownloadFlow()
94 fileUri.getPath().endsWith(file2RelativePath)); in testFileInSubdirectoryDownloadFlow()
95 checkFileContentIntegrity(CtsDownloadService.FILE_INFO_2, fileUri); in testFileInSubdirectoryDownloadFlow()
114 Uri fileUri = null; in testMultiFileDownloadFlow() local
116 fileUri = checkReceivedDownloadCompleteIntent( in testMultiFileDownloadFlow()
119 fileUri = checkReceivedDownloadCompleteIntent( in testMultiFileDownloadFlow()
126 assertTrue("got path: " + fileUri.getPath() + ", should end with: " + relativePath, in testMultiFileDownloadFlow()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_FilesTest.java94 Uri fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri() local
95 long fileId = ContentUris.parseId(fileUri); in testGetContentUri()
96 assertEquals(fileUri, ContentUris.withAppendedId(allFilesUri, fileId)); in testGetContentUri()
100 assertEquals(fileUri, rowUri); in testGetContentUri()
106 assertStringColumn(fileUri, MediaColumns.DATA, dataPath); in testGetContentUri()
112 assertEquals(1, mResolver.update(fileUri, values, null, null)); in testGetContentUri()
113 assertStringColumn(fileUri, MediaColumns.DATA, updatedPath); in testGetContentUri()
120 assertEquals(1, mResolver.delete(fileUri, null, null)); in testGetContentUri()
124 Cursor cursor = mResolver.query(fileUri, null, null, null, null); in testGetContentUri()
139 fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri()
[all …]
DMediaStore_Video_ThumbnailsTest.java180 Uri fileUri = ContentUris.withAppendedId( in testThumbnailGenerationAndCleanup() local
183 c = mResolver.query(fileUri, in testThumbnailGenerationAndCleanup()
190 mResolver.delete(fileUri, null /* where */, null /* where args */); in testThumbnailGenerationAndCleanup()
DMediaStore_Images_ThumbnailsTest.java350 Uri fileUri = ContentUris.withAppendedId( in testThumbnailGenerationAndCleanup() local
353 c = mContentResolver.query(fileUri, in testThumbnailGenerationAndCleanup()
360 mContentResolver.delete(fileUri, null /* where */, null /* where args */); in testThumbnailGenerationAndCleanup()
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/
DDragSource.java80 final Uri fileUri = Uri.fromFile(new File("/sdcard/sample.jpg")); in onCreate() local
82 setUpDragSource("file_local", fileUri, 0); in onCreate()
83 setUpDragSource("file_global", fileUri, View.DRAG_FLAG_GLOBAL); in onCreate()
/cts/tests/tests/mediastress/jni/
Dnative-media-jni.cpp315 jclass clazz, jstring fileUri) in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer() argument
320 const char *utf8 = env->GetStringUTFChars(fileUri, NULL); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
366 env->ReleaseStringUTFChars(fileUri, utf8); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DNativeMediaActivity.java184 public static native boolean createMediaPlayer(String fileUri); in createMediaPlayer() argument