Lines Matching defs:UidRange
31 public final class UidRange implements Parcelable {
35 public UidRange(int startUid, int stopUid) {
43 public static UidRange createForUser(int userId) {
44 return new UidRange(userId * PER_USER_RANGE, (userId + 1) * PER_USER_RANGE - 1);
58 public boolean containsRange(UidRange other) {
75 if (o instanceof UidRange) {
76 UidRange other = (UidRange) o;
99 public static final Creator<UidRange> CREATOR =
100 new Creator<UidRange>() {
102 public UidRange createFromParcel(Parcel in) {
106 return new UidRange(start, stop);
109 public UidRange[] newArray(int size) {
110 return new UidRange[size];