Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/incremental/
DIIncrementalService.aidl48 boolean startLoading(int storageId, in startLoading() argument
58 void onInstallationComplete(int storageId); in onInstallationComplete() argument
65 …int makeBindMount(int storageId, in @utf8InCpp String sourcePath, in @utf8InCpp String targetFullP… in makeBindMount() argument
70 int deleteBindMount(int storageId, in @utf8InCpp String targetFullPath); in deleteBindMount() argument
75 int makeDirectory(int storageId, in @utf8InCpp String path); in makeDirectory() argument
81 int makeDirectories(int storageId, in @utf8InCpp String path); in makeDirectories() argument
86 …int makeFile(int storageId, in @utf8InCpp String path, int mode, in IncrementalNewFileParams param… in makeFile() argument
92 …int makeFileFromRange(int storageId, in @utf8InCpp String targetPath, in @utf8InCpp String sourceP… in makeFileFromRange() argument
105 int unlink(int storageId, in @utf8InCpp String path); in unlink() argument
113 int isFileFullyLoaded(int storageId, in @utf8InCpp String path); in isFileFullyLoaded() argument
[all …]
DIncrementalManager.java357 final int storageId = storage.getId(); in cleanUpCallbacks() local
360 callbacksForStorage = mCallbacks.removeReturnOld(storageId); in cleanUpCallbacks()
372 final int storageId = storage.getId(); in registerCallback() local
375 mCallbacks.get(storageId); in registerCallback()
378 mCallbacks.put(storageId, callbacksForStorage); in registerCallback()
392 public void onStorageLoadingProgressChanged(int storageId, float progress) { in onStorageLoadingProgressChanged() argument
395 callbacksForStorage = mCallbacks.get(storageId); in onStorageLoadingProgressChanged()
DIStorageLoadingProgressListener.aidl24 void onStorageLoadingProgressChanged(int storageId, float progress); in onStorageLoadingProgressChanged() argument
DIStorageHealthListener.aidl34 void onHealthStatus(in int storageId, in int status); in onHealthStatus() argument
/frameworks/base/services/incremental/
DBinderIncrementalService.cpp140 int32_t storageId, const ::android::content::pm::DataLoaderParamsParcel& params, in startLoading() argument
147 mImpl.startLoading(storageId, const_cast<content::pm::DataLoaderParamsParcel&&>(params), in startLoading()
153 binder::Status BinderIncrementalService::onInstallationComplete(int32_t storageId) { in onInstallationComplete() argument
154 mImpl.onInstallationComplete(storageId); in onInstallationComplete()
158 binder::Status BinderIncrementalService::makeBindMount(int32_t storageId, in makeBindMount() argument
162 *_aidl_return = mImpl.bind(storageId, sourcePath, targetFullPath, in makeBindMount()
167 binder::Status BinderIncrementalService::deleteBindMount(int32_t storageId, in deleteBindMount() argument
170 *_aidl_return = mImpl.unbind(storageId, targetFullPath); in deleteBindMount()
174 binder::Status BinderIncrementalService::deleteStorage(int32_t storageId) { in deleteStorage() argument
175 mImpl.deleteStorage(storageId); in deleteStorage()
[all …]
DBinderIncrementalService.h49 int32_t storageId, const ::android::content::pm::DataLoaderParamsParcel& params,
55 binder::Status onInstallationComplete(int32_t storageId) final;
57 binder::Status makeBindMount(int32_t storageId, const std::string& sourcePath,
60 binder::Status deleteBindMount(int32_t storageId, const std::string& targetFullPath,
62 binder::Status makeDirectory(int32_t storageId, const std::string& path,
64 binder::Status makeDirectories(int32_t storageId, const std::string& path,
66 binder::Status makeFile(int32_t storageId, const std::string& path, int32_t mode,
70 binder::Status makeFileFromRange(int32_t storageId, const std::string& targetPath,
76 binder::Status unlink(int32_t storageId, const std::string& path, int32_t* _aidl_return) final;
77 binder::Status isFileFullyLoaded(int32_t storageId, const std::string& path,
[all …]
DIncrementalService.cpp466 for (auto&& [storageId, storage] : mnt.storages) { in onDump()
467 auto&& ifs = getIfsLocked(storageId); in onDump()
468 dprintf(fd, " [%d] -> [%s] (%d %% loaded)(%s) \n", storageId, in onDump()
762 const auto storageId = mountIt->first; in createLinkedStorage() local
763 const auto storageIt = ifs->makeStorage(storageId); in createLinkedStorage()
785 return storageId; in createLinkedStorage()
788 bool IncrementalService::startLoading(StorageId storageId, in startLoading() argument
796 setUidReadTimeouts(storageId, std::move(perUidReadTimeouts)); in startLoading()
804 ifs = getIfs(storageId); in startLoading()
846 addTimedJob(*mTimedQueue, storageId, getReadLogsMaxInterval(), in startLoading()
[all …]
DIncrementalService.h201 void getMetrics(int32_t storageId, android::os::PersistableBundle* _aidl_return);
445 int makeDirs(const IncFsMount& ifs, StorageId storageId, std::string_view path, int mode);
469 void addIfsStateCallback(StorageId storageId, IfsStateCallback callback);
470 void removeIfsStateCallbacks(StorageId storageId);
472 void processIfsStateCallbacks(StorageId storageId, std::vector<IfsStateCallback>& callbacks);
474 bool updateLoadingProgress(int32_t storageId,
/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/test/
DIncrementalServiceTest.cpp652 MOCK_METHOD2(onHealthStatus, binder::Status(int32_t storageId, int32_t status));
659 binder::Status storeStorageIdAndStatus(int32_t storageId, int32_t status) { in storeStorageIdAndStatus() argument
660 mStorageId = storageId; in storeStorageIdAndStatus()
673 binder::Status(int32_t storageId, float progress));
801 void checkHealthMetrics(int storageId, long expectedMillisSinceOldestPendingRead, in checkHealthMetrics() argument
804 mIncrementalService->getMetrics(storageId, &result); in checkHealthMetrics()
827 void checkBindingMetrics(int storageId, int64_t expectedMillisSinceLastDataLoaderBind, in checkBindingMetrics() argument
830 mIncrementalService->getMetrics(storageId, &result); in checkBindingMetrics()
873 int storageId = in TEST_F() local
876 ASSERT_LT(storageId, 0); in TEST_F()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpDevice.java205 public @Nullable int[] getObjectHandles(int storageId, int format, int objectHandle) { in getObjectHandles() argument
206 return native_get_object_handles(storageId, format, objectHandle); in getObjectHandles()
283 public @Nullable MtpStorageInfo getStorageInfo(int storageId) { in getStorageInfo() argument
284 return native_get_storage_info(storageId); in getStorageInfo()
438 private native MtpStorageInfo native_get_storage_info(int storageId); in native_get_storage_info() argument
439 private native int[] native_get_object_handles(int storageId, int format, int objectHandle); in native_get_object_handles() argument
DMtpStorage.java40 public MtpStorage(StorageVolume volume, int storageId, Supplier<Boolean> isHostWindows) { in MtpStorage() argument
41 mStorageId = storageId; in MtpStorage()
DMtpStorageManager.java461 int storageId = ((getNextStorageId() & 0x0000FFFF) << 16) + 1; in addMtpStorage() local
462 MtpStorage storage = new MtpStorage(volume, storageId, isHostWindows); in addMtpStorage()
463 MtpObject root = new MtpObject(storage.getPath(), storageId, storage, /* parent= */ null, in addMtpStorage()
465 mRoots.put(storageId, root); in addMtpStorage()
561 public synchronized List<MtpObject> getObjects(int parent, int format, int storageId) { in getObjects() argument
567 if (storageId == 0xFFFFFFFF) { in getObjects()
577 MtpObject obj = parent == 0 ? getStorageRoot(storageId) : getObject(parent); in getObjects()
DMtpServer.java162 private native final void native_remove_storage(int storageId); in native_remove_storage() argument
DMtpDatabase.java422 public int beginSendObject(String path, int format, int parent, int storageId) { in beginSendObject() argument
424 parent == 0 ? mManager.getStorageRoot(storageId) : mManager.getObject(parent); in beginSendObject()
/frameworks/base/core/java/android/service/dataloader/
DDataLoaderService.java232 private native boolean nativeCreateDataLoader(int storageId, in nativeCreateDataLoader() argument
237 private native boolean nativeStartDataLoader(int storageId); in nativeStartDataLoader() argument
239 private native boolean nativeStopDataLoader(int storageId); in nativeStopDataLoader() argument
241 private native boolean nativeDestroyDataLoader(int storageId); in nativeDestroyDataLoader() argument
243 private native boolean nativePrepareImage(int storageId, in nativePrepareImage() argument
/frameworks/base/media/jni/
Dandroid_mtp_MtpServer.cpp217 android_mtp_MtpServer_remove_storage(JNIEnv *env, jobject thiz, jint storageId) in android_mtp_MtpServer_remove_storage() argument
223 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.java4764 public void onHealthStatus(int storageId, int status) {
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...