Home
last modified time | relevance | path

Searched refs:QueryAppGroup (Results 1 - 21 of 21) sorted by relevance

/foundation/resourceschedule/device_usage_statistics/interfaces/kits/bundlestats/napi/include/
H A Dbundle_active_app_group_napi.h28 napi_value QueryAppGroup(napi_env env, napi_callback_info info);
/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Ddevice_usage_statistics_mock_test.cpp96 EXPECT_NE(BundleActiveClient::GetInstance().QueryAppGroup(result, g_defaultBundleName, g_commonUserid), ERR_OK); in HWTEST_F()
188 EXPECT_NE(DelayedSingleton<BundleActiveService>::GetInstance()->QueryAppGroup(appGroup, bundleName, -1), ERR_OK); in HWTEST_F()
189 EXPECT_NE(DelayedSingleton<BundleActiveService>::GetInstance()->QueryAppGroup(appGroup, bundleName, 100), ERR_OK); in HWTEST_F()
H A Ddevice_usage_statistics_test.cpp253 BundleActiveClient::GetInstance().QueryAppGroup(result, g_defaultBundleName, g_commonUserid); in HWTEST_F()
264 * @tc.desc: QueryAppGroup, no bundleName
272 BundleActiveClient::GetInstance().QueryAppGroup(result, g_defaultBundleName, g_commonUserid); in HWTEST_F()
H A Ddevice_usage_statistics_multi_test.cpp262 * @tc.desc: QueryAppGroup, no bundleName
270 BundleActiveClient::GetInstance().QueryAppGroup(result, g_defaultBundleName, g_commonUserid); in MultiTestAppGroup()
H A Ddevice_usage_statistics_service_test.cpp1046 * @tc.desc: QueryAppGroup
1057 EXPECT_NE(groupController->QueryAppGroup(appGroup, bundleName, userId), ERR_OK); in HWTEST_F()
1061 EXPECT_NE(groupController->QueryAppGroup(appGroup, bundleName, userId), ERR_OK); in HWTEST_F()
1112 coreObject->bundleGroupController_->QueryAppGroup(appGroup, bundleName, userId); in HWTEST_F()
/foundation/resourceschedule/device_usage_statistics/services/common/include/
H A Dibundle_active_service.h98 * function: QueryAppGroup, query app group by bundleName and userId.
102 virtual ErrCode QueryAppGroup(int32_t& appGroup, std::string& bundleName, const int32_t userId) = 0;
H A Dbundle_active_service.h133 * @brief QueryAppGroup, query appGroup by bundleName and userId.
135 * @param appGroup as the result of QueryAppGroup.
140 ErrCode QueryAppGroup(int32_t& appGroup, std::string& bundleName, const int32_t userId) override;
H A Dbundle_active_core.h172 ErrCode QueryAppGroup(int32_t& appGroup, const std::string& bundleName, const int32_t userId);
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/include/
H A Dbundle_active_group_controller.h83 ErrCode QueryAppGroup(int32_t& appGroup, const std::string& bundleName, const int32_t userId);
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/include/
H A Dbundle_active_client.h116 * @brief QueryAppGroup, query appGroup by bundleName and userId.
118 * @param appGroup as the result of QueryAppGroup.
123 ErrCode QueryAppGroup(int32_t& appGroup, std::string& bundleName, const int32_t userId = -1);
H A Dbundle_active_proxy.h85 * function: QueryAppGroup, query bundle priority group calling bundle.
89 ErrCode QueryAppGroup(int32_t& appGroup, std::string& bundleName, const int32_t userId) override;
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/src/
H A Dbundle_active_client.cpp142 ErrCode BundleActiveClient::QueryAppGroup(int32_t& appGroup, std::string& bundleName, const int32_t userId) in QueryAppGroup() function in OHOS::DeviceUsageStats::BundleActiveClient
149 return bundleActiveProxy_->QueryAppGroup(appGroup, bundleName, userId); in QueryAppGroup()
H A Dbundle_active_proxy.cpp218 ErrCode BundleActiveProxy::QueryAppGroup(int32_t& appGroup, std::string& bundleName, const int32_t userId) in QueryAppGroup() function in OHOS::DeviceUsageStats::BundleActiveProxy
/foundation/resourceschedule/device_usage_statistics/frameworks/src/
H A Dusage_statistics_init.cpp40 DECLARE_NAPI_FUNCTION("queryAppGroup", QueryAppGroup), in UsageStatisticsInit()
H A Dbundle_active_app_group_napi.cpp120 asyncCallbackInfo->errorCode = BundleActiveClient::GetInstance().QueryAppGroup( in QueryAppGroupAsync()
123 BUNDLE_ACTIVE_LOGE("QueryAppGroup, asyncCallbackInfo == nullptr"); in QueryAppGroupAsync()
137 napi_value QueryAppGroup(napi_env env, napi_callback_info info) in QueryAppGroup() function
147 BUNDLE_ACTIVE_LOGD("QueryAppGroup callbackPtr->bundleName: %{public}s", in QueryAppGroup()
152 NAPI_CALL(env, napi_create_string_latin1(env, "QueryAppGroup", NAPI_AUTO_LENGTH, &resourceName)); in QueryAppGroup()
191 BUNDLE_ACTIVE_LOGI("QueryAppGroup"); in QueryAppGroupSync()
195 ErrCode errorCode = BundleActiveClient::GetInstance().QueryAppGroup( in QueryAppGroupSync()
H A Dbundle_state_query.cpp178 asyncCallbackInfo->errorCode = BundleActiveClient::GetInstance().QueryAppGroup( in QueryAppGroupAsync()
/foundation/resourceschedule/device_usage_statistics/services/common/src/
H A Dbundle_active_service.cpp434 ErrCode BundleActiveService::QueryAppGroup(int32_t& appGroup, std::string& bundleName, int32_t userId) in QueryAppGroup() function in OHOS::DeviceUsageStats::BundleActiveService
438 BUNDLE_ACTIVE_LOGD("QueryAppGroup UID is %{public}d", callingUid); in QueryAppGroup()
454 ret = bundleActiveCore_->QueryAppGroup(appGroup, bundleName, userId); in QueryAppGroup()
459 ret = bundleActiveCore_->QueryAppGroup(appGroup, bundleName, userId); in QueryAppGroup()
H A Dbundle_active_stub.cpp246 ErrCode errCode = QueryAppGroup(appGroup, bundleName, userId); in HandleQueryAppGroup()
H A Dbundle_active_core.cpp768 ErrCode BundleActiveCore::QueryAppGroup(int32_t& appGroup, const std::string& bundleName, const int32_t userId) in QueryAppGroup() function in OHOS::DeviceUsageStats::BundleActiveCore
770 return bundleGroupController_->QueryAppGroup(appGroup, bundleName, userId); in QueryAppGroup()
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_status.cpp367 int32_t errCode = DeviceUsageStats::BundleActiveClient::GetInstance().QueryAppGroup(group, bundleName_, userId_); in SetMinInterval()
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/
H A Dbundle_active_group_controller.cpp409 ErrCode BundleActiveGroupController::QueryAppGroup(int32_t& appGroup, in QueryAppGroup() function in OHOS::DeviceUsageStats::BundleActiveGroupController
419 BUNDLE_ACTIVE_LOGI("QueryAppGroup is not bundleInstalled"); in QueryAppGroup()
438 BUNDLE_ACTIVE_LOGI("QueryAppGroup group is %{public}d", oneBundleHistory->currentGroup_); in QueryAppGroup()

Completed in 16 milliseconds