Home
last modified time | relevance | path

Searched refs:appGroup (Results 1 - 14 of 14) sorted by relevance

/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Ddevice_usage_statistics_mock_test.cpp186 int32_t appGroup; in HWTEST_F() local
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()
201 int32_t appGroup = 100; in HWTEST_F() local
203 EXPECT_NE(DelayedSingleton<BundleActiveService>::GetInstance()->SetAppGroup(bundleName, appGroup, -1), ERR_OK); in HWTEST_F()
204 EXPECT_NE(DelayedSingleton<BundleActiveService>::GetInstance()->SetAppGroup(bundleName, appGroup, 100), ERR_OK); in HWTEST_F()
H A Ddevice_usage_statistics_service_test.cpp1054 int32_t appGroup = 10; in HWTEST_F() local
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()
1111 int32_t appGroup = 0; in HWTEST_F() local
1112 coreObject->bundleGroupController_->QueryAppGroup(appGroup, bundleName, userId); in HWTEST_F()
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/
H A Dbundle_active_group_controller.cpp409 ErrCode BundleActiveGroupController::QueryAppGroup(int32_t& appGroup, in QueryAppGroup() argument
427 appGroup = ACTIVE_GROUP_NEVER; in QueryAppGroup()
439 appGroup = std::min(oneBundleHistory->currentGroup_, appGroup); in QueryAppGroup()
/foundation/resourceschedule/device_usage_statistics/services/common/src/
H A Dbundle_active_stub.cpp243 int32_t appGroup = -1; in HandleQueryAppGroup() local
246 ErrCode errCode = QueryAppGroup(appGroup, bundleName, userId); in HandleQueryAppGroup()
247 reply.WriteInt32(appGroup); in HandleQueryAppGroup()
H A Dbundle_active_service.cpp434 ErrCode BundleActiveService::QueryAppGroup(int32_t& appGroup, std::string& bundleName, int32_t userId) in QueryAppGroup() argument
454 ret = bundleActiveCore_->QueryAppGroup(appGroup, bundleName, userId); in QueryAppGroup()
459 ret = bundleActiveCore_->QueryAppGroup(appGroup, bundleName, userId); in QueryAppGroup()
H A Dbundle_active_core.cpp768 ErrCode BundleActiveCore::QueryAppGroup(int32_t& appGroup, const std::string& bundleName, const int32_t userId) in QueryAppGroup() argument
770 return bundleGroupController_->QueryAppGroup(appGroup, bundleName, userId); in QueryAppGroup()
/foundation/resourceschedule/device_usage_statistics/services/common/include/
H A Dibundle_active_service.h102 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.h89 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() argument
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() argument
232 appGroup = reply.ReadInt32(); in QueryAppGroup()

Completed in 16 milliseconds