Home
last modified time | relevance | path

Searched refs:getPreferenceKey (Results 1 – 25 of 1175) sorted by relevance

12345678910>>...47

/packages/apps/Settings/src/com/android/settings/notification/
DRedactNotificationPreferenceController.java94 mPreference = screen.findPreference(getPreferenceKey()); in displayPreference()
96 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in displayPreference()
105 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in isChecked()
113 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in setChecked()
124 if (KEY_LOCKSCREEN_WORK_PROFILE_REDACT.equals(getPreferenceKey()) in getAvailabilityStatus()
129 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in getAvailabilityStatus()
146 if (KEY_LOCKSCREEN_WORK_PROFILE_REDACT.equals(getPreferenceKey())) { in getAvailabilityStatus()
DAlarmVolumePreferenceController.java41 return TextUtils.equals(getPreferenceKey(), "alarm_volume"); in isSliceable()
55 public String getPreferenceKey() { in getPreferenceKey() method in AlarmVolumePreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRedactNotificationPreferenceControllerTest.java105 mPreference.setKey(mController.getPreferenceKey()); in setUp()
107 mController.getPreferenceKey())).thenReturn(mPreference); in setUp()
116 mWorkPreference.setKey(mWorkController.getPreferenceKey()); in setUp()
118 mWorkController.getPreferenceKey())).thenReturn(mWorkPreference); in setUp()
168 mScreen.findPreference(mController.getPreferenceKey()); in displayPreference_adminSaysNoRedaction()
172 mScreen.findPreference(mWorkController.getPreferenceKey()); in displayPreference_adminSaysNoRedaction()
183 mScreen.findPreference(mController.getPreferenceKey()); in displayPreference_adminSaysNoSecure()
187 mScreen.findPreference(mWorkController.getPreferenceKey()); in displayPreference_adminSaysNoSecure()
197 mScreen.findPreference(mController.getPreferenceKey()); in displayPreference()
201 mScreen.findPreference(mWorkController.getPreferenceKey()); in displayPreference()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModeAppsPreferenceController.java53 SelectorWithWidgetPreference pref = screen.findPreference(getPreferenceKey()); in displayPreference()
58 if (getPreferenceKey().equals(KEY_PRIORITY)) { in displayPreference()
71 switch (getPreferenceKey()) { in updateState()
94 switch (getPreferenceKey()) { in onPreferenceChange()
/packages/apps/Settings/src/com/android/settings/security/
DChangeScreenLockPreferenceController.java74 public String getPreferenceKey() { in getPreferenceKey() method in ChangeScreenLockPreferenceController
81 mPreference = screen.findPreference(getPreferenceKey()); in displayPreference()
105 if (TextUtils.equals(p.getKey(), getPreferenceKey())) { in onGearClick()
114 if (!TextUtils.equals(preference.getKey(), getPreferenceKey())) { in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/accessibility/
DTextReadingResetController.java55 (TextReadingResetPreference) screen.findPreference(getPreferenceKey()); in displayPreference()
62 AccessibilityStatsLogUtils.convertToItemKeyName(getPreferenceKey()), in displayPreference()
68 setVisible(screen, getPreferenceKey(), mIsVisible); in displayPreference()
DScreenFlashNotificationPreferenceController.java67 getMetricsCategory(), getPreferenceKey(), isChecked ? 1 : 0); in setChecked()
91 mPreference = screen.findPreference(getPreferenceKey()); in displayPreference()
97 if (getPreferenceKey().equals(preference.getKey()) && mParentFragment != null) { in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusPreferenceController.java72 mSlotSimStatus.findSlotIndexByKey(getPreferenceKey()); in getSimSlotIndex()
92 String basePreferenceKey = mSlotSimStatus.getPreferenceKey( in displayPreference()
108 multiSimPreference.setKey(mSlotSimStatus.getPreferenceKey(simSlotNumber)); in displayPreference()
151 if (!TextUtils.equals(preference.getKey(), getPreferenceKey())) { in handlePreferenceTreeClick()
201 data.key = getPreferenceKey(); in updateDynamicRawDataToIndex()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsExtraOptionsController.java54 public String getPreferenceKey() { in getPreferenceKey() method in BluetoothDetailsExtraOptionsController
61 mOptionsContainer = screen.findPreference(getPreferenceKey()); in init()
82 getPreferenceKey(), in refresh()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/stylus/
DStylusUsbFirmwareControllerTest.java82 mPreferenceCategory.setKey(mController.getPreferenceKey()); in setUp()
103 assertNull(mScreen.findPreference(mController.getPreferenceKey())); in displayPreference_featureAbsentUsbStylusAttached_preferenceNotAdded()
115 assertNotNull(mScreen.findPreference(mController.getPreferenceKey())); in onUsbStylusConnectionChanged_featurePresentUsbStylusAttached_preferenceAdded()
126 assertNull(mScreen.findPreference(mController.getPreferenceKey())); in onUsbStylusConnectionChanged_featureAbsentUsbStylusAttached_preferenceRemoved()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DPreferenceControllerFragmentTest.java85 doReturn("TEST_KEY").when(mockController).getPreferenceKey(); in testUpdatePreferenceStates_shouldCallUpdateState()
103 doReturn("TEST_KEY").when(mockController).getPreferenceKey(); in testUpdatePreferenceStates_shouldNotCallUnavailable()
121 doReturn("TEST_KEY").when(mockController).getPreferenceKey(); in testUpdatePreferenceStates_shouldNotCallNoPref()
151 public String getPreferenceKey() { in testMultipleControllerClassInstances() method in PreferenceControllerFragmentTest.MultiplePreferenceController
/packages/apps/Settings/src/com/android/settings/core/
DBasePreferenceController.java221 public String getPreferenceKey() { in getPreferenceKey() method in BasePreferenceController
234 .appendPath(getPreferenceKey()) in getSliceUri()
285 final Preference preference = screen.findPreference(getPreferenceKey()); in displayPreference()
309 final String key = getPreferenceKey(); in updateNonIndexableKeys()
341 if (!TextUtils.equals(preference.getKey(), getPreferenceKey())) { in handlePreferenceTreeClick()
DPreferenceControllerListHelper.java135 final String key = controller.getPreferenceKey(); in filterControllers()
141 if (keys.contains(controller.getPreferenceKey())) { in filterControllers()
142 Log.w(TAG, controller.getPreferenceKey() + " already has a controller"); in filterControllers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DAdminActionPreferenceControllerTestBase.java89 public abstract String getPreferenceKey(); in getPreferenceKey() method in AdminActionPreferenceControllerTestBase
93 assertThat(mController.getPreferenceKey()).isEqualTo(getPreferenceKey()); in testGetPreferenceKey()
DCaCertsPreferenceControllerTestBase.java91 assertThat(mController.getPreferenceKey()).isEqualTo(getPreferenceKey()); in testGetPreferenceKey()
96 abstract String getPreferenceKey(); in getPreferenceKey() method in CaCertsPreferenceControllerTestBase
DCaCertsPreferenceControllerBaseTest.java35 String getPreferenceKey() { in getPreferenceKey() method in CaCertsPreferenceControllerBaseTest
51 public String getPreferenceKey() { in getPreferenceKey() method in CaCertsPreferenceControllerBaseTest.CaCertsPreferenceControllerBaseTestable
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DLockUnificationPreferenceControllerTest.java74 when(mScreen.findPreference(mController.getPreferenceKey())).thenReturn(mPreference); in init()
90 assertThat(mController.getPreferenceKey()).isEqualTo("unification"); in getPreferenceKey_byDefault_returnsDefaultValue()
97 assertThat(mController.getPreferenceKey()).isEqualTo("key"); in getPreferenceKey_whenGivenValue_returnsGivenValue()
/packages/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModeCustomPreferenceController.java72 if (TextUtils.equals(getPreferenceKey(), START_TIME_KEY)) { in getDialog()
79 if (TextUtils.equals(getPreferenceKey(), START_TIME_KEY)) { in getDialog()
93 if (TextUtils.equals(getPreferenceKey(), START_TIME_KEY)) { in refreshSummary()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DAssistContextPreferenceController.java67 public String getPreferenceKey() { in getPreferenceKey() method in AssistContextPreferenceController
74 mPreference = screen.findPreference(getPreferenceKey()); in displayPreference()
100 if (mScreen.findPreference(getPreferenceKey()) == null) { in updatePreference()
DAssistScreenshotPreferenceController.java68 mPreference = screen.findPreference(getPreferenceKey()); in displayPreference()
73 public String getPreferenceKey() { in getPreferenceKey() method in AssistScreenshotPreferenceController
106 if (mScreen.findPreference(getPreferenceKey()) == null) { in updatePreference()
DAssistFlashScreenPreferenceController.java68 public String getPreferenceKey() { in getPreferenceKey() method in AssistFlashScreenPreferenceController
75 mPreference = screen.findPreference(getPreferenceKey()); in displayPreference()
108 if (mScreen.findPreference(getPreferenceKey()) == null) { in updatePreference()
/packages/apps/Settings/src/com/android/settings/language/
DDefaultVoiceInputPreferenceController.java63 public String getPreferenceKey() { in getPreferenceKey() method in DefaultVoiceInputPreferenceController
70 mPreference = screen.findPreference(getPreferenceKey()); in displayPreference()
120 if (mScreen.findPreference(getPreferenceKey()) == null) { in updatePreference()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
DNotificationAccessDetails.java183 use(BridgedAppsLinkPreferenceController.class).getPreferenceKey()); in onResume()
261 apc.updateState(screen.findPreference(apc.getPreferenceKey())); in disable()
264 controller.updateState(screen.findPreference(controller.getPreferenceKey())); in disable()
273 apc.updateState(screen.findPreference(apc.getPreferenceKey())); in enable()
276 controller.updateState(screen.findPreference(controller.getPreferenceKey())); in enable()
/packages/apps/Settings/src/com/android/settings/display/
DDeviceStateAutoRotateSettingController.java92 mPreference.setKey(getPreferenceKey()); in displayPreference()
105 public String getPreferenceKey() { in getPreferenceKey() method in DeviceStateAutoRotateSettingController
140 indexable.key = getPreferenceKey(); in updateRawDataToIndex()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardTilePlaceholderPreferenceController.java46 final Preference pref = screen.findPreference(getPreferenceKey()); in displayPreference()
59 public String getPreferenceKey() { in getPreferenceKey() method in DashboardTilePlaceholderPreferenceController

12345678910>>...47