Home
last modified time | relevance | path

Searched refs:GsmAlphabet (Results 1 – 25 of 30) 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.java250 GsmAlphabet.TextEncodingDetails ted = SmsMessage.calculateLength(text, false); in testFragmentText()
285 int[] oldTables = GsmAlphabet.getEnabledSingleShiftTables(); in testFragmentTurkishText()
287 GsmAlphabet.setEnabledSingleShiftTables(turkishTable); in testFragmentTurkishText()
292 GsmAlphabet.TextEncodingDetails ted = SmsMessage.calculateLength(text, false); in testFragmentTurkishText()
341 GsmAlphabet.setEnabledSingleShiftTables(oldTables); in testFragmentTurkishText()
378 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0); in decodeSingle()
379 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, language, 0); in decodeSingle()
455 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, in testDecodeExtended()
457 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, 0, language); in testDecodeExtended()
517 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.java24 import com.android.internal.telephony.GsmAlphabet;
839 url = GsmAlphabet.gsm8BitUnpackedToString(rawValue, in processLaunchBrowser()
1079 desiredLanguage = GsmAlphabet.gsm8BitUnpackedToString(rawValue, valueIndex, 2); in processLanguageNotification()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmSmsAddress.java22 import com.android.internal.telephony.GsmAlphabet;
62 address = GsmAlphabet.gsm7BitPackedToString(origBytes, in GsmSmsAddress()
DGsmSmsCbMessage.java32 import com.android.internal.telephony.GsmAlphabet;
269 body = GsmAlphabet.gsm7BitPackedToString(pdu, offset, length * 8 / 7); in unpackBody()
283 language = GsmAlphabet.gsm7BitPackedToString(pdu, offset, 2); in unpackBody()
DSmsMessage.java26 import com.android.internal.telephony.GsmAlphabet;
27 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
374 userData = GsmAlphabet.stringToGsm7BitPackedWithHeader(message, header, in getSubmitPdu()
824 ret = GsmAlphabet.gsm7BitPackedToString(mPdu, mCur, septetCount, in getUserDataGSM7Bit()
842 ret = GsmAlphabet.gsm8BitUnpackedToString(mPdu, mCur, byteCount); in getUserDataGSM8bit()
914 TextEncodingDetails ted = GsmAlphabet.countGsmSeptets(newMsgBody, use7bitOnly); in calculateLength()
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java27 import com.android.internal.telephony.GsmAlphabet;
28 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
385 udhLength = GsmAlphabet.UDH_SEPTET_COST_TWO_SHIFT_TABLES; in fragmentText()
387 udhLength = GsmAlphabet.UDH_SEPTET_COST_ONE_SHIFT_TABLE; in fragmentText()
393 udhLength += GsmAlphabet.UDH_SEPTET_COST_CONCATENATED_MESSAGE; in fragmentText()
397 udhLength += GsmAlphabet.UDH_SEPTET_COST_LENGTH; in fragmentText()
437 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText()
/frameworks/base/telephony/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()
DGsmAlphabet.java40 public class GsmAlphabet { class
43 private GsmAlphabet() { } in GsmAlphabet() method in GsmAlphabet
834 int septets = GsmAlphabet.countGsmSeptetsUsingTables(s, use7bitOnly, 0, 0);
DSmsMessageBase.java19 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
DIccUtils.java25 import com.android.internal.telephony.GsmAlphabet;
328 ret.append(GsmAlphabet.gsm8BitUnpackedToString(data, in adnStringFieldToString()
346 return GsmAlphabet.gsm8BitUnpackedToString(data, offset, length, defaultCharset.trim()); in adnStringFieldToString()
435 ret = GsmAlphabet.gsm7BitPackedToString(data, offset + 1, countSeptets); in networkNameToString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecord.java25 import com.android.internal.telephony.GsmAlphabet;
244 byteTag = !TextUtils.isEmpty(mAlphaTag) ? GsmAlphabet.stringToGsm8BitPacked(mAlphaTag) in buildAdnString()
DRuimRecords.java34 import com.android.internal.telephony.GsmAlphabet;
321 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes*8)/7)); in onRecordLoaded()
336 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes * 8) / 7)); in onRecordLoaded()
/frameworks/opt/telephony/src/java/android/telephony/gsm/
DSmsMessage.java21 import com.android.internal.telephony.GsmAlphabet;
198 GsmAlphabet.TextEncodingDetails ted = in calculateLength()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java41 import com.android.internal.telephony.GsmAlphabet;
482 decoded = GsmAlphabet.gsm7BitPackedToString(input, 0, lengthSeptets); in decodeGSMPackedString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java33 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
DSmsMessageConverter.java32 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java26 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSmsDispatcher.java34 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java28 import com.android.internal.telephony.GsmAlphabet;
237 byte[] encodedBody = GsmAlphabet.stringToGsm7BitPacked(body); in encodeBody()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
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()
DSmsMessage.java31 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;

12