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 | 96 Uri fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri() local 97 long fileId = ContentUris.parseId(fileUri); in testGetContentUri() 98 assertEquals(fileUri, ContentUris.withAppendedId(allFilesUri, fileId)); in testGetContentUri() 102 assertEquals(fileUri, rowUri); in testGetContentUri() 108 assertStringColumn(fileUri, MediaColumns.DATA, dataPath); in testGetContentUri() 114 assertEquals(1, mResolver.update(fileUri, values, null, null)); in testGetContentUri() 115 assertStringColumn(fileUri, MediaColumns.DATA, updatedPath); in testGetContentUri() 122 assertEquals(1, mResolver.delete(fileUri, null, null)); in testGetContentUri() 126 Cursor cursor = mResolver.query(fileUri, null, null, null, null); in testGetContentUri() 141 fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri() [all …]
|
D | MediaStore_Video_ThumbnailsTest.java | 183 Uri fileUri = ContentUris.withAppendedId( in testThumbnailGenerationAndCleanup() local 186 c = mResolver.query(fileUri, in testThumbnailGenerationAndCleanup() 193 mResolver.delete(fileUri, null /* where */, null /* where args */); in testThumbnailGenerationAndCleanup()
|
D | MediaStore_Images_ThumbnailsTest.java | 347 Uri fileUri = ContentUris.withAppendedId( in testThumbnailGenerationAndCleanup() local 350 c = mContentResolver.query(fileUri, in testThumbnailGenerationAndCleanup() 357 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
|