/foundation/filemanagement/app_file_service/tests/mock/module_external/src/ |
H A D | sms_adapter_mock.cpp | 21 StorageManager::BundleStats StorageMgrAdapter::GetBundleStats(const string &bundleName) in GetBundleStats() function in OHOS::FileManagement::Backup::StorageMgrAdapter 23 return BStorageMgrAdapter::sms->GetBundleStats(bundleName); in GetBundleStats()
|
/foundation/filemanagement/storage_service/services/storage_manager/include/storage/ |
H A D | storage_status_service.h | 33 int32_t GetBundleStats(const std::string &pkgName, BundleStats &bundleStats, int32_t appIndex);
38 int32_t GetBundleStats(const std::string &pkgName, int32_t userId, BundleStats &bundleStats, int32_t appIndex);
|
/foundation/filemanagement/app_file_service/tests/mock/module_external/include/ |
H A D | sms_adapter_mock.h | 26 virtual StorageManager::BundleStats GetBundleStats(const std::string&) = 0; 40 MOCK_METHOD(StorageManager::BundleStats, GetBundleStats, (const std::string&));
|
/foundation/filemanagement/storage_service/test/fuzztest/storagestatusservice_fuzzer/ |
H A D | storagestatusservice_fuzzer.cpp | 47 service->GetBundleStats(pkgName, bundleStats, 0); in StorageStatusServiceFuzzTest() 52 service->GetBundleStats(pkgName, userId, bundleStats, 0); in StorageStatusServiceFuzzTest()
|
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_external/ |
H A D | sms_adapter.cpp | 51 StorageManager::BundleStats StorageMgrAdapter::GetBundleStats(const string &bundleName) in GetBundleStats() function in OHOS::FileManagement::Backup::StorageMgrAdapter 55 if (storageMgr->GetBundleStats(bundleName, bundleStats)) { in GetBundleStats()
|
H A D | bms_adapter.cpp | 90 static int64_t GetBundleStats(const string &bundleName, int32_t userId) in GetBundleStats() function 99 bool res = bms->GetBundleStats(bundleDetailInfo.bundleName, userId, bundleStats, bundleDetailInfo.bundleIndex); in GetBundleStats() 136 dataSize = GetBundleStats(bundleName, userId); in GetBundleInfos()
|
/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/ |
H A D | storage_statistics_napi.cpp | 33 DECLARE_NAPI_FUNCTION("getBundleStats", GetBundleStats), in StorageStatisticsExport()
|
H A D | storage_manager_connect.cpp | 67 int32_t StorageManagerConnect::GetBundleStats(string pkgName, BundleStats &BundleStats, int32_t appIndex) in GetBundleStats() function in OHOS::StorageManager::StorageManagerConnect 71 LOGE("StorageManagerConnect::GetBundleStats:Connect error"); in GetBundleStats() 75 LOGE("StorageManagerConnect::GetBundleStats service == nullptr"); in GetBundleStats() 78 return storageManager_->GetBundleStats(pkgName, BundleStats, appIndex); in GetBundleStats()
|
/foundation/filemanagement/app_file_service/services/backup_sa/include/module_external/ |
H A D | sms_adapter.h | 33 static StorageManager::BundleStats GetBundleStats(const std::string &bundleName);
|
/foundation/filemanagement/app_file_service/tests/mock/module_external/ |
H A D | sms_adapter_mock.cpp | 22 StorageManager::BundleStats StorageMgrAdapter::GetBundleStats(const std::string &bundleName) in GetBundleStats() function in OHOS::FileManagement::Backup::StorageMgrAdapter
|
/foundation/filemanagement/storage_service/interfaces/kits/js/storage_manager/include/ |
H A D | storage_statistics_n_exporter.h | 27 napi_value GetBundleStats(napi_env env, napi_callback_info info);
|
H A D | storage_manager_connect.h | 33 int32_t GetBundleStats(std::string pkgName, BundleStats &bundleStats, int32_t appIndex);
|
/foundation/filemanagement/storage_service/services/storage_manager/storage/src/ |
H A D | storage_status_service.cpp | 170 int32_t StorageStatusService::GetBundleStats(const std::string &pkgName, in GetBundleStats() function in OHOS::StorageManager::StorageStatusService 175 return GetBundleStats(pkgName, userId, bundleStats, appIndex); in GetBundleStats() 284 int32_t ret = GetBundleStats(pkgName, userId, bundleStats, DEFAULT_APP_INDEX); in GetCurrentBundleStats() 286 LOGE("storage status service GetBundleStats failed, please check"); in GetCurrentBundleStats() 289 .funcName = "GetBundleStats", in GetCurrentBundleStats() 299 int32_t StorageStatusService::GetBundleStats(const std::string &pkgName, int32_t userId, in GetBundleStats() function in OHOS::StorageManager::StorageStatusService 305 LOGE("StorageStatusService::GetBundleStats connect bundlemgr failed"); in GetBundleStats() 319 bool res = bundleMgr->GetBundleStats(pkgName, userId, bundleStats, appIndex); in GetBundleStats() 333 LOGE("StorageStatusService::GetBundleStats success for pkgName=%{public}s, userId=%{public}d, appIndex=%{public}d" in GetBundleStats()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/ |
H A D | bms_install_daemon_test.cpp | 74 bool GetBundleStats(const std::string &bundleName, const int32_t userId, 203 bool BmsInstallDaemonTest::GetBundleStats(const std::string &bundleName, const int32_t userId, in GetBundleStats() function in OHOS::BmsInstallDaemonTest 209 if (InstalldClient::GetInstance()->GetBundleStats(bundleName, userId, bundleStats, uid) == ERR_OK) { in GetBundleStats() 806 * @tc.name: test the GetBundleStats function of installd service 812 bool result = GetBundleStats("", 0, stats, 0); in HWTEST_F() 818 * @tc.name: test the GetBundleStats function of installd service 824 bool result = GetBundleStats(BUNDLE_NAME13, 0, stats, 0); in HWTEST_F() 835 * @tc.name: test the GetBundleStats function of installd service 842 bool result = GetBundleStats(BUNDLE_NAME13, 0, stats, 0); in HWTEST_F() 850 * @tc.name: test the GetBundleStats functio [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/bms_extension/ |
H A D | bms_extension_client.h | 57 ErrCode GetBundleStats(const std::string &bundleName, int32_t userId, std::vector<int64_t> &bundleStats);
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/bmsextensionclient_fuzzer/ |
H A D | bmsextensionclient_fuzzer.cpp | 61 bmsExtensionClient.GetBundleStats(bundleName, reinterpret_cast<uintptr_t>(data), bundleStats); in DoSomethingInterestingWithMyAPI()
|
/foundation/filemanagement/storage_service/services/storage_manager/storage/test/ |
H A D | storage_total_status_service_test.cpp | 176 * @tc.desc: Test function of GetBundleStats interface for SUCCESS. 188 int32_t result = service->GetBundleStats(pkgName, bundleStats, 0); in HWTEST_F() 196 * @tc.desc: Test function of GetBundleStats interface for SUCCESS. 209 int32_t result = service->GetBundleStats(pkgName, userId, bundleStats, 0); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_extension/include/ |
H A D | bundle_mgr_ext.h | 66 virtual ErrCode GetBundleStats(const std::string &bundleName, int32_t userId, std::vector<int64_t> &bundleStats) in GetBundleStats() function in OHOS::AppExecFwk::BundleMgrExt
|
H A D | bms_extension_data_mgr.h | 51 ErrCode GetBundleStats(const std::string &bundleName, int32_t userId, std::vector<int64_t> &bundleStats);
|
/foundation/filemanagement/storage_service/test/fuzztest/storagemanagerproxy_fuzzer/ |
H A D | storagemanagerproxy_fuzzer.cpp | 105 proxy->GetBundleStats(metaData, bundleStats, 0); in StorageManagerProxyGetFuzzTest()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bms_extension/ |
H A D | bms_extension_client.cpp | 319 ErrCode BmsExtensionClient::GetBundleStats( in GetBundleStats() function in OHOS::AppExecFwk::BmsExtensionClient 327 return bmsExtensionImpl_->GetBundleStats(bundleName, userId, bundleStats); in GetBundleStats()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | installd_client.cpp | 167 ErrCode InstalldClient::GetBundleStats(const std::string &bundleName, const int32_t userId, in GetBundleStats() function in OHOS::AppExecFwk::InstalldClient 175 return CallService(&IInstalld::GetBundleStats, bundleName, userId, bundleStats, uid, appIndex); in GetBundleStats()
|
/foundation/filemanagement/storage_service/services/storage_manager/ipc/test/ |
H A D | storage_manager_stub_mock.h | 34 MOCK_METHOD3(GetBundleStats, int32_t(std::string, BundleStats &, int32_t));
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_extension/src/ |
H A D | bms_extension_data_mgr.cpp | 196 ErrCode BmsExtensionDataMgr::GetBundleStats( in GetBundleStats() function in OHOS::AppExecFwk::BmsExtensionDataMgr 209 return bundleMgrExtPtr->GetBundleStats(bundleName, userId, bundleStats); in GetBundleStats()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | installd_client.cpp | 182 ErrCode InstalldClient::GetBundleStats(const std::string &bundleName, const int32_t userId, in GetBundleStats() function in OHOS::AppExecFwk::InstalldClient 190 return CallService(&IInstalld::GetBundleStats, bundleName, userId, bundleStats, uid, appIndex); in GetBundleStats()
|