Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBaseUserSwitcherAdapterTest.kt113 isRestricted = false, in <lambda>()
120 isRestricted = true, // this one will be ignored. in <lambda>()
144 isRestricted = false, in <lambda>()
151 isRestricted = true, in <lambda>()
249 isRestricted: Boolean = false, in <lambda>()
261 isRestricted = isRestricted, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/data/
DLegacyUserDataHelper.kt69 isRestricted: Boolean, in createRecord()
76 isRestricted = isRestricted, in createRecord()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/source/
DUserRecord.kt40 @JvmField val isRestricted: Boolean = false, constant in com.android.systemui.user.data.source.UserRecord
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
DUserInteractor.kt248 isRestricted = in <lambda>()
553 isRestricted: Boolean, in <lambda>()
559 isRestricted = isRestricted, in <lambda>()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java329 public boolean isRestricted() { in isRestricted() method in UserInfo
417 if (isProfile() || isGuest() || isRestricted()) { in canHaveProfile()
DPermissionInfo.java713 public boolean isRestricted() { in isRestricted() method in PermissionInfo
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBaseUserSwitcherAdapter.kt38 get() = controller.users.filter { !controller.isKeyguardShowing || !it.isRestricted } in <lambda>()
DSecurityControllerImpl.java281 return mUserManager.getUserInfo(mCurrentUserId).isRestricted() in isVpnRestricted()
336 if (newUserInfo.isRestricted()) { in onUserSwitched()
/frameworks/base/core/java/android/os/
DIUserManager.aidl79 boolean isRestricted(int userId); in isRestricted() method
DUserManager.java2416 return mService.isRestricted(getContextUserIfAppropriate()); in isRestrictedProfile()
2437 return mService.isRestricted(user.getIdentifier()); in isRestrictedProfile()
2490 if (!info.isRestricted()) return null; in getRestrictedProfileParent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java195 && !userRecord.isRestricted in onClick()
/frameworks/base/core/java/android/provider/
DFontsContract.java626 if (context.isRestricted()) { in fetchFonts()
658 if (context.isRestricted()) { in buildTypeface()
/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java117 if (!context.isRestricted() && context.canLoadUnsafeResources()) { in TextAppearanceSpan()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DAuthenticationClient.java151 public boolean isRestricted() { in isRestricted() method in AuthenticationClient
/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.java368 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.java1132 public boolean isRestricted() { in isRestricted() method in ContextWrapper
1133 return mBase.isRestricted(); in isRestricted()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1732 if (user.isRestricted() && (user.restrictedProfileParentId == userId)) { in createUserAndRestrictedProfilesRanges()
1813 if (user.isRestricted() && user.restrictedProfileParentId == mUserId) { in onUserAdded()
1842 if (user.isRestricted() && user.restrictedProfileParentId == mUserId) { in onUserRemoved()
2273 if (user.isRestricted()) { in enforceNotRestrictedUser()
2361 if (user.isRestricted() || mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_VPN, in startLegacyVpnPrivileged()
/frameworks/base/tests/vcn/java/com/android/server/
DVcnManagementServiceTest.java982 boolean isRestricted) { in verifyMergedNetworkCapabilities() argument
989 !isRestricted, in verifyMergedNetworkCapabilities()
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java852 public boolean isRestricted() { in isRestricted() method in MockContext
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1836 public boolean isRestricted(@UserIdInt int userId) { in isRestricted() method in UserManagerService
1842 return userInfo == null ? false : userInfo.isRestricted(); in isRestricted()
3152 if (!splitSystemUser && userData.info.isRestricted() in upgradeIfNecessaryLP()
4017 final boolean isRestricted = UserManager.isUserTypeRestricted(userType); in createUserInternalUncheckedNoTracing()
4060 if (isRestricted && !UserManager.isSplitSystemUser() in createUserInternalUncheckedNoTracing()
4066 if (isRestricted && UserManager.isSplitSystemUser()) { in createUserInternalUncheckedNoTracing()
4124 } else if (isRestricted) { in createUserInternalUncheckedNoTracing()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java3645 final boolean isRestricted = checkIfRestricted(job) != null;
3646 if (isRestricted) {
3667 pw.print(!isRestricted);
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java3980 boolean isRestricted = false; in startOperationUnchecked()
4000 isRestricted = isOpRestrictedLocked(uid, code, packageName, attributionTag, pvr.bypass, in startOperationUnchecked()
4038 + " package " + packageName + " restricted: " + isRestricted in startOperationUnchecked()
4042 if (isRestricted) { in startOperationUnchecked()
4056 isRestricted ? MODE_IGNORED : MODE_ALLOWED, startType, attributionFlags, in startOperationUnchecked()
4061 if (shouldCollectAsyncNotedOp && !dryRun && !isRestricted) { in startOperationUnchecked()
4066 return new SyncNotedAppOp(isRestricted ? MODE_IGNORED : MODE_ALLOWED, code, attributionTag, in startOperationUnchecked()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1972 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
2194 if (user.isRestricted() in renameAccountInternal()
2453 if (user.isRestricted() && parentUserId == (user.restrictedProfileParentId)) { in removeAccountInternal()
6059 if (user != null && user.isRestricted()) {

12