Home
last modified time | relevance | path

Searched refs:PREF_KEY (Results 1 – 25 of 55) sorted by relevance

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/managedomainurls/
DInstantAppAccountPreferenceControllerTest.java46 private static final String PREF_KEY = "instant_app_account_pref"; field in InstantAppAccountPreferenceControllerTest
77 mController = new InstantAppAccountPreferenceController(mContext, PREF_KEY); in testGetAvailabilityStatus_nullAppSettingsComponent()
85 mController = new InstantAppAccountPreferenceController(mContext, PREF_KEY); in testGetAvailabilityStatus_enableWebActions()
94 mController = new InstantAppAccountPreferenceController(mContext, PREF_KEY); in testGetAvailabilityStatus_disableWebActions()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenModeVisEffectPreferenceControllerTest.java69 private static final String PREF_KEY = "main_pref"; field in ZenModeVisEffectPreferenceControllerTest
84 PREF_KEY, SUPPRESSED_EFFECT_PEEK, PREF_METRICS, null); in setup()
99 PREF_KEY, SUPPRESSED_EFFECT_LIGHTS, PREF_METRICS, null); in isAvailable()
133 PREF_KEY, SUPPRESSED_EFFECT_PEEK, PREF_METRICS, in updateState_checkedFalse_parentChecked()
149 PREF_KEY, SUPPRESSED_EFFECT_PEEK, PREF_METRICS, in updateState_checkedFalse_parentNotChecked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DDeleteSimProfilePreferenceControllerTest.java53 private static final String PREF_KEY = "delete_profile_key"; field in DeleteSimProfilePreferenceControllerTest
79 mPreference.setKey(PREF_KEY); in setUp()
80 when(mScreen.findPreference(PREF_KEY)).thenReturn(mPreference); in setUp()
82 mController = new DeleteSimProfilePreferenceController(mContext, PREF_KEY); in setUp()
DDisableSimFooterPreferenceControllerTest.java41 private static final String PREF_KEY = "pref_key"; field in DisableSimFooterPreferenceControllerTest
56 mController = new DisableSimFooterPreferenceController(mContext, PREF_KEY); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DDataDuringCallsPreferenceControllerTest.java54 private static final String PREF_KEY = "pref_key"; field in DataDuringCallsPreferenceControllerTest
76 when(mPreferenceScreen.findPreference(PREF_KEY)).thenReturn(mSwitchPreference); in setUp()
77 mController = new DataDuringCallsPreferenceController(mContext, PREF_KEY); in setUp()
85 new DataDuringCallsPreferenceController(mContext, PREF_KEY); in getAvailabilityStatus_noInit_notAvailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DCaCertsPreferenceControllerBaseTest.java27 private static final String PREF_KEY = "pref"; field in CaCertsPreferenceControllerBaseTest
36 return PREF_KEY; in getPreferenceKey()
52 return PREF_KEY; in getPreferenceKey()
/packages/apps/Settings/src/com/android/settings/development/
DAdbIpAddressPreferenceController.java52 private static final String PREF_KEY = "adb_ip_addr_pref"; field in AdbIpAddressPreferenceController
72 return PREF_KEY; in getPreferenceKey()
78 mAdbIpAddrPref = screen.findPreference(PREF_KEY); in displayPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityTimeoutControllerTest.java48 private static final String PREF_KEY = "accessibility_control_timeout_30secs"; field in AccessibilityTimeoutControllerTest
64 mController = new AccessibilityTimeoutController(mContext, mock(Lifecycle.class), PREF_KEY); in setup()
70 when(mMockPref.getKey()).thenReturn(PREF_KEY); in setup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDeviceRenamePreferenceControllerTest.java54 private static final String PREF_KEY = "bt_rename_devices"; field in BluetoothDeviceRenamePreferenceControllerTest
74 mPreference.setKey(PREF_KEY); in setUp()
78 mController = spy(new BluetoothDeviceRenamePreferenceController(mContext, PREF_KEY)); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcPaymentPreferenceControllerTest.java46 private static final String PREF_KEY = PaymentSettingsTest.PAYMENT_KEY; field in NfcPaymentPreferenceControllerTest
64 mController = new NfcPaymentPreferenceController(mContext, PREF_KEY); in setUp()
66 when(mScreen.findPreference(PREF_KEY)).thenReturn(mPreference); in setUp()
DNfcForegroundPreferenceControllerTest.java49 private static final String PREF_KEY = PaymentSettingsTest.FOREGROUND_KEY; field in NfcForegroundPreferenceControllerTest
69 mController = new NfcForegroundPreferenceController(mContext, PREF_KEY); in setUp()
71 when(mScreen.findPreference(PREF_KEY)).thenReturn(mPreference); in setUp()
/packages/apps/Settings/src/com/android/settings/accessibility/
DNotificationVibrationIntensityPreferenceController.java28 static final String PREF_KEY = "notification_vibration_preference_screen"; field in NotificationVibrationIntensityPreferenceController
31 super(context, PREF_KEY, Settings.System.NOTIFICATION_VIBRATION_INTENSITY, ""); in NotificationVibrationIntensityPreferenceController()
DRingVibrationIntensityPreferenceController.java28 static final String PREF_KEY = "ring_vibration_preference_screen"; field in RingVibrationIntensityPreferenceController
31 super(context, PREF_KEY, Settings.System.RING_VIBRATION_INTENSITY, in RingVibrationIntensityPreferenceController()
DHapticFeedbackIntensityPreferenceController.java28 static final String PREF_KEY = "touch_vibration_preference_screen"; field in HapticFeedbackIntensityPreferenceController
31 super(context, PREF_KEY, Settings.System.HAPTIC_FEEDBACK_INTENSITY, in HapticFeedbackIntensityPreferenceController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DNotificationVibrationIntensityPreferenceController.java28 static final String PREF_KEY = "notification_vibration_preference_screen"; field in NotificationVibrationIntensityPreferenceController
31 super(context, PREF_KEY, Settings.System.NOTIFICATION_VIBRATION_INTENSITY, ""); in NotificationVibrationIntensityPreferenceController()
DHapticFeedbackIntensityPreferenceController.java28 static final String PREF_KEY = "touch_vibration_preference_screen"; field in HapticFeedbackIntensityPreferenceController
31 super(context, PREF_KEY, Settings.System.HAPTIC_FEEDBACK_INTENSITY, in HapticFeedbackIntensityPreferenceController()
DRingVibrationIntensityPreferenceController.java28 static final String PREF_KEY = "ring_vibration_preference_screen"; field in RingVibrationIntensityPreferenceController
31 super(context, PREF_KEY, Settings.System.RING_VIBRATION_INTENSITY, in RingVibrationIntensityPreferenceController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverStickyPreferenceControllerTest.java33 private static final String PREF_KEY = "battery_saver_sticky"; field in BatterySaverStickyPreferenceControllerTest
41 mController = new BatterySaverStickyPreferenceController(mContext, PREF_KEY); in setup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DBatteryPercentagePreferenceControllerTest.java35 private static final String PREF_KEY = "battery_percentage"; field in BatteryPercentagePreferenceControllerTest
43 mController = new BatteryPercentagePreferenceController(mContext, PREF_KEY); in setup()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/screenlock/
DPatternVisiblePreferenceController.java32 private static final String PREF_KEY = "visiblepattern"; field in PatternVisiblePreferenceController
51 return PREF_KEY; in getPreferenceKey()
/packages/apps/Settings/src/com/android/settings/security/screenlock/
DPatternVisiblePreferenceController.java32 private static final String PREF_KEY = "visiblepattern"; field in PatternVisiblePreferenceController
51 return PREF_KEY; in getPreferenceKey()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSecurityPreferenceController.java13 private static final String PREF_KEY = "wifi_tether_security"; field in WifiTetherSecurityPreferenceController
26 return PREF_KEY; in getPreferenceKey()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dream/
DStartNowPreferenceController.java34 private static final String PREF_KEY = "dream_start_now_button_container"; field in StartNowPreferenceController
50 return PREF_KEY; in getPreferenceKey()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSecurityPreferenceController.java13 private static final String PREF_KEY = "wifi_tether_security"; field in WifiTetherSecurityPreferenceController
26 return PREF_KEY; in getPreferenceKey()
/packages/apps/Settings/src/com/android/settings/dream/
DStartNowPreferenceController.java34 private static final String PREF_KEY = "dream_start_now_button_container"; field in StartNowPreferenceController
50 return PREF_KEY; in getPreferenceKey()

123