Home
last modified time | relevance | path

Searched refs:GsmAlphabet (Results 1 – 25 of 29) 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.java267 GsmAlphabet.TextEncodingDetails ted = SmsMessage.calculateLength(text, false); in testFragmentText()
302 int[] oldTables = GsmAlphabet.getEnabledSingleShiftTables(); in testFragmentTurkishText()
304 GsmAlphabet.setEnabledSingleShiftTables(turkishTable); in testFragmentTurkishText()
309 GsmAlphabet.TextEncodingDetails ted = SmsMessage.calculateLength(text, false); in testFragmentTurkishText()
358 GsmAlphabet.setEnabledSingleShiftTables(oldTables); in testFragmentTurkishText()
395 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0); in decodeSingle()
396 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, language, 0); in decodeSingle()
472 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, in testDecodeExtended()
474 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, 0, language); in testDecodeExtended()
534 if (c == GsmAlphabet.GSM_EXTENDED_ESCAPE) { in testDecodeExtendedFallback()
[all …]
DSmsMessageBodyTest.java566 GsmAlphabet.TextEncodingDetails ted = in callGsmLengthMethods()
588 GsmAlphabet.TextEncodingDetails ted = in callCdmaLengthMethods()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DResponseData.java24 import com.android.internal.telephony.GsmAlphabet;
127 byte[] tempData = GsmAlphabet in format()
136 data = GsmAlphabet.stringToGsm8BitPacked(mInData); in format()
201 data = GsmAlphabet.stringToGsm8BitPacked(mLang); in format()
DValueParser.java21 import com.android.internal.telephony.GsmAlphabet;
335 text = GsmAlphabet.gsm7BitPackedToString(rawValue, in retrieveTextString()
338 text = GsmAlphabet.gsm8BitUnpackedToString(rawValue, in retrieveTextString()
DCommandParamsFactory.java33 import com.android.internal.telephony.GsmAlphabet;
813 url = GsmAlphabet.gsm8BitUnpackedToString(rawValue, in processLaunchBrowser()
1053 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;
64 address = GsmAlphabet.gsm7BitPackedToString(origBytes, in GsmSmsAddress()
DSmsMessage.java34 import com.android.internal.telephony.GsmAlphabet;
35 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
392 userData = GsmAlphabet.stringToGsm7BitPackedWithHeader(message, header, in getSubmitPdu()
717 userData = GsmAlphabet.stringToGsm7BitPackedWithHeader(message, header, in getDeliverPdu()
1022 ret = GsmAlphabet.gsm7BitPackedToString(mPdu, mCur, septetCount, in getUserDataGSM7Bit()
1040 ret = GsmAlphabet.gsm8BitUnpackedToString(mPdu, mCur, byteCount); in getUserDataGSM8bit()
1114 TextEncodingDetails ted = GsmAlphabet.countGsmSeptets(newMsgBody, use7bitOnly); in calculateLength()
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java34 import com.android.internal.telephony.GsmAlphabet;
35 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
463 udhLength = GsmAlphabet.UDH_SEPTET_COST_TWO_SHIFT_TABLES; in fragmentText()
465 udhLength = GsmAlphabet.UDH_SEPTET_COST_ONE_SHIFT_TABLE; in fragmentText()
471 udhLength += GsmAlphabet.UDH_SEPTET_COST_CONCATENATED_MESSAGE; in fragmentText()
475 udhLength += GsmAlphabet.UDH_SEPTET_COST_LENGTH; in fragmentText()
516 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSms7BitEncodingTranslator.java151 return GsmAlphabet.isGsmSeptets(c) && UserData.charToAscii.get(c, -1) != -1; in noTranslationNeeded()
154 return GsmAlphabet.isGsmSeptets(c); in noTranslationNeeded()
DSmsMessageBase.java25 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
DIccUtils.java26 import com.android.internal.telephony.GsmAlphabet;
367 ret.append(GsmAlphabet.gsm8BitUnpackedToString(data, in adnStringFieldToString()
385 return GsmAlphabet.gsm8BitUnpackedToString(data, offset, length, defaultCharset.trim()); in adnStringFieldToString()
478 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;
262 byteTag = !TextUtils.isEmpty(mAlphaTag) ? GsmAlphabet.stringToGsm8BitPacked(mAlphaTag) in buildAdnString()
DRuimRecords.java31 import com.android.internal.telephony.GsmAlphabet;
318 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes*8)/7)); in onRecordLoaded()
333 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/telephony/common/com/android/internal/telephony/
DGsmAlphabet.java40 public class GsmAlphabet { class
43 private GsmAlphabet() { } in GsmAlphabet() method in GsmAlphabet
859 int septets = GsmAlphabet.countGsmSeptetsUsingTables(s, use7bitOnly, 0, 0);
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java38 import com.android.internal.telephony.GsmAlphabet;
498 decoded = GsmAlphabet.gsm7BitPackedToString(input, 0, lengthSeptets); in decodeGSMPackedString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DSMSDispatcherUtil.java21 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java27 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java28 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;
238 byte[] encodedBody = GsmAlphabet.stringToGsm7BitPacked(body); in encodeBody()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java25 import com.android.internal.telephony.GsmAlphabet;
26 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
624 byte[] fullData = GsmAlphabet.stringToGsm7BitPacked(msg, septetOffset, !force, 0, 0); in encode7bitGsm()
1217 String result = GsmAlphabet.gsm7BitPackedToString(data, offset, numFields, paddingBits, in decode7bitGsm()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSmsDispatcher.java40 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
/frameworks/base/config/
Ddirty-image-objects274 com.android.internal.telephony.GsmAlphabet
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java29 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;

12