Home
last modified time | relevance | path

Searched refs:TEST_KEY (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DTopLevelWallpaperPreferenceControllerTest.java48 private static final String TEST_KEY = "test_key"; field in TopLevelWallpaperPreferenceControllerTest
72 mController = new TopLevelWallpaperPreferenceController(mContext, TEST_KEY); in setUp()
166 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_wallpaperOnly()
182 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_stylesAndWallpaper()
198 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_launchSourceExtra()
214 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_launchClearTask()
DWallpaperPreferenceControllerTest.java48 private static final String TEST_KEY = "test_key"; field in WallpaperPreferenceControllerTest
72 mController = new WallpaperPreferenceController(mContext, TEST_KEY); in setUp()
190 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_wallpaperOnly()
206 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_stylesAndWallpaper()
222 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_launchSourceExtra()
DTwilightLocationPreferenceControllerTest.java39 private static final String TEST_KEY = "test_key"; field in TwilightLocationPreferenceControllerTest
52 mController = new TwilightLocationPreferenceController(mContext, TEST_KEY); in setUp()
DFontSizePreferenceControllerTest.java36 private static final String TEST_KEY = "test_key"; field in FontSizePreferenceControllerTest
45 mController = new FontSizePreferenceController(mContext, TEST_KEY); in setUp()
DWalletPrivacyPreferenceControllerTest.java50 private static final String TEST_KEY = "test_key"; field in WalletPrivacyPreferenceControllerTest
76 mController = new WalletPrivacyPreferenceController(mContext, TEST_KEY) { in setUp()
DControlsPrivacyPreferenceControllerTest.java52 private static final String TEST_KEY = "test_key"; field in ControlsPrivacyPreferenceControllerTest
77 mController = new ControlsPrivacyPreferenceController(mContext, TEST_KEY); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/assist/
DDefaultAssistPreferenceControllerTest.java62 private static final String TEST_KEY = "test_pref_key"; field in DefaultAssistPreferenceControllerTest
76 mController = new DefaultAssistPreferenceController(mContext, TEST_KEY, in setUp()
93 assertThat(mController.getPreferenceKey()).isEqualTo(TEST_KEY); in getPrefKey_shouldReturnKey()
113 new DefaultAssistPreferenceController(mContext, TEST_KEY, true /* showSetting */)); in getSettingIntent_noSettingsActivity_shouldNotCrash()
140 mContext, TEST_KEY, false /* showSetting */); in getSettingIntent_doNotShowSetting_shouldNotTryToGetSettingIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DHighlightablePreferenceGroupAdapterTest.java61 private static final String TEST_KEY = "key"; field in HighlightablePreferenceGroupAdapterTest
80 mPreference.setKey(TEST_KEY); in setUp()
82 mAdapter = spy(new HighlightablePreferenceGroupAdapter(mPreferenceCatetory, TEST_KEY, in setUp()
106 ReflectionHelpers.setField(mAdapter, "mHighlightKey", TEST_KEY); in requestHighlight_noKey_highlightedBefore_noRecyclerView_shouldNotRequest()
110 ReflectionHelpers.setField(mAdapter, "mHighlightKey", TEST_KEY); in requestHighlight_noKey_highlightedBefore_noRecyclerView_shouldNotRequest()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DMediaOutputPreferenceControllerTest.java88 private static final String TEST_KEY = "Test_Key"; field in MediaOutputPreferenceControllerTest
192 mController = new MediaOutputPreferenceController(mContext, TEST_KEY); in setUp()
277 mController = new MediaOutputPreferenceController(mContext, TEST_KEY); in updateState_noActiveLocalPlayback_noTitle()
301 mPreference.setKey(TEST_KEY); in click_launch_outputSwitcherSlice()
DAudioOutputSwitchPreferenceControllerTest.java82 private static final String TEST_KEY = "Test_Key"; field in AudioOutputSwitchPreferenceControllerTest
152 mController = new AudioSwitchPreferenceControllerTestable(mContext, TEST_KEY); in setUp()
177 mContext, TEST_KEY); in constructor_notSupportBluetooth_shouldReturnBeforeUsingLocalBluetoothManager()
405 return TEST_KEY; in getPreferenceKey()
DHandsFreeProfileOutputPreferenceControllerTest.java75 private static final String TEST_KEY = "Test_Key"; field in HandsFreeProfileOutputPreferenceControllerTest
151 mController = new HandsFreeProfileOutputPreferenceController(mContext, TEST_KEY); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DCallVolumePreferenceControllerTest.java41 private static final String TEST_KEY = "Test_Key"; field in CallVolumePreferenceControllerTest
54 mController = new CallVolumePreferenceController(mContext, TEST_KEY); in setUp()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarNotificationListenerTest.java52 private static final String TEST_KEY = "TEST_KEY"; field in CarNotificationListenerTest
83 when(mStatusBarNotification.getKey()).thenReturn(TEST_KEY); in setup()
288 /* key= */ TEST_KEY, in createMockRankingMap()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DTimeSpentInAppPreferenceControllerTest.java52 private static final String TEST_KEY = "test_tey"; field in TimeSpentInAppPreferenceControllerTest
72 mController = new TimeSpentInAppPreferenceController(mContext, TEST_KEY); in setUp()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/
DCarNotificationActionsViewTest.java65 private static final String TEST_KEY = "TEST_KEY"; field in CarNotificationActionsViewTest
103 when(mStatusBarNotification.getKey()).thenReturn(TEST_KEY); in setup()