Home
last modified time | relevance | path

Searched refs:storageId (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/os/incremental/
DIIncrementalService.aidl50 …int makeBindMount(int storageId, in @utf8InCpp String sourcePath, in @utf8InCpp String targetFullP… in makeBindMount() argument
55 int deleteBindMount(int storageId, in @utf8InCpp String targetFullPath); in deleteBindMount() argument
60 int makeDirectory(int storageId, in @utf8InCpp String path); in makeDirectory() argument
66 int makeDirectories(int storageId, in @utf8InCpp String path); in makeDirectories() argument
71 int makeFile(int storageId, in @utf8InCpp String path, in IncrementalNewFileParams params); in makeFile() argument
77 …int makeFileFromRange(int storageId, in @utf8InCpp String targetPath, in @utf8InCpp String sourceP… in makeFileFromRange() argument
90 int unlink(int storageId, in @utf8InCpp String path); in unlink() argument
95 boolean isFileRangeLoaded(int storageId, in @utf8InCpp String path, long start, long end); in isFileRangeLoaded() argument
100 byte[] getMetadataByPath(int storageId, in @utf8InCpp String path); in getMetadataByPath() argument
101 byte[] getMetadataById(int storageId, in byte[] fileId); in getMetadataById() argument
[all …]
DIStorageHealthListener.aidl34 void onHealthStatus(in int storageId, in int status); in onHealthStatus() argument
DIncrementalManager.java94 public IncrementalStorage getStorage(int storageId) { in getStorage() argument
96 return mStorages.get(storageId); in getStorage()
/frameworks/base/core/jni/
Dandroid_service_DataLoaderService.cpp27 jint storageId, in nativeCreateDataLoader() argument
32 storageId, control, params, callback); in nativeCreateDataLoader()
37 jint storageId) { in nativeStartDataLoader() argument
38 return DataLoaderService_OnStart(env, storageId); in nativeStartDataLoader()
43 jint storageId) { in nativeStopDataLoader() argument
44 return DataLoaderService_OnStop(env, storageId); in nativeStopDataLoader()
49 jint storageId) { in nativeDestroyDataLoader() argument
50 return DataLoaderService_OnDestroy(env, storageId); in nativeDestroyDataLoader()
53 static jboolean nativePrepareImage(JNIEnv* env, jobject thiz, jint storageId, in nativePrepareImage() argument
55 return DataLoaderService_OnPrepareImage(env, storageId, addedFiles, removedFiles); in nativePrepareImage()
/frameworks/base/services/incremental/
DBinderIncrementalService.cpp147 binder::Status BinderIncrementalService::makeBindMount(int32_t storageId, in makeBindMount() argument
151 *_aidl_return = mImpl.bind(storageId, sourcePath, targetFullPath, in makeBindMount()
156 binder::Status BinderIncrementalService::deleteBindMount(int32_t storageId, in deleteBindMount() argument
159 *_aidl_return = mImpl.unbind(storageId, targetFullPath); in deleteBindMount()
163 binder::Status BinderIncrementalService::deleteStorage(int32_t storageId) { in deleteStorage() argument
164 mImpl.deleteStorage(storageId); in deleteStorage()
168 binder::Status BinderIncrementalService::disableReadLogs(int32_t storageId) { in disableReadLogs() argument
169 mImpl.disableReadLogs(storageId); in disableReadLogs()
173 binder::Status BinderIncrementalService::makeDirectory(int32_t storageId, const std::string& path, in makeDirectory() argument
175 *_aidl_return = mImpl.makeDir(storageId, path); in makeDirectory()
[all …]
DBinderIncrementalService.h51 binder::Status makeBindMount(int32_t storageId, const std::string& sourcePath,
54 binder::Status deleteBindMount(int32_t storageId, const std::string& targetFullPath,
56 binder::Status makeDirectory(int32_t storageId, const std::string& path,
58 binder::Status makeDirectories(int32_t storageId, const std::string& path,
60 binder::Status makeFile(int32_t storageId, const std::string& path,
62 binder::Status makeFileFromRange(int32_t storageId, const std::string& targetPath,
68 binder::Status unlink(int32_t storageId, const std::string& path, int32_t* _aidl_return) final;
69 binder::Status isFileRangeLoaded(int32_t storageId, const std::string& path, int64_t start,
71 binder::Status getMetadataByPath(int32_t storageId, const std::string& path,
73 binder::Status getMetadataById(int32_t storageId, const std::vector<uint8_t>& id,
[all …]
DIncrementalService.cpp347 for (auto&& [storageId, storage] : mnt.storages) { in onDump()
348 dprintf(fd, " [%d] -> [%s]\n", storageId, storage.name.c_str()); in onDump()
589 const auto storageId = mountIt->first; in createLinkedStorage() local
590 const auto storageIt = ifs->makeStorage(storageId); in createLinkedStorage()
612 return storageId; in createLinkedStorage()
629 void IncrementalService::disableReadLogs(StorageId storageId) { in disableReadLogs() argument
631 const auto ifs = getIfsLocked(storageId); in disableReadLogs()
633 LOG(ERROR) << "disableReadLogs failed, invalid storageId: " << storageId; in disableReadLogs()
648 LOG(ERROR) << "Failed to make marker file for storageId: " << storageId; in disableReadLogs()
652 setStorageParams(storageId, /*enableReadLogs=*/false); in disableReadLogs()
[all …]
DIncrementalService.h341 int makeDirs(const IncFsMount& ifs, StorageId storageId, std::string_view path, int mode);
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp452 MOCK_METHOD2(onHealthStatus, binder::Status(int32_t storageId, int32_t status));
459 binder::Status storeStorageIdAndStatus(int32_t storageId, int32_t status) { in storeStorageIdAndStatus() argument
460 mStorageId = storageId; in storeStorageIdAndStatus()
581 int storageId = mIncrementalService->createStorage(tempDir.path, std::move(mDataLoaderParcel), in TEST_F() local
584 ASSERT_LT(storageId, 0); in TEST_F()
592 int storageId = mIncrementalService->createStorage(tempDir.path, std::move(mDataLoaderParcel), in TEST_F() local
595 ASSERT_LT(storageId, 0); in TEST_F()
605 int storageId = mIncrementalService->createStorage(tempDir.path, std::move(mDataLoaderParcel), in TEST_F() local
608 ASSERT_LT(storageId, 0); in TEST_F()
619 int storageId = mIncrementalService->createStorage(tempDir.path, std::move(mDataLoaderParcel), in TEST_F() local
[all …]
/frameworks/base/media/java/android/mtp/
DMtpDevice.java193 public @Nullable int[] getObjectHandles(int storageId, int format, int objectHandle) { in getObjectHandles() argument
194 return native_get_object_handles(storageId, format, objectHandle); in getObjectHandles()
271 public @Nullable MtpStorageInfo getStorageInfo(int storageId) { in getStorageInfo() argument
272 return native_get_storage_info(storageId); in getStorageInfo()
425 private native MtpStorageInfo native_get_storage_info(int storageId); in native_get_storage_info() argument
426 private native int[] native_get_object_handles(int storageId, int format, int objectHandle); in native_get_object_handles() argument
DMtpStorage.java37 public MtpStorage(StorageVolume volume, int storageId) { in MtpStorage() argument
38 mStorageId = storageId; in MtpStorage()
DMtpStorageManager.java417 int storageId = ((getNextStorageId() & 0x0000FFFF) << 16) + 1; in addMtpStorage() local
418 MtpStorage storage = new MtpStorage(volume, storageId); in addMtpStorage()
419 MtpObject root = new MtpObject(storage.getPath(), storageId, storage, null, true); in addMtpStorage()
420 mRoots.put(storageId, root); in addMtpStorage()
516 public synchronized List<MtpObject> getObjects(int parent, int format, int storageId) { in getObjects() argument
522 if (storageId == 0xFFFFFFFF) { in getObjects()
532 MtpObject obj = parent == 0 ? getStorageRoot(storageId) : getObject(parent); in getObjects()
DMtpServer.java167 private native final void native_remove_storage(int storageId); in native_remove_storage() argument
DMtpDatabase.java414 public int beginSendObject(String path, int format, int parent, int storageId) { in beginSendObject() argument
416 parent == 0 ? mManager.getStorageRoot(storageId) : mManager.getObject(parent); in beginSendObject()
/frameworks/base/core/java/android/service/dataloader/
DDataLoaderService.java200 private native boolean nativeCreateDataLoader(int storageId, in nativeCreateDataLoader() argument
205 private native boolean nativeStartDataLoader(int storageId); in nativeStartDataLoader() argument
207 private native boolean nativeStopDataLoader(int storageId); in nativeStopDataLoader() argument
209 private native boolean nativeDestroyDataLoader(int storageId); in nativeDestroyDataLoader() argument
211 private native boolean nativePrepareImage(int storageId, in nativePrepareImage() argument
/frameworks/base/media/jni/
Dandroid_mtp_MtpServer.cpp193 android_mtp_MtpServer_remove_storage(JNIEnv *env, jobject thiz, jint storageId) in android_mtp_MtpServer_remove_storage() argument
199 MtpStorage* storage = server->getStorage(storageId); in android_mtp_MtpServer_remove_storage()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java341 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) { in getObjectList() argument
350 int[] handles = device.getObjectHandles(storageId, 0, objectHandle); in getObjectList()
/frameworks/av/media/mtp/
DMtpDevice.cpp566 MtpObjectHandle storageId = info->mStorageID; in getStorageID() local
568 return storageId; in getStorageID()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java2873 public void onHealthStatus(int storageId, int status) { in prepareDataLoaderLocked()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...