Searched defs:hex (Results 1 - 14 of 14) sorted by relevance

/frameworks/opt/net/wifi/libwifi_system/
H A Dhostapd_manager.cpp67 ss << std::hex; member in class:android::wifi_system::__anon1957::std
144 ss << std::hex; member in class:android::wifi_system::std
179 // for use as a SSID. In this case, we're giving it a hex string
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DTelephonyUtil.java159 throw new NumberFormatException("" + ch + " is not a valid hex digit");
163 private static byte[] parseHex(String hex) { argument
165 if (hex == null) {
169 if (hex.length() % 2 != 0) {
170 throw new NumberFormatException(hex + " is not a valid hex string");
173 byte[] result = new byte[(hex.length()) / 2 + 1];
174 result[0] = (byte) ((hex.length()) / 2);
175 for (int i = 0, j = 1; i < hex.length(); i += 2, j++) {
176 int val = parseHex(hex
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceCallbackTest.java450 // TLVS hex data encoded as a hex string.
487 * Converts hex string to byte array.
489 * @param hex hex string. if invalid, return null.
492 private static byte[] hexStr2Bin(String hex) { argument
493 int sz = hex.length() / 2;
494 byte[] b = new byte[hex.length() / 2];
497 b[i] = (byte) Integer.parseInt(hex.substring(i * 2, i * 2 + 2), 16);
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pServiceResponse.java265 * Converts hex string to byte array.
267 * @param hex hex string. if invalid, return null.
270 private static byte[] hexStr2Bin(String hex) { argument
271 int sz = hex.length()/2;
272 byte[] b = new byte[hex.length()/2];
276 b[i] = (byte)Integer.parseInt(hex.substring(i*2, i*2+2), 16);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pNative.java223 * @param hex WFD device info as described in section 5.1.2 of WFD technical
227 public boolean setWfdDeviceInfo(String hex) { argument
228 return mSupplicantP2pIfaceHal.setWfdDeviceInfo(hex);
/frameworks/base/libs/common_time/
H A Dcommon_time_server.cpp628 char hex[256]; local
631 hexDumpToString(buf, static_cast<size_t>(recvBytes), hex, sizeof(hex));
635 recvBytes, srcEPStr, hex);
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp1108 struct hex { struct
1111 static const size_t EXT_CSD_REV = 192 * sizeof(hex);
1112 static const size_t EXT_PRE_EOL_INFO = 267 * sizeof(hex);
1113 static const size_t EXT_DEVICE_LIFE_TIME_EST_TYP_A = 268 * sizeof(hex);
1114 static const size_t EXT_DEVICE_LIFE_TIME_EST_TYP_B = 269 * sizeof(hex);
1123 if (buffer.length() < (EXT_CSD_REV + sizeof(hex))) {
1129 std::string sub = buffer.substr(EXT_CSD_REV, sizeof(hex));
1146 if (buffer.length() < (EXT_PRE_EOL_INFO + sizeof(hex))) {
1152 sub = buffer.substr(EXT_PRE_EOL_INFO, sizeof(hex));
1171 lifetime += sizeof(hex)) {
[all...]
/frameworks/multidex/gradle/wrapper/
H A Dgradle-wrapper.jar ... io.File) throws java.lang.Exception String hex int i java.io.File file java. ...
/frameworks/support/development/checkstyle/gradle/wrapper/
H A Dgradle-wrapper.jar ... io.File) throws java.lang.Exception String hex int i java.io.File file java. ...
/frameworks/support/gradle/wrapper/
H A Dgradle-wrapper.jar ... io.File) throws java.lang.Exception String hex int i java.io.File file java. ...
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 376 milliseconds