/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/ |
D | MoreSpecialAccessPreferenceControllerTest.java | 48 private static final String PREFERENCE_KEY = "more"; field in MoreSpecialAccessPreferenceControllerTest 70 new MoreSpecialAccessPreferenceController(mContext, PREFERENCE_KEY); in constructor_shouldResolveActivityWithPermissionControllerPackageName() 82 new MoreSpecialAccessPreferenceController(mContext, PREFERENCE_KEY); in getAvailabilityStatus_noPermissionController_shouldReturnUnsupportedOnDevice() 93 new MoreSpecialAccessPreferenceController(mContext, PREFERENCE_KEY); in getAvailabilityStatus_canNotResolveActivity_shouldReturnUnsupportedOnDevice() 106 new MoreSpecialAccessPreferenceController(mContext, PREFERENCE_KEY); in getAvailabilityStatus_canResolveActivity_shouldReturnAvailableUnsearchable() 117 new MoreSpecialAccessPreferenceController(mContext, PREFERENCE_KEY); in handlePreferenceTreeClick_differentKey_shouldReturnFalse() 129 new MoreSpecialAccessPreferenceController(mContext, PREFERENCE_KEY); in handlePreferenceTreeClick_sameKey_shouldReturnTrue() 131 when(preference.getKey()).thenReturn(PREFERENCE_KEY); in handlePreferenceTreeClick_sameKey_shouldReturnTrue() 140 new MoreSpecialAccessPreferenceController(mContext, PREFERENCE_KEY); in handlePreferenceTreeClick_noPermissionController_shouldNotStartActivity() 142 when(preference.getKey()).thenReturn(PREFERENCE_KEY); in handlePreferenceTreeClick_noPermissionController_shouldNotStartActivity() [all …]
|
D | MediaRoutingControlPreferenceControllerTest.java | 56 private static final String PREFERENCE_KEY = "test_preference_key"; field in MediaRoutingControlPreferenceControllerTest 74 mContext, PREFERENCE_KEY); in setup() 102 when(preference.getKey()).thenReturn(PREFERENCE_KEY); in handlePreferenceTreeClick_withMediaRoutingPreference_shouldReturnTrue() 120 when(preference.getKey()).thenReturn(PREFERENCE_KEY); in handlePreferenceTreeClick_withMediaRoutingPreference_shouldStartSpaActivity()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicensesPreferenceControllerTest.java | 55 private static final String PREFERENCE_KEY = "key"; field in ModuleLicensesPreferenceControllerTest 78 new ModuleLicensesPreferenceController(context, PREFERENCE_KEY); in displayPreference_alphabeticalOrder() 83 when(screen.findPreference(PREFERENCE_KEY)).thenReturn(group); in displayPreference_alphabeticalOrder() 112 new ModuleLicensesPreferenceController(context, PREFERENCE_KEY); in displayPreference_includeOnlyModulesWithLicenseFile() 117 when(screen.findPreference(PREFERENCE_KEY)).thenReturn(group); in displayPreference_includeOnlyModulesWithLicenseFile()
|
D | ModuleLicensesListPreferenceControllerTest.java | 45 private static final String PREFERENCE_KEY = "key"; field in ModuleLicensesListPreferenceControllerTest 70 new ModuleLicensesListPreferenceController(context, PREFERENCE_KEY); in getAvailabilityStatus_validLicenses_returnsAvailable() 84 new ModuleLicensesListPreferenceController(context, PREFERENCE_KEY); in getAvailabilityStatus_noModules_returnsConditionallyUnavailable() 111 new ModuleLicensesListPreferenceController(context, PREFERENCE_KEY); in getAvailabilityStatus_noLicenses_returnsConditionallyUnavailable()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkChangeContentProvider.java | 60 if (!path.endsWith("/" + NetworkChangeDetectionConfigs.PREFERENCE_KEY)) { in query() 63 int totalCount = mSharedPreferences.getInt(NetworkChangeDetectionConfigs.PREFERENCE_KEY, in query() 66 new String[]{NetworkChangeDetectionConfigs.PREFERENCE_KEY}); in query()
|
D | NetworkChangeDetectionConfigs.java | 26 public static final String PREFERENCE_KEY = "total_network_count"; field in NetworkChangeDetectionConfigs 32 "content://" + AUTHORITY + "/" + PREFERENCE_KEY);
|
D | EthernetDetectionReceiver.java | 42 NetworkChangeDetectionConfigs.PREFERENCE_KEY, 0); in onReceive() 43 networkChangePrefEditor.putInt(NetworkChangeDetectionConfigs.PREFERENCE_KEY, in onReceive()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | VibrationPreferenceControllerTest.java | 51 private static final String PREFERENCE_KEY = "preference_key"; field in VibrationPreferenceControllerTest 75 assertThat(controller.getPreferenceKey()).isEqualTo(PREFERENCE_KEY); in verifyConstants() 152 new VibrationPreferenceController(mContext, PREFERENCE_KEY); in createPreferenceController() 155 mPreference.setKey(PREFERENCE_KEY); in createPreferenceController()
|
D | FlashNotificationsPreviewPreferenceControllerTest.java | 64 private static final String PREFERENCE_KEY = "preference_key"; field in FlashNotificationsPreviewPreferenceControllerTest 82 when(mPreferenceScreen.findPreference(PREFERENCE_KEY)).thenReturn(mPreference); in setUp() 83 when(mPreference.getKey()).thenReturn(PREFERENCE_KEY); in setUp() 86 mController = new FlashNotificationsPreviewPreferenceController(mContext, PREFERENCE_KEY); in setUp()
|
D | ScreenFlashNotificationPreferenceControllerTest.java | 70 private static final String PREFERENCE_KEY = "preference_key"; field in ScreenFlashNotificationPreferenceControllerTest 99 mController = new ScreenFlashNotificationPreferenceController(context, PREFERENCE_KEY); in setUp() 100 when(mPreferenceScreen.findPreference(PREFERENCE_KEY)).thenReturn(mPreference); in setUp() 101 when(mPreference.getKey()).thenReturn(PREFERENCE_KEY); in setUp()
|
D | VibrationMainSwitchPreferenceControllerTest.java | 47 private static final String PREFERENCE_KEY = "preference_key"; field in VibrationMainSwitchPreferenceControllerTest 61 mController = new VibrationMainSwitchPreferenceController(mContext, PREFERENCE_KEY); in setUp() 71 assertThat(mController.getPreferenceKey()).isEqualTo(PREFERENCE_KEY); in verifyConstants()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | PreferenceControllerTestHelper.java | 52 private static final String PREFERENCE_KEY = "preference_key"; field in PreferenceControllerTestHelper 77 ClassParameter.from(String.class, PREFERENCE_KEY), in PreferenceControllerTestHelper() 103 preference.setKey(PREFERENCE_KEY); in setPreference() 155 return PREFERENCE_KEY; in getKey()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/ |
D | ProfilesEntryPreferenceControllerTest.java | 47 private static final String PREFERENCE_KEY = "key"; field in ProfilesEntryPreferenceControllerTest 65 PREFERENCE_KEY, mFragmentController, mCarUxRestrictions); in setUp() 91 PREFERENCE_KEY); in handlePreferenceClicked_fragmentHasKeyArgument()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | ContrastSelectorPreferenceControllerTest.java | 51 private static final String PREFERENCE_KEY = "color_contrast_selector"; field in ContrastSelectorPreferenceControllerTest 73 mController = new ContrastSelectorPreferenceController(mContext, PREFERENCE_KEY); in setUp() 74 when(mScreen.findPreference(PREFERENCE_KEY)).thenReturn(mLayoutPreference); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ |
D | KeyboardSettingsPreferenceControllerTest.java | 65 private static final String PREFERENCE_KEY = "keyboard_settings"; field in KeyboardSettingsPreferenceControllerTest 79 mController = spy(new KeyboardSettingsPreferenceController(mContext, PREFERENCE_KEY)); in setUp() 86 mKeyboardPreference.setKey(PREFERENCE_KEY); in handlePreferenceTreeClick_expected()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/ |
D | TopLevelSafetyCenterEntryPreferenceControllerTest.java | 49 private static final String PREFERENCE_KEY = "top_level_safety_center"; field in TopLevelSafetyCenterEntryPreferenceControllerTest 71 mPreference.setKey(PREFERENCE_KEY); in setUp() 75 new TopLevelSafetyCenterEntryPreferenceController(mContext, PREFERENCE_KEY); in setUp()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
D | StorageSelectionPreferenceControllerTest.java | 45 private static final String PREFERENCE_KEY = "preference_key"; field in StorageSelectionPreferenceControllerTest 58 mController = new StorageSelectionPreferenceController(mContext, PREFERENCE_KEY); in setUp() 64 spinnerPreference.setKey(PREFERENCE_KEY); in setUp()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/security/ |
D | TopLevelSecurityEntryPreferenceControllerTest.java | 47 private static final String PREFERENCE_KEY = "top_level_security"; field in TopLevelSecurityEntryPreferenceControllerTest 68 mPreference.setKey(PREFERENCE_KEY); in setUp() 72 new TopLevelSecurityEntryPreferenceController(mContext, PREFERENCE_KEY); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/syncacrossdevices/ |
D | SyncAcrossDevicesPreferenceControllerTest.java | 58 private static final String PREFERENCE_KEY = "preference_key"; field in SyncAcrossDevicesPreferenceControllerTest 74 new SyncAcrossDevicesPreferenceController(mContext, PREFERENCE_KEY); in setUp() 91 new SyncAcrossDevicesPreferenceController(mContext, PREFERENCE_KEY); in testGetAvailabilityStatus_noFeatureUpdater_returnUnSupported()
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | FixedOffsetPreferenceController.java | 25 private static final String PREFERENCE_KEY = "fixed_offset"; field in FixedOffsetPreferenceController 30 super(context, PREFERENCE_KEY); in FixedOffsetPreferenceController()
|
D | RegionPreferenceController.java | 26 private static final String PREFERENCE_KEY = "region"; field in RegionPreferenceController 33 super(context, PREFERENCE_KEY); in RegionPreferenceController()
|
D | RegionZonePreferenceController.java | 26 private static final String PREFERENCE_KEY = "region_zone"; field in RegionZonePreferenceController 32 super(context, PREFERENCE_KEY); in RegionZonePreferenceController()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | DefaultUsbConfigurationPreferenceController.java | 34 private static final String PREFERENCE_KEY = "default_usb_configuration"; field in DefaultUsbConfigurationPreferenceController 44 return PREFERENCE_KEY; in getPreferenceKey()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | DefaultPhoneShortcutPreferenceControllerTest.java | 37 private static final String PREFERENCE_KEY = "default_phone_app"; field in DefaultPhoneShortcutPreferenceControllerTest 54 assertThat(mController.getPreferenceKey()).isEqualTo(PREFERENCE_KEY); in getPreferenceKey_shouldReturnDefaultPhone()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | FastScrollingIndexCache.java | 56 static final String PREFERENCE_KEY = "LetterCountCache"; field in FastScrollingIndexCache 255 mPrefs.edit().remove(PREFERENCE_KEY).commit(); in invalidate() 280 mPrefs.edit().putString(PREFERENCE_KEY, sb.toString()).apply(); in save() 295 final String savedValue = mPrefs.getString(PREFERENCE_KEY, null); in ensureLoaded()
|