Home
last modified time | relevance | path

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

12345678910>>...45

/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/
DAutoTimeFormatPreferenceControllerTest.java62 mPreference.setKey(mController.getPreferenceKey()); in updateState_24HourSet_shouldCheckPreference()
75 mPreference.setKey(mController.getPreferenceKey()); in updateState_12HourSet_shouldCheckPreference()
88 mPreference.setKey(mController.getPreferenceKey()); in updateState_autoSet_shouldNotCheckPreference()
100 mPreference.setKey(mController.getPreferenceKey()); in updatePreference_autoSet_shouldSendIntent_12HourLocale()
119 mPreference.setKey(mController.getPreferenceKey()); in updatePreference_autoSet_shouldSendIntent_24HourLocale()
139 mPreference.setKey(mController.getPreferenceKey()); in updatePreference_24HourSet_shouldSendIntent()
DTimeFormatPreferenceControllerTest.java75 mPreference.setKey(mController.getPreferenceKey()); in updateState_24HourSet_shouldCheckPreference()
88 mPreference.setKey(mController.getPreferenceKey()); in updateState_12HourSet_shouldNotCheckPreference()
102 mPreference.setKey(mController.getPreferenceKey()); in updateState_autoSet_shouldNotEnablePreference()
113 mPreference.setKey(mController.getPreferenceKey()); in updatePreference_12HourSet_shouldSendIntent()
132 mPreference.setKey(mController.getPreferenceKey()); in updatePreference_24HourSet_shouldSendIntent()
/packages/apps/Settings/src/com/android/settings/notification/
DRedactNotificationPreferenceController.java59 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in isChecked()
67 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in setChecked()
78 if (KEY_LOCKSCREEN_WORK_PROFILE_REDACT.equals(getPreferenceKey()) in getAvailabilityStatus()
83 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in getAvailabilityStatus()
102 if (KEY_LOCKSCREEN_WORK_PROFILE_REDACT.equals(getPreferenceKey())) { in getAvailabilityStatus()
DAssistantCapabilityPreferenceController.java47 if (PRIORITIZER_KEY.equals(getPreferenceKey())) { in isChecked()
49 } else if (SMART_KEY.equals(getPreferenceKey())) { in isChecked()
58 if (PRIORITIZER_KEY.equals(getPreferenceKey())) { in setChecked()
60 } else if (SMART_KEY.equals(getPreferenceKey())) { in setChecked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFragmentTest.java179 when(mockController1.getPreferenceKey()).thenReturn("key1"); in updateState_skipUnavailablePrefs()
180 when(mockController2.getPreferenceKey()).thenReturn("key2"); in updateState_skipUnavailablePrefs()
188 verify(mockController1).getPreferenceKey(); in updateState_skipUnavailablePrefs()
189 verify(mockController2, times(2)).getPreferenceKey(); in updateState_skipUnavailablePrefs()
205 verify(mockController1).getPreferenceKey(); in updateState_doesNotSkipControllersOfSameClass()
206 verify(mockController2).getPreferenceKey(); in updateState_doesNotSkipControllersOfSameClass()
271 public String getPreferenceKey() { in getPreferenceKey() method in DashboardFragmentTest.TestPreferenceController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DAssistantCapabilityPreferenceController.java47 if (PRIORITIZER_KEY.equals(getPreferenceKey())) { in isChecked()
49 } else if (SMART_KEY.equals(getPreferenceKey())) { in isChecked()
58 if (PRIORITIZER_KEY.equals(getPreferenceKey())) { in setChecked()
60 } else if (SMART_KEY.equals(getPreferenceKey())) { in setChecked()
/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/tests/robotests/src/com/android/settings/notification/
DSoundPreferenceControllerTest.java142 when(mScreen.findPreference(mController.getPreferenceKey())).thenReturn(pref); in testDisplayPreference_savesPreference()
227 pref.setKey(mController.getPreferenceKey()); in testOnPreferenceTreeClick_correctPref()
245 pref.setKey(mController.getPreferenceKey()); in testOnPreferenceTreeClick_alarmSound()
266 pref.setKey(mController.getPreferenceKey()); in testOnPreferenceTreeClick_ringtoneSound()
287 pref.setKey(mController.getPreferenceKey()); in testOnPreferenceTreeClick_otherSound()
300 when(mScreen.findPreference(mController.getPreferenceKey())).thenReturn(pref); in testOnActivityResult()
DAssistantCapabilityPreferenceControllerTest.java71 mPrioritizerPreference.setKey(mPrioritizerController.getPreferenceKey()); in setUp()
73 mPrioritizerController.getPreferenceKey())).thenReturn(mPrioritizerPreference); in setUp()
77 mChipPreference.setKey(mChipController.getPreferenceKey()); in setUp()
79 mChipController.getPreferenceKey())).thenReturn(mChipPreference); in setUp()
/packages/apps/Settings/src/com/android/settings/security/
DChangeScreenLockPreferenceController.java75 public String getPreferenceKey() { in getPreferenceKey() method in ChangeScreenLockPreferenceController
82 mPreference = screen.findPreference(getPreferenceKey()); in displayPreference()
106 if (TextUtils.equals(p.getKey(), getPreferenceKey())) { in onGearClick()
116 if (!TextUtils.equals(preference.getKey(), getPreferenceKey())) { in handlePreferenceTreeClick()
DEncryptionStatusPreferenceController.java45 if (TextUtils.equals(getPreferenceKey(), PREF_KEY_ENCRYPTION_DETAIL_PAGE) && in getAvailabilityStatus()
58 if (TextUtils.equals(getPreferenceKey(), PREF_KEY_ENCRYPTION_DETAIL_PAGE)) { in updateState()
63 if (TextUtils.equals(getPreferenceKey(), PREF_KEY_ENCRYPTION_DETAIL_PAGE)) { in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DChangeScreenLockPreferenceController.java75 public String getPreferenceKey() { in getPreferenceKey() method in ChangeScreenLockPreferenceController
82 mPreference = screen.findPreference(getPreferenceKey()); in displayPreference()
106 if (TextUtils.equals(p.getKey(), getPreferenceKey())) { in onGearClick()
116 if (!TextUtils.equals(preference.getKey(), getPreferenceKey())) { in handlePreferenceTreeClick()
DEncryptionStatusPreferenceController.java45 if (TextUtils.equals(getPreferenceKey(), PREF_KEY_ENCRYPTION_DETAIL_PAGE) && in getAvailabilityStatus()
58 if (TextUtils.equals(getPreferenceKey(), PREF_KEY_ENCRYPTION_DETAIL_PAGE)) { in updateState()
63 if (TextUtils.equals(getPreferenceKey(), PREF_KEY_ENCRYPTION_DETAIL_PAGE)) { in updateState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DCaCertsPreferenceControllerTestBase.java81 assertThat(mController.getPreferenceKey()).isEqualTo(getPreferenceKey()); in testGetPreferenceKey()
86 abstract String getPreferenceKey(); in getPreferenceKey() method in CaCertsPreferenceControllerTestBase
DAdminActionPreferenceControllerTestBase.java89 public abstract String getPreferenceKey(); in getPreferenceKey() method in AdminActionPreferenceControllerTestBase
93 assertThat(mController.getPreferenceKey()).isEqualTo(getPreferenceKey()); in testGetPreferenceKey()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/
DPreferenceControllerListHelper.java111 final String key = controller.getPreferenceKey(); in filterControllers()
117 if (keys.contains(controller.getPreferenceKey())) { in filterControllers()
118 Log.w(TAG, controller.getPreferenceKey() + " already has a controller"); in filterControllers()
DBasePreferenceController.java170 public String getPreferenceKey() { in getPreferenceKey() method in BasePreferenceController
215 final Preference preference = screen.findPreference(getPreferenceKey()); in displayPreference()
239 final String key = getPreferenceKey(); in updateNonIndexableKeys()
/packages/apps/Settings/src/com/android/settings/core/
DPreferenceControllerListHelper.java111 final String key = controller.getPreferenceKey(); in filterControllers()
117 if (keys.contains(controller.getPreferenceKey())) { in filterControllers()
118 Log.w(TAG, controller.getPreferenceKey() + " already has a controller"); in filterControllers()
/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/TvSettings/Settings/src/com/android/tv/settings/device/sound/
DSoundFormatPreferenceController.java63 public String getPreferenceKey() { in getPreferenceKey() method in SoundFormatPreferenceController
70 if (preference.getKey().equals(getPreferenceKey())) { in updateState()
78 if (preference.getKey().equals(getPreferenceKey())) { in handlePreferenceTreeClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardThemeTests.java113 final String prefKey = KeyboardTheme.getPreferenceKey(sdkVersion); in assertKeyboardThemePreference()
293 final String oldPrefKey = KeyboardTheme.getPreferenceKey(oldSdkVersion); in assertUpgradePlatformFromTo()
421 final String oldPrefKey = KeyboardTheme.getPreferenceKey(sdkVersion); in testMissingSelectedThemeIcs()
437 final String oldPrefKey = KeyboardTheme.getPreferenceKey(sdkVersion); in testMissingSelectedThemeKlp()
453 final String oldPrefKey = KeyboardTheme.getPreferenceKey(sdkVersion); in testMissingSelectedThemeLxx()

12345678910>>...45