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.java96 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 …]
DMediaStore_Video_ThumbnailsTest.java183 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()
DMediaStore_Images_ThumbnailsTest.java347 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/
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