Home
last modified time | relevance | path

Searched refs:OnPolicyChanged (Results 1 - 5 of 5) sorted by relevance

/foundation/resourceschedule/work_scheduler/services/native/src/policy/
H A Dapp_data_clear_listener.cpp42 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() function in OHOS::WorkScheduler::AppDataClearListener
96 workPolicyManager_->OnPolicyChanged(policyType, detectorVal); in OnPolicyChanged()
/foundation/resourceschedule/work_scheduler/services/native/include/
H A Dipolicy_listener.h29 * @brief The OnPolicyChanged callback.
34 virtual void OnPolicyChanged(PolicyType policyType, std::shared_ptr<DetectorValue> detectorVal) = 0;
H A Dwork_policy_manager.h115 * @brief The OnPolicyChanged callback.
120 void OnPolicyChanged(PolicyType policyType, std::shared_ptr<DetectorValue> detectorVal);
/foundation/resourceschedule/work_scheduler/services/native/include/policy/
H A Dapp_data_clear_listener.h32 * @brief The OnPolicyChanged callback.
37 void OnPolicyChanged(PolicyType policyType, std::shared_ptr<DetectorValue> detectorVal) override;
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_policy_manager.cpp316 void WorkPolicyManager::OnPolicyChanged(PolicyType policyType, shared_ptr<DetectorValue> detectorVal) in OnPolicyChanged() function in OHOS::WorkScheduler::WorkPolicyManager

Completed in 3 milliseconds