Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java493 if ((userInfo == null || !userInfo.isAdmin()) && record.isRestricted) {
644 if (mController.mUsers.get(i).isRestricted) { in getCount()
718 public final boolean isRestricted; field in UserSwitcherController.UserRecord
724 boolean isAddUser, boolean isRestricted, boolean isSwitchToEnabled) { in UserRecord() argument
730 this.isRestricted = isRestricted; in UserRecord()
735 return new UserRecord(info, picture, isGuest, _isCurrent, isAddUser, isRestricted, in copyWithIsCurrent()
762 if (isRestricted) sb.append(" <isRestricted>"); in toString()
DSecurityControllerImpl.java174 return mUserManager.getUserInfo(mCurrentUserId).isRestricted() in isVpnRestricted()
215 if (newUserInfo.isRestricted()) { in onUserSwitched()
/frameworks/base/media/java/android/media/
DSoundPool.java336 if (isRestricted()) { in play()
411 if (isRestricted()) { in setVolume()
507 private boolean isRestricted() { in isRestricted() method in SoundPool
/frameworks/base/core/java/android/content/pm/
DUserInfo.java137 public boolean isRestricted() { in isRestricted() method in UserInfo
206 if (isManagedProfile() || isGuest() || isRestricted()) { in canHaveProfile()
/frameworks/base/core/java/android/os/
DIUserManager.aidl57 boolean isRestricted(); in isRestricted() method
DUserManager.java855 return mService.isRestricted(); in isLinkedUser()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java69 mRestrictedProfile = mUserManager.getUserInfo(mUser.getIdentifier()).isRestricted(); in AppRestrictionsHelper()
90 if (!mUserManager.getUserInfo(userId).isRestricted() && userId != UserHandle.myUserId()) { in applyUserAppsStates()
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintService.java777 final boolean restricted = isRestricted(); in enroll()
787 private boolean isRestricted() { in isRestricted() method in FingerprintService.FingerprintServiceWrapper
814 final boolean restricted = isRestricted(); in authenticate()
885 final boolean restricted = isRestricted(); in remove()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java730 if (user.isRestricted()) { in establish()
873 if (user.isRestricted() && (user.restrictedProfileParentId == userHandle)) { in createUserAndRestrictedProfilesRanges()
957 if (user.isRestricted() && user.restrictedProfileParentId == mUserHandle) { in onUserAdded()
981 if (user.isRestricted() && user.restrictedProfileParentId == mUserHandle) { in onUserRemoved()
1300 if (user.isRestricted() || mgr.hasUserRestriction(UserManager.DISALLOW_CONFIG_VPN, in startLegacyVpnPrivileged()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatViewInflater.java302 if (!context.isRestricted()) { in resolveMethod()
/frameworks/base/core/java/android/content/
DContextWrapper.java812 public boolean isRestricted() { in isRestricted() method in ContextWrapper
813 return mBase.isRestricted(); in isRestricted()
DContext.java4294 public boolean isRestricted() { in isRestricted() method in Context
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java917 public boolean isRestricted() { in isRestricted() method in UserManagerService
919 return getUserInfoLU(UserHandle.getCallingUserId()).isRestricted(); in isRestricted()
1787 if (!splitSystemUser && userData.info.isRestricted() in upgradeIfNecessaryLP()
2222 final boolean isRestricted = (flags & UserInfo.FLAG_RESTRICTED) != 0; in createUserInternalUnchecked()
2251 if (isRestricted && !UserManager.isSplitSystemUser() in createUserInternalUnchecked()
2256 if (isRestricted && UserManager.isSplitSystemUser()) { in createUserInternalUnchecked()
2317 } else if (isRestricted) { in createUserInternalUnchecked()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DSupportMenuInflater.java443 if (mContext.isRestricted()) { in setItem()
/frameworks/base/core/java/android/view/
DMenuInflater.java455 if (mContext.isRestricted()) { in setItem()
DView.java4458 if (context.isRestricted()) {
4734 if (!context.isRestricted()) { in resolveMethod()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java695 public boolean isRestricted() { in isRestricted() method in MockContext
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java5384 final boolean isRestricted = in onUserRestrictionsChanged()
5386 if (wasRestricted != isRestricted) { in onUserRestrictionsChanged()
5387 setMicrophoneMuteNoCallerCheck(isRestricted, userId); in onUserRestrictionsChanged()
5396 final boolean isRestricted = in onUserRestrictionsChanged()
5399 if (wasRestricted != isRestricted) { in onUserRestrictionsChanged()
5400 setMasterMuteInternalNoCallerCheck(isRestricted, /* flags =*/ 0, userId); in onUserRestrictionsChanged()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1378 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
1596 if (user.isRestricted() in renameAccountInternal()
1847 if (user.isRestricted() && parentUserId == (user.restrictedProfileParentId)) { in removeAccountInternal()
5755 if (user != null && user.isRestricted()) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1785 public boolean isRestricted() { in isRestricted() method in BridgeContext
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1972 if (user.isRestricted()) { in ensureSecureSettingAndroidIdSetLocked()
/frameworks/base/core/java/android/app/
DContextImpl.java1891 public boolean isRestricted() { in isRestricted() method in ContextImpl
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java721 if (userInfo == null || !userInfo.isRestricted()) return isSyncable; in getIsSyncable()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7178 method public boolean isRestricted();
/frameworks/base/api/
Dcurrent.txt8107 method public boolean isRestricted();

12