Home
last modified time | relevance | path

Searched refs:miscElt (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsHeader.java183 MiscElt miscElt = (MiscElt) o; in equals()
184 return id == miscElt.id in equals()
185 && Arrays.equals(data, miscElt.data); in equals()
287 MiscElt miscElt = new MiscElt(); in fromByteArray() local
288 miscElt.id = id; in fromByteArray()
289 miscElt.data = new byte[length]; in fromByteArray()
290 inStream.read(miscElt.data, 0, length); in fromByteArray()
291 smsHeader.miscEltList.add(miscElt); in fromByteArray()
362 for (MiscElt miscElt : smsHeader.miscEltList) { in toByteArray()
363 outStream.write(miscElt.id); in toByteArray()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java927 SmsHeader.MiscElt miscElt = new SmsHeader.MiscElt(); in getOddLengthUserDataHeader() local
928 miscElt.id = 0x27; // reserved for future use; ignored on decode in getOddLengthUserDataHeader()
929 miscElt.data = new byte[]{0x12, 0x34}; in getOddLengthUserDataHeader()
930 smsHeader.miscEltList.add(miscElt); in getOddLengthUserDataHeader()