Home
last modified time | relevance | path

Searched refs:FdAccessResult (Results 1 – 8 of 8) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/
DFdAccessResult.java30 public final class FdAccessResult { class
34 public FdAccessResult(String filePath, boolean shouldRedact) { in FdAccessResult() method in FdAccessResult
DMediaProvider.java7510 FdAccessResult result = fuseDaemon.checkFdAccess(inputPfd, uid);
/packages/providers/MediaProvider/jni/
Dnode-inl.h81 struct FdAccessResult { struct
82 FdAccessResult(const std::string& file_path, const bool should_redact) in FdAccessResult() argument
352 std::unique_ptr<FdAccessResult> CheckHandleForUid(const uid_t uid) const { in CheckHandleForUid()
365 return std::make_unique<FdAccessResult>(BuildPath(), !redaction_not_needed); in CheckHandleForUid()
368 return std::make_unique<FdAccessResult>(std::string(), false); in CheckHandleForUid()
Dnode_test.cpp380 std::unique_ptr<mediaprovider::fuse::FdAccessResult> res(node->CheckHandleForUid(1)); in TEST_F()
394 std::unique_ptr<mediaprovider::fuse::FdAccessResult> res(node->CheckHandleForUid(1)); in TEST_F()
414 std::unique_ptr<mediaprovider::fuse::FdAccessResult> res(node->CheckHandleForUid(1)); in TEST_F()
430 std::unique_ptr<mediaprovider::fuse::FdAccessResult> res(node->CheckHandleForUid(1)); in TEST_F()
438 std::unique_ptr<mediaprovider::fuse::FdAccessResult> res(node->CheckHandleForUid(1)); in TEST_F()
DFuseDaemon.h70 std::unique_ptr<FdAccessResult> CheckFdAccess(int fd, uid_t uid) const;
Dcom_android_providers_media_FuseDaemon.cpp176 const std::unique_ptr<fuse::FdAccessResult> result = daemon->CheckFdAccess(fd, uid); in com_android_providers_media_FuseDaemon_check_fd_access()
DFuseDaemon.cpp2573 std::unique_ptr<FdAccessResult> FuseDaemon::CheckFdAccess(int fd, uid_t uid) const { in CheckFdAccess()
2578 return std::make_unique<FdAccessResult>(string(), false); in CheckFdAccess()
2587 return std::make_unique<FdAccessResult>(string(), false); in CheckFdAccess()
2593 return std::make_unique<FdAccessResult>(string(), false); in CheckFdAccess()
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/
DFuseDaemon.java25 import com.android.providers.media.FdAccessResult;
199 public FdAccessResult checkFdAccess(ParcelFileDescriptor fileDescriptor, int uid) in checkFdAccess()
345 private native FdAccessResult native_check_fd_access(long daemon, int fd, int uid); in native_check_fd_access()