/frameworks/base/services/core/java/com/android/server/storage/ |
D | AppFuseBridge.java | 70 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/ |
D | FuseUnavailableMountException.java | 23 public FuseUnavailableMountException(int mountId) { in FuseUnavailableMountException() argument 24 super("AppFuse mount point " + mountId + " is unavailable"); in FuseUnavailableMountException()
|
/frameworks/base/services/incremental/ |
D | ServiceWrappers.cpp | 70 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()
|
D | IncrementalService.cpp | 191 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 …]
|
D | ServiceWrappers.h | 65 MountId mountId, const content::pm::DataLoaderParamsParcel& params, 67 virtual binder::Status getDataLoader(MountId mountId, 69 virtual binder::Status unbindFromDataLoader(MountId mountId) const = 0;
|
D | IncrementalService.h | 271 /*const*/ MountId mountId; member 279 IncFsMount(std::string root, MountId mountId, Control control, in IncFsMount() 283 mountId(mountId), in IncFsMount()
|
D | BinderIncrementalService.h | 39 void onInvalidStorage(int mountId);
|
/frameworks/base/services/core/jni/ |
D | com_android_server_storage_AppFuseBridge.cpp | 109 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/ |
D | IncrementalServiceTest.cpp | 197 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/ |
D | StorageManagerService.java | 3430 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()
|