/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | DateTimeFragment.java | 96 final boolean isRestricted = SecurityFragment.isRestrictedProfileInEffect(getContext()); in onCreatePreferences() 99 mDatePref.setVisible(!isRestricted); in onCreatePreferences() 101 mTimePref.setVisible(!isRestricted); in onCreatePreferences() 112 autoDateTimePref.setVisible(!isRestricted); in onCreatePreferences() 114 mTimeZone.setVisible(!isRestricted); in onCreatePreferences()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | UxrButton.java | 60 if (isRestricted()) { 102 if (isRestricted()) { in onCreateDrawableState() 133 private boolean isRestricted() { in isRestricted() method in UxrButton 134 return CarUxRestrictionsUtil.isRestricted(mRestrictions, mActiveCarUxRestrictions); in isRestricted()
|
D | CarUxRestrictionsUtil.java | 134 public static boolean isRestricted(@CarUxRestrictionsInfo int restrictionFlags, in isRestricted() method in CarUxRestrictionsUtil 145 if (isRestricted(UX_RESTRICTIONS_LIMIT_STRING_LENGTH, uxr)) { in complyString()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictedProfileModel.java | 99 return mCurrentUserInfo.isRestricted(); in isCurrentUser() 107 if (mCurrentUserInfo.isRestricted()) { in getUser() 111 if (userInfo.isRestricted()) { in getUser() 122 if (!mCurrentUserInfo.isRestricted()) { in getOwnerUserId()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | LocationEnabler.java | 102 mListener.onLocationModeChanged(mode, isRestricted()); in refreshLocationMode() 110 if (isRestricted()) { in setLocationEnabled() 127 return mode != Settings.Secure.LOCATION_MODE_OFF && !isRestricted(); in isEnabled() 157 private boolean isRestricted() { in isRestricted() method in LocationEnabler
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/ |
D | LocationEnabler.java | 102 mListener.onLocationModeChanged(mode, isRestricted()); in refreshLocationMode() 110 if (isRestricted()) { in setLocationEnabled() 127 return mode != Settings.Secure.LOCATION_MODE_OFF && !isRestricted(); in isEnabled() 157 private boolean isRestricted() { in isRestricted() method in LocationEnabler
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowRestrictionUtils.java | 13 private static boolean isRestricted = false; field in ShadowRestrictionUtils 17 if (isRestricted) { in checkIfRestrictionEnforced() 24 isRestricted = restricted; in setRestricted()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/ |
D | MenuItem.java | 241 boolean wasRestricted = isRestricted(); in setCarUxRestrictions() 244 if (isRestricted() != wasRestricted) { in setCarUxRestrictions() 249 /* package */ boolean isRestricted() { in isRestricted() method in MenuItem 250 return CarUxRestrictionsUtil.isRestricted(mUxRestrictions, mCurrentRestrictions); in isRestricted() 260 if (isRestricted()) { in performClick()
|
/packages/apps/Car/libs/car-apps-common/tests/robotests/src/com/android/car/apps/common/ |
D | CarUxRestrictionsUtilTest.java | 50 boolean actualResult = CarUxRestrictionsUtil.isRestricted(mRestrictionsArray[i], in testNullActiveRestriction() 62 boolean actualResult = CarUxRestrictionsUtil.isRestricted(mRestrictionsArray[i], in testOneActiveRestriction() 76 boolean actualResult = CarUxRestrictionsUtil.isRestricted(mRestrictionsArray[i], in testMultipleActiveRestrictions()
|
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/utils/ |
D | CarUxRestrictionsUtilTest.java | 50 boolean actualResult = CarUxRestrictionsUtil.isRestricted(mRestrictionsArray[i], in testNullActiveRestriction() 62 boolean actualResult = CarUxRestrictionsUtil.isRestricted(mRestrictionsArray[i], in testOneActiveRestriction() 76 boolean actualResult = CarUxRestrictionsUtil.isRestricted(mRestrictionsArray[i], in testMultipleActiveRestrictions()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | RestrictedAppDetails.java | 190 final boolean isRestricted = batteryTip instanceof RestrictAppTip; in onBatteryTipHandled() 191 if (isRestricted) { in onBatteryTipHandled() 200 preference.setChecked(isRestricted); in onBatteryTipHandled()
|
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | MessageNotificationViewHolder.java | 106 StatusBarNotification statusBarNotification, boolean isInGroup, boolean isRestricted, in bindBody() argument 150 if (isRestricted) { in bindBody() 183 if (!isRestricted && unshownCount > 0) { in bindBody()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | RestrictedAppDetails.java | 190 final boolean isRestricted = batteryTip instanceof RestrictAppTip; in onBatteryTipHandled() 191 if (isRestricted) { in onBatteryTipHandled() 200 preference.setChecked(isRestricted); in onBatteryTipHandled()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/utils/ |
D | CarUxRestrictionsUtil.java | 133 public static boolean isRestricted( in isRestricted() method in CarUxRestrictionsUtil 144 if (isRestricted(UX_RESTRICTIONS_LIMIT_STRING_LENGTH, uxr)) { in complyString()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | UserSettings.java | 495 if (info.isRestricted() && mUserCaps.mIsAdmin) { in onManageUserClicked() 527 if (mUserManager.getUserInfo(userId).isRestricted()) { in onUserCreated() 836 && (voiceCapable || user.isRestricted()); in updateUserList() 838 && (!voiceCapable && !user.isRestricted() && !user.isGuest()); in updateUserList() 854 if (user.isRestricted()) { in updateUserList() 865 } else if (user.isRestricted()) { in updateUserList()
|
D | UserDialogs.java | 70 } else if (userInfo.isRestricted()) { in createRemoveDialog()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserSettings.java | 499 if (info.isRestricted() && mUserCaps.mIsAdmin) { in onManageUserClicked() 531 if (mUserManager.getUserInfo(userId).isRestricted()) { in onUserCreated() 840 && (voiceCapable || user.isRestricted()); in updateUserList() 842 && (!voiceCapable && !user.isRestricted() && !user.isGuest()); in updateUserList() 858 if (user.isRestricted()) { in updateUserList() 869 } else if (user.isRestricted()) { in updateUserList()
|
D | UserDialogs.java | 70 } else if (userInfo.isRestricted()) { in createRemoveDialog()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | DevicePrefFragment.java | 73 if (isRestricted()) { in onCreatePreferences() 132 private boolean isRestricted() { in isRestricted() method in DevicePrefFragment
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountsFragment.java | 145 if (isRestricted()) { in updateAccounts() 153 private boolean isRestricted() { in isRestricted() method in AccountsFragment
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | MainFragment.java | 225 if (isRestricted()) { in onCreatePreferences() 405 private boolean isRestricted() { in isRestricted() method in MainFragment
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 920 displayId, (listener.isRestricted() ? "restricted" : "unrestricted"))); in dump() 999 return listenerForTopTaskDisplay.isRestricted(); in isUxRestrictedOnDisplay() 1384 private synchronized boolean isRestricted() { in isRestricted() method in CarPackageManagerService.UxRestrictionsListener
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | DiskReceiver.java | 53 if (userInfo.isRestricted() in onReceive()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | VpnPreferenceController.java | 149 if (userInfo.isRestricted()) { in updateSummary()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | VpnPreferenceController.java | 149 if (userInfo.isRestricted()) { in updateSummary()
|