Searched refs:IsCallingInfoLegal (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
H A D | bgtask_manager_unit_test.cpp | 128 …EXPECT_EQ(bgTransientTaskMgr_->IsCallingInfoLegal(-1, -1, bundleName, nullptr), ERR_BGTASK_INVALID… 129 …EXPECT_EQ(bgTransientTaskMgr_->IsCallingInfoLegal(1, 1, bundleName, nullptr), ERR_BGTASK_INVALID_B… 134 …EXPECT_EQ(bgTransientTaskMgr_->IsCallingInfoLegal(uid, 1, bundleName, nullptr), ERR_BGTASK_INVALID… 136 …EXPECT_EQ(bgTransientTaskMgr_->IsCallingInfoLegal(uid, 1, bundleName, proxy1), ERR_BGTASK_INVALID_… 140 EXPECT_EQ(bgTransientTaskMgr_->IsCallingInfoLegal(uid, 1, bundleName, proxy2), ERR_OK);
|
H A D | bg_efficiency_resources_mgr_test.cpp | 545 EXPECT_FALSE(bgEfficiencyResourcesMgr_->IsCallingInfoLegal(-1, 0, bundleName)); 546 EXPECT_FALSE(bgEfficiencyResourcesMgr_->IsCallingInfoLegal(0, -1, bundleName));
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/transient_task/include/ |
H A D | bg_transient_task_mgr.h | 84 ErrCode IsCallingInfoLegal(int32_t uid, int32_t pid, std::string &name,
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/ |
H A D | bg_efficiency_resources_mgr.h | 86 bool IsCallingInfoLegal(int32_t uid, int32_t pid, std::string &bundleName);
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | bg_efficiency_resources_mgr.cpp | 322 if (!IsCallingInfoLegal(uid, pid, bundleName)) { in ApplyEfficiencyResources() 524 if (!IsCallingInfoLegal(uid, pid, bundleName)) { in ResetAllEfficiencyResources() 584 bool BgEfficiencyResourcesMgr::IsCallingInfoLegal(int32_t uid, int32_t pid, std::string &bundleName) in IsCallingInfoLegal() function in OHOS::BackgroundTaskMgr::BgEfficiencyResourcesMgr
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/transient_task/src/ |
H A D | bg_transient_task_mgr.cpp | 150 ErrCode BgTransientTaskMgr::IsCallingInfoLegal(int32_t uid, int32_t pid, std::string &name, in IsCallingInfoLegal() function in OHOS::BackgroundTaskMgr::BgTransientTaskMgr 188 ErrCode ret = IsCallingInfoLegal(uid, pid, name, callback); in RequestSuspendDelay()
|