Home
last modified time | relevance | path

Searched refs:validate (Results 1 – 25 of 31) 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/network/telephony/
DMobileNetworkActivity.java90 validate(intent); in onNewIntent()
139 validate(startIntent); in onCreate()
385 private void validate(Intent intent) { in validate() method in MobileNetworkActivity
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/
DEapData.java128 validate(); in EapData()
190 private void validate() { in validate() method in EapData
DEapMessage.java112 validate(); in EapMessage()
235 private void validate() throws EapSilentException { in validate() method in EapMessage
/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/Settings/src/com/android/settings/vpn2/
DConfigDialog.java188 mEditing = mEditing || !validate(true /*editing*/); in onCreate()
343 getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(validate(mEditing)); in updateUiControls()
420 private boolean validate(boolean editing) { in validate() method in ConfigDialog
640 return Proxy.validate(host, port, "") == Proxy.PROXY_VALID; in validateProxy()
/packages/modules/DnsResolver/
DDnsTlsTransport.h58 static bool validate(const DnsTlsServer& server, unsigned netid, uint32_t mark);
DDnsTlsTransport.cpp156 bool DnsTlsTransport::validate(const DnsTlsServer& server, unsigned netid, uint32_t mark) { in validate() function in android::net::DnsTlsTransport
DPrivateDnsConfiguration.cpp209 const bool success = DnsTlsTransport::validate(server, netId, mark); in validatePrivateDnsProvider()
/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/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/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/services/Telecomm/tests/src/com/android/server/telecom/tests/
DRingerTest.java82 public void validate() { in validate() method in RingerTest.UriVibrationEffect
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java853 result = ProxySelector.validate(host, portStr, exclusionList); in ipAndProxyFieldsAreValid()

12