Home
last modified time | relevance | path

Searched refs:detectorVal (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/policy/
H A Dapp_data_clear_listener.cpp41 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 Dipolicy_listener.h34 …virtual void OnPolicyChanged(PolicyType policyType, std::shared_ptr<DetectorValue> detectorVal) = …
H A Dwork_policy_manager.h120 void OnPolicyChanged(PolicyType policyType, std::shared_ptr<DetectorValue> detectorVal);
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/include/policy/
H A Dapp_data_clear_listener.h37 … void OnPolicyChanged(PolicyType policyType, std::shared_ptr<DetectorValue> detectorVal) override;
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_policy_manager.cpp318 …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()