Searched refs:hex (Results 1 - 15 of 15) sorted by relevance
/frameworks/base/tests/CoreTests/android/core/ |
H A D | Sha1Test.java | 57 StringBuffer hex = new StringBuffer(bytes.length * 2); 61 hex.append("0"); 63 hex.append(Integer.toString((int) bytes[i] & 0xff, 16)); 66 return hex.toString();
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | Log.java | 152 StringBuffer hex = new StringBuffer(bytes.length * 2); 157 hex.append("0"); 159 hex.append(Integer.toString(byteIntValue, 16)); 162 return hex.toString();
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
H A D | WifiP2pServiceResponse.java | 273 * Converts hex string to byte array. 275 * @param hex hex string. if invalid, return null. 278 private static byte[] hexStr2Bin(String hex) { argument 279 int sz = hex.length()/2; 280 byte[] b = new byte[hex.length()/2]; 284 b[i] = (byte)Integer.parseInt(hex.substring(i*2, i*2+2), 16);
|
/frameworks/base/core/java/android/net/http/ |
H A D | RequestHandle.java | 406 StringBuilder hex = new StringBuilder(2 * length); 412 hex.append(hexChars[h]); 413 hex.append(hexChars[l]); 416 return hex.toString();
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbDebuggingManager.java | 228 String hex = "0123456789ABCDEF"; 252 sb.append(hex.charAt((digest[i] >> 4) & 0xf)); 253 sb.append(hex.charAt(digest[i] & 0xf));
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | Relocator.cpp | 66 ss << "0x" << std::hex << undef_sym_pos;
|
/frameworks/base/core/java/android/text/method/ |
H A D | QwertyKeyListener.java | 152 String hex = TextUtils.substring(content, start, selEnd); 153 ch = Integer.parseInt(hex, 16);
|
/frameworks/av/camera/tests/ |
H A D | ProCameraTests.cpp | 82 dout << "On status changed: 0x" << std::hex 296 dout << "Notify received: msg " << std::hex << msg 297 << ", ext1: " << std::hex << ext1 << ", ext2: " << std::hex << ext2 654 << std::hex << stat << std::endl;
|
/frameworks/base/libs/common_time/ |
H A D | common_time_server.cpp | 628 char hex[256]; local 631 hexDumpToString(buf, static_cast<size_t>(recvBytes), hex, sizeof(hex)); 635 recvBytes, srcEPStr, hex);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 1100 final String hex = "0123456789ABCDEF"; 1103 ret += hex.charAt((ary[i] >> 4) & 0xf); 1104 ret += hex.charAt(ary[i] & 0xf);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiNative.java | 778 public boolean setWfdDeviceInfo(String hex) { argument 779 return doBooleanCommand("WFD_SUBELEM_SET 0 " + hex); 1047 * P2P_SERVICE_ADD upnp <version hex> <service> 1078 * P2P_SERVICE_DEL upnp <version hex> <service>
|
H A D | WifiStateMachine.java | 2234 * @return a hex string representation of the WPS-NFC configuration token 8452 throw new NumberFormatException("" + ch + " is not a valid hex digit"); 8456 private byte[] parseHex(String hex) { argument 8458 if (hex == null) { 8462 if (hex.length() % 2 != 0) { 8463 throw new NumberFormatException(hex + " is not a valid hex string"); 8466 byte[] result = new byte[(hex.length())/2 + 1]; 8467 result[0] = (byte) ((hex.length())/2); 8468 for (int i = 0, j = 1; i < hex [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserManagerService.java | 1633 final String hex = "0123456789ABCDEF"; 1636 ret += hex.charAt((ary[i] >> 4) & 0xf); 1637 ret += hex.charAt(ary[i] & 0xf);
|
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 53 << ::std::hex << p.format << "]";
|
/frameworks/rs/api/ |
H A D | gen_runtime.cpp | 439 stream << "0x" << std::hex << hash << "l";
|
Completed in 242 milliseconds