Home
last modified time | relevance | path

Searched refs:FileOpenResult (Results 1 – 7 of 7) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/
DFileOpenResult.java22 public final class FileOpenResult { class
29 public FileOpenResult(int status, int uid, int transformsUid, long[] redactionRanges) { in FileOpenResult() method in FileOpenResult
33 public FileOpenResult(int status, int uid, int transformsUid, int nativeFd, in FileOpenResult() method in FileOpenResult
42 public static FileOpenResult createError(int errorCode, int uid) { in createError()
43 return new FileOpenResult(errorCode, uid, /* transformsUid */ 0, new long[0]); in createError()
DMediaProvider.java2009 private FileOpenResult handlePickerFileOpen(String path, int uid) { in handlePickerFileOpen()
2013 return new FileOpenResult(OsConstants.ENOENT /* status */, uid, /* transformsUid */ 0, in handlePickerFileOpen()
2027 return FileOpenResult.createError(OsConstants.ENOENT, uid); in handlePickerFileOpen()
2038 return FileOpenResult.createError(OsConstants.ENOENT, uid); in handlePickerFileOpen()
2049 return FileOpenResult.createError(OsConstants.ENOENT, uid); in handlePickerFileOpen()
2055 return new FileOpenResult(0 /* status */, uid, /* transformsUid */ 0, in handlePickerFileOpen()
2059 return FileOpenResult.createError(OsConstants.ENOENT, uid); in handlePickerFileOpen()
8930 public FileOpenResult onFileOpenForFuse(String path, String ioPath, int uid, int tid,
8957 return new FileOpenResult(OsConstants.EACCES /* status */, originalUid,
8975 return new FileOpenResult(OsConstants.ENOENT /* status */, originalUid,
[all …]
/packages/providers/MediaProvider/jni/
DMediaProviderWrapper.h40 struct FileOpenResult { struct
41 FileOpenResult(const int status, const int uid, const uid_t transforms_uid, const int fd, in FileOpenResult() argument
157 std::unique_ptr<FileOpenResult> OnFileOpen(const std::string& path, const std::string& io_path,
DMediaProviderWrapper.cpp301 std::unique_ptr<FileOpenResult> MediaProviderWrapper::OnFileOpen(const string& path, in OnFileOpen()
308 return std::make_unique<FileOpenResult>(0, uid, /* transforms_uid */ 0, /* nativeFd */ -1, in OnFileOpen()
345 return std::make_unique<FileOpenResult>(status, original_uid, transforms_uid, fd, in OnFileOpen()
348 return std::make_unique<FileOpenResult>(status, original_uid, transforms_uid, fd, in OnFileOpen()
DFuseDaemon.cpp995 std::unique_ptr<FileOpenResult> result = fuse->mp->OnFileOpen( in pf_setattr()
1473 std::unique_ptr<FileOpenResult> result = fuse->mp->OnFileOpen( in pf_open()
2008 std::unique_ptr<FileOpenResult> result = fuse->mp->OnFileOpen( in pf_access()
/packages/providers/MediaProvider/
Dproguard.flags15 -keep public final class com.android.providers.media.FileOpenResult { *; }
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderForFuseTest.java115 FileOpenResult result = sMediaProvider.onFileOpenForFuse( in testTypical()