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/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/
DIncrementalService.cpp254 LOG(INFO) << "Unmounting and cleaning up mount " << mountId << " with root '" << root << '\''; in ~IncFsMount()
445 if (id != mnt.mountId) { in onDump()
446 dprintf(fd, " reference to mountId: %d\n", mnt.mountId); in onDump()
448 dprintf(fd, " mountId: %d\n", mnt.mountId); in onDump()
562 if (ifs->mountId != id) { in onSystemReady()
684 const auto mountId = mountIt->first; in createStorage() local
687 auto ifs = std::make_shared<IncFsMount>(std::move(mountRoot), std::move(metricsKey), mountId, in createStorage()
702 const auto storageIt = ifs->makeStorage(ifs->mountId); in createStorage()
710 m.mutable_storage()->set_id(ifs->mountId); in createStorage()
742 LOG(INFO) << "created storage " << mountId; in createStorage()
[all …]
DServiceWrappers.cpp74 binder::Status bindToDataLoader(MountId mountId, in bindToDataLoader() argument
79 return mInterface->bindToDataLoader(mountId, params, bindDelayMs, listener, _aidl_return); in bindToDataLoader()
81 binder::Status getDataLoader(MountId mountId, in getDataLoader() argument
83 return mInterface->getDataLoader(mountId, _aidl_return); in getDataLoader()
85 binder::Status unbindFromDataLoader(MountId mountId) const final { in unbindFromDataLoader()
86 return mInterface->unbindFromDataLoader(mountId); in unbindFromDataLoader()
DServiceWrappers.h68 MountId mountId, const content::pm::DataLoaderParamsParcel& params, int bindDelayMs,
70 virtual binder::Status getDataLoader(MountId mountId,
72 virtual binder::Status unbindFromDataLoader(MountId mountId) const = 0;
DIncrementalService.h346 /*const*/ MountId mountId; member
355 IncFsMount(std::string root, std::string metricsKey, MountId mountId, Control control, in IncFsMount()
360 mountId(mountId), in IncFsMount()
DBinderIncrementalService.h40 void onInvalidStorage(int mountId);
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp224 binder::Status(int32_t mountId, const DataLoaderParamsParcel& params,
229 binder::Status(int32_t mountId, sp<IDataLoader>* _aidl_return));
230 MOCK_CONST_METHOD1(unbindFromDataLoader, binder::Status(int32_t mountId));
249 binder::Status bindToDataLoaderOk(int32_t mountId, const DataLoaderParamsParcel& params, in bindToDataLoaderOk() argument
253 mId = mountId; in bindToDataLoaderOk()
263 binder::Status bindToDataLoaderNotOkWithNoDelay(int32_t mountId, in bindToDataLoaderNotOkWithNoDelay() argument
272 binder::Status bindToDataLoaderBindingWithNoDelay(int32_t mountId, in bindToDataLoaderBindingWithNoDelay() argument
284 binder::Status bindToDataLoaderOkWithNoDelay(int32_t mountId, in bindToDataLoaderOkWithNoDelay() argument
290 return bindToDataLoaderOk(mountId, params, bindDelayMs, listener, _aidl_return); in bindToDataLoaderOkWithNoDelay()
292 binder::Status bindToDataLoaderOkWith1sDelay(int32_t mountId, in bindToDataLoaderOkWith1sDelay() argument
[all …]
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java3637 public AppFuseMountScope(int uid, int mountId) { in AppFuseMountScope() argument
3638 super(uid, mountId); in AppFuseMountScope()
3645 final FileDescriptor fd = mVold.mountAppFuse(uid, mountId); in open()
3654 public ParcelFileDescriptor openFile(int mountId, int fileId, int flags) in openFile() argument
3659 mVold.openAppFuseFile(uid, mountId, fileId, flags)); in openFile()
3684 mVold.unmountAppFuse(uid, mountId); in close()
3730 int mountId, int fileId, int mode) { in openProxyFileDescriptor() argument
3742 return mAppFuseBridge.openFile(mountId, fileId, mode); in openProxyFileDescriptor()