Home
last modified time | relevance | path

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

/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/display/
DWallpaperPreferenceControllerTest.java48 private static final String TEST_KEY = "test_key"; field in WallpaperPreferenceControllerTest
72 mController = new WallpaperPreferenceController(mContext, TEST_KEY); in setUp()
149 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_wallpaperOnly()
165 preference.setKey(TEST_KEY); in handlePreferenceTreeClick_stylesAndWallpaper()
DFontSizePreferenceControllerTest.java36 private static final String TEST_KEY = "test_key"; field in FontSizePreferenceControllerTest
45 mController = new FontSizePreferenceController(mContext, TEST_KEY); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DHighlightablePreferenceGroupAdapterTest.java56 private static final String TEST_KEY = "key"; field in HighlightablePreferenceGroupAdapterTest
74 mAdapter = spy(new HighlightablePreferenceGroupAdapter(mPreferenceCatetory, TEST_KEY, in setUp()
94 ReflectionHelpers.setField(mAdapter, "mHighlightKey", TEST_KEY); in requestHighlight_noKey_highlightedBefore_noRecyclerView_shouldNotRequest()
98 ReflectionHelpers.setField(mAdapter, "mHighlightKey", TEST_KEY); in requestHighlight_noKey_highlightedBefore_noRecyclerView_shouldNotRequest()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
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()
DMediaOutputPreferenceControllerTest.java76 private static final String TEST_KEY = "Test_Key"; field in MediaOutputPreferenceControllerTest
150 mController = new MediaOutputPreferenceController(mContext, TEST_KEY); in setUp()
298 mPreference.setKey(TEST_KEY); in click_launch_outputSwitcherSlice()
DHandsFreeProfileOutputPreferenceControllerTest.java74 private static final String TEST_KEY = "Test_Key"; field in HandsFreeProfileOutputPreferenceControllerTest
150 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/Settings/tests/robotests/src/com/android/car/settings/wifi/
DAccessPointPreferenceTest.java45 private static final String TEST_KEY = "test_key"; field in AccessPointPreferenceTest
61 mPreference.setKey(TEST_KEY); in setUp()
/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/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ble/
DCarBlePeripheralManagerTest.java69 private static final byte[] TEST_KEY = "Key".getBytes(); field in CarBlePeripheralManagerTest
175 Key key = EncryptionRunnerFactory.newDummyRunner().keyOf(TEST_KEY); in testAssociationSuccess()