Home
last modified time | relevance | path

Searched refs:fromByteArray (Results 1 – 10 of 10) sorted by relevance

/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DSmsHeaderTest.java90 SmsHeader convertedSmsHeader = SmsHeader.fromByteArray(SmsHeader.toByteArray(mSmsHeader)); in testConvertToByteArray()
104 SmsHeader convertedSmsHeader = SmsHeader.fromByteArray(SmsHeader.toByteArray(mSmsHeader)); in testConvertToByteArray16bits()
118 SmsHeader convertedSmsHeader = SmsHeader.fromByteArray(SmsHeader.toByteArray(mSmsHeader)); in testConvertToByteArrayLanguageTable()
125 SmsHeader convertedSmsHeader = SmsHeader.fromByteArray(SmsHeader.toByteArray(mSmsHeader)); in testHashCode()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessenger.java73 snepResponse = SnepMessage.fromByteArray(responseBytes); in sendMessage()
95 snepResponse = SnepMessage.fromByteArray(responseBytes); in sendMessage()
118 snepResponse = SnepMessage.fromByteArray(responseBytes); in sendMessage()
273 return SnepMessage.fromByteArray(buffer.toByteArray()); in getMessage()
DSnepMessage.java91 public static SnepMessage fromByteArray(byte[] data) throws FormatException { in fromByteArray() method in SnepMessage
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java824 result.putPersistableBundle(PSK_KEY, PersistableBundleUtils.fromByteArray(mPsk)); in toPersistableBundle()
915 PersistableBundleUtils.fromByteArray( in toPersistableBundle()
1035 END_CERT_KEY, PersistableBundleUtils.fromByteArray(mEndCert.getEncoded())); in toPersistableBundle()
1043 encodedCertList, PersistableBundleUtils::fromByteArray); in toPersistableBundle()
1052 PersistableBundleUtils.fromByteArray(mPrivateKey.getEncoded())); in toPersistableBundle()
DIkeKeyIdIdentification.java73 result.putPersistableBundle(KEY_ID_KEY, PersistableBundleUtils.fromByteArray(keyId)); in toPersistableBundle()
DIkeDerAsn1DnIdentification.java95 DER_ASN1_DN_KEY, PersistableBundleUtils.fromByteArray(derAsn1Dn.getEncoded())); in toPersistableBundle()
/packages/modules/IPsec/src/java/android/net/eap/
DEapSessionConfig.java118 result.putPersistableBundle(EAP_ID_KEY, PersistableBundleUtils.fromByteArray(mEapIdentity)); in toPersistableBundle()
895 PersistableBundleUtils.fromByteArray( in toPersistableBundle()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DSmsHeader.java219 public static SmsHeader fromByteArray(byte[] data) { in fromByteArray() method in SmsHeader
DBearerData.java367 userData.userDataHeader = SmsHeader.fromByteArray(headerData); in decodeUserDataPayload()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeConfigPayload.java241 PersistableBundleUtils.fromByteArray(buffer.array())); in toPersistableBundle()