Home
last modified time | relevance | path

Searched refs:isTextValid (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherPasswordPreferenceController.java84 } else if (!isTextValid(mPassword)) { in getPasswordValidated()
96 public boolean isTextValid(String value) { in isTextValid() method in WifiTetherPasswordPreferenceController
DWifiTetherSSIDPreferenceController.java101 public boolean isTextValid(String value) { in isTextValid() method in WifiTetherSSIDPreferenceController
102 return mWifiDeviceNameTextValidator.isTextValid(value); in isTextValid()
DWifiDeviceNameTextValidator.java27 public boolean isTextValid(String value) { in isTextValid() method in WifiDeviceNameTextValidator
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSSIDPreferenceController.java93 public boolean isTextValid(String value) { in isTextValid() method in WifiTetherSSIDPreferenceController
94 return mWifiDeviceNameTextValidator.isTextValid(value); in isTextValid()
DWifiTetherPasswordPreferenceController.java84 } else if (!isTextValid(mPassword)) { in getPasswordValidated()
96 public boolean isTextValid(String value) { in isTextValid() method in WifiTetherPasswordPreferenceController
DWifiDeviceNameTextValidator.java27 public boolean isTextValid(String value) { in isTextValid() method in WifiDeviceNameTextValidator
/packages/apps/Settings/src/com/android/settings/widget/
DValidatedEditTextPreference.java41 boolean isTextValid(String value); in isTextValid() method
132 final boolean valid = mValidator.isTextValid(editText.getText().toString()); in afterTextChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DValidatedEditTextPreference.java41 boolean isTextValid(String value); in isTextValid() method
132 final boolean valid = mValidator.isTextValid(editText.getText().toString()); in afterTextChanged()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DDeviceNamePreferenceController.java105 public boolean isTextValid(String deviceName) { in isTextValid() method in DeviceNamePreferenceController
109 return mWifiDeviceNameTextValidator.isTextValid(deviceName); in isTextValid()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DValidatedEditTextPreferenceDialogFragmentTest.java99 public boolean isTextValid(String value) { in onInvalidInput_shouldDisablePositiveButton_and_disallowEnterToSubmit()
120 public boolean isTextValid(String value) { in onValidInput_shouldEnablePositiveButton_and_allowEnterToSubmit()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DDeviceNamePreferenceController.java105 public boolean isTextValid(String deviceName) { in isTextValid() method in DeviceNamePreferenceController
109 return mWifiDeviceNameTextValidator.isTextValid(deviceName); in isTextValid()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DDeviceNamePreferenceControllerTest.java108 assertThat(mController.isTextValid("12345678901234567890123456789012")).isTrue(); in isTextValid_nameUnder33Characters_isValid()
113 assertThat(mController.isTextValid("123456789012345678901234567890123")).isFalse(); in isTextValid_nameTooLong_isInvalid()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DValidatedEditTextPreference.java37 boolean isTextValid(String value); in isTextValid() method
DValidatedEditTextPreferenceDialogFragment.java102 boolean valid = mValidator.isTextValid(mEditText.getText().toString()); in allowDialogSubmissionOnlyIfValidInput()