Home
last modified time | relevance | path

Searched refs:validate (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/
DWifiConfigHelperTest.java64 assertEquals(R.string.proxy_error_invalid_host, WifiConfigHelper.validate(".", "", "")); in testValidate()
66 WifiConfigHelper.validate("..", "", "")); in testValidate()
67 assertEquals(0, WifiConfigHelper.validate("", "", "")); in testValidate()
69 WifiConfigHelper.validate("xyz.#", "", "")); in testValidate()
71 WifiConfigHelper.validate("", "293", "")); in testValidate()
73 WifiConfigHelper.validate("abc", "293h", "")); in testValidate()
75 WifiConfigHelper.validate("..", "12345", "")); in testValidate()
77 WifiConfigHelper.validate("*abc", "1234", "")); in testValidate()
79 WifiConfigHelper.validate("abc", "1234", "&8")); in testValidate()
80 assertEquals(0, WifiConfigHelper.validate("Android-TV", "1234", "*.abc")); in testValidate()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DPasswordHelperTest.java50 assertThat(mPasswordHelper.validate(password)) in testValidatePasswordTooShort()
60 assertThat(mPasswordHelper.validate(password)) in testValidatePasswordWhiteSpace()
71 assertThat(mPasswordHelper.validate(password)) in testValidatePasswordNonAscii()
81 assertThat(mPinHelper.validate(password)) in testValidatePinContainingNonDigits()
91 assertThat(mPinHelper.validate(password)) in testValidatePinWithTooFewDigits()
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
DSizeD.java31 validate("width", width); in SizeD()
32 validate("height", height); in SizeD()
38 private void validate(String name, double value) { in validate() method in SizeD
/packages/apps/Settings/src/com/android/settings/
DProxySelector.java96 String msg = getActivity().getString(validate(hostname, portStr, exclList)); in onCreateDialog()
187 public static int validate(String hostname, String port, String exclList) { in validate() method in ProxySelector
188 switch (Proxy.validate(hostname, port, exclList)) { in validate()
218 int result = validate(hostname, portStr, exclList); in saveToDb()
DSettingsActivity.java551 private Fragment switchToFragment(String fragmentName, Bundle args, boolean validate, in switchToFragment() argument
554 if (validate && !isValidFragment(fragmentName)) { in switchToFragment()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DProxySelector.java96 String msg = getActivity().getString(validate(hostname, portStr, exclList)); in onCreateDialog()
187 public static int validate(String hostname, String port, String exclList) { in validate() method in ProxySelector
188 switch (Proxy.validate(hostname, port, exclList)) { in validate()
218 int result = validate(hostname, portStr, exclList); in saveToDb()
DSettingsActivity.java553 private Fragment switchToFragment(String fragmentName, Bundle args, boolean validate, in switchToFragment() argument
556 if (validate && !isValidFragment(fragmentName)) { in switchToFragment()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java180 mEditing = mEditing || !validate(true /*editing*/); in onCreate()
340 getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(validate(mEditing)); in updateUiControls()
386 private boolean validate(boolean editing) { in validate() method in ConfigDialog
546 return Proxy.validate(host, port, "") == Proxy.PROXY_VALID; in validateProxy()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DConfigDialog.java180 mEditing = mEditing || !validate(true /*editing*/); in onCreate()
340 getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(validate(mEditing)); in updateUiControls()
386 private boolean validate(boolean editing) { in validate() method in ConfigDialog
546 return Proxy.validate(host, port, "") == Proxy.PROXY_VALID; in validateProxy()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DEmailServiceProxy.java150 public Bundle validate(final HostAuthCompat hostAuthCom) throws RemoteException { in validate() method in EmailServiceProxy
154 mReturn = mService.validate(hostAuthCom); in validate()
DIEmailService.aidl47 Bundle validate(in HostAuthCompat hostauth); in validate() method
/packages/apps/Email/provider_src/com/android/email/mail/store/
DServiceStore.java71 return svc.validate(hostAuthCom); in checkSettings()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dencoding.md13 RapidJSON supports various encodings. It can also validate the encodings of JSON, and transconding …
114 When RapidJSON parses a JSON, it can validate the input JSON, whether it is a valid sequence of a s…
Ddom.md230 … code points are encoded in the target format. During decoding, it will validate the byte sequence…
232 …tream is the same as encoding of DOM, by default, the parser will *not* validate the sequence. Use…
Dfaq.md205 2. Can it validate the encoding?
/packages/apps/Messaging/build/
DREADME3 gcheckstyle is a tool from google3 to validate java from google3. The config file is baked into th…
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DPasswordHelper.java68 public int validate(byte[] password) { in validate() method in PasswordHelper
DChooseLockPinPasswordFragment.java338 mErrorCode = mPasswordHelper.validate(mCurrentEntry); in handlePrimaryButtonClick()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DAdvancedOptionsFlowUtil.java68 result = WifiConfigHelper.validate(host, portStr, exclusionList); in processProxySettings()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigHelper.java105 public static int validate(String hostname, String port, String exclList) { in validate() method in WifiConfigHelper
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewModel.java214 void validate() { in validate() method in ConversationItemViewModel
DConversationItemView.java720 mHeader.validate(); in onLayout()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DRingerTest.java81 public void validate() { in validate() method in RingerTest.UriVibrationEffect
/packages/apps/Email/provider_src/com/android/email/service/
DEmailServiceStub.java94 public Bundle validate(HostAuthCompat hostAuthCom) throws RemoteException { in validate() method in EmailServiceStub
DEmailServiceUtils.java696 public Bundle validate(HostAuthCompat hostauth) throws RemoteException { in validate() method in EmailServiceUtils.NullService

12