Home
last modified time | relevance | path

Searched refs:hasFlag (Results 1 – 4 of 4) sorted by relevance

/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DPolicy.java135 ….put(APPLIED_BY_DEVICE_OWNER, (flags) -> hasFlag(flags.dpc(), APPLIED_BY_DEVICE_OWNER | APPLIES_IN…
265 if (hasFlag(policy.dpc(), entry.getKey() | CAN_BE_DELEGATED)) {
308 if (hasFlag(policyFlags, annotationFlag)) {
317 if (hasFlag(annotationFlag, DO_NOT_APPLY_TO_NEGATIVE_TESTS, /* nonMatchingFlag= */
324 if (hasFlag(policyFlags, /* matchingFlag= */ appliedByFlag, /* nonMatchingFlag= */
495 private static boolean hasFlag(int[] values, int matchingFlag) {
496 return hasFlag(values, matchingFlag, /* nonMatchingFlag= */ NO);
499 private static boolean hasFlag(int[] values, int matchingFlag, int nonMatchingFlag) {
501 if (hasFlag(value, matchingFlag, nonMatchingFlag)) {
508 private static boolean hasFlag(int value, int matchingFlag, int nonMatchingFlag) {
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DAdbUser.java118 boolean hasFlag(int flag) { in hasFlag() method in AdbUser
DUsers.java364 } else if (entry.getValue().hasFlag(AdbUser.FLAG_MANAGED_PROFILE)) { in fillCache()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java562 final boolean hasFlag = (windowFlags & FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS) != 0; in onCreate()
563 if (hadFlag != hasFlag) { in onCreate()