Searched refs:fileUri (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_FilesTest.java | 111 Uri fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri() local 112 long fileId = ContentUris.parseId(fileUri); in testGetContentUri() 113 assertEquals(fileUri, ContentUris.withAppendedId(allFilesUri, fileId)); in testGetContentUri() 117 assertEquals(fileUri, rowUri); in testGetContentUri() 124 assertStringColumn(fileUri, MediaColumns.DATA, dataPath); in testGetContentUri() 129 assertEquals(1, mResolver.update(fileUri, values, null, null)); in testGetContentUri() 130 assertStringColumn(fileUri, MediaColumns.DATA, updatedPath); in testGetContentUri() 137 assertEquals(1, mResolver.delete(fileUri, null, null)); in testGetContentUri() 141 Cursor cursor = mResolver.query(fileUri, null, null, null, null); in testGetContentUri() 153 fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri() [all …]
|
/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
|