Home
last modified time | relevance | path

Searched refs:hex (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
DAsn1DecoderTest.java40 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/av/media/codec2/hidl/1.0/utils/
DInputBufferManager.cpp68 << "listener @ 0x" << std::hex << listener.get() in _registerFrameData()
93 << "(listener @ 0x" << std::hex << listener.get() in _registerFrameData()
116 << "listener @ 0x" << std::hex << listener.unsafe_get() in _unregisterFrameData()
138 << std::hex in _unregisterFrameData()
178 << "listener @ 0x" << std::hex << listener.unsafe_get() in _unregisterFrameData()
200 << std::hex in _unregisterFrameData()
237 << "buf @ 0x" << std::hex << buf in _onBufferDestroyed()
238 << ", arg @ 0x" << std::hex << arg in _onBufferDestroyed()
249 << "buf @ 0x" << std::hex << buf in _onBufferDestroyed()
250 << ", arg @ 0x" << std::hex << arg in _onBufferDestroyed()
[all …]
/frameworks/base/telephony/java/android/service/carrier/
DCarrierIdentifier.java105 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DLogicalChannelMocker.java76 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/native/services/vr/bufferhubd/
Dbuffer_hub.cpp86 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/minikin/tests/unittest/
DSparseBitSetTest.cpp46 ASSERT_FALSE(bitset.get(ch)) << std::hex << ch; in TEST()
49 ASSERT_TRUE(bitset.get(ch)) << std::hex << ch; in TEST()
53 ASSERT_FALSE(bitset.get(ch)) << std::hex << ch; in TEST()
/frameworks/minikin/tests/stresstest/
DFontFamilyTest.cpp61 << "Inconsistent Result: " << fontPath << "#" << ttcIndex << ": U+" << std::hex in TEST_P()
62 << codePoint << " U+" << std::hex << vs in TEST_P()
/frameworks/base/services/core/java/com/android/server/vcn/util/
DPersistableBundleUtils.java197 String hex = bundle.getString(BYTE_ARRAY_KEY); in toByteArray() local
198 if (hex == null || hex.length() % 2 != 0) { in toByteArray()
202 return HexDump.hexStringToByteArray(hex); in toByteArray()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DAsn1Decoder.java35 public Asn1Decoder(String hex) { in Asn1Decoder() argument
36 this(IccUtils.hexStringToBytes(hex)); in Asn1Decoder()
DAsn1Node.java147 public Builder addChildAsBytesFromHex(int tag, String hex) { in addChildAsBytesFromHex() argument
148 return addChildAsBytes(tag, IccUtils.hexStringToBytes(hex)); in addChildAsBytesFromHex()
/frameworks/base/tools/aapt2/cmd/
DDiff.cpp209 str_stream << "0x" << std::hex << entry_b.id.value(); in EmitResourceTypeDiff()
215 str_stream << "0x " << std::hex << entry_a.id.value(); in EmitResourceTypeDiff()
279 str_stream << "0x" << std::hex << type_b.id.value(); in EmitResourcePackageDiff()
285 str_stream << "0x " << std::hex << type_a.id.value(); in EmitResourcePackageDiff()
332 str_stream << "0x" << std::hex << package_b.id.value(); in EmitResourceTableDiff()
338 str_stream << "0x" << std::hex << package_b.id.value(); in EmitResourceTableDiff()
/frameworks/native/libs/ui/tools/
Dlutgen.cpp175 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/native/libs/input/tests/
DIdGenerator_test.cpp43 << std::hex << "Generator generated a value with wrong source. Value: 0x" << id in TEST_P()
/frameworks/native/libs/nativewindow/tests/
DAHardwareBufferTest.cpp32 ss << type << " 0x" << std::hex << actual in BuildHexFailureMessage()
33 << " does not match expected " << type << " 0x" << std::hex in BuildHexFailureMessage()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DAndroidPackageInfoFlagBehaviorTest.kt69 val hex = Integer.toHexString(flag) in <lambda>() constant
71 return "$logTag $hex | 1 shl $fromRight" in <lambda>()
/frameworks/base/tools/aapt2/compile/
DIdAssigner.cpp245 error << "type '" << name.type << "' already has ID " << std::hex << (int)type_id_; in ReserveId()
273 << " because package already has ID " << std::hex in ReserveId()
297 << " because type already has ID " << std::hex in ReserveId()
/frameworks/native/cmds/lshal/
Dutils.cpp24 os << std::hex << std::setfill('0') << std::setw(16) << t; in toHexString()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/protos/
DDeviceFiles.proto45 // A raw (not hex-encoded) SHA256, taken over the bytes of 'file'.
/frameworks/libs/net/client-libs/netd/com/android/net/module/util/
DBaseNetdUnsolicitedEventListener.java64 public void onStrictCleartextDetected(int uid, @NonNull String hex) { } in onStrictCleartextDetected() argument
/frameworks/av/services/oboeservice/
DAAudioStreamTracker.cpp111 result << " 0x" << std::setfill('0') << std::setw(8) << std::hex << handle in dump()
/frameworks/compile/mclinker/lib/LD/
DRelocator.cpp65 ss << "0x" << std::hex << undef_sym_pos; in issueUndefRef()
/frameworks/av/media/libaudiofoundation/
DAudioContainers.cpp95 ss << "0x" << std::hex << (*it); in dumpDeviceTypes()
/frameworks/av/services/mediametrics/
DStringUtils.h157 ss << std::hex << std::setfill('0');
/frameworks/native/services/sensorservice/
DSensorRegistrationInfo.h75 << " 0x" << std::hex << std::setw(8) << mSensorHandle << std::dec in dump()
/frameworks/av/media/codec2/sfplugin/tests/
DReflectedParamUpdater_test.cpp285 AString hex; in TEST_F() local
286 hexdump(CastParam<C2CompositeInfo>(params[0])->m.blob, 8, 0, &hex); in TEST_F()
287 printf("%s\n", hex.c_str()); in TEST_F()

123