/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/ |
D | Asn1DecoderTest.java | 40 String hex = "e30c5a0a98102100000000000000"; in testNormalOperation() local 41 Asn1Decoder decoder = new Asn1Decoder(hex); in testNormalOperation() 46 assertEquals(hex.length() / 2, decoder.getPosition()); in testNormalOperation() 65 assertEquals(hex.length() / 2, decoder.getPosition()); in testNormalOperation() 71 String hex = "bf370c5a0a98102100000000000000"; in testHighTagNumberForm() local 72 Asn1Decoder decoder = new Asn1Decoder(hex); in testHighTagNumberForm() 88 String hex = "e30c5a0a98102100000000000000e30c5a0a98102100000000000001"; in testNodeList() local 90 Asn1Decoder decoder = new Asn1Decoder(hex); in testNodeList() 95 assertEquals(hex.length() / 4, decoder.getPosition()); in testNodeList() 108 assertEquals(hex.length() / 2, decoder.getPosition()); in testNodeList() [all …]
|
/frameworks/base/core/java/android/service/carrier/ |
D | CarrierIdentifier.java | 105 String hex = IccUtils.bytesToHexString(mccMnc); in CarrierIdentifier() local 106 mMcc = new String(new char[] {hex.charAt(1), hex.charAt(0), hex.charAt(3)}); in CarrierIdentifier() 107 if (hex.charAt(2) == 'F') { in CarrierIdentifier() 108 mMnc = new String(new char[] {hex.charAt(5), hex.charAt(4)}); in CarrierIdentifier() 110 mMnc = new String(new char[] {hex.charAt(5), hex.charAt(4), hex.charAt(2)}); in CarrierIdentifier()
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | InputBufferManager.cpp | 68 << "listener @ 0x" << std::hex << listener.get() in _registerFrameData() 92 << "(listener @ 0x" << std::hex << listener.get() in _registerFrameData() 115 << "listener @ 0x" << std::hex << listener.unsafe_get() in _unregisterFrameData() 138 << std::hex in _unregisterFrameData() 176 << "listener @ 0x" << std::hex << listener.unsafe_get() in _unregisterFrameData() 199 << std::hex in _unregisterFrameData() 234 << "buf @ 0x" << std::hex << buf in _onBufferDestroyed() 235 << ", arg @ 0x" << std::hex << arg in _onBufferDestroyed() 241 << "buf @ 0x" << std::hex << buf in _onBufferDestroyed() 242 << ", arg @ 0x" << std::hex << arg in _onBufferDestroyed() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/ |
D | LogicalChannelMocker.java | 76 String hex = responseObject.toString(); in mockSendToLogicalChannel() 78 int l = hex.length(); in mockSendToLogicalChannel() 79 sw1 = Integer.parseInt(hex.substring(l - 4, l - 2), 16); in mockSendToLogicalChannel() 80 sw2 = Integer.parseInt(hex.substring(l - 2), 16); in mockSendToLogicalChannel() 81 hex = hex.substring(0, l - 4); in mockSendToLogicalChannel() 83 IccIoResult result = isException ? null : new IccIoResult(sw1, sw2, hex); in mockSendToLogicalChannel()
|
/frameworks/minikin/tests/unittest/ |
D | SparseBitSetTest.cpp | 44 ASSERT_FALSE(bitset.get(ch)) << std::hex << ch; in TEST() 47 ASSERT_TRUE(bitset.get(ch)) << std::hex << ch; in TEST() 51 ASSERT_FALSE(bitset.get(ch)) << std::hex << ch; in TEST()
|
D | FontCollectionTest.cpp | 51 << "Glyph for U+" << std::hex << codepoint << " U+" << vs; in expectVSGlyphs() 54 << "Glyph for U+" << std::hex << codepoint << " U+" << vs; in expectVSGlyphs()
|
/frameworks/native/services/vr/bufferhubd/ |
D | buffer_hub.cpp | 86 stream << "0x" << std::hex << std::setfill('0'); in DumpState() 90 stream << "0x" << std::hex << std::setfill('0'); in DumpState() 120 stream << "0x" << std::hex << std::setfill('0'); in DumpState() 126 stream << std::hex << std::setfill(' '); in DumpState() 157 stream << std::hex << std::setfill('0'); in DumpState() 160 stream << std::hex << std::setfill('0'); in DumpState() 163 stream << std::hex << std::setfill('0'); in DumpState() 166 stream << std::hex << std::setfill('0'); in DumpState() 168 stream << std::hex << std::setfill('0'); in DumpState()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | TelephonyUtil.java | 368 private static byte[] parseHex(String hex) { in parseHex() argument 370 if (hex == null) { in parseHex() 374 if (hex.length() % 2 != 0) { in parseHex() 375 throw new NumberFormatException(hex + " is not a valid hex string"); in parseHex() 378 byte[] result = new byte[(hex.length()) / 2 + 1]; in parseHex() 379 result[0] = (byte) ((hex.length()) / 2); in parseHex() 380 for (int i = 0, j = 1; i < hex.length(); i += 2, j++) { in parseHex() 381 int val = parseHex(hex.charAt(i)) * 16 + parseHex(hex.charAt(i + 1)); in parseHex() 389 private static byte[] parseHexWithoutLength(String hex) { in parseHexWithoutLength() argument 390 byte[] tmpRes = parseHex(hex); in parseHexWithoutLength()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ServiceProviderVerifierTest.java | 227 private byte[] hexToBytes(String hex) { in hexToBytes() argument 228 byte[] output = new byte[hex.length() / 2]; in hexToBytes() 229 for (int i = 0, j = 0; i + 1 < hex.length(); i += 2, j++) { in hexToBytes() 230 output[j] = (byte) (charToByte(hex.charAt(i)) << 4 | charToByte(hex.charAt(i + 1))); in hexToBytes()
|
/frameworks/native/cmds/dumpstate/ |
D | utils.cpp | 910 struct hex { in dump_emmc_ecsd() struct 913 static const size_t EXT_CSD_REV = 192 * sizeof(hex); in dump_emmc_ecsd() 914 static const size_t EXT_PRE_EOL_INFO = 267 * sizeof(hex); in dump_emmc_ecsd() 915 static const size_t EXT_DEVICE_LIFE_TIME_EST_TYP_A = 268 * sizeof(hex); in dump_emmc_ecsd() 916 static const size_t EXT_DEVICE_LIFE_TIME_EST_TYP_B = 269 * sizeof(hex); in dump_emmc_ecsd() 925 if (buffer.length() < (EXT_CSD_REV + sizeof(hex))) { in dump_emmc_ecsd() 931 std::string sub = buffer.substr(EXT_CSD_REV, sizeof(hex)); in dump_emmc_ecsd() 948 if (buffer.length() < (EXT_PRE_EOL_INFO + sizeof(hex))) { in dump_emmc_ecsd() 954 sub = buffer.substr(EXT_PRE_EOL_INFO, sizeof(hex)); in dump_emmc_ecsd() 973 lifetime += sizeof(hex)) { in dump_emmc_ecsd() [all …]
|
/frameworks/minikin/tests/stresstest/ |
D | FontFamilyTest.cpp | 61 << "Inconsistent Result: " << fontPath << "#" << ttcIndex << ": U+" << std::hex in TEST_P() 62 << codePoint << " U+" << std::hex << vs in TEST_P()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pServiceResponse.java | 270 private static byte[] hexStr2Bin(String hex) { in hexStr2Bin() argument 271 int sz = hex.length()/2; in hexStr2Bin() 272 byte[] b = new byte[hex.length()/2]; in hexStr2Bin() 276 b[i] = (byte)Integer.parseInt(hex.substring(i*2, i*2+2), 16); in hexStr2Bin()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
D | Asn1Decoder.java | 35 public Asn1Decoder(String hex) { in Asn1Decoder() argument 36 this(IccUtils.hexStringToBytes(hex)); in Asn1Decoder()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Diff.cpp | 185 str_stream << "0x" << std::hex << entry_b->id.value(); in EmitResourceTypeDiff() 191 str_stream << "0x " << std::hex << entry_a->id.value(); in EmitResourceTypeDiff() 251 str_stream << "0x" << std::hex << type_b->id.value(); in EmitResourcePackageDiff() 257 str_stream << "0x " << std::hex << type_a->id.value(); in EmitResourcePackageDiff() 299 str_stream << "0x" << std::hex << pkg_b->id.value(); in EmitResourceTableDiff() 305 str_stream << "0x" << std::hex << pkg_a->id.value(); in EmitResourceTableDiff()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/ |
D | utils.js | 646 jspb.utils.hexStringToHash64 = function(hex) { argument 647 hex = hex.toLowerCase(); 648 goog.asserts.assert(hex.length == 18); 649 goog.asserts.assert(hex[0] == '0'); 650 goog.asserts.assert(hex[1] == 'x'); 654 var hi = jspb.utils.DIGITS.indexOf(hex[i * 2 + 2]); 655 var lo = jspb.utils.DIGITS.indexOf(hex[i * 2 + 3]);
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/ |
D | int128_unittest.cc | 461 {uint128(0), std::ios::hex, 0, '_', "0"}, in TEST() 465 {uint128(0, -1), std::ios::hex, 0, '_', "ffffffffffffffff"}, in TEST() 468 {uint128(1, 0), std::ios::hex, 0, '_', "10000000000000000"}, in TEST() 474 {uint128(GOOGLE_ULONGLONG(0x8000000000000000), 0), std::ios::hex, 0, '_', in TEST() 481 {uint128(-1, -1), std::ios::hex, 0, '_', in TEST() 484 {uint128(-1, -1), std::ios::hex | std::ios::uppercase, 0, '_', in TEST() 489 {uint128(1), std::ios::hex | std::ios::showbase, 0, '_', "0x1"}, in TEST() 493 {uint128(0), std::ios::hex | std::ios::showbase, 0, '_', "0"}, in TEST()
|
/frameworks/native/libs/ui/tools/ |
D | lutgen.cpp | 175 outputStream << "0x" << setfill('0') << setw(4) << hex << r << ", "; in main() 176 outputStream << "0x" << setfill('0') << setw(4) << hex << g << ", "; in main() 177 outputStream << "0x" << setfill('0') << setw(4) << hex << b << ", "; in main()
|
/frameworks/base/tools/aapt2/compile/ |
D | IdAssigner_test.cpp | 142 << "package " << package->name << " has non-unique ID " << std::hex in VerifyIds() 159 << " has non-unique ID " << std::hex << (int)type->id.value() in VerifyIds() 177 << std::hex << (int)entry->id.value() << std::dec; in VerifyIds()
|
/frameworks/native/libs/nativewindow/tests/ |
D | AHardwareBufferTest.cpp | 32 ss << type << " 0x" << std::hex << actual in BuildHexFailureMessage() 33 << " does not match expected " << type << " 0x" << std::hex in BuildHexFailureMessage()
|
/frameworks/opt/gamesdk/samples/device_info_exe/ |
D | main.cpp | 29 std::cout << std::hex; in main()
|
/frameworks/native/cmds/lshal/ |
D | utils.cpp | 24 os << std::hex << std::setfill('0') << std::setw(16) << t; in toHexString()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/protos/ |
D | DeviceFiles.proto | 45 // A raw (not hex-encoded) SHA256, taken over the bytes of 'file'.
|
/frameworks/compile/mclinker/lib/LD/ |
D | Relocator.cpp | 65 ss << "0x" << std::hex << undef_sym_pos; in issueUndefRef()
|
/frameworks/native/services/sensorservice/ |
D | SensorRegistrationInfo.h | 70 << " 0x" << std::hex << std::setw(8) << mSensorHandle << std::dec in dump()
|
/frameworks/av/services/oboeservice/ |
D | AAudioStreamTracker.cpp | 124 result << " 0x" << std::setfill('0') << std::setw(8) << std::hex << handle in dump()
|