Home
last modified time | relevance | path

Searched refs:bytesToHexString (Results 1 – 25 of 167) sorted by relevance

1234567

/aosp_15_r20/cts/tests/tests/content/src/android/content/pm/cts/
H A DChecksumsTest.java294 assertEquals(bytesToHexString(checksums[0].getValue()), TEST_FIXED_APK_V2_SHA256); in testFixedDefaultChecksums()
326 assertEquals(bytesToHexString(checksums[0].getValue()), in testFixedSha512DefaultChecksums()
349 assertEquals(bytesToHexString(checksums[0].getValue()), in testFixedFSVerityDefaultChecksums()
351 assertEquals(bytesToHexString(checksums[1].getValue()), in testFixedFSVerityDefaultChecksums()
354 assertEquals(bytesToHexString(checksums[0].getValue()), in testFixedFSVerityDefaultChecksums()
356 assertEquals(bytesToHexString(checksums[1].getValue()), in testFixedFSVerityDefaultChecksums()
383 assertEquals(bytesToHexString(checksums[0].getValue()), in testFixedFSVerityDefaultChecksumsIncremental()
386 assertEquals(bytesToHexString(checksums[0].getValue()), in testFixedFSVerityDefaultChecksumsIncremental()
448 assertEquals(bytesToHexString(checksums[0].getValue()), in testFixedAllChecksums()
451 assertEquals(bytesToHexString(checksums[1].getValue()), TEST_FIXED_APK_MD5); in testFixedAllChecksums()
[all …]
/aosp_15_r20/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSIMRecords.java110 + " mCphsInfo=" + IccUtils.bytesToHexString(mCphsInfo) in toString()
112 + " efMWIS=" + IccUtils.bytesToHexString(mEfMWIS) in toString()
113 + " efCPHS_MWI=" + IccUtils.bytesToHexString(mEfCPHS_MWI) in toString()
114 + " mEfCff=" + IccUtils.bytesToHexString(mEfCff) in toString()
115 + " mEfCfis=" + IccUtils.bytesToHexString(mEfCfis) in toString()
292 return IccUtils.bytesToHexString(mUsimServiceTable.getUSIMServiceTable()); in getSimServiceTable()
568 + " mEfCfis=" + IccUtils.bytesToHexString(mEfCfis)); in setVoiceCallForwardingFlag()
589 + " invalid mEfCfis=" + IccUtils.bytesToHexString(mEfCfis)); in setVoiceCallForwardingFlag()
692 log("EF_MBI: " + IccUtils.bytesToHexString(data)); in handleMessage()
816 if (DBG) log("EF_MWIS : " + IccUtils.bytesToHexString(data)); in handleMessage()
[all …]
DRuimRecords.java83 + " mEFpl=" + IccUtils.bytesToHexString(mEFpl) in toString()
84 + " mEFli=" + IccUtils.bytesToHexString(mEFli) in toString()
238 if (DBG) log("EF_PL=" + IccUtils.bytesToHexString(mEFpl)); in onRecordLoaded()
266 if (DBG) log("EF_LI=" + IccUtils.bytesToHexString(mEFli)); in onRecordLoaded()
281 IccUtils.bytesToHexString(data)); in onRecordLoaded()
369 if (DBG) log("CSIM_MDN=" + IccUtils.bytesToHexString(data)); in onRecordLoaded()
394 if (DBG) log("data=" + Rlog.pii(LOG_TAG, IccUtils.bytesToHexString(data))); in onRecordLoaded()
511 if (DBG) log("CSIM_EPRL=" + IccUtils.bytesToHexString(data)); in onGetCSimEprlDone()
DIccFileHandler.java409 IccUtils.bytesToHexString(data), pin2, mAid, onComplete); in updateEFLinearFixed()
426 IccUtils.bytesToHexString(data), pin2, mAid, onComplete); in updateEFLinearFixed()
438 IccUtils.bytesToHexString(data), null, mAid, onComplete); in updateEFTransparent()
574 + IccUtils.bytesToHexString(data)); in handleMessage()
DAdnRecordLoader.java238 + "\n" + IccUtils.bytesToHexString(data)); in handleMessage()
266 + "\n" + IccUtils.bytesToHexString(data)); in handleMessage()
DUiccCarrierPrivilegeRules.java405 statusCode = Integer.parseInt(IccUtils.bytesToHexString(bytes), 16); in shouldRetry()
474 mRules += IccUtils.bytesToHexString(response.payload) in handleMessage()
500 + IccUtils.bytesToHexString(response.payload) in handleMessage()
DIsimUiccRecords.java232 mIsimIst = IccUtils.bytesToHexString(data); in onRecordLoaded()
314 Rlog.d(LOG_TAG, "[ISIM] can't find TLV. record = " + IccUtils.bytesToHexString(record)); in isimTlvToString()
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DApduSenderTest.java156 assertEquals("A1A1A19000", IccUtils.bytesToHexString(mSelectResponse)); in testSendEmptyCommands()
188 assertEquals("A1A1A1", IccUtils.bytesToHexString(mResponseCaptor.response)); in testSend()
211 assertEquals("A4", IccUtils.bytesToHexString(mResponseCaptor.response)); in testSendMultiApdus()
241 assertEquals("A3", IccUtils.bytesToHexString(mResponseCaptor.response)); in testSendMultiApdusStopEarly()
261 assertEquals("A1A1A1B2B2B2B2C3C3", IccUtils.bytesToHexString(mResponseCaptor.response)); in testSendLongResponse()
289 assertEquals("C3", IccUtils.bytesToHexString(mResponseCaptor.response)); in testSendStoreDataLongDataLongResponse()
317 assertEquals("B2222B", IccUtils.bytesToHexString(mResponseCaptor.response)); in testSendStoreDataLongDataMod0()
335 assertEquals("B2222B", IccUtils.bytesToHexString(mResponseCaptor.response)); in testSendStoreDataLen0()
463 assertEquals("A1A1A1", IccUtils.bytesToHexString(mResponseCaptor.response)); in testSend_euiccSession_shouldNotCloseChannel()
488 assertEquals("A1A1A1", IccUtils.bytesToHexString(mResponseCaptor.response)); in testSendTwice_euiccSession_shouldOpenChannelOnceNotCloseChannel()
[all …]
/aosp_15_r20/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java208 mCi.sendSMSExpectMore(IccUtils.bytesToHexString(smsc), in sendSms()
209 IccUtils.bytesToHexString(pdu), reply); in sendSms()
211 mCi.sendSMS(IccUtils.bytesToHexString(smsc), in sendSms()
212 IccUtils.bytesToHexString(pdu), reply); in sendSms()
215 mCi.sendImsGsmSms(IccUtils.bytesToHexString(smsc), in sendSms()
216 IccUtils.bytesToHexString(pdu), tracker.mImsRetry, in sendSms()
DUsimDataDownloadHandler.java103 String smsc = IccUtils.bytesToHexString( in handleUsimDataDownload()
107 IccUtils.bytesToHexString(smsMessage.getPdu()), in handleUsimDataDownload()
194 String encodedEnvelope = IccUtils.bytesToHexString(envelope); in handleDataDownload()
292 IccUtils.bytesToHexString(smsAckPdu), null); in sendSmsAckForEnvelopeResponse()
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
DIccUtilsTest.java199 assertEquals("", IccUtils.bytesToHexString(new byte[] {})); in testBytesToHexString()
200 assertEquals("00", IccUtils.bytesToHexString(new byte[] {0})); in testBytesToHexString()
203 IccUtils.bytesToHexString(new byte[] {-1, 0x12, -2, 0x34, -3, 0x56, -4, 0x78})); in testBytesToHexString()
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccPortTest.java565 assertEquals("BF2003010203", IccUtils.bytesToHexString(resultCaptor.result)); in testGetEuiccInfo1()
577 assertEquals("BF2203010203", IccUtils.bytesToHexString(resultCaptor.result)); in testGetEuiccInfo2()
598 assertEquals("BF3802A000", IccUtils.bytesToHexString(resultCaptor.result)); in testAuthenticateServer()
655 assertEquals("BF3802A000", IccUtils.bytesToHexString(resultCaptor.result)); in testAuthenticateService_devCap()
677 assertEquals("BF2102A000", IccUtils.bytesToHexString(resultCaptor.result)); in testPrepareDownload()
739 assertEquals("BF3700", IccUtils.bytesToHexString(resultCaptor.result)); in testLoadBoundProfilePackage()
953 assertEquals("BF4100", IccUtils.bytesToHexString(resultCaptor.result)); in testCancelSession()
/aosp_15_r20/frameworks/av/media/libmedia/
H A DMediaResource.cpp74 static String8 bytesToHexString(const std::vector<uint8_t> &bytes) { in bytesToHexString() function
87 bytesToHexString(resource.id).c_str(), in toString()
/aosp_15_r20/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
H A DPackageManagerServiceTest.java337 Assert.assertEquals(sha256, bytesToHexString(packageHash.sha256certificate)); in testPerPackageReadTimeouts()
357 Assert.assertEquals(sha256, bytesToHexString(full.sha256certificate)); in testPerPackageReadTimeouts()
377 Assert.assertEquals(sha256, bytesToHexString(singlePackage[0].sha256certificate)); in testGetPerPackageReadTimeouts()
388 Assert.assertEquals(sha256, bytesToHexString(multiPackage[0].sha256certificate)); in testGetPerPackageReadTimeouts()
449 private static String bytesToHexString(byte[] bytes) { in bytesToHexString() method in PackageManagerServiceTest
/aosp_15_r20/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
H A DAsn1Node.java556 return IccUtils.bytesToHexString(toBytes()); in toHex()
561 String headHex = IccUtils.bytesToHexString(IccUtils.unsignedIntToBytes(mTag)); in getHeadAsHex()
567 headHex += IccUtils.bytesToHexString(lenBytes); in getHeadAsHex()
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIsimUiccRecordsTest.java322 String mockSst = IccUtils.bytesToHexString(sst); in testGetSimServiceTable()
354 String mockSst = IccUtils.bytesToHexString(sst); in testGetSsimServiceTableLessTableSize()
374 String mockSst = IccUtils.bytesToHexString(sst); in testGetSsimServiceTableLargeTableSize()
/aosp_15_r20/packages/apps/Dialer/java/com/android/dialer/simulator/service/
DSimulatorService.java202 if (certificate.equals(bytesToHexString(clientCerfificate))) { in isCertificateValid()
209 private static String bytesToHexString(byte[] in) { in bytesToHexString() method in SimulatorService
/aosp_15_r20/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
H A DStatementUtils.kt123 ?.let(StatementUtils::bytesToHexString) in computeNormalizedSha256Fingerprint()
127 private fun bytesToHexString(bytes: ByteArray): String { in bytesToHexString() method
/aosp_15_r20/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/util/
DGsmAlphabetTest.java98 assertThat(IccUtils.bytesToHexString(GsmAlphabet.stringToGsm8BitPacked("Voice Mail"))) in stringToGsm8BitPacked()
99 .isEqualTo(IccUtils.bytesToHexString(unpacked)); in stringToGsm8BitPacked()
/aosp_15_r20/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBinaryXmlPullParser.java117 throw new IOException("Unexpected magic " + bytesToHexString(magic)); in setInput()
721 return bytesToHexString(valueBytes); in getValueString()
918 static String bytesToHexString(byte[] value) { in bytesToHexString() method in BinaryXmlPullParser
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmAlphabetTest.java242 assertEquals(IccUtils.bytesToHexString(unpacked), in testBasic()
243 IccUtils.bytesToHexString( in testBasic()
/aosp_15_r20/tools/tradefederation/core/common_util/com/android/tradefed/util/
DStreamUtil.java429 return bytesToHexString(calculateMd5Digest(inputSource)); in calculateMd5()
471 private static String bytesToHexString(byte[] bytes) { in bytesToHexString() method in StreamUtil
/aosp_15_r20/frameworks/base/telephony/java/android/telephony/
H A DUiccAccessRule.java212 return IccUtils.bytesToHexString(mCertificateHash); in getCertificateHexString()
335 return "cert: " + IccUtils.bytesToHexString(mCertificateHash) + " pkg: " + in toString()
/aosp_15_r20/external/conscrypt/platform/src/main/java/org/conscrypt/
H A DHex.java31 public static String bytesToHexString(byte[] bytes) { in bytesToHexString() method in Hex
/aosp_15_r20/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/
H A DHex.java33 public static String bytesToHexString(byte[] bytes) { in bytesToHexString() method in Hex

1234567