Home | History | Annotate | Download | only in os

Lines Matching refs:Process

43      *  user, but if this is calling from a user process then we will send it
48 * user, but if this is calling from a user process then we will send it
94 return appId >= Process.FIRST_ISOLATED_UID && appId <= Process.LAST_ISOLATED_UID;
104 return appId >= Process.FIRST_APPLICATION_UID && appId <= Process.LAST_APPLICATION_UID;
152 return Process.FIRST_SHARED_APPLICATION_GID + (id % PER_USER_RANGE)
153 - Process.FIRST_APPLICATION_UID;
162 if (uid < Process.FIRST_APPLICATION_UID) {
168 if (appId >= Process.FIRST_ISOLATED_UID && appId <= Process.LAST_ISOLATED_UID) {
170 sb.append(appId - Process.FIRST_ISOLATED_UID);
171 } else if (appId >= Process.FIRST_APPLICATION_UID) {
173 sb.append(appId - Process.FIRST_APPLICATION_UID);
187 if (uid < Process.FIRST_APPLICATION_UID) {
193 if (appId >= Process.FIRST_ISOLATED_UID && appId <= Process.LAST_ISOLATED_UID) {
195 pw.print(appId - Process.FIRST_ISOLATED_UID);
196 } else if (appId >= Process.FIRST_APPLICATION_UID) {
198 pw.print(appId - Process.FIRST_APPLICATION_UID);
207 * Returns the user id of the current process
208 * @return user id of the current process
212 return getUserId(Process.myUid());