Home
last modified time | relevance | path

Searched refs:RestrictedListPreference (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DVisibilityPreferenceControllerTest.java49 import com.android.settings.RestrictedListPreference;
117 mController.updateState(mock(RestrictedListPreference.class)); in testNoCrashIfNoOnResume()
118 mController.onPreferenceChange(mock(RestrictedListPreference.class), true); in testNoCrashIfNoOnResume()
184 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_disabledByAdmin_disableSecure()
206 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_disabledByAdmin_disableUnredacted()
221 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noLockScreenNotificationsGlobally()
246 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noLockScreenNotificationsGloballyInProfile()
269 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noPrivateLockScreenNotificationsGlobally()
286 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noGlobalRestriction()
317 RestrictedListPreference pref = mock(RestrictedListPreference.class); in testUpdateState_noChannelOverride()
[all …]
/packages/apps/Settings/src/com/android/settings/
DRestrictedListPreference.java47 public class RestrictedListPreference extends CustomListPreference { class
53 public RestrictedListPreference(Context context, AttributeSet attrs) { in RestrictedListPreference() method in RestrictedListPreference
58 public RestrictedListPreference(Context context, AttributeSet attrs, in RestrictedListPreference() method in RestrictedListPreference
222 private RestrictedListPreference getCustomizablePreference() { in getCustomizablePreference()
223 return (RestrictedListPreference) getPreference(); in getCustomizablePreference()
230 final RestrictedListPreference preference = getCustomizablePreference(); in getOnItemClickListener()
260 mLastCheckedPosition = ((RestrictedListPreference) getCustomizablePreference()) in getLastCheckedPosition()
DSettingsPreferenceFragment.java553 if (preference instanceof RestrictedListPreference) { in onDisplayPreferenceDialog()
554 f = RestrictedListPreference.RestrictedListPreferenceDialogFragment in onDisplayPreferenceDialog()
/packages/apps/Settings/src/com/android/settings/notification/app/
DVisibilityPreferenceController.java33 import com.android.settings.RestrictedListPreference;
78 RestrictedListPreference pref = (RestrictedListPreference) preference; in updateState()
136 private void setRestrictedIfNotificationFeaturesDisabled(RestrictedListPreference pref, in setRestrictedIfNotificationFeaturesDisabled()
142 RestrictedListPreference.RestrictedItem item = in setRestrictedIfNotificationFeaturesDisabled()
143 new RestrictedListPreference.RestrictedItem(entry, entryValue, admin); in setRestrictedIfNotificationFeaturesDisabled()
/packages/apps/Settings/src/com/android/settings/notification/
DShowOnLockScreenNotificationPreferenceController.java30 import com.android.settings.RestrictedListPreference;
72 RestrictedListPreference pref = screen.findPreference(mSettingKey); in displayPreference()
136 private void setRestrictedIfNotificationFeaturesDisabled(RestrictedListPreference pref, in setRestrictedIfNotificationFeaturesDisabled()
142 RestrictedListPreference.RestrictedItem item = in setRestrictedIfNotificationFeaturesDisabled()
143 new RestrictedListPreference.RestrictedItem(entry, entryValue, admin); in setRestrictedIfNotificationFeaturesDisabled()
DLockScreenNotificationPreferenceController.java41 import com.android.settings.RestrictedListPreference;
64 private RestrictedListPreference mLockscreen;
65 private RestrictedListPreference mLockscreenProfile;
262 RestrictedListPreference.RestrictedItem item = in setRestrictedIfNotificationFeaturesDisabled()
263 new RestrictedListPreference.RestrictedItem(entry, entryValue, admin); in setRestrictedIfNotificationFeaturesDisabled()
271 RestrictedListPreference.RestrictedItem item = in setRestrictedIfNotificationFeaturesDisabled()
272 new RestrictedListPreference.RestrictedItem( in setRestrictedIfNotificationFeaturesDisabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DShowOnLockscreenNotificationPreferenceControllerTest.java34 import com.android.settings.RestrictedListPreference;
60 private RestrictedListPreference mPreference;
69 mPreference = new RestrictedListPreference( in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DRestrictedListPreferenceTest.java56 private RestrictedListPreference mPreference;
68 mPreference = new RestrictedListPreference(mActivity, attributeSet); in setUp()
/packages/apps/Settings/src/com/android/settings/display/
DTimeoutListPreference.java36 import com.android.settings.RestrictedListPreference;
42 public class TimeoutListPreference extends RestrictedListPreference {
/packages/apps/Settings/tests/robotests/assets/
Dexempt_not_implementing_instrumentable5 com.android.settings.RestrictedListPreference$RestrictedListPreferenceDialogFragment