/foundation/resourceschedule/device_usage_statistics/test/unittest/ |
H A D | device_usage_statistics_mock_test.cpp | 186 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 D | device_usage_statistics_service_test.cpp | 1054 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 D | bundle_active_group_controller.cpp | 409 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 D | bundle_active_stub.cpp | 243 int32_t appGroup = -1; in HandleQueryAppGroup() local 246 ErrCode errCode = QueryAppGroup(appGroup, bundleName, userId); in HandleQueryAppGroup() 247 reply.WriteInt32(appGroup); in HandleQueryAppGroup()
|
H A D | bundle_active_service.cpp | 434 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 D | bundle_active_core.cpp | 768 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 D | ibundle_active_service.h | 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 | 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() argument 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() argument 232 appGroup = reply.ReadInt32(); in QueryAppGroup()
|