Home
last modified time | relevance | path

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

/aosp14/system/core/libappfuse/
H A DFuseBridgeLoop.cc70 FuseBridgeEntry(int mount_id, base::unique_fd&& dev_fd, base::unique_fd&& proxy_fd) in FuseBridgeEntry() argument
71 : mount_id_(mount_id), in FuseBridgeEntry()
129 int mount_id() const { return mount_id_; } in mount_id() function in android::fuse::FuseBridgeEntry
329 LOG(VERBOSE) << "Adding bridge " << mount_id; in AddBridge()
332 new FuseBridgeEntry(mount_id, std::move(dev_fd), std::move(proxy_fd))); in AddBridge()
338 if (bridges_.count(mount_id)) { in AddBridge()
346 bridges_.emplace(mount_id, std::move(bridge)); in AddBridge()
358 const int mount_id = entry->mount_id(); in ProcessEventLocked() local
359 bridges_.erase(mount_id); in ProcessEventLocked()
360 callback->OnClosed(mount_id); in ProcessEventLocked()
[all …]
/aosp14/system/core/libappfuse/include/libappfuse/
H A DFuseBridgeLoop.h34 virtual void OnMount(int mount_id) = 0;
35 virtual void OnClosed(int mount_id) = 0;
51 bool AddBridge(int mount_id, base::unique_fd dev_fd, base::unique_fd proxy_fd);
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_storage_AppFuseBridge.cpp42 void OnMount(int mount_id) override { in OnMount() argument
43 mEnv->CallVoidMethod(mSelf, gAppFuseOnMount, mount_id); in OnMount()
50 void OnClosed(int mount_id) override { in OnClosed() argument
51 mEnv->CallVoidMethod(mSelf, gAppFuseOnClosed, mount_id); in OnClosed()