Home
last modified time | relevance | path

Searched refs:IsCallingInfoLegal (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbgtask_manager_unit_test.cpp128 …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 Dbg_efficiency_resources_mgr_test.cpp545 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 Dbg_transient_task_mgr.h84 ErrCode IsCallingInfoLegal(int32_t uid, int32_t pid, std::string &name,
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/
H A Dbg_efficiency_resources_mgr.h86 bool IsCallingInfoLegal(int32_t uid, int32_t pid, std::string &bundleName);
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dbg_efficiency_resources_mgr.cpp322 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 Dbg_transient_task_mgr.cpp150 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()