/foundation/resourceschedule/device_usage_statistics/interfaces/kits/bundlestats/napi/include/ |
H A D | bundle_state_query_napi.h | 26 napi_value QueryCurrentBundleEvents(napi_env env, napi_callback_info info);
|
/foundation/resourceschedule/device_usage_statistics/services/common/include/ |
H A D | ibundle_active_service.h | 90 * function: QueryCurrentBundleEvents, query bundle usage statistics in specific time span for calling bundle. 94 virtual ErrCode QueryCurrentBundleEvents(std::vector<BundleActiveEvent>& bundleActiveEvents,
|
H A D | bundle_active_service.h | 122 * @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 D | bundle_active_client.h | 105 * @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 D | bundle_active_proxy.h | 77 * 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 D | bundle_active_client.cpp | 131 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 D | bundle_active_proxy.cpp | 184 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 D | usage_statistics_init.cpp | 43 DECLARE_NAPI_FUNCTION("queryCurrentBundleEvents", QueryCurrentBundleEvents), in UsageStatisticsInit()
|
H A D | bundle_state_query_napi.cpp | 346 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 D | bundle_state_query.cpp | 278 BundleActiveClient::GetInstance().QueryCurrentBundleEvents(asyncCallbackInfo->BundleActiveState, in QueryCurrentBundleEventsAsync()
|
/foundation/resourceschedule/device_usage_statistics/test/unittest/ |
H A D | device_usage_statistics_mock_test.cpp | 93 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 D | device_usage_statistics_multi_test.cpp | 165 * @tc.desc: QueryCurrentBundleEvents
172 BundleActiveClient::GetInstance().QueryCurrentBundleEvents(result, 0, g_largeNum);
in MultiTestQueryCurrentBundleEvents()
|
H A D | device_usage_statistics_test.cpp | 143 * @tc.desc: QueryCurrentBundleEvents 151 BundleActiveClient::GetInstance().QueryCurrentBundleEvents(result, 0, g_largeNum); in HWTEST_F()
|
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_stub.cpp | 200 ErrCode errCode = QueryCurrentBundleEvents(result, beginTime, endTime); in HandleQueryCurrentBundleEvents()
|
H A D | bundle_active_service.cpp | 408 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()
|