Home
last modified time | relevance | path

Searched refs:GetBundleStats (Results 1 - 25 of 69) sorted by relevance

123

/foundation/filemanagement/app_file_service/tests/mock/module_external/src/
H A Dsms_adapter_mock.cpp21 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 Dstorage_status_service.h33 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 Dsms_adapter_mock.h26 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 Dstoragestatusservice_fuzzer.cpp47 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 Dsms_adapter.cpp51 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 Dbms_adapter.cpp90 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 Dstorage_statistics_napi.cpp33 DECLARE_NAPI_FUNCTION("getBundleStats", GetBundleStats), in StorageStatisticsExport()
H A Dstorage_manager_connect.cpp67 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 Dsms_adapter.h33 static StorageManager::BundleStats GetBundleStats(const std::string &bundleName);
/foundation/filemanagement/app_file_service/tests/mock/module_external/
H A Dsms_adapter_mock.cpp22 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 Dstorage_statistics_n_exporter.h27 napi_value GetBundleStats(napi_env env, napi_callback_info info);
H A Dstorage_manager_connect.h33 int32_t GetBundleStats(std::string pkgName, BundleStats &bundleStats, int32_t appIndex);
/foundation/filemanagement/storage_service/services/storage_manager/storage/src/
H A Dstorage_status_service.cpp170 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 Dbms_install_daemon_test.cpp74 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 Dbms_extension_client.h57 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 Dbmsextensionclient_fuzzer.cpp61 bmsExtensionClient.GetBundleStats(bundleName, reinterpret_cast<uintptr_t>(data), bundleStats); in DoSomethingInterestingWithMyAPI()
/foundation/filemanagement/storage_service/services/storage_manager/storage/test/
H A Dstorage_total_status_service_test.cpp176 * @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 Dbundle_mgr_ext.h66 virtual ErrCode GetBundleStats(const std::string &bundleName, int32_t userId, std::vector<int64_t> &bundleStats) in GetBundleStats() function in OHOS::AppExecFwk::BundleMgrExt
H A Dbms_extension_data_mgr.h51 ErrCode GetBundleStats(const std::string &bundleName, int32_t userId, std::vector<int64_t> &bundleStats);
/foundation/filemanagement/storage_service/test/fuzztest/storagemanagerproxy_fuzzer/
H A Dstoragemanagerproxy_fuzzer.cpp105 proxy->GetBundleStats(metaData, bundleStats, 0); in StorageManagerProxyGetFuzzTest()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bms_extension/
H A Dbms_extension_client.cpp319 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 Dinstalld_client.cpp167 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 Dstorage_manager_stub_mock.h34 MOCK_METHOD3(GetBundleStats, int32_t(std::string, BundleStats &, int32_t));
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_extension/src/
H A Dbms_extension_data_mgr.cpp196 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 Dinstalld_client.cpp182 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()

Completed in 14 milliseconds

123