Home
last modified time | relevance | path

Searched refs:GetUid (Results 1 - 25 of 225) sorted by relevance

123456789

/foundation/resourceschedule/background_task_mgr/services/transient_task/include/
H A Dkey_info.h30 return (pkg_ < o.GetPkg()) || ((pkg_ == o.GetPkg()) && (uid_ < o.GetUid())); in operator <()
35 return (other.GetPkg() == pkg_ && other.GetUid() == uid_); in IsEqual()
48 inline int32_t GetUid() const in GetUid() function in OHOS::BackgroundTaskMgr::KeyInfo
75 return (x->GetPkg() < y->GetPkg()) || ((x->GetPkg() == y->GetPkg()) && (x->GetUid() < y->GetUid())); in operator ()()
/foundation/resourceschedule/background_task_mgr/services/transient_task/src/
H A Dsuspend_controller.cpp31 BGTASK_LOGD("Add delayed suspend app uid: %{public}d, name: %{public}s", key->GetUid(), key->GetPkg().c_str()); in RequestSuspendDelay()
41 BGTASK_LOGD("Remove delayed suspend app uid: %{public}d, name: %{public}s", key->GetUid(), key->GetPkg().c_str()); in CancelSuspendDelay()
H A Dwatchdog.cpp59 if (decision_->IsFrontApp(info->GetPkg(), info->GetUid())) { in ProcessEvent()
70 if (!KillApplicationByUid(info->GetPkg(), info->GetUid())) { in ProcessEvent()
H A Ddecision_maker.cpp200 int32_t uid = key->GetUid(); in Decide()
226 HiviewDFX::HiSysEvent::EventType::STATISTIC, "APP_UID", key->GetUid(), "APP_PID", key->GetPid(), in Decide()
286 auto appInfo = make_shared<TransientTaskAppInfo>(key->GetPkg(), key->GetUid(), key->GetPid()); in RemoveRequest()
291 auto info = make_shared<TransientTaskAppInfo>(key->GetPkg(), key->GetUid()); in RemoveRequest()
297 HiviewDFX::HiSysEvent::EventType::STATISTIC, "APP_UID", key->GetUid(), "APP_PID", key->GetPid(), in RemoveRequest()
365 if (fgApp.bundleName == pkgInfo->GetPkg() && fgApp.uid == pkgInfo->GetUid()) { in CanStartAccountingLocked()
456 return pkgInfo->GetUid() == target; in HandleScreenOff()
/foundation/resourceschedule/device_standby/plugins/message_listener/src/
H A Dbackground_task_listener.cpp64 info->GetUid(), info->GetPackageName().c_str()); in OnAppTransientTaskStart()
65 OnTaskStatusChanged(TRANSIENT_TASK, true, info->GetUid(), info->GetPid(), info->GetPackageName()); in OnAppTransientTaskStart()
72 info->GetUid(), info->GetPackageName().c_str()); in OnAppTransientTaskEnd()
73 OnTaskStatusChanged(TRANSIENT_TASK, false, info->GetUid(), info->GetPid(), info->GetPackageName()); in OnAppTransientTaskEnd()
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dscheduler_bg_task_subscriber.cpp33 int32_t uid = resourceInfo->GetUid(); in OnProcEfficiencyResourcesApply()
45 int32_t uid = resourceInfo->GetUid(); in OnProcEfficiencyResourcesReset()
/foundation/multimedia/av_session/services/session/server/remote/
H A Dremote_session_source_impl.cpp63 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in CastSessionToRemote()
144 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in SetAVMetaData()
169 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in SetAVPlaybackState()
192 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in SetSessionEventRemote()
214 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in SetAVQueueItems()
236 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in SetAVQueueTitle()
258 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in SetExtrasRemote()
H A Dremote_session_sink_impl.cpp56 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in CastSessionFromRemote()
142 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in SetControlCommand()
158 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in SetCommonCommand()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dbackground_task_observer.cpp67 efficiencyUids_.push_back(resourceInfo->GetUid()); in OnProcEfficiencyResourcesApply()
77 int32_t uid = resourceInfo->GetUid(); in OnProcEfficiencyResourcesReset()
127 efficiencyUids_.push_back(info->GetUid()); in GetEfficiencyResourcesTaskApps()
135 efficiencyUids_.push_back(info->GetUid()); in GetEfficiencyResourcesTaskApps()
/foundation/multimodalinput/input/intention/ipc/socket/include/
H A Dsocket_session.h36 int32_t GetUid() const override;
56 inline int32_t SocketSession::GetUid() const in GetUid() function in OHOS::Msdp::DeviceStatus::SocketSession
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ecs/
H A Dintf_component_manager.h71 virtual BASE_NS::Uid GetUid() const = 0;
200 inline constexpr BASE_NS::Uid GetUid() in GetUid() function
202 return GetUid((const T*)nullptr); in GetUid()
H A Dcomponent_struct_macros.h66 inline constexpr BASE_NS::Uid GetUid(const NAME*) \
70 inline constexpr BASE_NS::Uid GetUid(const TYPE*) \
H A Dintf_system.h40 virtual BASE_NS::Uid GetUid() const = 0;
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dbg_efficiency_resources_mgr.cpp373 "isPersist: %{public}d, timeOut: %{public}u, isProcess: %{public}d", callbackInfo->GetUid(), in ApplyEfficiencyResourcesInner()
376 int32_t mapKey = resourceInfo->IsProcess() ? callbackInfo->GetPid() : callbackInfo->GetUid(); in ApplyEfficiencyResourcesInner()
381 infoMap.emplace(mapKey, std::make_shared<ResourceApplicationRecord>(callbackInfo->GetUid(), in ApplyEfficiencyResourcesInner()
401 callbackInfo->GetUid(), callbackInfo->GetBundleName().c_str()); in ApplyEfficiencyResourcesInner()
447 int32_t mapKey = isProcess ? callbackInfo->GetPid() : callbackInfo->GetUid(); in UpdateResourcesEndtime()
491 callbackInfo->GetUid(), callbackInfo->GetBundleName().c_str()); in ResetTimeOutResource()
554 " resource number: %{public}u, isProcess: %{public}d", callbackInfo->GetUid(), in ResetEfficiencyResourcesInner()
560 RemoveTargetResourceRecord(appResourceApplyMap_, callbackInfo->GetUid(), in ResetEfficiencyResourcesInner()
562 RemoveRelativeProcessRecord(callbackInfo->GetUid(), callbackInfo->GetResourceNumber()); in ResetEfficiencyResourcesInner()
649 stream << "\t\tuid: " << iter->second->GetUid() << "\ in DumpApplicationInfoMap()
[all...]
/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/
H A Dbg_task_observer.cpp34 int uid = ttInfo->GetUid(); in OnTransientTaskStart()
50 int uid = ttInfo->GetUid(); in OnTransientTaskEnd()
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/include/
H A Dbackground_task_observer.h64 return info->GetUid() > 0 && info->GetPid() >= 0 in ValidateTaskInfo()
77 return std::to_string(info->GetPid()) + "," + std::to_string(info->GetUid()) + "," + info->GetPackageName(); in PackPayload()
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/
H A Dbackground_task_observer.cpp34 payload["uid"] = std::to_string(info->GetUid()); in MarshallingTransientTaskAppInfo()
43 /* class TransientTaskAppInfo {std::string& GetPackageName(); int32_t GetUid(); int32_t GetPid();} */ in OnTransientTaskStart()
46 auto uid = info->GetUid(); in OnTransientTaskStart()
69 auto uid = info->GetUid(); in OnTransientTaskEnd()
194 payload["uid"] = resourceInfo->GetUid(); in MarshallingResourceInfo()
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/datastore/
H A Dintf_render_data_store.h95 virtual const BASE_NS::Uid& GetUid() const = 0;
/foundation/multimodalinput/input/intention/prototype/include/
H A Di_socket_session.h42 virtual int32_t GetUid() const = 0;
/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/
H A Dnet_stats_callback_test.h39 uint32_t GetUid() const in GetUid() function in OHOS::NetManagerStandard::NetStatsCallbackTest
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Drdb_platform.h30 static UNUSED_FUNCTION uint32_t GetUid() in GetUid() function
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dbackground_task_helper_ohos.cpp33 int32_t creatorUid = AceApplicationInfo::GetInstance().GetUid(); in HasBackgroundTask()
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/
H A Dtransient_task_app_info.h68 inline int32_t GetUid() in GetUid() function in OHOS::BackgroundTaskMgr::final
H A Dresource_callback_info.h63 inline int32_t GetUid() in GetUid() function in OHOS::BackgroundTaskMgr::ResourceCallbackInfo
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/
H A Dnet_policy_callback_test.h43 uint32_t GetUid() const in GetUid() function in OHOS::NetManagerStandard::NetPolicyCallbackTest

Completed in 10 milliseconds

123456789