Lines Matching defs:uiTid
510 int uiTid = pid;
538 iter->AddKeyThread(uiTid, PRIO_RT);
545 NewForegroundAppRecord(pid, uiTid, ddlEnabled);
549 void TaskController::NewForegroundAppRecord(int pid, int uiTid, bool ddlEnabled)
551 ForegroundAppRecord& appRecord = foregroundApp_.emplace_back(pid, uiTid, pid != curGamePid_);
558 appRecord.AddKeyThread(uiTid, PRIO_RT);
825 int uiTid = 0;
844 uiTid = iter->GetUiTid();
846 if (uiTid <= 0 || rtgId <= 0) {
849 appRate = FindRateFromInfo(uiTid, payload);
860 int TaskController::FindRateFromInfo(int uiTid, const Json::Value& payload)
863 if (payload[std::to_string(uiTid)].isNull()) {
864 CONCUR_LOGD("FindRateFromInfo tid %{public}d is null", uiTid);
868 appRate = stoi(payload[std::to_string(uiTid)].asString());
870 CONCUR_LOGI("application %{public}d is not in rtg_group", uiTid);
973 ForegroundAppRecord::ForegroundAppRecord(int pid, int uiTid, bool createGrp)
976 uiTid_ = uiTid;
1064 void ForegroundAppRecord::SetUiTid(int uiTid)
1066 uiTid_ = uiTid;