Home
last modified time | relevance | path

Searched refs:flagsUpTo (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java165 public static int flagsUpTo(int lastFlag) { in flagsUpTo() method in BitUtils
166 return lastFlag <= 0 ? 0 : lastFlag | flagsUpTo(lastFlag >> 1); in flagsUpTo()
173 return (flagsUpTo(lastFlag) & ~flagsUpTo(firstFlag)) | firstFlag; in flagsWithin()
DAnnotationValidations.java18 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()