Home
last modified time | relevance | path

Searched refs:isHex (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java75 if (isHex(password, 10) || isHex(password, 26) || isHex(password, 58)) { in createWepConfig()
97 if (isHex(password, 64)) { in createPskConfig()
367 public static boolean isHex(String input, int length) { in isHex() method in WifiConfigurationHelper
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java459 static byte[] stringToByteArray(String original, boolean isHex) in stringToByteArray() argument
461 int length = isHex ? original.length() / 2 : original.length(); in stringToByteArray()
465 if (isHex) in stringToByteArray()
557 static private String decodeString(String original, boolean isHex, int coding) in decodeString() argument
563 byte[] input = stringToByteArray(original, isHex); in decodeString()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DWifiAssociationTest.java91 assertTrue(WifiConfigurationHelper.isHex(password, 10)); in getConfig()
98 assertTrue(WifiConfigurationHelper.isHex(password, 26)); in getConfig()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5338 bool isHex; in U16StringToInt() local
5340 isHex = true; in U16StringToInt()
5365 isHex = false; in U16StringToInt()
5392 isHex ? outValue->TYPE_INT_HEX : outValue->TYPE_INT_DEC; in U16StringToInt()