Searched refs:storageInfo (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImplTest.java | 1957 StorageInfo storageInfo = mAppSearchImpl.getStorageInfoForPackage("nonexistent.package"); in testGetStorageInfoForPackage_nonexistentPackage() local 1958 assertThat(storageInfo.getSizeBytes()).isEqualTo(0); in testGetStorageInfoForPackage_nonexistentPackage() 1959 assertThat(storageInfo.getAliveDocumentsCount()).isEqualTo(0); in testGetStorageInfoForPackage_nonexistentPackage() 1960 assertThat(storageInfo.getAliveNamespacesCount()).isEqualTo(0); in testGetStorageInfoForPackage_nonexistentPackage() 1979 StorageInfo storageInfo = mAppSearchImpl.getStorageInfoForPackage("package1"); in testGetStorageInfoForPackage_withoutDocument() local 1980 assertThat(storageInfo.getSizeBytes()).isEqualTo(0); in testGetStorageInfoForPackage_withoutDocument() 1981 assertThat(storageInfo.getAliveDocumentsCount()).isEqualTo(0); in testGetStorageInfoForPackage_withoutDocument() 1982 assertThat(storageInfo.getAliveNamespacesCount()).isEqualTo(0); in testGetStorageInfoForPackage_withoutDocument() 2023 StorageInfo storageInfo = mAppSearchImpl.getStorageInfoForPackage("package1"); in testGetStorageInfoForPackage_proportionalToDocuments() local 2024 long size1 = storageInfo.getSizeBytes(); in testGetStorageInfoForPackage_proportionalToDocuments() [all …]
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDevice.cpp | 461 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/base/services/incremental/ |
D | IncrementalService.cpp | 1071 const auto storageInfo = ifs->storages.find(storage); in bind() local 1072 if (storageInfo == ifs->storages.end()) { in bind() 1076 std::string normSource = normalizePathToStorageLocked(*ifs, storageInfo, source); in bind() 1083 return addBindMount(*ifs, storage, storageInfo->second.name, std::move(normSource), in bind() 1151 const auto storageInfo = ifs.storages.find(storage); in normalizePathToStorage() local 1152 if (storageInfo == ifs.storages.end()) { in normalizePathToStorage() 1155 return normalizePathToStorageLocked(ifs, storageInfo, path); in normalizePathToStorage() 2173 const auto storageInfo = ifs->storages.find(storage); in isFileFullyLoaded() local 2174 if (storageInfo == ifs->storages.end()) { in isFileFullyLoaded() 2199 const auto storageInfo = ifs->storages.find(storage); in getLoadingProgress() local [all …]
|
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/ |
D | AppSearchManagerService.java | 1166 StorageInfo storageInfo = instance.getAppSearchImpl() in getStorageInfo() local 1168 Bundle storageInfoBundle = storageInfo.getBundle(); in getStorageInfo()
|