Home | History | Annotate | Download | only in os

Lines Matching defs:appId

83      * @return whether the appId is the same for both uids
93 final int appId = getAppId(uid);
94 return appId >= Process.FIRST_ISOLATED_UID && appId <= Process.LAST_ISOLATED_UID;
103 final int appId = getAppId(uid);
104 return appId >= Process.FIRST_APPLICATION_UID && appId <= Process.LAST_APPLICATION_UID;
128 * Returns the uid that is composed from the userId and the appId.
131 public static final int getUid(int userId, int appId) {
133 return userId * PER_USER_RANGE + (appId % PER_USER_RANGE);
135 return appId;
148 * Returns the shared app gid for a given uid or appId.
167 final int appId = getAppId(uid);
168 if (appId >= Process.FIRST_ISOLATED_UID && appId <= Process.LAST_ISOLATED_UID) {
170 sb.append(appId - Process.FIRST_ISOLATED_UID);
173 sb.append(appId);
189 final int appId = getAppId(uid);
190 if (appId >= Process.FIRST_ISOLATED_UID && appId <= Process.LAST_ISOLATED_UID) {
192 pw.print(appId - Process.FIRST_ISOLATED_UID);
195 pw.print(appId);