/foundation/resourceschedule/background_task_mgr/services/transient_task/include/ |
H A D | key_info.h | 30 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 D | suspend_controller.cpp | 31 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 D | watchdog.cpp | 59 if (decision_->IsFrontApp(info->GetPkg(), info->GetUid())) { in ProcessEvent() 70 if (!KillApplicationByUid(info->GetPkg(), info->GetUid())) { in ProcessEvent()
|
H A D | decision_maker.cpp | 200 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 D | background_task_listener.cpp | 64 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 D | scheduler_bg_task_subscriber.cpp | 33 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 D | remote_session_source_impl.cpp | 63 "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 D | remote_session_sink_impl.cpp | 56 "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 D | background_task_observer.cpp | 67 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 D | socket_session.h | 36 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 D | intf_component_manager.h | 71 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 D | component_struct_macros.h | 66 inline constexpr BASE_NS::Uid GetUid(const NAME*) \ 70 inline constexpr BASE_NS::Uid GetUid(const TYPE*) \
|
H A D | intf_system.h | 40 virtual BASE_NS::Uid GetUid() const = 0;
|
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | bg_efficiency_resources_mgr.cpp | 373 "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 D | bg_task_observer.cpp | 34 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 D | background_task_observer.h | 64 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 D | background_task_observer.cpp | 34 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 D | intf_render_data_store.h | 95 virtual const BASE_NS::Uid& GetUid() const = 0;
|
/foundation/multimodalinput/input/intention/prototype/include/ |
H A D | i_socket_session.h | 42 virtual int32_t GetUid() const = 0;
|
/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/ |
H A D | net_stats_callback_test.h | 39 uint32_t GetUid() const in GetUid() function in OHOS::NetManagerStandard::NetStatsCallbackTest
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | rdb_platform.h | 30 static UNUSED_FUNCTION uint32_t GetUid() in GetUid() function
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | background_task_helper_ohos.cpp | 33 int32_t creatorUid = AceApplicationInfo::GetInstance().GetUid(); in HasBackgroundTask()
|
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/ |
H A D | transient_task_app_info.h | 68 inline int32_t GetUid() in GetUid() function in OHOS::BackgroundTaskMgr::final
|
H A D | resource_callback_info.h | 63 inline int32_t GetUid() in GetUid() function in OHOS::BackgroundTaskMgr::ResourceCallbackInfo
|
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/ |
H A D | net_policy_callback_test.h | 43 uint32_t GetUid() const in GetUid() function in OHOS::NetManagerStandard::NetPolicyCallbackTest
|