OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:smsManager
(Results
1 - 8
of
8
) sorted by null
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
SmsManagerTest.java
10
import android.telephony.
SmsManager
;
18
private
SmsManager
smsManager
;
28
smsManager
=
SmsManager
.getDefault();
29
shadowSmsManager = Robolectric.shadowOf(
smsManager
);
34
smsManager
= null;
46
smsManager
.sendTextMessage(testDestinationAddress, testScAddress, testText, null, null);
57
smsManager
.sendTextMessage(testDestinationAddress, testScAddress, testText, null, null);
64
smsManager
.sendTextMessage("", testScAddress, testText, null, null)
[
all
...]
/packages/services/Telephony/src/com/android/phone/vvm/omtp/protocol/
ProtocolHelper.java
19
import android.telephony.
SmsManager
;
40
SmsManager
smsManager
=
SmsManager
.getSmsManagerForSubscriptionId(config.getSubId());
41
return protocol.createMessageSender(
smsManager
, (short) applicationPort, destinationNumber);
/packages/apps/Messaging/src/android/support/v7/mms/
MmsManager.java
23
import android.telephony.
SmsManager
;
140
final
SmsManager
smsManager
= Utils.getSmsManager(subId);
141
smsManager
.sendMultimediaMessage(context, contentUri, locationUrl,
162
final
SmsManager
smsManager
= Utils.getSmsManager(subId);
163
smsManager
.downloadMultimediaMessage(context, locationUrl, contentUri,
/packages/apps/Messaging/src/com/android/messaging/sms/
SmsSender.java
26
import android.telephony.
SmsManager
;
47
* It calls the
SmsManager
to send a (potentially multipart) message and waits
110
case
SmsManager
.RESULT_ERROR_NO_SERVICE:
112
case
SmsManager
.RESULT_ERROR_RADIO_OFF:
114
case
SmsManager
.RESULT_ERROR_GENERIC_FAILURE:
214
final
SmsManager
smsManager
= PhoneUtils.get(subId).getSmsManager();
215
final ArrayList<String> messages =
smsManager
.divideMessage(message);
253
// Actually sending the message using
SmsManager
258
final
SmsManager
smsManager = PhoneUtils.get(subId).getSmsManager()
[
all
...]
/cts/tests/tests/permission/src/android/permission/cts/
NoSystemFunctionPermissionTest.java
27
import android.telephony.gsm.
SmsManager
;
159
SmsManager
smsManager
=
SmsManager
.getDefault();
162
smsManager
.sendDataMessage("1233", "1233", (short) 0, testData, null, null);
163
fail("
SmsManager
.sendDataMessage() did not throw SecurityException as expected.");
/cts/tests/tests/telephony/src/android/telephony/cts/
MmsTest.java
29
import android.telephony.
SmsManager
;
54
* Test sending MMS using {@link android.telephony.
SmsManager
}.
109
final byte[] response = intent.getByteArrayExtra(
SmsManager
.EXTRA_MMS_DATA);
129
if (resultCode ==
SmsManager
.MMS_ERROR_HTTP_FAILURE) {
130
final int httpError = intent.getIntExtra(
SmsManager
.EXTRA_MMS_HTTP_STATUS, 0);
181
final
SmsManager
smsManager
=
SmsManager
.getDefault();
182
smsManager
.getAutoPersisting();
210
smsManager
.sendMultimediaMessage(context
[
all
...]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
SmsProvider.java
41
import android.telephony.
SmsManager
;
320
final
SmsManager
smsManager
=
SmsManager
.getDefault();
324
messages =
smsManager
.getAllMessagesFromIcc();
345
SmsManager
smsManager
=
SmsManager
.getDefault();
351
messages =
smsManager
.getAllMessagesFromIcc();
732
SmsManager
smsManager = SmsManager.getDefault()
[
all
...]
/frameworks/opt/telephony/src/java/android/telephony/
SmsManager.java
58
public final class
SmsManager
{
59
private static final String TAG = "
SmsManager
";
67
private static final
SmsManager
sInstance = new
SmsManager
(DEFAULT_SUBSCRIPTION_ID);
75
private static final Map<Integer,
SmsManager
> sSubInstances =
76
new ArrayMap<Integer,
SmsManager
>();
343
* A variant of {@link
SmsManager
#sendTextMessage} that allows self to be the caller. This is
574
* A variant of {@link
SmsManager
#sendDataMessage} that allows self to be the caller. This is
603
* Get the
SmsManager
associated with the default subscription id. The instance will always be
606
* @return the
SmsManager
associated with the default subscription i
[
all
...]
Completed in 573 milliseconds