/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryChartPreferenceControllerTest.java | 72 private static final String PREF_KEY = "pref_key"; field in BatteryChartPreferenceControllerTest 183 PREF_KEY, mPowerGaugePreference); in testOnDestroy_clearPreferenceCache() 293 doReturn(PREF_KEY).when(mPowerGaugePreference).getKey(); in testRemoveAndCacheAllPrefs_buildCacheAndRemoveAllPreference() 300 assertThat(mBatteryChartPreferenceController.mPreferenceCache.get(PREF_KEY)) in testRemoveAndCacheAllPrefs_buildCacheAndRemoveAllPreference() 318 doReturn(PREF_KEY).when(mBatteryHistEntry).getKey(); in testAddPreferenceToScreen_addPreferenceIntoScreen() 319 doReturn(null).when(mAppListGroup).findPreference(PREF_KEY); in testAddPreferenceToScreen_addPreferenceIntoScreen() 328 .get(PREF_KEY); in testAddPreferenceToScreen_addPreferenceIntoScreen() 332 assertThat(pref.getKey()).isEqualTo(PREF_KEY); in testAddPreferenceToScreen_addPreferenceIntoScreen() 347 doReturn(PREF_KEY).when(mBatteryHistEntry).getKey(); in testAddPreferenceToScreen_alreadyInScreen_notAddPreferenceAgain() 348 doReturn(mPowerGaugePreference).when(mAppListGroup).findPreference(PREF_KEY); in testAddPreferenceToScreen_alreadyInScreen_notAddPreferenceAgain() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/emergency/ |
D | MoreSettingsPreferenceControllerTest.java | 56 private static final String PREF_KEY = "more_settings_button"; field in MoreSettingsPreferenceControllerTest 78 mContext, PREF_KEY); in constructor_hasPackageConfig_shouldSetIntent() 92 mContext, PREF_KEY); in getAvailabilityStatus_whenIntentSet_shouldReturnAvailable() 101 mContext, PREF_KEY); in getAvailabilityStatus_whenPackageConfigIsUnavailable_shouldReturnUnsupported() 114 mContext, PREF_KEY); in getAvailabilityStatus_noSuitableIntent_shouldReturnUnsupportedDevice() 129 mContext, PREF_KEY); in getAvailabilityStatus_intentForANonSystemApp_shouldReturnUnsupportedDevice()
|
D | EmergencyGestureEntrypointPreferenceControllerTest.java | 55 private static final String PREF_KEY = "gesture_emergency_button"; field in EmergencyGestureEntrypointPreferenceControllerTest 80 new EmergencyGestureEntrypointPreferenceController(mContext, PREF_KEY); in constructor_hasCustomPackageConfig_shouldSetIntent() 91 new EmergencyGestureEntrypointPreferenceController(mContext, PREF_KEY); in getAvailabilityStatus_configIsTrue_shouldReturnAvailable() 102 new EmergencyGestureEntrypointPreferenceController(mContext, PREF_KEY); in getAvailabilityStatus_configIsFalse_shouldReturnUnsupported() 118 new EmergencyGestureEntrypointPreferenceController(mContext, PREF_KEY); in getAvailabilityStatus_noSuitableIntent_shouldReturnAvailable()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/managedomainurls/ |
D | InstantAppAccountPreferenceControllerTest.java | 46 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/src/com/android/settings/wifi/tether/ |
D | WifiTetherSecurityPreferenceController.java | 45 private static final String PREF_KEY = "wifi_tether_security"; field in WifiTetherSecurityPreferenceController 68 ? PREF_KEY + DEDUP_POSTFIX : PREF_KEY; in getPreferenceKey() 112 Log.i(PREF_KEY, "WPA3 SAE is not supported on this device"); in onCapabilityChanged()
|
D | WifiTetherApBandPreferenceController.java | 37 private static final String PREF_KEY = "wifi_tether_network_ap_band"; field in WifiTetherApBandPreferenceController 93 ? PREF_KEY + DEDUP_POSTFIX : PREF_KEY; in getPreferenceKey()
|
D | WifiTetherSSIDPreferenceController.java | 43 private static final String PREF_KEY = "wifi_tether_network_name"; field in WifiTetherSSIDPreferenceController 72 ? PREF_KEY + DEDUP_POSTFIX : PREF_KEY; in getPreferenceKey()
|
D | WifiTetherPasswordPreferenceController.java | 46 private static final String PREF_KEY = "wifi_tether_network_password"; field in WifiTetherPasswordPreferenceController 69 ? PREF_KEY + DEDUP_POSTFIX : PREF_KEY; in getPreferenceKey()
|
D | WifiTetherFooterPreferenceController.java | 30 private static final String PREF_KEY = "tether_prefs_footer_2"; field in WifiTetherFooterPreferenceController 38 return PREF_KEY; in getPreferenceKey()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeVisEffectPreferenceControllerTest.java | 71 private static final String PREF_KEY = "main_pref"; field in ZenModeVisEffectPreferenceControllerTest 86 PREF_KEY, SUPPRESSED_EFFECT_PEEK, PREF_METRICS, null); in setup() 101 PREF_KEY, SUPPRESSED_EFFECT_LIGHTS, PREF_METRICS, null); in isAvailable() 135 PREF_KEY, SUPPRESSED_EFFECT_PEEK, PREF_METRICS, in updateState_checkedFalse_parentChecked() 151 PREF_KEY, SUPPRESSED_EFFECT_PEEK, PREF_METRICS, in updateState_checkedFalse_parentNotChecked()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | CaCertsPreferenceControllerBaseTest.java | 27 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/tests/robotests/src/com/android/settings/network/ |
D | DataDuringCallsPreferenceControllerTest.java | 54 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()
|
D | AllInOneTetherPreferenceControllerTest.java | 122 private static final String PREF_KEY = "tether"; field in AllInOneTetherPreferenceControllerTest 139 ReflectionHelpers.setField(mController, "mPreferenceKey", PREF_KEY); in setUp() 141 when(screen.findPreference(PREF_KEY)).thenReturn(mPreference); in setUp()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AdbIpAddressPreferenceController.java | 53 private static final String PREF_KEY = "adb_ip_addr_pref"; field in AdbIpAddressPreferenceController 73 return PREF_KEY; in getPreferenceKey() 79 mAdbIpAddrPref = screen.findPreference(PREF_KEY); in displayPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityTimeoutControllerTest.java | 48 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()
|
D | DaltonizerRadioButtonPreferenceControllerTest.java | 47 private static final String PREF_KEY = "daltonizer_mode_protanomaly"; field in DaltonizerRadioButtonPreferenceControllerTest 65 PREF_KEY); in setUp() 69 when(mMockPref.getKey()).thenReturn(PREF_KEY); in setUp()
|
D | MagnificationModePreferenceControllerTest.java | 56 private static final String PREF_KEY = "screen_magnification_mode"; field in MagnificationModePreferenceControllerTest 75 mModePreference.setKey(PREF_KEY); in setUp() 78 mController = new MagnificationModePreferenceController(mContext, PREF_KEY); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceRenamePreferenceControllerTest.java | 54 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/unit/src/com/android/settings/network/telephony/ |
D | DeleteSimProfilePreferenceControllerTest.java | 57 private static final String PREF_KEY = "delete_profile_key"; field in DeleteSimProfilePreferenceControllerTest 87 mPreference.setKey(PREF_KEY); in setUp() 90 mController = new DeleteSimProfilePreferenceController(mContext, PREF_KEY); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/ |
D | NfcPaymentPreferenceControllerTest.java | 49 private static final String PREF_KEY = PaymentSettingsTest.PAYMENT_KEY; field in NfcPaymentPreferenceControllerTest 67 mController = new NfcPaymentPreferenceController(mContext, PREF_KEY); in setUp() 69 when(mScreen.findPreference(PREF_KEY)).thenReturn(mPreference); in setUp()
|
D | NfcForegroundPreferenceControllerTest.java | 49 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/ |
D | NotificationVibrationIntensityPreferenceController.java | 28 static final String PREF_KEY = "notification_vibration_preference_screen"; field in NotificationVibrationIntensityPreferenceController 31 super(context, PREF_KEY, Settings.System.NOTIFICATION_VIBRATION_INTENSITY, ""); in NotificationVibrationIntensityPreferenceController()
|
D | HapticFeedbackIntensityPreferenceController.java | 28 static final String PREF_KEY = "touch_vibration_preference_screen"; field in HapticFeedbackIntensityPreferenceController 31 super(context, PREF_KEY, Settings.System.HAPTIC_FEEDBACK_INTENSITY, in HapticFeedbackIntensityPreferenceController()
|
D | RingVibrationIntensityPreferenceController.java | 28 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/unit/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverStickyPreferenceControllerTest.java | 35 private static final String PREF_KEY = "battery_saver_sticky"; field in BatterySaverStickyPreferenceControllerTest 43 mController = new BatterySaverStickyPreferenceController(mContext, PREF_KEY); in setup()
|