Home
last modified time | relevance | path

Searched refs:for_read (Results 1 – 3 of 3) sorted by relevance

/packages/providers/MediaProvider/jni/
Dcom_android_providers_media_FuseDaemon.cpp72 jboolean for_read, jint fd) { in com_android_providers_media_FuseDaemon_should_open_with_fuse() argument
81 return daemon->ShouldOpenWithFuse(fd, for_read, utf_chars_path.c_str()); in com_android_providers_media_FuseDaemon_should_open_with_fuse()
DFuseDaemon.h50 bool ShouldOpenWithFuse(int fd, bool for_read, const std::string& path);
DFuseDaemon.cpp341 static int set_file_lock(int fd, bool for_read, const std::string& path) { in set_file_lock() argument
342 std::string lock_str = (for_read ? "read" : "write"); in set_file_lock()
345 fl.l_type = for_read ? F_RDLCK : F_WRLCK; in set_file_lock()
1979 bool FuseDaemon::ShouldOpenWithFuse(int fd, bool for_read, const std::string& path) { in ShouldOpenWithFuse() argument
1998 use_fuse = set_file_lock(fd, for_read, path); in ShouldOpenWithFuse()