Home
last modified time | relevance | path

Searched refs:GsmAlphabet (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmAlphabetTest.java19 import com.android.internal.telephony.GsmAlphabet;
42 byte[] userData = GsmAlphabet.stringToGsm7BitPackedWithHeader(message, in test7bitWithHeader()
44 int septetCount = GsmAlphabet.countGsmSeptetsUsingTables(message, true, 0, 0); in test7bitWithHeader()
45 String parsedMessage = GsmAlphabet.gsm7BitPackedToString( in test7bitWithHeader()
55 assertEquals(0, GsmAlphabet.charToGsm('@')); in testBasic()
58 assertEquals(0x7f, GsmAlphabet.charToGsm('\u00e0')); in testBasic()
66 assertEquals(GsmAlphabet.GSM_EXTENDED_ESCAPE, in testBasic()
67 GsmAlphabet.charToGsm(sGsmExtendedChars.charAt(i))); in testBasic()
72 assertEquals(GsmAlphabet.GSM_EXTENDED_ESCAPE, in testBasic()
73 GsmAlphabet.charToGsm('\u20ac')); in testBasic()
[all …]
DGsmSmsTest.java246 GsmAlphabet.TextEncodingDetails ted = SmsMessage.calculateLength(text, false); in testFragmentText()
281 int[] oldTables = GsmAlphabet.getEnabledSingleShiftTables(); in testFragmentTurkishText()
283 GsmAlphabet.setEnabledSingleShiftTables(turkishTable); in testFragmentTurkishText()
288 GsmAlphabet.TextEncodingDetails ted = SmsMessage.calculateLength(text, false); in testFragmentTurkishText()
337 GsmAlphabet.setEnabledSingleShiftTables(oldTables); in testFragmentTurkishText()
374 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0); in decodeSingle()
375 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, language, 0); in decodeSingle()
451 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, in testDecodeExtended()
453 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, 0, language); in testDecodeExtended()
513 if (c == GsmAlphabet.GSM_EXTENDED_ESCAPE) { in testDecodeExtendedFallback()
[all …]
DSmsMessageBodyTest.java573 GsmAlphabet.TextEncodingDetails ted = in callGsmLengthMethods()
595 GsmAlphabet.TextEncodingDetails ted = in callCdmaLengthMethods()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DResponseData.java20 import com.android.internal.telephony.GsmAlphabet;
120 byte[] tempData = GsmAlphabet in format()
129 data = GsmAlphabet.stringToGsm8BitPacked(mInData); in format()
194 data = GsmAlphabet.stringToGsm8BitPacked(mLang); in format()
DValueParser.java19 import com.android.internal.telephony.GsmAlphabet;
338 text = GsmAlphabet.gsm7BitPackedToString(rawValue, in retrieveTextString()
341 text = GsmAlphabet.gsm8BitUnpackedToString(rawValue, in retrieveTextString()
DCommandParamsFactory.java23 import com.android.internal.telephony.GsmAlphabet;
808 url = GsmAlphabet.gsm8BitUnpackedToString(rawValue, in processLaunchBrowser()
/frameworks/opt/telephony/src/java/android/telephony/
DSmsMessage.java24 import com.android.internal.telephony.GsmAlphabet;
25 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
338 udhLength = GsmAlphabet.UDH_SEPTET_COST_TWO_SHIFT_TABLES; in fragmentText()
340 udhLength = GsmAlphabet.UDH_SEPTET_COST_ONE_SHIFT_TABLE; in fragmentText()
346 udhLength += GsmAlphabet.UDH_SEPTET_COST_CONCATENATED_MESSAGE; in fragmentText()
350 udhLength += GsmAlphabet.UDH_SEPTET_COST_LENGTH; in fragmentText()
390 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSmsAddress.java21 import com.android.internal.telephony.GsmAlphabet;
61 address = GsmAlphabet.gsm7BitPackedToString(origBytes, in GsmSmsAddress()
DGsmSmsCbMessage.java23 import com.android.internal.telephony.GsmAlphabet;
247 body = GsmAlphabet.gsm7BitPackedToString(pdu, offset, length * 8 / 7); in unpackBody()
261 language = GsmAlphabet.gsm7BitPackedToString(pdu, offset, 2); in unpackBody()
DSmsMessage.java26 import com.android.internal.telephony.GsmAlphabet;
27 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
285 userData = GsmAlphabet.stringToGsm7BitPackedWithHeader(message, header, in getSubmitPdu()
707 ret = GsmAlphabet.gsm7BitPackedToString(mPdu, mCur, septetCount, in getUserDataGSM7Bit()
725 ret = GsmAlphabet.gsm8BitUnpackedToString(mPdu, mCur, byteCount); in getUserDataGSM8bit()
797 TextEncodingDetails ted = GsmAlphabet.countGsmSeptets(newMsgBody, use7bitOnly); in calculateLength()
DGsmSMSDispatcher.java32 import com.android.internal.telephony.GsmAlphabet;
213 protected GsmAlphabet.TextEncodingDetails calculateLength(CharSequence messageBody, in calculateLength()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccUtils.java25 import com.android.internal.telephony.GsmAlphabet;
264 ret.append(GsmAlphabet.gsm8BitUnpackedToString(data, in adnStringFieldToString()
282 return GsmAlphabet.gsm8BitUnpackedToString(data, offset, length, defaultCharset.trim()); in adnStringFieldToString()
371 ret = GsmAlphabet.gsm7BitPackedToString(data, offset + 1, countSeptets); in networkNameToString()
DAdnRecord.java25 import com.android.internal.telephony.GsmAlphabet;
259 byteTag = GsmAlphabet.stringToGsm8BitPacked(mAlphaTag); in buildAdnString()
DRuimRecords.java38 import com.android.internal.telephony.GsmAlphabet;
317 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes*8)/7)); in onRecordLoaded()
332 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes * 8) / 7)); in onRecordLoaded()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSms7BitEncodingTranslator.java155 return GsmAlphabet.isGsmSeptets(c) && UserData.charToAscii.get(c, -1) != -1; in noTranslationNeeded()
158 return GsmAlphabet.isGsmSeptets(c); in noTranslationNeeded()
DSmsMessageBase.java19 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
DImsSMSDispatcher.java349 protected GsmAlphabet.TextEncodingDetails calculateLength( in calculateLength()
DSMSDispatcher.java67 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
/frameworks/opt/telephony/src/java/android/telephony/gsm/
DSmsMessage.java21 import com.android.internal.telephony.GsmAlphabet;
198 GsmAlphabet.TextEncodingDetails ted = in calculateLength()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java32 import com.android.internal.telephony.GsmAlphabet;
181 protected GsmAlphabet.TextEncodingDetails calculateLength(CharSequence messageBody, in calculateLength()
DSmsMessage.java31 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
/frameworks/base/telephony/java/com/android/internal/telephony/
DGsmAlphabet.java40 public class GsmAlphabet { class
43 private GsmAlphabet() { } in GsmAlphabet() method in GsmAlphabet
834 int septets = GsmAlphabet.countGsmSeptetsUsingTables(s, use7bitOnly, 0, 0);
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java40 import com.android.internal.telephony.GsmAlphabet;
484 decoded = GsmAlphabet.gsm7BitPackedToString(input, 0, lengthSeptets); in decodeGSMPackedString()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java27 import com.android.internal.telephony.GsmAlphabet;
241 byte[] encodedBody = GsmAlphabet.stringToGsm7BitPacked(body); in encodeBody()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DBearerData.java26 import com.android.internal.telephony.GsmAlphabet;
27 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
558 byte[] fullData = GsmAlphabet.stringToGsm7BitPacked(msg, septetOffset, !force, 0, 0); in encode7bitGsm()
1096 String result = GsmAlphabet.gsm7BitPackedToString(data, offset, numFields, paddingBits, in decode7bitGsm()

12