Searched refs:for_read (Results 1 – 3 of 3) sorted by relevance
/packages/providers/MediaProvider/jni/ |
D | FuseDaemon.h | 55 bool ShouldOpenWithFuse(int fd, bool for_read, const std::string& path);
|
D | com_android_providers_media_FuseDaemon.cpp | 131 jboolean for_read, jint fd) { in com_android_providers_media_FuseDaemon_should_open_with_fuse() argument 140 return daemon->ShouldOpenWithFuse(fd, for_read, utf_chars_path.c_str()); in com_android_providers_media_FuseDaemon_should_open_with_fuse()
|
D | FuseDaemon.cpp | 441 static int set_file_lock(int fd, bool for_read, const std::string& path) { in set_file_lock() argument 442 std::string lock_str = (for_read ? "read" : "write"); in set_file_lock() 445 fl.l_type = for_read ? F_RDLCK : F_WRLCK; in set_file_lock() 2367 bool FuseDaemon::ShouldOpenWithFuse(int fd, bool for_read, const std::string& path) { in ShouldOpenWithFuse() argument 2386 use_fuse = set_file_lock(fd, for_read, path); in ShouldOpenWithFuse()
|