Lines Matching defs:proc
150 * @param proc is the ProcessRecord of the process that entered or left the TOP_APP scheduling
153 public void onTopProcChangedLocked(ProcessRecord proc) {
154 if (proc.curSchedGroup == ProcessList.SCHED_GROUP_TOP_APP) {
155 setVrRenderThreadLocked(proc.vrThreadTid, proc.curSchedGroup, true);
157 if (proc.vrThreadTid == mVrRenderThreadTid) {
216 * @param proc the ProcessRecord of the process owning the thread to set.
218 public void setVrThreadLocked(int tid, int pid, ProcessRecord proc) {
223 if (proc == null) {
233 setVrRenderThreadLocked(tid, proc.curSchedGroup, false);
235 proc.vrThreadTid = (tid > 0) ? tid : 0;
250 * @param proc the ProcessRecord of the process owning the thread to set.
252 public void setPersistentVrThreadLocked(int tid, int pid, ProcessRecord proc) {
257 if (proc == null) {
283 * @param proc the ProcessRecord of the process enabling the system VR mode.
287 private boolean changeVrModeLocked(boolean vrMode, ProcessRecord proc) {
301 if (proc != null) {
302 if (proc.vrThreadTid > 0) {
303 setVrRenderThreadLocked(proc.vrThreadTid, proc.curSchedGroup, false);