Home
last modified time | relevance | path

Searched refs:mountId (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/storage/
DAppFuseBridge.java70 Preconditions.checkArgument(mScopes.indexOfKey(mountScope.mountId) < 0); in addBridge()
72 throw new FuseUnavailableMountException(mountScope.mountId); in addBridge()
75 mNativeLoop, mountScope.mountId, mountScope.open().detachFd()); in addBridge()
77 throw new FuseUnavailableMountException(mountScope.mountId); in addBridge()
80 mScopes.put(mountScope.mountId, mountScope); in addBridge()
99 public ParcelFileDescriptor openFile(int mountId, int fileId, int mode)
103 scope = mScopes.get(mountId);
105 throw new FuseUnavailableMountException(mountId);
110 throw new FuseUnavailableMountException(mountId);
114 return scope.openFile(mountId, fileId, flags);
[all …]
/frameworks/base/core/java/com/android/internal/os/
DFuseUnavailableMountException.java23 public FuseUnavailableMountException(int mountId) { in FuseUnavailableMountException() argument
24 super("AppFuse mount point " + mountId + " is unavailable"); in FuseUnavailableMountException()
/frameworks/base/services/incremental/
DServiceWrappers.cpp70 binder::Status bindToDataLoader(MountId mountId, in bindToDataLoader() argument
74 return mInterface->bindToDataLoader(mountId, params, listener, _aidl_return); in bindToDataLoader()
76 binder::Status getDataLoader(MountId mountId, in getDataLoader() argument
78 return mInterface->getDataLoader(mountId, _aidl_return); in getDataLoader()
80 binder::Status unbindFromDataLoader(MountId mountId) const final { in unbindFromDataLoader()
81 return mInterface->unbindFromDataLoader(mountId); in unbindFromDataLoader()
DIncrementalService.cpp191 LOG(INFO) << "Unmounting and cleaning up mount " << mountId << " with root '" << root << '\''; in ~IncFsMount()
335 if (id != mnt.mountId) { in onDump()
336 dprintf(fd, " reference to mountId: %d\n", mnt.mountId); in onDump()
338 dprintf(fd, " mountId: %d\n", mnt.mountId); in onDump()
385 if (ifs->mountId == id && in onSystemReady()
497 const auto mountId = mountIt->first; in createStorage() local
501 std::make_shared<IncFsMount>(std::move(mountRoot), mountId, std::move(control), *this); in createStorage()
515 const auto storageIt = ifs->makeStorage(ifs->mountId); in createStorage()
523 m.mutable_storage()->set_id(ifs->mountId); in createStorage()
569 LOG(INFO) << "created storage " << mountId; in createStorage()
[all …]
DServiceWrappers.h65 MountId mountId, const content::pm::DataLoaderParamsParcel& params,
67 virtual binder::Status getDataLoader(MountId mountId,
69 virtual binder::Status unbindFromDataLoader(MountId mountId) const = 0;
DIncrementalService.h271 /*const*/ MountId mountId; member
279 IncFsMount(std::string root, MountId mountId, Control control, in IncFsMount()
283 mountId(mountId), in IncFsMount()
DBinderIncrementalService.h39 void onInvalidStorage(int mountId);
/frameworks/base/services/core/jni/
Dcom_android_server_storage_AppFuseBridge.cpp109 JNIEnv* env, jobject self, jlong java_loop, jint mountId, jint javaDevFd) { in com_android_server_storage_AppFuseBridge_add_bridge() argument
119 if (!loop->AddBridge(mountId, std::move(devFd), std::move(proxyFd[0]))) { in com_android_server_storage_AppFuseBridge_add_bridge()
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp197 binder::Status(int32_t mountId, const DataLoaderParamsParcel& params,
201 binder::Status(int32_t mountId, sp<IDataLoader>* _aidl_return));
202 MOCK_CONST_METHOD1(unbindFromDataLoader, binder::Status(int32_t mountId));
221 binder::Status bindToDataLoaderOk(int32_t mountId, const DataLoaderParamsParcel& params, in bindToDataLoaderOk() argument
224 mId = mountId; in bindToDataLoaderOk()
233 binder::Status getDataLoaderOk(int32_t mountId, sp<IDataLoader>* _aidl_return) { in getDataLoaderOk() argument
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java3430 public AppFuseMountScope(int uid, int mountId) { in AppFuseMountScope() argument
3431 super(uid, mountId); in AppFuseMountScope()
3437 final FileDescriptor fd = mVold.mountAppFuse(uid, mountId); in open()
3446 public ParcelFileDescriptor openFile(int mountId, int fileId, int flags) in openFile() argument
3450 mVold.openAppFuseFile(uid, mountId, fileId, flags)); in openFile()
3459 mVold.unmountAppFuse(uid, mountId); in close()
3501 int mountId, int fileId, int mode) { in openProxyFileDescriptor() argument
3513 return mAppFuseBridge.openFile(mountId, fileId, mode); in openProxyFileDescriptor()