Lines Matching refs:proc
135 * @param proc is the ProcessRecord of the process that entered or left the TOP_APP scheduling
138 public void onTopProcChangedLocked(ProcessRecord proc) {
139 if (proc.curSchedGroup == ProcessList.SCHED_GROUP_TOP_APP) {
140 setVrRenderThreadLocked(proc.vrThreadTid, proc.curSchedGroup, true);
142 if (proc.vrThreadTid == mVrRenderThreadTid) {
196 * @param proc the ProcessRecord of the process owning the thread to set.
198 public void setVrThreadLocked(int tid, int pid, ProcessRecord proc) {
203 if (proc == null) {
213 setVrRenderThreadLocked(tid, proc.curSchedGroup, false);
215 proc.vrThreadTid = (tid > 0) ? tid : 0;
230 * @param proc the ProcessRecord of the process owning the thread to set.
232 public void setPersistentVrThreadLocked(int tid, int pid, ProcessRecord proc) {
237 if (proc == null) {
263 * @param proc the ProcessRecord of the process enabling the system VR mode.
267 private boolean changeVrModeLocked(boolean vrMode, ProcessRecord proc) {
281 if (proc != null) {
282 if (proc.vrThreadTid > 0) {
283 setVrRenderThreadLocked(proc.vrThreadTid, proc.curSchedGroup, false);