/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/telephony/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/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/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | TelephonyUtil.java | 369 private static byte[] parseHex(String hex) { in parseHex() argument 371 if (hex == null) { in parseHex() 375 if (hex.length() % 2 != 0) { in parseHex() 376 throw new NumberFormatException(hex + " is not a valid hex string"); in parseHex() 379 byte[] result = new byte[(hex.length()) / 2 + 1]; in parseHex() 380 result[0] = (byte) ((hex.length()) / 2); in parseHex() 381 for (int i = 0, j = 1; i < hex.length(); i += 2, j++) { in parseHex() 382 int val = parseHex(hex.charAt(i)) * 16 + parseHex(hex.charAt(i + 1)); in parseHex() 390 private static byte[] parseHexWithoutLength(String hex) { in parseHexWithoutLength() argument 391 byte[] tmpRes = parseHex(hex); in parseHexWithoutLength()
|
/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/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/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/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/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 | 33 ss << type << " 0x" << std::hex << actual in BuildHexFailureMessage() 34 << " does not match expected " << type << " 0x" << std::hex in BuildHexFailureMessage()
|
/frameworks/native/cmds/lshal/ |
D | utils.cpp | 24 os << std::hex << std::setfill('0') << std::setw(16) << t; in toHexString()
|
/frameworks/base/packages/Tethering/src/android/net/util/ |
D | BaseNetdUnsolicitedEventListener.java | 64 public void onStrictCleartextDetected(int uid, @NonNull String hex) { } in onStrictCleartextDetected() argument
|
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceCallbackTest.java | 655 private static byte[] hexStr2Bin(String hex) { in hexStr2Bin() argument 656 int sz = hex.length() / 2; in hexStr2Bin() 657 byte[] b = new byte[hex.length() / 2]; in hexStr2Bin() 660 b[i] = (byte) Integer.parseInt(hex.substring(i * 2, i * 2 + 2), 16); in hexStr2Bin()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiInfo.java | 319 String hex = mWifiSsid.getHexString(); in getSSID() local 320 return (hex != null) ? hex : WifiSsid.NONE; in getSSID()
|
/frameworks/native/services/sensorservice/ |
D | SensorRegistrationInfo.h | 70 << " 0x" << std::hex << std::setw(8) << mSensorHandle << std::dec in dump()
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioContainers.cpp | 95 ss << "0x" << std::hex << (*it); in dumpDeviceTypes()
|
/frameworks/compile/mclinker/lib/LD/ |
D | Relocator.cpp | 65 ss << "0x" << std::hex << undef_sym_pos; in issueUndefRef()
|
/frameworks/av/services/oboeservice/ |
D | AAudioStreamTracker.cpp | 124 result << " 0x" << std::setfill('0') << std::setw(8) << std::hex << handle in dump()
|