/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/ |
D | AutoTimeFormatPreferenceControllerTest.java | 62 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()
|
D | TimeFormatPreferenceControllerTest.java | 75 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/ |
D | RedactNotificationPreferenceController.java | 59 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()
|
D | AssistantCapabilityPreferenceController.java | 47 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/ |
D | DashboardFragmentTest.java | 179 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/ |
D | AssistantCapabilityPreferenceController.java | 47 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/ |
D | PreferenceControllerFragmentTest.java | 85 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/ |
D | SoundPreferenceControllerTest.java | 142 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()
|
D | AssistantCapabilityPreferenceControllerTest.java | 71 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/ |
D | ChangeScreenLockPreferenceController.java | 75 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()
|
D | EncryptionStatusPreferenceController.java | 45 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/ |
D | ChangeScreenLockPreferenceController.java | 75 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()
|
D | EncryptionStatusPreferenceController.java | 45 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/ |
D | CaCertsPreferenceControllerTestBase.java | 81 assertThat(mController.getPreferenceKey()).isEqualTo(getPreferenceKey()); in testGetPreferenceKey() 86 abstract String getPreferenceKey(); in getPreferenceKey() method in CaCertsPreferenceControllerTestBase
|
D | AdminActionPreferenceControllerTestBase.java | 89 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/ |
D | PreferenceControllerListHelper.java | 111 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()
|
D | BasePreferenceController.java | 170 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/ |
D | PreferenceControllerListHelper.java | 111 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/ |
D | AssistContextPreferenceController.java | 67 public String getPreferenceKey() { in getPreferenceKey() method in AssistContextPreferenceController 74 mPreference = screen.findPreference(getPreferenceKey()); in displayPreference() 100 if (mScreen.findPreference(getPreferenceKey()) == null) { in updatePreference()
|
D | AssistScreenshotPreferenceController.java | 68 mPreference = screen.findPreference(getPreferenceKey()); in displayPreference() 73 public String getPreferenceKey() { in getPreferenceKey() method in AssistScreenshotPreferenceController 106 if (mScreen.findPreference(getPreferenceKey()) == null) { in updatePreference()
|
D | AssistFlashScreenPreferenceController.java | 68 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/ |
D | SoundFormatPreferenceController.java | 63 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/ |
D | AssistContextPreferenceController.java | 67 public String getPreferenceKey() { in getPreferenceKey() method in AssistContextPreferenceController 74 mPreference = screen.findPreference(getPreferenceKey()); in displayPreference() 100 if (mScreen.findPreference(getPreferenceKey()) == null) { in updatePreference()
|
D | AssistScreenshotPreferenceController.java | 68 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/ |
D | KeyboardThemeTests.java | 113 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()
|