/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmAlphabetTest.java | 19 import com.android.internal.telephony.GsmAlphabet; 42 byte[] userData = GsmAlphabet.stringToGsm7BitPackedWithHeader(message, 44 int septetCount = GsmAlphabet.countGsmSeptetsUsingTables(message, true, 0, 0); 45 String parsedMessage = GsmAlphabet.gsm7BitPackedToString( 55 assertEquals(0, GsmAlphabet.charToGsm('@')); 58 assertEquals(0x7f, GsmAlphabet.charToGsm('\u00e0')); 62 // They should all return GsmAlphabet.GSM_EXTENDED_ESCAPE 66 assertEquals(GsmAlphabet.GSM_EXTENDED_ESCAPE, 67 GsmAlphabet.charToGsm(sGsmExtendedChars.charAt(i))); 72 assertEquals(GsmAlphabet.GSM_EXTENDED_ESCAPE [all...] |
GsmSmsTest.java | 246 GsmAlphabet.TextEncodingDetails ted = SmsMessage.calculateLength(text, false); 281 int[] oldTables = GsmAlphabet.getEnabledSingleShiftTables(); 283 GsmAlphabet.setEnabledSingleShiftTables(turkishTable); 288 GsmAlphabet.TextEncodingDetails ted = SmsMessage.calculateLength(text, false); 337 GsmAlphabet.setEnabledSingleShiftTables(oldTables); 374 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0); 375 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, language, 0); 451 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, 453 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, 0, language); 513 if (c == GsmAlphabet.GSM_EXTENDED_ESCAPE) [all...] |
SmsMessageBodyTest.java | 496 int[] origLockingShiftTables = GsmAlphabet.getEnabledLockingShiftTables(); 497 int[] origSingleShiftTables = GsmAlphabet.getEnabledSingleShiftTables(); 526 GsmAlphabet.setEnabledSingleShiftTables(sEnabledSingleShiftTables[j]); 527 GsmAlphabet.setEnabledLockingShiftTables(sEnabledLockingShiftTables[j]); 547 GsmAlphabet.setEnabledLockingShiftTables(origLockingShiftTables); 548 GsmAlphabet.setEnabledSingleShiftTables(origSingleShiftTables); 570 GsmAlphabet.TextEncodingDetails ted = 592 GsmAlphabet.TextEncodingDetails ted =
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmSmsAddress.java | 21 import com.android.internal.telephony.GsmAlphabet; 61 address = GsmAlphabet.gsm7BitPackedToString(origBytes,
|
GsmSmsCbMessage.java | 23 import com.android.internal.telephony.GsmAlphabet; 242 body = GsmAlphabet.gsm7BitPackedToString(pdu, offset, length * 8 / 7); 256 language = GsmAlphabet.gsm7BitPackedToString(pdu, offset, 2);
|
SmsMessage.java | 26 import com.android.internal.telephony.GsmAlphabet; 27 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails; 285 userData = GsmAlphabet.stringToGsm7BitPackedWithHeader(message, header, 707 ret = GsmAlphabet.gsm7BitPackedToString(mPdu, mCur, septetCount, 725 ret = GsmAlphabet.gsm8BitUnpackedToString(mPdu, mCur, byteCount); 797 TextEncodingDetails ted = GsmAlphabet.countGsmSeptets(newMsgBody, use7bitOnly); [all...] |
GsmSMSDispatcher.java | 31 import com.android.internal.telephony.GsmAlphabet; 211 protected GsmAlphabet.TextEncodingDetails calculateLength(CharSequence messageBody,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ResponseData.java | 20 import com.android.internal.telephony.GsmAlphabet; 122 byte[] tempData = GsmAlphabet 130 data = GsmAlphabet.stringToGsm8BitPacked(mInData); 183 data = GsmAlphabet.stringToGsm8BitPacked(mLang);
|
ValueParser.java | 19 import com.android.internal.telephony.GsmAlphabet; 338 text = GsmAlphabet.gsm7BitPackedToString(rawValue, 341 text = GsmAlphabet.gsm8BitUnpackedToString(rawValue,
|
/frameworks/opt/telephony/src/java/android/telephony/ |
SmsMessage.java | 24 import com.android.internal.telephony.GsmAlphabet; 25 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails; 338 udhLength = GsmAlphabet.UDH_SEPTET_COST_TWO_SHIFT_TABLES; 340 udhLength = GsmAlphabet.UDH_SEPTET_COST_ONE_SHIFT_TABLE; 346 udhLength += GsmAlphabet.UDH_SEPTET_COST_CONCATENATED_MESSAGE; 350 udhLength += GsmAlphabet.UDH_SEPTET_COST_LENGTH; 390 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit,
|
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/ |
DialogSmsDisplayTests.java | 29 import com.android.internal.telephony.GsmAlphabet; 99 encodedString = GsmAlphabet.stringToGsm7BitPacked(message);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
IccUtils.java | 25 import com.android.internal.telephony.GsmAlphabet; 245 ret.append(GsmAlphabet.gsm8BitUnpackedToString(data, 263 return GsmAlphabet.gsm8BitUnpackedToString(data, offset, length, defaultCharset.trim()); 352 ret = GsmAlphabet.gsm7BitPackedToString(data, offset + 1, countSeptets);
|
Sms7BitEncodingTranslator.java | 155 return GsmAlphabet.isGsmSeptets(c) && UserData.charToAscii.get(c, -1) != -1; 158 return GsmAlphabet.isGsmSeptets(c);
|
SmsMessageBase.java | 19 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
|
ImsSMSDispatcher.java | 351 protected GsmAlphabet.TextEncodingDetails calculateLength(
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
IccUtils.java | 25 import com.android.internal.telephony.GsmAlphabet; 245 ret.append(GsmAlphabet.gsm8BitUnpackedToString(data, 263 return GsmAlphabet.gsm8BitUnpackedToString(data, offset, length, defaultCharset.trim()); 352 ret = GsmAlphabet.gsm7BitPackedToString(data, offset + 1, countSeptets);
|
AdnRecord.java | 25 import com.android.internal.telephony.GsmAlphabet; 247 byteTag = GsmAlphabet.stringToGsm8BitPacked(mAlphaTag);
|
RuimRecords.java | 37 import com.android.internal.telephony.GsmAlphabet; 315 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes*8)/7)); 330 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes * 8) / 7)); [all...] |
/frameworks/opt/telephony/src/java/android/telephony/gsm/ |
SmsMessage.java | 21 import com.android.internal.telephony.GsmAlphabet; 198 GsmAlphabet.TextEncodingDetails ted =
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaSMSDispatcher.java | 32 import com.android.internal.telephony.GsmAlphabet; 180 protected GsmAlphabet.TextEncodingDetails calculateLength(CharSequence messageBody,
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
GsmAlphabet.java | 40 public class GsmAlphabet { 43 private GsmAlphabet() { } 834 int septets = GsmAlphabet.countGsmSeptetsUsingTables(s, use7bitOnly, 0, 0); [all...] |
/frameworks/base/location/java/com/android/internal/location/ |
GpsNetInitiatedHandler.java | 40 import com.android.internal.telephony.GsmAlphabet; 484 decoded = GsmAlphabet.gsm7BitPackedToString(input, 0, lengthSeptets);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
AtPhonebook.java | 20 import com.android.internal.telephony.GsmAlphabet; 569 byte[] nameByte = GsmAlphabet.stringToGsm8BitPacked(name);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapSmsPdu.java | 38 /*import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails; 484 GsmAlphabet.TextEncodingDetails ted = (PHONE_TYPE_CDMA == activePhone) ? 725 messageBody = GsmAlphabet.gsm7BitPackedToString(pdu.getData(), pdu.getUserDataMsgOffset(), [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
BearerData.java | 26 import com.android.internal.telephony.GsmAlphabet; 27 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails; 543 * TODO(cleanup): It would be nice if GsmAlphabet provided 558 byte[] fullData = GsmAlphabet.stringToGsm7BitPacked(msg, septetOffset, !force, 0, 0); [all...] |