Home
last modified time | relevance | path

Searched refs:mControllers (Results 1 – 25 of 42) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/notification/app/
DAppNotificationSettings.java81 for (NotificationPreferenceController controller : mControllers) { in onResume()
100 mControllers = new ArrayList<>(); in createPreferenceControllers()
101 mControllers.add(new HeaderPreferenceController(context, this)); in createPreferenceControllers()
102 mControllers.add(new BlockPreferenceController(context, mDependentFieldListener, mBackend)); in createPreferenceControllers()
103 mControllers.add(new BadgePreferenceController(context, mBackend)); in createPreferenceControllers()
104 mControllers.add(new AllowSoundPreferenceController( in createPreferenceControllers()
106 mControllers.add(new ImportancePreferenceController( in createPreferenceControllers()
108 mControllers.add(new MinImportancePreferenceController( in createPreferenceControllers()
110 mControllers.add(new HighImportancePreferenceController( in createPreferenceControllers()
112 mControllers.add(new SoundPreferenceController(context, this, in createPreferenceControllers()
[all …]
DChannelNotificationSettings.java81 for (NotificationPreferenceController controller : mControllers) { in onResume()
90 for (NotificationPreferenceController controller : mControllers) { in onActivityResult()
110 mControllers = new ArrayList<>(); in createPreferenceControllers()
111 mControllers.add(new HeaderPreferenceController(context, this)); in createPreferenceControllers()
112 mControllers.add(new BlockPreferenceController(context, mDependentFieldListener, mBackend)); in createPreferenceControllers()
113 mControllers.add(new ImportancePreferenceController( in createPreferenceControllers()
115 mControllers.add(new MinImportancePreferenceController( in createPreferenceControllers()
117 mControllers.add(new HighImportancePreferenceController( in createPreferenceControllers()
119 mControllers.add(new AllowSoundPreferenceController( in createPreferenceControllers()
121 mControllers.add(new SoundPreferenceController(context, this, in createPreferenceControllers()
[all …]
DConversationNotificationSettings.java50 for (NotificationPreferenceController controller : mControllers) { in onResume()
60 for (NotificationPreferenceController controller : mControllers) { in onActivityResult()
80 mControllers = new ArrayList<>(); in createPreferenceControllers()
81 mControllers.add(new ConversationHeaderPreferenceController(context, this)); in createPreferenceControllers()
82 mControllers.add(new ConversationPriorityPreferenceController( in createPreferenceControllers()
84 mControllers.add(new HighImportancePreferenceController( in createPreferenceControllers()
86 mControllers.add(new SoundPreferenceController(context, this, in createPreferenceControllers()
88 mControllers.add(new VibrationPreferenceController(context, mBackend)); in createPreferenceControllers()
89 mControllers.add(new VisibilityPreferenceController(context, new LockPatternUtils(context), in createPreferenceControllers()
91 mControllers.add(new LightsPreferenceController(context, mBackend)); in createPreferenceControllers()
[all …]
DConversationListSettings.java36 protected List<AbstractPreferenceController> mControllers = new ArrayList<>(); field in ConversationListSettings
55 mControllers = new ArrayList<>(); in createPreferenceControllers()
56 mControllers.add(new NoConversationsPreferenceController(context, mBackend)); in createPreferenceControllers()
57 mControllers.add(new PriorityConversationsPreferenceController(context, mBackend)); in createPreferenceControllers()
58 mControllers.add(new AllConversationsPreferenceController(context, mBackend)); in createPreferenceControllers()
59 return new ArrayList<>(mControllers); in createPreferenceControllers()
DAppChannelsBypassingDndSettings.java55 for (NotificationPreferenceController controller : mControllers) { in onResume()
74 mControllers = new ArrayList<>(); in createPreferenceControllers()
75 mControllers.add(new HeaderPreferenceController(context, this)); in createPreferenceControllers()
76 mControllers.add(new AppChannelsBypassingDndPreferenceController(context, in createPreferenceControllers()
78 return new ArrayList<>(mControllers); in createPreferenceControllers()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DChannelNotificationSettings.java66 for (NotificationPreferenceController controller : mControllers) { in onResume()
75 for (NotificationPreferenceController controller : mControllers) { in onActivityResult()
95 mControllers = new ArrayList<>(); in createPreferenceControllers()
96 mControllers.add(new HeaderPreferenceController(context, this)); in createPreferenceControllers()
97 mControllers.add(new ImportancePreferenceController( in createPreferenceControllers()
99 mControllers.add(new MinImportancePreferenceController( in createPreferenceControllers()
101 mControllers.add(new HighImportancePreferenceController( in createPreferenceControllers()
103 mControllers.add(new AllowSoundPreferenceController( in createPreferenceControllers()
105 mControllers.add(new SoundPreferenceController(context, this, in createPreferenceControllers()
107 mControllers.add(new VibrationPreferenceController(context, mBackend)); in createPreferenceControllers()
[all …]
DAppNotificationSettings.java113 for (NotificationPreferenceController controller : mControllers) { in onResume()
132 mControllers = new ArrayList<>(); in createPreferenceControllers()
133 mControllers.add(new HeaderPreferenceController(context, this)); in createPreferenceControllers()
134 mControllers.add(new BlockPreferenceController(context, mImportanceListener, mBackend)); in createPreferenceControllers()
135 mControllers.add(new BadgePreferenceController(context, mBackend)); in createPreferenceControllers()
136 mControllers.add(new AllowSoundPreferenceController( in createPreferenceControllers()
138 mControllers.add(new ImportancePreferenceController( in createPreferenceControllers()
140 mControllers.add(new MinImportancePreferenceController( in createPreferenceControllers()
142 mControllers.add(new HighImportancePreferenceController( in createPreferenceControllers()
144 mControllers.add(new SoundPreferenceController(context, this, in createPreferenceControllers()
[all …]
DZenCustomRuleBlockedEffectsSettings.java44 mControllers = new ArrayList<>(); in createPreferenceControllers()
45 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
48 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
51 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
54 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
58 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
61 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
64 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
67 return mControllers; in createPreferenceControllers()
DChannelGroupNotificationSettings.java51 for (NotificationPreferenceController controller : mControllers) { in onResume()
70 mControllers = new ArrayList<>(); in createPreferenceControllers()
71 mControllers.add(new HeaderPreferenceController(context, this)); in createPreferenceControllers()
72 mControllers.add(new BlockPreferenceController(context, mImportanceListener, mBackend)); in createPreferenceControllers()
73 mControllers.add(new AppLinkPreferenceController(context)); in createPreferenceControllers()
74 mControllers.add(new NotificationsOffPreferenceController(context)); in createPreferenceControllers()
75 mControllers.add(new DescriptionPreferenceController(context)); in createPreferenceControllers()
76 return new ArrayList<>(mControllers); in createPreferenceControllers()
DZenCustomRuleNotificationsSettings.java42 mControllers = new ArrayList<>(); in createPreferenceControllers()
43 mControllers.add(new ZenRuleVisEffectsAllPreferenceController( in createPreferenceControllers()
45 mControllers.add(new ZenRuleVisEffectsNonePreferenceController( in createPreferenceControllers()
47 mControllers.add(new ZenRuleVisEffectsCustomPreferenceController( in createPreferenceControllers()
49 mControllers.add(new ZenRuleNotifFooterPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
51 return mControllers; in createPreferenceControllers()
DZenCustomRuleConfigSettings.java131 mControllers = new ArrayList<>(); in createPreferenceControllers()
132 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
135 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
138 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
141 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
144 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
147 return mControllers; in createPreferenceControllers()
DZenCustomRuleCallsSettings.java57 mControllers = new ArrayList<>(); in createPreferenceControllers()
58 mControllers.add(new ZenRuleCallsPreferenceController(context, CALLS_KEY, in createPreferenceControllers()
60 mControllers.add(new ZenRuleRepeatCallersPreferenceController(context, in createPreferenceControllers()
63 mControllers.add(new ZenRuleStarredContactsPreferenceController(context, in createPreferenceControllers()
65 return mControllers; in createPreferenceControllers()
DZenCustomRuleSettings.java45 mControllers = new ArrayList<>(); in createPreferenceControllers()
46 mControllers.add(new ZenRuleDefaultPolicyPreferenceController( in createPreferenceControllers()
48 mControllers.add(new ZenRuleCustomPolicyPreferenceController( in createPreferenceControllers()
50 return mControllers; in createPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenCustomRuleBlockedEffectsSettings.java44 mControllers = new ArrayList<>(); in createPreferenceControllers()
45 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
48 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
51 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
54 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
58 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
61 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
64 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
67 return mControllers; in createPreferenceControllers()
DZenCustomRuleNotificationsSettings.java42 mControllers = new ArrayList<>(); in createPreferenceControllers()
43 mControllers.add(new ZenRuleVisEffectsAllPreferenceController( in createPreferenceControllers()
45 mControllers.add(new ZenRuleVisEffectsNonePreferenceController( in createPreferenceControllers()
47 mControllers.add(new ZenRuleVisEffectsCustomPreferenceController( in createPreferenceControllers()
49 mControllers.add(new ZenRuleNotifFooterPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
51 return mControllers; in createPreferenceControllers()
DZenCustomRuleConfigSettings.java131 mControllers = new ArrayList<>(); in createPreferenceControllers()
132 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
135 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
138 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
141 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
144 mControllers.add(new ZenRuleCustomSwitchPreferenceController(context, in createPreferenceControllers()
147 return mControllers; in createPreferenceControllers()
DZenCustomRuleCallsSettings.java57 mControllers = new ArrayList<>(); in createPreferenceControllers()
58 mControllers.add(new ZenRuleCallsPreferenceController(context, CALLS_KEY, in createPreferenceControllers()
60 mControllers.add(new ZenRuleRepeatCallersPreferenceController(context, in createPreferenceControllers()
63 mControllers.add(new ZenRuleStarredContactsPreferenceController(context, in createPreferenceControllers()
65 return mControllers; in createPreferenceControllers()
DZenCustomRuleSettings.java45 mControllers = new ArrayList<>(); in createPreferenceControllers()
46 mControllers.add(new ZenRuleDefaultPolicyPreferenceController( in createPreferenceControllers()
48 mControllers.add(new ZenRuleCustomPolicyPreferenceController( in createPreferenceControllers()
50 return mControllers; in createPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiNetworkDetailsFragment2.java81 private List<AbstractPreferenceController> mControllers; field in WifiNetworkDetailsFragment2
162 mControllers = new ArrayList<>(); in createPreferenceControllers()
170 mControllers.add(wifiSecondSummaryController2); in createPreferenceControllers()
181 mControllers.add(mWifiDetailPreferenceController2); in createPreferenceControllers()
186 mControllers.add(wifiAutoConnectPreferenceController2); in createPreferenceControllers()
191 mControllers.add(addDevicePreferenceController2); in createPreferenceControllers()
195 mControllers.add(meteredPreferenceController2); in createPreferenceControllers()
200 mControllers.add(privacyController2); in createPreferenceControllers()
206 mControllers.add(wifiSubscriptionDetailPreferenceController2); in createPreferenceControllers()
213 return mControllers; in createPreferenceControllers()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiDetailsFragment.java58 private List<WifiDetailsBasePreferenceController> mControllers = new ArrayList<>(); field in WifiDetailsFragment
137 mControllers.add(use( in onAttach()
140 mControllers.add(use(WifiFrequencyPreferenceController.class, R.string.pk_wifi_frequency) in onAttach()
142 mControllers.add(use(WifiSecurityPreferenceController.class, R.string.pk_wifi_security) in onAttach()
144 mControllers.add(use(WifiMacAddressPreferenceController.class, R.string.pk_wifi_mac_address) in onAttach()
146 mControllers.add(use(WifiIpAddressPreferenceController.class, R.string.pk_wifi_ip).init( in onAttach()
148 mControllers.add(use(WifiGatewayPreferenceController.class, R.string.pk_wifi_gateway).init( in onAttach()
150 mControllers.add(use(WifiSubnetPreferenceController.class, R.string.pk_wifi_subnet_mask) in onAttach()
152 mControllers.add(use(WifiDnsPreferenceController.class, R.string.pk_wifi_dns).init( in onAttach()
154 mControllers.add(use(WifiLinkSpeedPreferenceController.class, R.string.pk_wifi_link_speed) in onAttach()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFragmentTest.java87 private List<AbstractPreferenceController> mControllers; field in DashboardFragmentTest
121 mControllers = new ArrayList<>(); in setUp()
229 final List<AbstractPreferenceController> preferenceControllers = mTestFragment.mControllers; in updateState_skipUnavailablePrefs()
290 mControllers.add(new TestPreferenceController(mContext)); in checkUiBlocker_noUiBlocker_controllerIsNull()
292 mTestFragment.checkUiBlocker(mControllers); in checkUiBlocker_noUiBlocker_controllerIsNull()
303 mControllers.add(new TestPreferenceController(mContext)); in checkUiBlocker_hasUiBlockerAndControllerIsAvailable_controllerNotNull()
304 mControllers.add(controller); in checkUiBlocker_hasUiBlockerAndControllerIsAvailable_controllerNotNull()
306 mTestFragment.checkUiBlocker(mControllers); in checkUiBlocker_hasUiBlockerAndControllerIsAvailable_controllerNotNull()
314 mControllers.add(new TestPreferenceController(mContext)); in checkUiBlocker_hasUiBlockerAndControllerIsNotAvailable_controllerIsNull()
315 mControllers.add(new BlockingSlicePrefController(mContext, "pref_key")); in checkUiBlocker_hasUiBlockerAndControllerIsNotAvailable_controllerIsNull()
[all …]
/packages/apps/Settings/src/com/android/settings/network/telephony/
DTelephonyStatusControlSession.java39 private Collection<AbstractPreferenceController> mControllers; field in TelephonyStatusControlSession
46 private Collection<AbstractPreferenceController> mControllers; field in TelephonyStatusControlSession.Builder
56 mControllers = controllers; in Builder()
64 return new TelephonyStatusControlSession(mControllers); in build()
69 mControllers = controllers; in TelephonyStatusControlSession()
87 unsetAvailabilityStatus(mControllers); in close()
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
DOptionsMenuManager.java34 private final List<MenuItemController> mControllers = new ArrayList<>(); field in OptionsMenuManager
42 Collections.addAll(mControllers, controllers); in addMenuItemController()
52 for (MenuItemController controller : mControllers) { in onCreateOptionsMenu()
63 for (MenuItemController controller : mControllers) { in onPrepareOptionsMenu()
78 for (MenuItemController controller : mControllers) { in onOptionsItemSelected()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DControllerRendererPool.java46 private final Set<ContextualCardController> mControllers; field in ControllerRendererPool
50 mControllers = new ArraySet<>(); in ControllerRendererPool()
58 for (ContextualCardController controller : mControllers) { in getController()
67 mControllers.add(controller); in getController()
74 return mControllers; in getControllers()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DControllerRendererPool.java46 private final Set<ContextualCardController> mControllers; field in ControllerRendererPool
50 mControllers = new ArraySet<>(); in ControllerRendererPool()
58 for (ContextualCardController controller : mControllers) { in getController()
67 mControllers.add(controller); in getController()
74 return mControllers; in getControllers()

12