Lines Matching defs:mountId
62 Preconditions.checkArgument(mScopes.indexOfKey(mountScope.mountId) < 0);
64 throw new FuseUnavailableMountException(mountScope.mountId);
67 mNativeLoop, mountScope.mountId, mountScope.open().detachFd());
69 throw new FuseUnavailableMountException(mountScope.mountId);
72 mScopes.put(mountScope.mountId, mountScope);
90 public ParcelFileDescriptor openFile(int pid, int mountId, int fileId, int mode)
94 scope = mScopes.get(mountId);
96 throw new FuseUnavailableMountException(mountId);
104 throw new FuseUnavailableMountException(mountId);
110 throw new FuseUnavailableMountException(mountId);
115 synchronized private void onMount(int mountId) {
116 final MountScope scope = mScopes.get(mountId);
123 synchronized private void onClosed(int mountId) {
124 final MountScope scope = mScopes.get(mountId);
128 mScopes.remove(mountId);
135 public final int mountId;
140 public MountScope(int uid, int pid, int mountId) {
143 this.mountId = mountId;
144 this.mountPoint = new File(String.format(APPFUSE_MOUNT_NAME_TEMPLATE, uid, mountId));
167 private native int native_add_bridge(long loop, int mountId, int deviceId);