Home
last modified time | relevance | path

Searched refs:QueryCurrentBundleEvents (Results 1 - 15 of 15) sorted by relevance

/foundation/resourceschedule/device_usage_statistics/interfaces/kits/bundlestats/napi/include/
H A Dbundle_state_query_napi.h26 napi_value QueryCurrentBundleEvents(napi_env env, napi_callback_info info);
/foundation/resourceschedule/device_usage_statistics/services/common/include/
H A Dibundle_active_service.h90 * function: QueryCurrentBundleEvents, query bundle usage statistics in specific time span for calling bundle.
94 virtual ErrCode QueryCurrentBundleEvents(std::vector<BundleActiveEvent>& bundleActiveEvents,
H A Dbundle_active_service.h122 * @brief QueryCurrentBundleEvents, query bundle usage statistics in specific time span for calling bundle.
124 * @param bundleActiveEvents the std::vector<BundleActiveEvent>, as the result of QueryCurrentBundleEvents.
129 ErrCode QueryCurrentBundleEvents(std::vector<BundleActiveEvent>& bundleActiveEvents,
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/include/
H A Dbundle_active_client.h105 * @brief QueryCurrentBundleEvents, query bundle usage statistics in specific time span for calling bundle.
107 * @param bundleActiveEvents the std::vector<BundleActiveEvent>, as the result of QueryCurrentBundleEvents.
112 ErrCode QueryCurrentBundleEvents(std::vector<BundleActiveEvent>& bundleActiveEvents,
H A Dbundle_active_proxy.h77 * function: QueryCurrentBundleEvents, query bundle usage statistics in specific time span for calling bundle.
81 ErrCode QueryCurrentBundleEvents(std::vector<BundleActiveEvent>& bundleActiveEvents, const int64_t beginTime,
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/src/
H A Dbundle_active_client.cpp131 ErrCode BundleActiveClient::QueryCurrentBundleEvents(std::vector<BundleActiveEvent>& bundleActiveEvents, in QueryCurrentBundleEvents() function in OHOS::DeviceUsageStats::BundleActiveClient
139 return bundleActiveProxy_->QueryCurrentBundleEvents(bundleActiveEvents, beginTime, endTime); in QueryCurrentBundleEvents()
H A Dbundle_active_proxy.cpp184 ErrCode BundleActiveProxy::QueryCurrentBundleEvents(std::vector<BundleActiveEvent>& bundleActiveEvents, in QueryCurrentBundleEvents() function in OHOS::DeviceUsageStats::BundleActiveProxy
211 BUNDLE_ACTIVE_LOGD("QueryCurrentBundleEvents event id is %{public}d, bundle name is %{public}s," in QueryCurrentBundleEvents()
/foundation/resourceschedule/device_usage_statistics/frameworks/src/
H A Dusage_statistics_init.cpp43 DECLARE_NAPI_FUNCTION("queryCurrentBundleEvents", QueryCurrentBundleEvents), in UsageStatisticsInit()
H A Dbundle_state_query_napi.cpp346 BundleActiveClient::GetInstance().QueryCurrentBundleEvents(asyncCallbackInfo->BundleActiveState, in QueryCurrentBundleEventsAsync()
349 BUNDLE_ACTIVE_LOGE("QueryCurrentBundleEvents, asyncCallbackInfo == nullptr"); in QueryCurrentBundleEventsAsync()
365 napi_value QueryCurrentBundleEvents(napi_env env, napi_callback_info info) in QueryCurrentBundleEvents() function
376 BUNDLE_ACTIVE_LOGD("QueryCurrentBundleEvents callbackPtr->beginTime: %{public}lld", in QueryCurrentBundleEvents()
379 BUNDLE_ACTIVE_LOGD("QueryCurrentBundleEvents callbackPtr->endTime: %{public}lld", in QueryCurrentBundleEvents()
384 NAPI_CALL(env, napi_create_string_latin1(env, "QueryCurrentBundleEvents", NAPI_AUTO_LENGTH, &resourceName)); in QueryCurrentBundleEvents()
H A Dbundle_state_query.cpp278 BundleActiveClient::GetInstance().QueryCurrentBundleEvents(asyncCallbackInfo->BundleActiveState, in QueryCurrentBundleEventsAsync()
/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Ddevice_usage_statistics_mock_test.cpp93 EXPECT_NE(BundleActiveClient::GetInstance().QueryCurrentBundleEvents(event, 0, g_largeNum), ERR_OK); in HWTEST_F()
236 ->QueryCurrentBundleEvents(bundleActiveEvents, 0, g_largeNum); in HWTEST_F()
H A Ddevice_usage_statistics_multi_test.cpp165 * @tc.desc: QueryCurrentBundleEvents
172 BundleActiveClient::GetInstance().QueryCurrentBundleEvents(result, 0, g_largeNum); in MultiTestQueryCurrentBundleEvents()
H A Ddevice_usage_statistics_test.cpp143 * @tc.desc: QueryCurrentBundleEvents
151 BundleActiveClient::GetInstance().QueryCurrentBundleEvents(result, 0, g_largeNum); in HWTEST_F()
/foundation/resourceschedule/device_usage_statistics/services/common/src/
H A Dbundle_active_stub.cpp200 ErrCode errCode = QueryCurrentBundleEvents(result, beginTime, endTime); in HandleQueryCurrentBundleEvents()
H A Dbundle_active_service.cpp408 ErrCode BundleActiveService::QueryCurrentBundleEvents(std::vector<BundleActiveEvent>& bundleActiveEvents, in QueryCurrentBundleEvents() function in OHOS::DeviceUsageStats::BundleActiveService
413 BUNDLE_ACTIVE_LOGD("QueryCurrentBundleEvents UID is %{public}d", callingUid); in QueryCurrentBundleEvents()
425 BUNDLE_ACTIVE_LOGI("QueryCurrentBundleEvents buindle name is %{public}s", in QueryCurrentBundleEvents()
430 BUNDLE_ACTIVE_LOGD("QueryCurrentBundleEvents bundleActiveEvents size is %{public}zu", bundleActiveEvents.size()); in QueryCurrentBundleEvents()

Completed in 17 milliseconds