Searched refs:hasFlag (Results 1 – 4 of 4) sorted by relevance
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | Policy.java | 217 ….put(APPLIED_BY_SYSTEM_DEVICE_OWNER, (flags, canSet) -> hasFlag(flags.dpc(), APPLIED_BY_SYSTEM_DEV… 219 ….put(APPLIED_BY_SINGLE_DEVICE_OWNER, (flags, canSet) -> hasFlag(flags.dpc(), APPLIED_BY_SINGLE_DEV… 236 if (canSet && (!hasFlag(flags.dpc(), APPLIED_BY_DPM_ROLE_HOLDER))) { in devicePolicyManagerRoleHolderIfCanSet() 471 if (hasFlag(policy.dpc(), CANNOT_BE_APPLIED_BY_ROLE_HOLDER) 472 || hasFlag(policy.dpc(), APPLIED_BY_DPM_ROLE_HOLDER)) { 527 if (hasFlag(policy.dpc(), entry.getKey() | CAN_BE_DELEGATED)) { 672 if (hasFlag(policyFlags, annotationFlag)) { 681 if (hasFlag(annotationFlag, 688 if (hasFlag(policyFlags, /* matchingFlag= */ appliedByFlag, /* nonMatchingFlag= */ 747 if (hasFlag(appliedByFlag.getKey(), [all …]
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | AdbUser.java | 118 boolean hasFlag(int flag) { in hasFlag() method in AdbUser
|
D | Users.java | 445 } else if (entry.getValue().hasFlag(AdbUser.FLAG_MANAGED_PROFILE)) {
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 826 final boolean hasFlag = (windowFlags & FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS) != 0; in onCreate() 827 if (hadFlag != hasFlag) { in onCreate()
|