/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 504 if ((userInfo == null || !userInfo.isAdmin()) && record.isRestricted) { 620 if (mController.getUsers().get(i).isRestricted) { in getUserCount() 641 if (mController.getUsers().get(i).isRestricted) { in getCount() 722 public final boolean isRestricted; field in UserSwitcherController.UserRecord 728 boolean isAddUser, boolean isRestricted, boolean isSwitchToEnabled) { in UserRecord() argument 734 this.isRestricted = isRestricted; in UserRecord() 739 return new UserRecord(info, picture, isGuest, _isCurrent, isAddUser, isRestricted, in copyWithIsCurrent() 766 if (isRestricted) sb.append(" <isRestricted>"); in toString()
|
D | SecurityControllerImpl.java | 242 return mUserManager.getUserInfo(mCurrentUserId).isRestricted() in isVpnRestricted() 297 if (newUserInfo.isRestricted()) { in onUserSwitched()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 136 .filter(iface -> !iface.isRestricted() || includeRestricted) in getAvailableInterfaces() 138 int r = Boolean.compare(iface1.isRestricted(), iface2.isRestricted()); in getAvailableInterfaces() 393 boolean isRestricted() { in isRestricted() method in NetworkInterfaceState
|
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 204 public boolean isRestricted() { in isRestricted() method in UserInfo 281 if (isManagedProfile() || isGuest() || isRestricted()) { in canHaveProfile()
|
D | PermissionInfo.java | 639 public boolean isRestricted() { in isRestricted() method in PermissionInfo
|
/frameworks/base/media/java/android/media/ |
D | PlayerBase.java | 217 final boolean isRestricted; in updatePlayerVolume() 221 isRestricted = isRestricted_sync(); in updatePlayerVolume() 223 playerSetVolume(isRestricted /*muting*/, finalLeftVol, finalRightVol); in updatePlayerVolume()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 68 boolean isRestricted(); in isRestricted() method
|
D | UserManager.java | 1480 return mService.isRestricted(); in isRestrictedProfile() 1498 return mService.getUserInfo(user.getIdentifier()).isRestricted(); in isRestrictedProfile()
|
/frameworks/base/services/core/java/com/android/server/biometrics/fingerprint/ |
D | FingerprintService.java | 203 final boolean restricted = isRestricted(); in enroll() 234 final boolean restricted = isRestricted(); in authenticate() 294 final boolean restricted = isRestricted(); in remove() 311 final boolean restricted = isRestricted(); in enumerate()
|
/frameworks/base/services/core/java/com/android/server/biometrics/face/ |
D | FaceService.java | 374 final boolean restricted = isRestricted(); in enroll() 416 final boolean restricted = isRestricted(); in authenticate() 478 final boolean restricted = isRestricted(); in remove() 495 final boolean restricted = isRestricted(); in enumerate()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppStateTracker.java | 1071 return isRestricted(uid, packageName, /*useTempWhitelistToo=*/ false, in areAlarmsRestricted() 1080 return isRestricted(uid, packageName, /*useTempWhitelistToo=*/ true, in areJobsRestricted() 1097 private boolean isRestricted(int uid, @NonNull String packageName, in isRestricted() method in AppStateTracker
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 595 if (context.isRestricted()) { in fetchFonts() 627 if (context.isRestricted()) { in buildTypeface()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1338 if (user.isRestricted() && (user.restrictedProfileParentId == userHandle)) { 1418 if (user.isRestricted() && user.restrictedProfileParentId == mUserHandle) { 1445 if (user.isRestricted() && user.restrictedProfileParentId == mUserHandle) { 1891 if (user.isRestricted()) { 1925 if (user.isRestricted() || mgr.hasUserRestriction(UserManager.DISALLOW_CONFIG_VPN,
|
/frameworks/base/core/java/android/text/style/ |
D | TextAppearanceSpan.java | 117 if (!context.isRestricted() && context.canLoadUnsafeResources()) { in TextAppearanceSpan()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 78 mRestrictedProfile = mUserManager.getUserInfo(mUser.getIdentifier()).isRestricted(); in AppRestrictionsHelper()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 963 public boolean isRestricted() { in isRestricted() method in ContextWrapper 964 return mBase.isRestricted(); in isRestricted()
|
D | Context.java | 5620 public boolean isRestricted() { in isRestricted() method in Context
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 1268 public boolean isRestricted() { in isRestricted() method in UserManagerService 1270 return getUserInfoLU(UserHandle.getCallingUserId()).isRestricted(); in isRestricted() 2235 if (!splitSystemUser && userData.info.isRestricted() in upgradeIfNecessaryLP() 2833 final boolean isRestricted = (flags & UserInfo.FLAG_RESTRICTED) != 0; in createUserInternalUncheckedNoTracing() 2864 if (isRestricted && !UserManager.isSplitSystemUser() in createUserInternalUncheckedNoTracing() 2869 if (isRestricted && UserManager.isSplitSystemUser()) { in createUserInternalUncheckedNoTracing() 2927 } else if (isRestricted) { in createUserInternalUncheckedNoTracing()
|
/frameworks/base/core/java/android/view/ |
D | MenuInflater.java | 499 if (mContext.isRestricted()) { in setItem()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContext.java | 805 public boolean isRestricted() { in isRestricted() method in MockContext
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 566 if (!permissionInfo.isRestricted()) { in addOpIfRestricted()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 5855 final boolean isRestricted = in onUserRestrictionsChanged() 5857 if (wasRestricted != isRestricted) { in onUserRestrictionsChanged() 5858 mMicMuteFromRestrictions = isRestricted; in onUserRestrictionsChanged() 5868 final boolean isRestricted = in onUserRestrictionsChanged() 5871 if (wasRestricted != isRestricted) { in onUserRestrictionsChanged() 5872 setMasterMuteInternalNoCallerCheck(isRestricted, /* flags =*/ 0, userId); in onUserRestrictionsChanged()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | BiometricServiceBase.java | 1166 protected boolean isRestricted() { in isRestricted() method in BiometricServiceBase
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 1886 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers() 2104 if (user.isRestricted() in renameAccountInternal() 2370 if (user.isRestricted() && parentUserId == (user.restrictedProfileParentId)) { in removeAccountInternal() 5903 if (user != null && user.isRestricted()) {
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 1922 public boolean isRestricted() { in isRestricted() method in BridgeContext
|