/foundation/resourceschedule/device_usage_statistics/interfaces/kits/bundlestats/napi/include/ |
H A D | bundle_active_app_group_napi.h | 28 napi_value QueryAppGroup(napi_env env, napi_callback_info info);
|
/foundation/resourceschedule/device_usage_statistics/test/unittest/ |
H A D | device_usage_statistics_mock_test.cpp | 96 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 D | device_usage_statistics_test.cpp | 253 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 D | device_usage_statistics_multi_test.cpp | 262 * @tc.desc: QueryAppGroup, no bundleName
270 BundleActiveClient::GetInstance().QueryAppGroup(result, g_defaultBundleName, g_commonUserid);
in MultiTestAppGroup()
|
H A D | device_usage_statistics_service_test.cpp | 1046 * @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 D | ibundle_active_service.h | 98 * 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 D | bundle_active_service.h | 133 * @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 D | bundle_active_core.h | 172 ErrCode QueryAppGroup(int32_t& appGroup, const std::string& bundleName, const int32_t userId);
|
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/include/ |
H A D | bundle_active_group_controller.h | 83 ErrCode QueryAppGroup(int32_t& appGroup, const std::string& bundleName, const int32_t userId);
|
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/include/ |
H A D | bundle_active_client.h | 116 * @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 D | bundle_active_proxy.h | 85 * 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 D | bundle_active_client.cpp | 142 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 D | bundle_active_proxy.cpp | 218 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 D | usage_statistics_init.cpp | 40 DECLARE_NAPI_FUNCTION("queryAppGroup", QueryAppGroup), in UsageStatisticsInit()
|
H A D | bundle_active_app_group_napi.cpp | 120 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 D | bundle_state_query.cpp | 178 asyncCallbackInfo->errorCode = BundleActiveClient::GetInstance().QueryAppGroup( in QueryAppGroupAsync()
|
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_service.cpp | 434 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 D | bundle_active_stub.cpp | 246 ErrCode errCode = QueryAppGroup(appGroup, bundleName, userId); in HandleQueryAppGroup()
|
H A D | bundle_active_core.cpp | 768 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 D | work_status.cpp | 367 int32_t errCode = DeviceUsageStats::BundleActiveClient::GetInstance().QueryAppGroup(group, bundleName_, userId_); in SetMinInterval()
|
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/ |
H A D | bundle_active_group_controller.cpp | 409 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()
|