Searched refs:fileUri (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/telephony/src/android/telephony/embms/cts/ |
D | MbmsDownloadFlowTest.java | 60 Uri fileUri = checkReceivedDownloadCompleteIntent(captor.getIntent(), request, in testSingleFileDownloadFlow() local 62 checkFileContentIntegrity(CtsDownloadService.FILE_INFO_1, fileUri); in testSingleFileDownloadFlow() 78 Uri fileUri = checkReceivedDownloadCompleteIntent(captor.getIntent(), request, in testFileInSubdirectoryDownloadFlow() local 83 assertTrue("got path: " + fileUri.getPath() + ", should end with: " + file2RelativePath, in testFileInSubdirectoryDownloadFlow() 84 fileUri.getPath().endsWith(file2RelativePath)); in testFileInSubdirectoryDownloadFlow() 85 checkFileContentIntegrity(CtsDownloadService.FILE_INFO_2, fileUri); in testFileInSubdirectoryDownloadFlow() 103 Uri fileUri = null; in testMultiFileDownloadFlow() local 105 fileUri = checkReceivedDownloadCompleteIntent( in testMultiFileDownloadFlow() 108 fileUri = checkReceivedDownloadCompleteIntent( in testMultiFileDownloadFlow() 115 assertTrue("got path: " + fileUri.getPath() + ", should end with: " + relativePath, in testMultiFileDownloadFlow() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_FilesTest.java | 113 Uri fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri() local 114 long fileId = ContentUris.parseId(fileUri); in testGetContentUri() 115 assertEquals(fileUri, ContentUris.withAppendedId(allFilesUri, fileId)); in testGetContentUri() 119 assertEquals(fileUri, rowUri); in testGetContentUri() 126 assertStringColumn(fileUri, MediaColumns.DATA, dataPath); in testGetContentUri() 131 assertEquals(1, mResolver.update(fileUri, values, null, null)); in testGetContentUri() 132 assertStringColumn(fileUri, MediaColumns.DATA, updatedPath); in testGetContentUri() 139 assertEquals(1, mResolver.delete(fileUri, null, null)); in testGetContentUri() 143 Cursor cursor = mResolver.query(fileUri, null, null, null, null); in testGetContentUri() 155 fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri() [all …]
|
D | MediaStore_Video_ThumbnailsTest.java | 208 Uri fileUri = ContentUris.withAppendedId( in testThumbnailGenerationAndCleanup() local 211 c = mResolver.query(fileUri, in testThumbnailGenerationAndCleanup()
|
D | MediaStore_Images_ThumbnailsTest.java | 344 Uri fileUri = ContentUris.withAppendedId( in testThumbnailGenerationAndCleanup() local 347 c = mContentResolver.query(fileUri, 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
|