Home
last modified time | relevance | path

Searched refs:storageInfo (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp461 MtpStorageInfo* storageInfo = device->getStorageInfo(storageID); in android_mtp_MtpDevice_get_storage_info() local
462 if (!storageInfo) in android_mtp_MtpDevice_get_storage_info()
468 delete storageInfo; in android_mtp_MtpDevice_get_storage_info()
472 if (storageInfo->mStorageID) in android_mtp_MtpDevice_get_storage_info()
473 env->SetIntField(info, field_storageInfo_storageId, storageInfo->mStorageID); in android_mtp_MtpDevice_get_storage_info()
474 if (storageInfo->mMaxCapacity) in android_mtp_MtpDevice_get_storage_info()
475 env->SetLongField(info, field_storageInfo_maxCapacity, storageInfo->mMaxCapacity); in android_mtp_MtpDevice_get_storage_info()
476 if (storageInfo->mFreeSpaceBytes) in android_mtp_MtpDevice_get_storage_info()
477 env->SetLongField(info, field_storageInfo_freeSpace, storageInfo->mFreeSpaceBytes); in android_mtp_MtpDevice_get_storage_info()
478 if (storageInfo->mStorageDescription) in android_mtp_MtpDevice_get_storage_info()
[all …]
/frameworks/av/media/mtp/tests/MtpFuzzer/
Dmtp_device_fuzzer.cpp201 MtpStorageInfo storageInfo(fdp.ConsumeIntegral<uint32_t>() /* id */); in LLVMFuzzerTestOneInput() local
206 storageInfo.read(mtpDataPacket); in LLVMFuzzerTestOneInput()
207 storageInfo.print(); in LLVMFuzzerTestOneInput()
/frameworks/base/services/incremental/
DIncrementalService.cpp1091 const auto storageInfo = ifs->storages.find(storage); in bind() local
1092 if (storageInfo == ifs->storages.end()) { in bind()
1096 std::string normSource = normalizePathToStorageLocked(*ifs, storageInfo, source); in bind()
1103 return addBindMount(*ifs, storage, storageInfo->second.name, std::move(normSource), in bind()
1171 const auto storageInfo = ifs.storages.find(storage); in normalizePathToStorage() local
1172 if (storageInfo == ifs.storages.end()) { in normalizePathToStorage()
1175 return normalizePathToStorageLocked(ifs, storageInfo, path); in normalizePathToStorage()
2193 const auto storageInfo = ifs->storages.find(storage); in isFileFullyLoaded() local
2194 if (storageInfo == ifs->storages.end()) { in isFileFullyLoaded()
2219 const auto storageInfo = ifs->storages.find(storage); in getLoadingProgress() local
[all …]