Home
last modified time | relevance | path

Searched refs:QueryBundleStatsInfos (Results 1 - 22 of 22) sorted by relevance

/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Dpackage_usage_test.cpp473 * @tc.desc: QueryBundleStatsInfos
490 EXPECT_NE(bundleUserService->QueryBundleStatsInfos( in HWTEST_F()
494 EXPECT_NE(bundleUserService->QueryBundleStatsInfos( in HWTEST_F()
499 bundleUserService->QueryBundleStatsInfos(PackageStats, intervalType, beginTime, endTime, userId, bundleName); in HWTEST_F()
503 EXPECT_NE(bundleUserService->QueryBundleStatsInfos( in HWTEST_F()
507 EXPECT_NE(bundleUserService->QueryBundleStatsInfos( in HWTEST_F()
512 bundleUserService->QueryBundleStatsInfos(PackageStats, intervalType, beginTime, endTime, userId, bundleName); in HWTEST_F()
518 * @tc.desc: QueryBundleStatsInfos
538 bundleUserService->QueryBundleStatsInfos(PackageStats, intervalType, beginTime, endTime, userId, bundleName); in HWTEST_F()
541 bundleUserService->QueryBundleStatsInfos(PackageStat in HWTEST_F()
[all...]
H A Ddevice_usage_statistics_mock_test.cpp88 EXPECT_NE(BundleActiveClient::GetInstance().QueryBundleStatsInfos(packageStats, in HWTEST_F()
266 ->QueryBundleStatsInfos(packageStats, 0, 0, g_largeNum); in HWTEST_F()
301 code = bundleActiveCore->QueryBundleStatsInfos( in HWTEST_F()
318 code = bundleActiveCore->QueryBundleStatsInfos(packageStats, g_commonUserid, in HWTEST_F()
H A Ddevice_usage_statistics_multi_test.cpp207 * @tc.desc: QueryBundleStatsInfos
214 BundleActiveClient::GetInstance().QueryBundleStatsInfos(result, g_intervalType, 0, g_largeNum); in MultiTestQueryBundleStatsInfos()
H A Ddevice_usage_statistics_test.cpp171 * @tc.desc: QueryBundleStatsInfos
179 BundleActiveClient::GetInstance().QueryBundleStatsInfos(result, 4, 0, g_largeNum); in HWTEST_F()
/foundation/resourceschedule/device_usage_statistics/interfaces/kits/bundlestats/napi/include/
H A Dbundle_state_query_napi.h29 napi_value QueryBundleStatsInfos(napi_env env, napi_callback_info info);
H A Dbundle_state_common.h85 static std::shared_ptr<std::map<std::string, BundleActivePackageStats>> QueryBundleStatsInfos(
/foundation/resourceschedule/device_usage_statistics/services/common/include/
H A Dibundle_active_service.h82 * function: QueryBundleStatsInfos, query bundle usage statistics in specific time span for calling bundle.
86 virtual ErrCode QueryBundleStatsInfos(std::vector<BundleActivePackageStats>& bundleActivePackageStats,
H A Dbundle_active_service.h110 * @brief QueryBundleStatsInfos, query bundle usage statistics in specific time span for calling bundle.
112 * @param bundleActivePackageStats, The result of QueryBundleStatsInfos.
118 ErrCode QueryBundleStatsInfos(std::vector<BundleActivePackageStats>& bundleActivePackageStats,
H A Dbundle_active_core.h161 ErrCode QueryBundleStatsInfos(std::vector<BundleActivePackageStats>& packageStats, const int32_t userId,
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/include/
H A Dbundle_active_client.h93 * @brief QueryBundleStatsInfos, query bundle usage statistics in specific time span for calling bundle.
95 * @param bundleActivePackageStats bundleActivePackageStats, The result of QueryBundleStatsInfos.
101 ErrCode QueryBundleStatsInfos(std::vector<BundleActivePackageStats>& bundleActivePackageStats,
H A Dbundle_active_proxy.h69 * function: QueryBundleStatsInfos, query bundle usage statistics in specific time span for calling bundle.
73 ErrCode QueryBundleStatsInfos(std::vector<BundleActivePackageStats>& bundleActivePackageStats,
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/src/
H A Dbundle_active_client.cpp120 ErrCode BundleActiveClient::QueryBundleStatsInfos(std::vector<BundleActivePackageStats>& bundleActivePackageStats, in QueryBundleStatsInfos() function in OHOS::DeviceUsageStats::BundleActiveClient
128 return bundleActiveProxy_->QueryBundleStatsInfos(bundleActivePackageStats, intervalType, beginTime, endTime); in QueryBundleStatsInfos()
H A Dbundle_active_proxy.cpp144 ErrCode BundleActiveProxy::QueryBundleStatsInfos(std::vector<BundleActivePackageStats>& bundleActivePackageStats, in QueryBundleStatsInfos() function in OHOS::DeviceUsageStats::BundleActiveProxy
/foundation/resourceschedule/device_usage_statistics/frameworks/src/
H A Dusage_statistics_init.cpp46 DECLARE_NAPI_FUNCTION("queryBundleStatsInfos", QueryBundleStatsInfos), in UsageStatisticsInit()
H A Dbundle_state_query_napi.cpp628 asyncCallbackInfo->packageStats = BundleStateCommon::QueryBundleStatsInfos(asyncCallbackInfo->beginTime, in QueryBundleStatsInfosAsync()
646 napi_value QueryBundleStatsInfos(napi_env env, napi_callback_info info) in QueryBundleStatsInfos() function
H A Dbundle_state_common.cpp472 std::shared_ptr<std::map<std::string, BundleActivePackageStats>> BundleStateCommon::QueryBundleStatsInfos( in QueryBundleStatsInfos() function in OHOS::DeviceUsageStats::BundleStateCommon
H A Dbundle_state_query.cpp580 asyncCallbackInfo->packageStats = BundleStateCommon::QueryBundleStatsInfos(asyncCallbackInfo->beginTime, in QueryBundleStatsInfosAsync()
/foundation/resourceschedule/device_usage_statistics/services/packageusage/include/
H A Dbundle_active_user_service.h69 ErrCode QueryBundleStatsInfos(std::vector<BundleActivePackageStats>& PackageStats, int32_t intervalType,
/foundation/resourceschedule/device_usage_statistics/services/common/src/
H A Dbundle_active_service.cpp325 BUNDLE_ACTIVE_LOGI("QueryBundleStatsInfos user id is %{public}d", userId); in QueryBundleStatsInfoByInterval()
329 ret = bundleActiveCore_->QueryBundleStatsInfos( in QueryBundleStatsInfoByInterval()
384 ErrCode BundleActiveService::QueryBundleStatsInfos(std::vector<BundleActivePackageStats>& bundleActivePackageStats, in QueryBundleStatsInfos() function in OHOS::DeviceUsageStats::BundleActiveService
395 BUNDLE_ACTIVE_LOGD("QueryBundleStatsInfos userid is %{public}d", userId); in QueryBundleStatsInfos()
401 ret = bundleActiveCore_->QueryBundleStatsInfos(bundleActivePackageStats, userId, convertedIntervalType, in QueryBundleStatsInfos()
H A Dbundle_active_stub.cpp168 ErrCode errCode = QueryBundleStatsInfos(result, intervalType, beginTime, endTime); in HandleQueryBundleStatsInfos()
H A Dbundle_active_core.cpp667 ErrCode BundleActiveCore::QueryBundleStatsInfos(std::vector<BundleActivePackageStats>& packageStats, in QueryBundleStatsInfos() function in OHOS::DeviceUsageStats::BundleActiveCore
671 BUNDLE_ACTIVE_LOGD("QueryBundleStatsInfos called"); in QueryBundleStatsInfos()
678 BUNDLE_ACTIVE_LOGD("QueryBundleStatsInfos begin time is %{public}lld, end time is %{public}lld, " in QueryBundleStatsInfos()
681 BUNDLE_ACTIVE_LOGI("QueryBundleStatsInfos time span illegal"); in QueryBundleStatsInfos()
687 BUNDLE_ACTIVE_LOGI("QueryBundleStatsInfos service is null, failed"); in QueryBundleStatsInfos()
690 return service->QueryBundleStatsInfos(packageStats, intervalType, beginTime, endTime, userId, bundleName); in QueryBundleStatsInfos()
/foundation/resourceschedule/device_usage_statistics/services/packageusage/src/
H A Dbundle_active_user_service.cpp436 ErrCode BundleActiveUserService::QueryBundleStatsInfos(std::vector<BundleActivePackageStats>& PackageStats, in QueryBundleStatsInfos() function in OHOS::DeviceUsageStats::BundleActiveUserService
470 BUNDLE_ACTIVE_LOGI("QueryBundleStatsInfos need in memory stats"); in QueryBundleStatsInfos()

Completed in 21 milliseconds