Methods Summary |
---|
public static android.net.UidRange | createForUser(int userId)
return new UidRange(userId * PER_USER_RANGE, (userId + 1) * PER_USER_RANGE - 1);
|
public int | describeContents()
return 0;
|
public boolean | equals(java.lang.Object o)
if (this == o) {
return true;
}
if (o instanceof UidRange) {
UidRange other = (UidRange) o;
return start == other.start && stop == other.stop;
}
return false;
|
public int | getStartUser()
return start / PER_USER_RANGE;
|
public int | hashCode()
int result = 17;
result = 31 * result + start;
result = 31 * result + stop;
return result;
|
public java.lang.String | toString()
return start + "-" + stop;
|
public void | writeToParcel(android.os.Parcel dest, int flags)
dest.writeInt(start);
dest.writeInt(stop);
|