/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | ActionDisabledByAdminDialogHelper.java | 50 @VisibleForTesting EnforcedAdmin mEnforcedAdmin; field in ActionDisabledByAdminDialogHelper 68 return getEnforcementAdminUserId(mEnforcedAdmin); in getEnforcementAdminUserId() 73 mEnforcedAdmin = enforcedAdmin; in prepareDialogBuilder() 78 initializeDialogViews(mDialogView, mEnforcedAdmin.component, getEnforcementAdminUserId(), in prepareDialogBuilder() 91 getEnforcementAdminUserId(mEnforcedAdmin), in maybeSetLearnMoreButton() 94 showAdminPolicies(mEnforcedAdmin, mActivity); in maybeSetLearnMoreButton() 101 if (mEnforcedAdmin.equals(admin) && Objects.equals(mRestriction, restriction)) { in updateDialog() 104 mEnforcedAdmin = admin; in updateDialog() 106 initializeDialogViews(mDialogView, mEnforcedAdmin.component, getEnforcementAdminUserId(), in updateDialog()
|
D | RestrictedSettingsFragment.java | 70 private EnforcedAdmin mEnforcedAdmin; field in RestrictedSettingsFragment 220 mEnforcedAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getActivity(), in getRestrictionEnforcedAdmin() 222 if (mEnforcedAdmin != null && mEnforcedAdmin.user == null) { in getRestrictionEnforcedAdmin() 223 mEnforcedAdmin.user = UserHandle.of(UserHandle.myUserId()); in getRestrictionEnforcedAdmin() 225 return mEnforcedAdmin; in getRestrictionEnforcedAdmin()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserCapabilities.java | 43 RestrictedLockUtils.EnforcedAdmin mEnforcedAdmin; field in UserCapabilities 77 mEnforcedAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(context, in updateAddUserCapabilities() 81 mDisallowAddUserSetByAdmin = mEnforcedAdmin != null && !hasBaseUserRestriction; in updateAddUserCapabilities() 82 mDisallowAddUser = (mEnforcedAdmin != null || hasBaseUserRestriction); in updateAddUserCapabilities() 115 return mEnforcedAdmin; in getEnforcedAdmin() 129 ", mEnforcedAdmin=" + mEnforcedAdmin + in toString()
|
D | UserSettings.java | 1497 mUserCaps.mDisallowAddUser ? mUserCaps.mEnforcedAdmin : null);
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelper.java | 54 @VisibleForTesting EnforcedAdmin mEnforcedAdmin; field in ActionDisabledByAdminDialogHelper 86 return getEnforcementAdminUserId(mEnforcedAdmin); in getEnforcementAdminUserId() 106 mEnforcedAdmin = enforcedAdmin; in prepareDialogBuilder() 108 initializeDialogViews(mDialogView, mEnforcedAdmin, getEnforcementAdminUserId(), in prepareDialogBuilder() 114 if (mEnforcedAdmin.equals(admin) && Objects.equals(mRestriction, restriction)) { in updateDialog() 117 mEnforcedAdmin = admin; in updateDialog() 119 initializeDialogViews(mDialogView, mEnforcedAdmin, getEnforcementAdminUserId(), in updateDialog()
|
/packages/apps/Settings/src/com/android/settings/ |
D | RestrictedSettingsFragment.java | 74 private EnforcedAdmin mEnforcedAdmin; field in RestrictedSettingsFragment 222 mEnforcedAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getActivity(), in getRestrictionEnforcedAdmin() 224 if (mEnforcedAdmin != null && mEnforcedAdmin.user == null) { in getRestrictionEnforcedAdmin() 225 mEnforcedAdmin.user = UserHandle.of(UserHandle.myUserId()); in getRestrictionEnforcedAdmin() 227 return mEnforcedAdmin; in getRestrictionEnforcedAdmin()
|
D | RestrictedCheckBox.java | 36 private EnforcedAdmin mEnforcedAdmin; field in RestrictedCheckBox 50 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(mContext, mEnforcedAdmin); in performClick() 58 mEnforcedAdmin = admin; in setDisabledByAdmin()
|
D | RestrictedRadioButton.java | 33 private EnforcedAdmin mEnforcedAdmin; field in RestrictedRadioButton 56 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(mContext, mEnforcedAdmin); in performClick() 64 mEnforcedAdmin = admin; in setDisabledByAdmin()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | RestrictedDashboardFragment.java | 74 private EnforcedAdmin mEnforcedAdmin; field in RestrictedDashboardFragment 216 mEnforcedAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getActivity(), in getRestrictionEnforcedAdmin() 218 if (mEnforcedAdmin != null && mEnforcedAdmin.user == null) { in getRestrictionEnforcedAdmin() 219 mEnforcedAdmin.user = UserHandle.of(UserHandle.myUserId()); in getRestrictionEnforcedAdmin() 221 return mEnforcedAdmin; in getRestrictionEnforcedAdmin()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SettingsMainSwitchPreference.java | 54 private EnforcedAdmin mEnforcedAdmin; field in SettingsMainSwitchPreference 86 mEnforcedAdmin = mRestrictedHelper.checkRestrictionEnforced(); in onBindViewHolder() 240 mEnforcedAdmin = admin; in setDisabledByAdmin() 242 mMainSwitchBar.setDisabledByAdmin(mEnforcedAdmin); in setDisabledByAdmin() 249 mMainSwitchBar.setDisabledByAdmin(mEnforcedAdmin); in initMainSwitchBar()
|
D | SettingsMainSwitchBar.java | 48 private EnforcedAdmin mEnforcedAdmin; field in SettingsMainSwitchBar 81 mEnforcedAdmin = admin; in setDisabledByAdmin() 152 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(getContext(), mEnforcedAdmin); in performRestrictedClick() local
|
D | SwitchBar.java | 88 private EnforcedAdmin mEnforcedAdmin = null; field in SwitchBar 156 mEnforcedAdmin); in SwitchBar() 247 mEnforcedAdmin = admin; in setDisabledByAdmin()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/ |
D | StorageApplicationActionButtonsPreferenceControllerTest.java | 92 private RestrictedLockUtils.EnforcedAdmin mEnforcedAdmin; field in StorageApplicationActionButtonsPreferenceControllerTest 185 mPreferenceController.setAppsControlDisallowedAdmin(mEnforcedAdmin); in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache() 209 mPreferenceController.setAppsControlDisallowedAdmin(mEnforcedAdmin); in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache() 233 mPreferenceController.setAppsControlDisallowedAdmin(mEnforcedAdmin); in handleClearDataClick_disallowedBySystem_shouldNotShowDialogToClear() 255 mPreferenceController.setAppsControlDisallowedAdmin(mEnforcedAdmin); in handleClearDataClick_allowedBySystem_shouldShowDialogToClear() 282 mPreferenceController.setAppsControlDisallowedAdmin(mEnforcedAdmin); in handleClearDataClick_hasValidManageSpaceActivity_shouldNotShowDialogToClear() 311 mPreferenceController.setAppsControlDisallowedAdmin(mEnforcedAdmin); in handleClearDataClick_hasInvalidManageSpaceActivity_shouldShowDialogToClear()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | TimeoutListPreferenceTest.java | 46 private RestrictedLockUtils.EnforcedAdmin mEnforcedAdmin; field in TimeoutListPreferenceTest 61 ReflectionHelpers.setField(mPreference, "mAdmin", mEnforcedAdmin); in setUp() 67 mPreference.removeUnusableTimeouts(480000L, mEnforcedAdmin); // max allowed is 8 minutes in removeUnusableTimeouts_selectedValueRemoved_shouldSetValueToLargestAllowedValue()
|
D | AdaptiveSleepPreferenceControllerTest.java | 71 private RestrictedLockUtils.EnforcedAdmin mEnforcedAdmin; field in AdaptiveSleepPreferenceControllerTest 163 eq(UserManager.DISALLOW_CONFIG_SCREEN_TIMEOUT))).thenReturn(mEnforcedAdmin); in addToScreen_enforcedAdmin_disablePreference()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/ |
D | RestrictedPreferenceController.java | 32 private RestrictedLockUtils.EnforcedAdmin mEnforcedAdmin; field in RestrictedPreferenceController 98 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(mContext, mEnforcedAdmin); in handlePreferenceTreeClick() 131 mEnforcedAdmin = admin; in setDisabledByAdmin()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/enterprise/ |
D | BaseActionDisabledByAdminController.java | 34 protected EnforcedAdmin mEnforcedAdmin; field in BaseActionDisabledByAdminController 51 mEnforcedAdmin = requireNonNull(admin, "admin cannot be null"); in updateEnforcedAdmin()
|
D | FinancedDeviceActionDisabledByAdminController.java | 38 mEnforcedAdmin); in setupLearnMoreButton()
|
D | ManagedDeviceActionDisabledByAdminController.java | 84 mEnforcedAdmin); in setupLearnMoreButton()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | SettingsMainSwitchPreferenceTest.java | 45 private EnforcedAdmin mEnforcedAdmin; field in SettingsMainSwitchPreferenceTest 55 ReflectionHelpers.setField(mPreference, "mEnforcedAdmin", mEnforcedAdmin); in setUp()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | ResetAppPrefFragmentTest.java | 93 private RestrictedLockUtils.EnforcedAdmin mEnforcedAdmin; field in ResetAppPrefFragmentTest 182 .thenReturn(mEnforcedAdmin); in resetClicked_adminDisallowResetsApplicationPreferences()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | UserSettingsTest.java | 410 mUserCapabilities.mEnforcedAdmin = enforcedAdmin; in updateUserList_addUserDisallowedByAdmin_shouldNotShowAddUser()
|