/packages/apps/Messaging/src/com/android/messaging/sms/ |
SmsException.java | 17 package com.android.messaging.sms; 20 * A generic Exception for errors in sending SMS
|
SystemProperties.java | 16 package com.android.messaging.sms;
|
MmsFailureException.java | 17 package com.android.messaging.sms;
|
BugleUserAgentInfoLoader.java | 17 package com.android.messaging.sms;
|
MmsSmsUtils.java | 17 package com.android.messaging.sms; 134 * Helper functions for the "threads" table used by MMS and SMS. 139 "content://mms-sms/threadID"); 149 * getOrCreateThreadId. It's convenient for use with SMS
|
SmsStorageStatusManager.java | 16 package com.android.messaging.sms; 32 * Class that handles SMS auto delete and notification when storage is low 36 * Handles storage low signal for SMS 45 // Notify low storage for SMS 50 * Handles storage OK signal for SMS 60 * Post sms storage low notification
|
SmsReleaseStorage.java | 17 package com.android.messaging.sms;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
CdmaSmsSubaddress.java | 17 package com.android.internal.telephony.cdma.sms;
|
SmsEnvelope.java | 17 package com.android.internal.telephony.cdma.sms; 20 import com.android.internal.telephony.cdma.sms.CdmaSmsSubaddress; 63 * Provides the type of a SMS message like point to point, broadcast or acknowledge 76 * by the SMS message. 82 * The origination address identifies the originator of the SMS message. 88 * The destination address identifies the target of the SMS message. 94 * The origination subaddress identifies the originator of the SMS message. 101 * SMS Acknowledge Message. 108 * The cause code parameters are an indication whether an SMS error has occurred and if so,
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmSmsTest.java | 33 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); local 34 assertEquals("+14155551212", sms.getServiceCenterAddress()); 35 assertEquals("+16505551111", sms.getOriginatingAddress()); 36 assertEquals("Test", sms.getMessageBody()); 40 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); 41 assertEquals("+14155551212", sms.getServiceCenterAddress()); 42 assertEquals("+16505551111", sms.getOriginatingAddress()); 43 assertEquals("(Subject)Test", sms.getMessageBody()); 54 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); local 55 SmsHeader header = sms.getUserDataHeader() 88 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); local 103 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); local 122 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); local 154 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); local 173 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); local 205 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); local [all...] |
SimSmsTest.java | 34 ISms sms = ISms.Stub.asInterface(ServiceManager.getService("isms")); local 35 assertNotNull(sms); 37 int preferredSmsSubscription = sms.getPreferredSmsSubscription(); 38 List<SmsRawData> records = sms.getAllMessagesFromIccEfForSubscriber(
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
SmsMessageTest.java | 89 SmsMessage sms = SmsMessage.createFromPdu(hexStringToByteArray(pdu), local 91 assertEquals(SCA1, sms.getServiceCenterAddress()); 92 assertEquals(OA1, sms.getOriginatingAddress()); 93 assertEquals(MESSAGE_BODY1, sms.getMessageBody()); 95 int[] result = SmsMessage.calculateLength(sms.getMessageBody(), true); 97 assertEquals(sms.getMessageBody().length(), result[1]); 98 assertRemaining(sms.getMessageBody().length(), result[2], SmsMessage.MAX_USER_DATA_SEPTETS); 100 assertEquals(pdu, toHexString(sms.getPdu())); 102 assertEquals(NOT_CREATE_FROM_SIM, sms.getIndexOnSim()); 103 assertEquals(NOT_CREATE_FROM_ICC, sms.getIndexOnIcc()) 170 SmsMessage sms = SmsMessage.createFromPdu(hexStringToByteArray(pdu), local 217 SmsMessage sms = SmsMessage.createFromPdu(hexStringToByteArray(pdu), local 277 SmsMessage sms = SmsMessage.createFromPdu(hexStringToByteArray(pdu), local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmInboundSmsHandler.java | 22 import android.provider.Telephony.Sms.Intents; 35 * This class broadcasts incoming SMS messages to interested apps after storing them in 40 /** Handler for SMS-PP data download messages to UICC. */ 44 * Create a new GSM inbound SMS handler. 55 * Unregister for GSM SMS. 62 if (DBG) log("unregistered for 3GPP SMS"); 86 * Handle type zero, SMS-PP data download, and 3GPP/CPHS MWI type SMS. Normal SMS messages 90 * @return a result code from {@link android.provider.Telephony.Sms.Intents} 95 SmsMessage sms = (SmsMessage) smsb; local [all...] |
/external/autotest/client/cros/cellular/pseudomodem/ |
sms_handler.py | 10 import sms namespace 21 Handles all SMS operations, which includes storing received SMS messages, 22 as well as notifying the modem when a new SMS is received. 26 # TODO(armansito): Apply a character limit to SMS messages for multi-part 35 self._messages = {} # Mapping from DBus Object paths to sms.SMS. 43 on which new SMS objects will be created. 54 Sets the current bus on which SMS objects should be created. 68 """ Clears all SMS messages. "" [all...] |
/external/autotest/client/site_tests/network_ModemManagerSMS/ |
network_ModemManagerSMS.py | 10 from autotest_lib.client.cros.cellular import sms, mmtest namespace 23 smsstore = sms.SmsStore(mmt.fakemodem) 25 smstest = sms.SmsTest(gsmsms) 34 testsms = sms.sample 42 testsms = sms.sample 52 testsms = sms.sample_multipart 62 testsms = sms.sample_multipart 76 testsms = sms.sample_multipart
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/ |
OmtpCvvmMessageSender.java | 16 package com.android.phone.vvm.omtp.sms;
|
OmtpSmsParser.java | 16 package com.android.phone.vvm.omtp.sms; 26 * OMTP SMS parser interface, for parsing SYNC and STATUS SMS sent by OMTP visual voicemail server. 31 * Parses the supplied SMS body and returns back a structured OMTP message. 32 * Returns null if unable to parse the SMS body. 64 * @param message The sms string with the prefix removed.
|
WrappedMessageData.java | 16 package com.android.phone.vvm.omtp.sms; 31 * found in the SMS body. 55 * STATUS or SYNC sms.
|
OmtpMessageSender.java | 16 package com.android.phone.vvm.omtp.sms; 34 * Provides simple APIs to send different types of mobile originated OMTP SMS to the VVM server. 76 Log.v(TAG, String.format("Sending TEXT sms '%s' to %s", text, mDestinationNumber)); 86 Log.v(TAG, String.format("Sending BINARY sms '%s' to %s:%d", text, mDestinationNumber,
|
OmtpStandardMessageSender.java | 16 package com.android.phone.vvm.omtp.sms; 26 * A implementation of the OmtpMessageSender using the standard OMTP sms protocol. 36 * @param smsManager SMS sending library. There is a different SmsManager for each SIM. 37 * @param applicationPort If set to a value > 0 then a binary sms is sent to this port number. 38 * Otherwise, a standard text SMS is sent.
|
SyncMessage.java | 16 package com.android.phone.vvm.omtp.sms;
|
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/sms/ |
SmsTest.java | 16 package com.android.emulator.smoketests.sms; 31 * Sms Test 33 * Test that an SMS message has been received 38 * Prior to running this test an sms must be sent 42 public final static String BODY = "test sms"; 47 * Verify that an SMS has been received with the correct number and body 65 Uri message = Uri.parse("content://sms/"); 78 Assert.fail("Did not find any SMS messages. Giving up");
|
/external/autotest/client/site_tests/network_ModemManagerSMSSignal/ |
network_ModemManagerSMSSignal.py | 10 from autotest_lib.client.cros.cellular import sms, mmtest namespace 23 # loop. In a successful test, the two SMS signals will be 30 self.smstest = sms.SmsTest(self.gsmsms) 31 self.smsstore = sms.SmsStore(self.mmt.fakemodem) 34 self.testsms = sms.sample 75 self.smstest = sms.SmsTest(self.gsmsms) 76 self.smsstore = sms.SmsStore(self.mmt.fakemodem) 79 self.testsms = sms.sample_multipart
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaInboundSmsHandler.java | 24 import android.provider.Telephony.Sms.Intents; 38 import com.android.internal.telephony.cdma.sms.SmsEnvelope; 58 * Create a new inbound SMS handler for CDMA. 71 * Unregister for CDMA SMS. 78 if (DBG) log("unregistered for 3GPP2 SMS"); 109 SmsMessage sms = (SmsMessage) smsb; local 110 boolean isBroadcastType = (SmsEnvelope.MESSAGE_TYPE_BROADCAST == sms.getMessageType()); 115 SmsCbMessage cbMessage = sms.parseBroadcastSms(); 119 loge("error trying to parse broadcast SMS"); 124 // Initialize fingerprint field, and see if we have a network duplicate SMS [all...] |
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/ |
DialogSmsDisplayTests.java | 84 assertTrue("SMS must be enabled on the device", mHasSms); 88 // Register broadcast receivers for SMS sent and delivered intents 103 message = "Error: No SMS service."; 118 // Register broadcast receivers for received SMS 145 new IntentFilter(Telephony.Sms.Intents.SMS_RECEIVED_ACTION)); 166 fail("no sms on device"); 169 SmsManager sms = SmsManager.getDefault(); local 171 List<String> messages = sms.divideMessage(messageOut); 178 sms.sendTextMessage(mMyNumber, null, message, PendingIntent.getBroadcast( 184 // returns true if "messageCount" sms messages are received, false if timeou [all...] |