Searched refs:flagsUpTo (Results 1 – 2 of 2) sorted by relevance
165 public static int flagsUpTo(int lastFlag) { in flagsUpTo() method in BitUtils166 return lastFlag <= 0 ? 0 : lastFlag | flagsUpTo(lastFlag >> 1); in flagsUpTo()173 return (flagsUpTo(lastFlag) & ~flagsUpTo(firstFlag)) | firstFlag; in flagsWithin()
18 import static com.android.internal.util.BitUtils.flagsUpTo;165 flagsUpTo(PackageManager.MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS)); in validate()170 validateIntFlags(annotation, value, flagsUpTo(Intent.FLAG_RECEIVER_OFFLOAD)); in validate()