Home
last modified time | relevance | path

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

12

/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java131 .filter(iface -> !iface.isRestricted() || includeRestricted) in getAvailableInterfaces()
133 int r = Boolean.compare(iface1.isRestricted(), iface2.isRestricted()); in getAvailableInterfaces()
399 boolean isRestricted() { in isRestricted() method in NetworkInterfaceState
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java565 if ((userInfo == null || !userInfo.isAdmin()) && record.isRestricted) {
824 if (getUsers().get(i).isRestricted && keyguardShowing) { in countUsers()
938 public final boolean isRestricted; field in UserSwitcherController.UserRecord
944 boolean isAddUser, boolean isRestricted, boolean isSwitchToEnabled) { in UserRecord() argument
950 this.isRestricted = isRestricted; in UserRecord()
955 return new UserRecord(info, picture, isGuest, _isCurrent, isAddUser, isRestricted, in copyWithIsCurrent()
982 if (isRestricted) sb.append(" <isRestricted>"); in toString()
DSecurityControllerImpl.java265 return mUserManager.getUserInfo(mCurrentUserId).isRestricted() in isVpnRestricted()
320 if (newUserInfo.isRestricted()) { in onUserSwitched()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java311 public boolean isRestricted() { in isRestricted() method in UserInfo
399 if (isProfile() || isGuest() || isRestricted()) { in canHaveProfile()
DPermissionInfo.java712 public boolean isRestricted() { in isRestricted() method in PermissionInfo
/frameworks/base/core/java/android/os/
DIUserManager.aidl72 boolean isRestricted(); in isRestricted() method
DUserManager.java2117 return mService.isRestricted(); in isRestrictedProfile()
2136 return mService.getUserInfo(user.getIdentifier()).isRestricted(); in isRestrictedProfile()
2186 if (!info.isRestricted()) return null; in getRestrictedProfileParent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java162 if (!tag.isAddUser && !tag.isRestricted && !tag.isDisabledByAdmin) { in onClick()
/frameworks/base/core/java/android/provider/
DFontsContract.java626 if (context.isRestricted()) { in fetchFonts()
658 if (context.isRestricted()) { in buildTypeface()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DAuthenticationClient.java162 public boolean isRestricted() { in isRestricted() method in AuthenticationClient
/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java117 if (!context.isRestricted() && context.canLoadUnsafeResources()) { in TextAppearanceSpan()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1502 if (user.isRestricted() && (user.restrictedProfileParentId == userId)) {
1583 if (user.isRestricted() && user.restrictedProfileParentId == mUserId) {
1612 if (user.isRestricted() && user.restrictedProfileParentId == mUserId) {
2032 if (user.isRestricted()) {
2118 if (user.isRestricted() || mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_VPN,
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java78 mRestrictedProfile = mUserManager.getUserInfo(mUser.getIdentifier()).isRestricted(); in AppRestrictionsHelper()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DFingerprint21UdfpsMock.java391 final boolean restricted = authClient.isRestricted(); in run()
/frameworks/base/core/java/android/view/
DMenuInflater.java499 if (mContext.isRestricted()) { in setItem()
/frameworks/base/core/java/android/content/
DContextWrapper.java1084 public boolean isRestricted() { in isRestricted() method in ContextWrapper
1085 return mBase.isRestricted(); in isRestricted()
DContext.java6698 public boolean isRestricted() { in isRestricted() method in Context
/frameworks/base/tests/vcn/java/com/android/server/
DVcnManagementServiceTest.java909 boolean isRestricted) { in verifyMergedNetworkCapabilities() argument
916 !isRestricted, in verifyMergedNetworkCapabilities()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1657 public boolean isRestricted() { in isRestricted() method in UserManagerService
1659 return getUserInfoLU(UserHandle.getCallingUserId()).isRestricted(); in isRestricted()
2778 if (!splitSystemUser && userData.info.isRestricted() in upgradeIfNecessaryLP()
3576 final boolean isRestricted = UserManager.isUserTypeRestricted(userType); in createUserInternalUncheckedNoTracing()
3616 if (isRestricted && !UserManager.isSplitSystemUser() in createUserInternalUncheckedNoTracing()
3622 if (isRestricted && UserManager.isSplitSystemUser()) { in createUserInternalUncheckedNoTracing()
3676 } else if (isRestricted) { in createUserInternalUncheckedNoTracing()
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java837 public boolean isRestricted() { in isRestricted() method in MockContext
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java3955 boolean isRestricted = false; in startOperationUnchecked()
3975 isRestricted = isOpRestrictedLocked(uid, code, packageName, attributionTag, pvr.bypass); in startOperationUnchecked()
4012 + " package " + packageName + " restricted: " + isRestricted in startOperationUnchecked()
4016 if (isRestricted) { in startOperationUnchecked()
4030 isRestricted ? MODE_IGNORED : MODE_ALLOWED, startType, attributionFlags, in startOperationUnchecked()
4035 if (shouldCollectAsyncNotedOp && !dryRun && !isRestricted) { in startOperationUnchecked()
4040 return new SyncNotedAppOp(isRestricted ? MODE_IGNORED : MODE_ALLOWED, code, attributionTag, in startOperationUnchecked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java3324 final boolean isRestricted = checkIfRestricted(job) != null;
3325 if (isRestricted) {
3346 pw.print(!isRestricted);
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java7924 final boolean isRestricted = in onUserRestrictionsChanged()
7926 if (wasRestricted != isRestricted) { in onUserRestrictionsChanged()
7927 mMicMuteFromRestrictions = isRestricted; in onUserRestrictionsChanged()
7937 final boolean isRestricted = in onUserRestrictionsChanged()
7940 if (wasRestricted != isRestricted) { in onUserRestrictionsChanged()
7941 setMasterMuteInternalNoCallerCheck(isRestricted, /* flags =*/ 0, userId); in onUserRestrictionsChanged()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1957 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
2175 if (user.isRestricted() in renameAccountInternal()
2434 if (user.isRestricted() && parentUserId == (user.restrictedProfileParentId)) { in removeAccountInternal()
5996 if (user != null && user.isRestricted()) {
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1981 public boolean isRestricted() { in isRestricted() method in BridgeContext

12