/packages/apps/Settings/src/com/android/settings/password/ |
D | ScreenLockType.java | 62 public final String preferenceKey; field in ScreenLockType 64 ScreenLockType(int quality, String preferenceKey) { in ScreenLockType() argument 65 this(quality, quality, preferenceKey); in ScreenLockType() 68 ScreenLockType(int defaultQuality, int maxQuality, String preferenceKey) { in ScreenLockType() argument 71 this.preferenceKey = preferenceKey; in ScreenLockType() 101 if (lock.preferenceKey.equals(key)) { in fromKey()
|
D | ChooseLockGeneric.java | 510 findPreference(ScreenLockType.NONE.preferenceKey).setViewId(R.id.lock_none); in addPreferences() 513 findPreference(ScreenLockType.PIN.preferenceKey).setViewId(R.id.lock_pin); in addPreferences() 514 findPreference(ScreenLockType.PASSWORD.preferenceKey).setViewId(R.id.lock_password); in addPreferences() 557 removePreference(ScreenLockType.MANAGED.preferenceKey); in updatePreferenceText() 569 Preference preference = findPreference(lock.preferenceKey); in setPreferenceTitle() 576 Preference preference = findPreference(lock.preferenceKey); in setPreferenceTitle() 583 Preference preference = findPreference(lock.preferenceKey); in setPreferenceSummary() 601 return ScreenLockType.NONE.preferenceKey; in getKeyForCurrent() 606 return lock != null ? lock.preferenceKey : null; in getKeyForCurrent() 636 String key = lock.preferenceKey; in disableUnusablePreferencesImpl() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ScreenLockType.java | 62 public final String preferenceKey; field in ScreenLockType 64 ScreenLockType(int quality, String preferenceKey) { in ScreenLockType() argument 65 this(quality, quality, preferenceKey); in ScreenLockType() 68 ScreenLockType(int defaultQuality, int maxQuality, String preferenceKey) { in ScreenLockType() argument 71 this.preferenceKey = preferenceKey; in ScreenLockType() 101 if (lock.preferenceKey.equals(key)) { in fromKey()
|
D | ChooseLockGeneric.java | 499 findPreference(ScreenLockType.NONE.preferenceKey).setViewId(R.id.lock_none); in addPreferences() 502 findPreference(ScreenLockType.PIN.preferenceKey).setViewId(R.id.lock_pin); in addPreferences() 503 findPreference(ScreenLockType.PASSWORD.preferenceKey).setViewId(R.id.lock_password); in addPreferences() 546 removePreference(ScreenLockType.MANAGED.preferenceKey); in updatePreferenceText() 558 Preference preference = findPreference(lock.preferenceKey); in setPreferenceTitle() 565 Preference preference = findPreference(lock.preferenceKey); in setPreferenceTitle() 572 Preference preference = findPreference(lock.preferenceKey); in setPreferenceSummary() 590 return ScreenLockType.NONE.preferenceKey; in getKeyForCurrent() 595 return lock != null ? lock.preferenceKey : null; in getKeyForCurrent() 625 String key = lock.preferenceKey; in disableUnusablePreferencesImpl() [all …]
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | SuppServicesUiUtil.java | 58 String preferenceKey) { in showBlockingSuppServicesDialog() argument 63 String message = makeMessage(context, preferenceKey, phone); in showBlockingSuppServicesDialog() 87 public static String makeMessage(Context context, String preferenceKey, Phone phone) { in makeMessage() argument 90 String suppServiceName = getSuppServiceName(context, preferenceKey); in makeMessage() 119 private static String getSuppServiceName(Context context, String preferenceKey) { in getSuppServiceName() argument 121 if (preferenceKey.equals(GsmUmtsCallOptions.CALL_FORWARDING_KEY)) { in getSuppServiceName() 123 } else if (preferenceKey.equals(GsmUmtsCallOptions.CALL_BARRING_KEY)) { in getSuppServiceName() 125 } else if (preferenceKey.equals(GsmUmtsAdditionalCallOptions.BUTTON_CLIR_KEY)) { in getSuppServiceName() 127 } else if (preferenceKey.equals(GsmUmtsAdditionalCallOptions.BUTTON_CW_KEY)) { in getSuppServiceName()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/ |
D | BaseTimeZonePreferenceControllerTest.java | 70 private TestPreferenceController(Context context, String preferenceKey) { in TestPreferenceController() argument 71 super(context, preferenceKey); in TestPreferenceController() 73 mTestPreference.setKey(preferenceKey); in TestPreferenceController() 78 private TestPreference(Context context, String preferenceKey) { in TestPreference() argument 80 setKey(preferenceKey); in TestPreference()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/ |
D | EditMedicalInfoFragment.java | 52 String preferenceKey = PreferenceKeys.KEYS_EDIT_EMERGENCY_INFO[i]; in onCreatePreferences() local 54 Preference preference = findPreference(preferenceKey); in onCreatePreferences() 110 for (String preferenceKey : PreferenceKeys.KEYS_EDIT_EMERGENCY_INFO) { in reloadFromPreference() 112 findPreference(preferenceKey); in reloadFromPreference()
|
D | EditInfoFragment.java | 67 for (String preferenceKey : PreferenceKeys.KEYS_EDIT_EMERGENCY_INFO) { in onCreatePreferences() 68 Preference preference = findPreference(preferenceKey); in onCreatePreferences() 69 mMedicalInfoPreferences.put(preferenceKey, preference); in onCreatePreferences()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | ClearAdbKeysPreferenceControllerTest.java | 111 final String preferenceKey = mController.getPreferenceKey(); in handlePreferenceTreeClick_clearAdbKeysPreference_shouldShowWarningDialog() local 112 when(mPreference.getKey()).thenReturn(preferenceKey); in handlePreferenceTreeClick_clearAdbKeysPreference_shouldShowWarningDialog() 136 final String preferenceKey = mController.getPreferenceKey(); in handlePreferenceTreeClick_monkeyUser_shouldReturnFalse() local 137 when(mPreference.getKey()).thenReturn(preferenceKey); in handlePreferenceTreeClick_monkeyUser_shouldReturnFalse()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilitySlicePreferenceController.java | 45 public AccessibilitySlicePreferenceController(Context context, String preferenceKey) { in AccessibilitySlicePreferenceController() argument 46 super(context, preferenceKey); in AccessibilitySlicePreferenceController() 51 "Illegal Component Name from: " + preferenceKey); in AccessibilitySlicePreferenceController()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | AccessibilitySlicePreferenceController.java | 45 public AccessibilitySlicePreferenceController(Context context, String preferenceKey) { in AccessibilitySlicePreferenceController() argument 46 super(context, preferenceKey); in AccessibilitySlicePreferenceController() 51 "Illegal Component Name from: " + preferenceKey); in AccessibilitySlicePreferenceController()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TextToSpeechSettings.java | 342 private int getValueFromSeekBarProgress(String preferenceKey, int progress) { in getValueFromSeekBarProgress() argument 343 if (preferenceKey.equals(KEY_DEFAULT_RATE)) { in getValueFromSeekBarProgress() 345 } else if (preferenceKey.equals(KEY_DEFAULT_PITCH)) { in getValueFromSeekBarProgress() 355 private int getSeekBarProgressFromValue(String preferenceKey, int value) { in getSeekBarProgressFromValue() argument 356 if (preferenceKey.equals(KEY_DEFAULT_RATE)) { in getSeekBarProgressFromValue() 358 } else if (preferenceKey.equals(KEY_DEFAULT_PITCH)) { in getSeekBarProgressFromValue()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/tts/ |
D | TextToSpeechSettings.java | 342 private int getValueFromSeekBarProgress(String preferenceKey, int progress) { in getValueFromSeekBarProgress() argument 343 if (preferenceKey.equals(KEY_DEFAULT_RATE)) { in getValueFromSeekBarProgress() 345 } else if (preferenceKey.equals(KEY_DEFAULT_PITCH)) { in getValueFromSeekBarProgress() 355 private int getSeekBarProgressFromValue(String preferenceKey, int value) { in getSeekBarProgressFromValue() argument 356 if (preferenceKey.equals(KEY_DEFAULT_RATE)) { in getSeekBarProgressFromValue() 358 } else if (preferenceKey.equals(KEY_DEFAULT_PITCH)) { in getSeekBarProgressFromValue()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilitySettingsTest.java | 167 private void verifyAccessibilityTimeoutSummary(String preferenceKey, int resId) { in verifyAccessibilityTimeoutSummary() argument 169 doReturn(preference).when(mSettings).findPreference(preferenceKey); in verifyAccessibilityTimeoutSummary() 170 preference.setKey(preferenceKey); in verifyAccessibilityTimeoutSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | BadPreferenceController.java | 23 public BadPreferenceController(Context context, String preferenceKey) { in BadPreferenceController() argument 24 super(context, preferenceKey); in BadPreferenceController()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/ |
D | FakeCopyableController.java | 25 public FakeCopyableController(Context context, String preferenceKey) { in FakeCopyableController() argument 26 super(context, preferenceKey); in FakeCopyableController()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/ |
D | FaceSettingsPreferenceController.java | 30 public FaceSettingsPreferenceController(Context context, String preferenceKey) { in FaceSettingsPreferenceController() argument 31 super(context, preferenceKey); in FaceSettingsPreferenceController()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/ |
D | PictureInPictureController.java | 26 public PictureInPictureController(Context context, String preferenceKey) { in PictureInPictureController() argument 27 super(context, preferenceKey); in PictureInPictureController()
|
D | PictureInPictureScreenPreferenceController.java | 27 String preferenceKey) { in PictureInPictureScreenPreferenceController() argument 28 super(context, preferenceKey); in PictureInPictureScreenPreferenceController()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/ |
D | NotificationAccessScreenPreferenceController.java | 26 public NotificationAccessScreenPreferenceController(Context context, String preferenceKey) { in NotificationAccessScreenPreferenceController() argument 27 super(context, preferenceKey); in NotificationAccessScreenPreferenceController()
|
D | NotificationAccessController.java | 26 public NotificationAccessController(Context context, String preferenceKey) { in NotificationAccessController() argument 27 super(context, preferenceKey); in NotificationAccessController()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | FakePreferenceController.java | 25 public FakePreferenceController(Context context, String preferenceKey) { in FakePreferenceController() argument 26 super(context, preferenceKey); in FakePreferenceController()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/notificationaccess/ |
D | NotificationAccessScreenPreferenceController.java | 26 public NotificationAccessScreenPreferenceController(Context context, String preferenceKey) { in NotificationAccessScreenPreferenceController() argument 27 super(context, preferenceKey); in NotificationAccessScreenPreferenceController()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | DefaultLaunchPreferenceController.java | 35 public DefaultLaunchPreferenceController(Context context, String preferenceKey) { in DefaultLaunchPreferenceController() argument 38 mPreferenceKey = preferenceKey; in DefaultLaunchPreferenceController()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/pictureinpicture/ |
D | PictureInPictureController.java | 26 public PictureInPictureController(Context context, String preferenceKey) { in PictureInPictureController() argument 27 super(context, preferenceKey); in PictureInPictureController()
|