Searched refs:detectorVal (Results 1 - 5 of 5) sorted by relevance
/foundation/resourceschedule/work_scheduler/services/native/src/policy/ |
H A D | app_data_clear_listener.cpp | 40 auto detectorVal = make_shared<DetectorValue>(uid, 0, 0, bundle); in OnReceiveEvent() local 42 listener_.OnPolicyChanged(PolicyType::APP_DATA_CLEAR, detectorVal); in OnReceiveEvent() 44 listener_.OnPolicyChanged(PolicyType::APP_REMOVED, detectorVal); in OnReceiveEvent() 46 listener_.OnPolicyChanged(PolicyType::APP_CHANGED, detectorVal); in OnReceiveEvent() 48 listener_.OnPolicyChanged(PolicyType::APP_ADDED, detectorVal); in OnReceiveEvent() 50 listener_.OnPolicyChanged(PolicyType::USER_SWITCHED, detectorVal); in OnReceiveEvent() 94 void AppDataClearListener::OnPolicyChanged(PolicyType policyType, shared_ptr<DetectorValue> detectorVal) in OnPolicyChanged() argument 96 workPolicyManager_->OnPolicyChanged(policyType, detectorVal); in OnPolicyChanged()
|
/foundation/resourceschedule/work_scheduler/services/native/include/ |
H A D | ipolicy_listener.h | 32 * @param detectorVal The detector val. 34 virtual void OnPolicyChanged(PolicyType policyType, std::shared_ptr<DetectorValue> detectorVal) = 0;
|
H A D | work_policy_manager.h | 118 * @param detectorVal The detector val. 120 void OnPolicyChanged(PolicyType policyType, std::shared_ptr<DetectorValue> detectorVal);
|
/foundation/resourceschedule/work_scheduler/services/native/include/policy/ |
H A D | app_data_clear_listener.h | 35 * @param detectorVal The detector val. 37 void OnPolicyChanged(PolicyType policyType, std::shared_ptr<DetectorValue> detectorVal) override;
|
/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | work_policy_manager.cpp | 316 void WorkPolicyManager::OnPolicyChanged(PolicyType policyType, shared_ptr<DetectorValue> detectorVal) in OnPolicyChanged() argument 338 int32_t uid = detectorVal->intVal; in OnPolicyChanged() 340 service->StopAndClearWorksByUid(detectorVal->intVal); in OnPolicyChanged()
|
Completed in 3 milliseconds