/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 131 .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/ |
D | UserSwitcherController.java | 565 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()
|
D | SecurityControllerImpl.java | 265 return mUserManager.getUserInfo(mCurrentUserId).isRestricted() in isVpnRestricted() 320 if (newUserInfo.isRestricted()) { in onUserSwitched()
|
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 311 public boolean isRestricted() { in isRestricted() method in UserInfo 399 if (isProfile() || isGuest() || isRestricted()) { in canHaveProfile()
|
D | PermissionInfo.java | 712 public boolean isRestricted() { in isRestricted() method in PermissionInfo
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 72 boolean isRestricted(); in isRestricted() method
|
D | UserManager.java | 2117 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/ |
D | UserDetailView.java | 162 if (!tag.isAddUser && !tag.isRestricted && !tag.isDisabledByAdmin) { in onClick()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 626 if (context.isRestricted()) { in fetchFonts() 658 if (context.isRestricted()) { in buildTypeface()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | AuthenticationClient.java | 162 public boolean isRestricted() { in isRestricted() method in AuthenticationClient
|
/frameworks/base/core/java/android/text/style/ |
D | TextAppearanceSpan.java | 117 if (!context.isRestricted() && context.canLoadUnsafeResources()) { in TextAppearanceSpan()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1502 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/ |
D | AppRestrictionsHelper.java | 78 mRestrictedProfile = mUserManager.getUserInfo(mUser.getIdentifier()).isRestricted(); in AppRestrictionsHelper()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
D | Fingerprint21UdfpsMock.java | 391 final boolean restricted = authClient.isRestricted(); in run()
|
/frameworks/base/core/java/android/view/ |
D | MenuInflater.java | 499 if (mContext.isRestricted()) { in setItem()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 1084 public boolean isRestricted() { in isRestricted() method in ContextWrapper 1085 return mBase.isRestricted(); in isRestricted()
|
D | Context.java | 6698 public boolean isRestricted() { in isRestricted() method in Context
|
/frameworks/base/tests/vcn/java/com/android/server/ |
D | VcnManagementServiceTest.java | 909 boolean isRestricted) { in verifyMergedNetworkCapabilities() argument 916 !isRestricted, in verifyMergedNetworkCapabilities()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 1657 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/ |
D | MockContext.java | 837 public boolean isRestricted() { in isRestricted() method in MockContext
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 3955 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/ |
D | JobSchedulerService.java | 3324 final boolean isRestricted = checkIfRestricted(job) != null; 3325 if (isRestricted) { 3346 pw.print(!isRestricted);
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 7924 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/ |
D | AccountManagerService.java | 1957 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/ |
D | BridgeContext.java | 1981 public boolean isRestricted() { in isRestricted() method in BridgeContext
|