Searched refs:OnPolicyChanged (Results 1 - 5 of 5) sorted by relevance
/foundation/resourceschedule/work_scheduler/services/native/src/policy/ |
H A D | app_data_clear_listener.cpp | 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() function in OHOS::WorkScheduler::AppDataClearListener 96 workPolicyManager_->OnPolicyChanged(policyType, detectorVal); in OnPolicyChanged()
|
/foundation/resourceschedule/work_scheduler/services/native/include/ |
H A D | ipolicy_listener.h | 29 * @brief The OnPolicyChanged callback. 34 virtual void OnPolicyChanged(PolicyType policyType, std::shared_ptr<DetectorValue> detectorVal) = 0;
|
H A D | work_policy_manager.h | 115 * @brief The OnPolicyChanged callback. 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 | 32 * @brief The OnPolicyChanged callback. 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() function in OHOS::WorkScheduler::WorkPolicyManager
|
Completed in 3 milliseconds