Searched refs:detectorVal (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/policy/ |
H A D | app_data_clear_listener.cpp | 41 auto detectorVal = make_shared<DetectorValue>(uid, 0, 0, bundle); in OnReceiveEvent() local 43 listener_.OnPolicyChanged(PolicyType::APP_DATA_CLEAR, detectorVal); in OnReceiveEvent() 45 listener_.OnPolicyChanged(PolicyType::APP_REMOVED, detectorVal); in OnReceiveEvent() 47 listener_.OnPolicyChanged(PolicyType::APP_CHANGED, detectorVal); in OnReceiveEvent() 49 listener_.OnPolicyChanged(PolicyType::APP_ADDED, detectorVal); in OnReceiveEvent() 51 listener_.OnPolicyChanged(PolicyType::USER_SWITCHED, detectorVal); in OnReceiveEvent() 95 …AppDataClearListener::OnPolicyChanged(PolicyType policyType, shared_ptr<DetectorValue> detectorVal) in OnPolicyChanged() argument 99 handler->PostTask([weak = weak_from_this(), policyType, detectorVal]() { in OnPolicyChanged() 105 strong->workPolicyManager_->OnPolicyChanged(policyType, detectorVal); in OnPolicyChanged()
|
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/include/ |
H A D | ipolicy_listener.h | 34 …virtual void OnPolicyChanged(PolicyType policyType, std::shared_ptr<DetectorValue> detectorVal) = …
|
H A D | work_policy_manager.h | 120 void OnPolicyChanged(PolicyType policyType, std::shared_ptr<DetectorValue> detectorVal);
|
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/include/policy/ |
H A D | app_data_clear_listener.h | 37 … void OnPolicyChanged(PolicyType policyType, std::shared_ptr<DetectorValue> detectorVal) override;
|
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | work_policy_manager.cpp | 318 …id WorkPolicyManager::OnPolicyChanged(PolicyType policyType, shared_ptr<DetectorValue> detectorVal) in OnPolicyChanged() argument 336 if (!service->IsPreinstalledBundle(detectorVal->strVal)) { in OnPolicyChanged() 343 int32_t uid = detectorVal->intVal; in OnPolicyChanged() 345 service->StopAndClearWorksByUid(detectorVal->intVal); in OnPolicyChanged() 347 DelayedSingleton<DataManager>::GetInstance()->ClearGroup(detectorVal->strVal, userId); in OnPolicyChanged()
|