Searched refs:fileUri (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/ |
D | MbmsDownloadFlowTest.java | 69 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/ |
D | MediaStore_FilesTest.java | 94 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 …]
|
D | MediaStore_Video_ThumbnailsTest.java | 180 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()
|
D | MediaStore_Images_ThumbnailsTest.java | 350 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/ |
D | DragSource.java | 80 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/ |
D | native-media-jni.cpp | 315 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/ |
D | NativeMediaActivity.java | 184 public static native boolean createMediaPlayer(String fileUri); in createMediaPlayer() argument
|