Home
last modified time | relevance | path

Searched refs:FileLookupResult (Results 1 – 5 of 5) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/
DFileLookupResult.java29 public final class FileLookupResult { class
37 public FileLookupResult(int transforms, int uid, String ioPath) { in FileLookupResult() method in FileLookupResult
42 public FileLookupResult(int transforms, int transformsReason, int uid, in FileLookupResult() method in FileLookupResult
DMediaProvider.java2339 public FileLookupResult onFileLookupForFuse(String path, int uid, int tid) { in onFileLookupForFuse()
2358 return new FileLookupResult(/* transforms */ 0, uid, /* ioPath */ ""); in onFileLookupForFuse()
2361 private FileLookupResult handleTranscodedFileLookup(String path, int uid, int tid) { in handleTranscodedFileLookup()
2379 return new FileLookupResult(FLAG_TRANSFORM_TRANSCODING, transformsReason, uid, in handleTranscodedFileLookup()
2383 return new FileLookupResult(/* transforms */ 0, transformsReason, uid, in handleTranscodedFileLookup()
2387 private FileLookupResult handleRedactedFileLookup(int uid, @NonNull String path) { in handleRedactedFileLookup()
2403 return new FileLookupResult(FLAG_TRANSFORM_REDACTION, uid, c.getString(0)); in handleRedactedFileLookup()
2414 private FileLookupResult handlePickerFileLookup(int userId, int uid, @NonNull String path) { in handlePickerFileLookup()
2468 return new FileLookupResult(FLAG_TRANSFORM_PICKER, uid, path); in handlePickerFileLookup()
/packages/providers/MediaProvider/jni/
DMediaProviderWrapper.h60 struct FileLookupResult { struct
61 FileLookupResult(int transforms, int transforms_reason, uid_t uid, bool transforms_complete, in FileLookupResult() argument
227 std::unique_ptr<FileLookupResult> FileLookup(const std::string& path, uid_t uid, pid_t tid);
DMediaProviderWrapper.cpp460 std::unique_ptr<FileLookupResult> MediaProviderWrapper::FileLookup(const std::string& path, in FileLookup()
487 std::unique_ptr<FileLookupResult> file_lookup_result = std::make_unique<FileLookupResult>( in FileLookup()
DFuseDaemon.cpp545 static std::unique_ptr<mediaprovider::fuse::FileLookupResult> validate_node_path( in validate_node_path()
578 return std::make_unique<mediaprovider::fuse::FileLookupResult>(0, 0, 0, true, false, ""); in validate_node_path()
583 return std::make_unique<mediaprovider::fuse::FileLookupResult>(0, 0, 0, true, false, ""); in validate_node_path()
587 std::unique_ptr<mediaprovider::fuse::FileLookupResult> file_lookup_result = in validate_node_path()
616 std::unique_ptr<mediaprovider::fuse::FileLookupResult> file_lookup_result = in make_node_entry()