Home
last modified time | relevance | path

Searched refs:isRestricted (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java504 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()
DSecurityControllerImpl.java242 return mUserManager.getUserInfo(mCurrentUserId).isRestricted() in isVpnRestricted()
297 if (newUserInfo.isRestricted()) { in onUserSwitched()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java136 .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/
DUserInfo.java204 public boolean isRestricted() { in isRestricted() method in UserInfo
281 if (isManagedProfile() || isGuest() || isRestricted()) { in canHaveProfile()
DPermissionInfo.java639 public boolean isRestricted() { in isRestricted() method in PermissionInfo
/frameworks/base/media/java/android/media/
DPlayerBase.java217 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/
DIUserManager.aidl68 boolean isRestricted(); in isRestricted() method
DUserManager.java1480 return mService.isRestricted(); in isRestrictedProfile()
1498 return mService.getUserInfo(user.getIdentifier()).isRestricted(); in isRestrictedProfile()
/frameworks/base/services/core/java/com/android/server/biometrics/fingerprint/
DFingerprintService.java203 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/
DFaceService.java374 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/
DAppStateTracker.java1071 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/
DFontsContract.java595 if (context.isRestricted()) { in fetchFonts()
627 if (context.isRestricted()) { in buildTypeface()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1338 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/
DTextAppearanceSpan.java117 if (!context.isRestricted() && context.canLoadUnsafeResources()) { in TextAppearanceSpan()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java78 mRestrictedProfile = mUserManager.getUserInfo(mUser.getIdentifier()).isRestricted(); in AppRestrictionsHelper()
/frameworks/base/core/java/android/content/
DContextWrapper.java963 public boolean isRestricted() { in isRestricted() method in ContextWrapper
964 return mBase.isRestricted(); in isRestricted()
DContext.java5620 public boolean isRestricted() { in isRestricted() method in Context
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1268 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/
DMenuInflater.java499 if (mContext.isRestricted()) { in setItem()
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java805 public boolean isRestricted() { in isRestricted() method in MockContext
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java566 if (!permissionInfo.isRestricted()) { in addOpIfRestricted()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java5855 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/
DBiometricServiceBase.java1166 protected boolean isRestricted() { in isRestricted() method in BiometricServiceBase
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1886 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/
DBridgeContext.java1922 public boolean isRestricted() { in isRestricted() method in BridgeContext

12