OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SmsCbMessage
(Results
1 - 14
of
14
) sorted by null
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/
SendCdmaCmasMessages.java
25
import android.telephony.
SmsCbMessage
;
65
SmsCbMessage
cbMessage = createCmasSmsMessage(
77
SmsCbMessage
cbMessage = createCmasSmsMessage(
89
SmsCbMessage
cbMessage = createCmasSmsMessage(
101
SmsCbMessage
cbMessage = createCmasSmsMessage(
113
SmsCbMessage
cbMessage = createCmasSmsMessage(
125
* Create a new
SmsCbMessage
for testing CDMA CMAS support.
137
private static
SmsCbMessage
createCmasSmsMessage(int serviceCategory, int messageId,
143
return new
SmsCbMessage
(
SmsCbMessage
.MESSAGE_FORMAT_3GPP2
[
all
...]
SendTestMessages.java
23
import android.telephony.
SmsCbMessage
;
388
private static
SmsCbMessage
createFromPdu(byte[] pdu, int serialNumber, int category) {
394
private static
SmsCbMessage
createFromPdus(byte[][] pdus, int serialNumber, int category) {
/frameworks/opt/telephony/src/java/android/telephony/
SmsCbMessage.java
53
* pages of a GSM multi-page cell broadcast into a single
SmsCbMessage
object.
64
public class
SmsCbMessage
implements Parcelable {
142
* Create a new
SmsCbMessage
with the specified data.
144
public
SmsCbMessage
(int messageFormat, int geographicalScope, int serialNumber,
159
/** Create a new
SmsCbMessage
object from a Parcel. */
160
public
SmsCbMessage
(Parcel in) {
219
public static final Parcelable.Creator<
SmsCbMessage
> CREATOR
220
= new Parcelable.Creator<
SmsCbMessage
>() {
222
public
SmsCbMessage
createFromParcel(Parcel in) {
223
return new
SmsCbMessage
(in)
[
all
...]
CellBroadcastMessage.java
28
* Application wrapper for {@link
SmsCbMessage
}. This is Parcelable so that
46
/**
SmsCbMessage
. */
47
private final
SmsCbMessage
mSmsCbMessage;
52
public CellBroadcastMessage(
SmsCbMessage
message) {
58
private CellBroadcastMessage(
SmsCbMessage
message, long deliveryTime, boolean isRead) {
65
mSmsCbMessage = new
SmsCbMessage
(in);
211
SmsCbMessage
msg = new
SmsCbMessage
(format, geoScope, serialNum, location, category,
228
SmsCbMessage
msg = mSmsCbMessage;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
GsmSmsCbMessage.java
20
import android.telephony.
SmsCbMessage
;
29
* Parses a GSM or UMTS format SMS-CB message into an {@link
SmsCbMessage
} object. The class is
58
* Create a new
SmsCbMessage
object from a header object plus one or more received PDUs.
62
static
SmsCbMessage
createSmsCbMessage(SmsCbHeader header, SmsCbLocation location,
65
return new
SmsCbMessage
(
SmsCbMessage
.MESSAGE_FORMAT_3GPP,
68
null, "ETWS",
SmsCbMessage
.MESSAGE_PRIORITY_EMERGENCY,
78
int priority = header.isEmergencyMessage() ?
SmsCbMessage
.MESSAGE_PRIORITY_EMERGENCY
79
:
SmsCbMessage
.MESSAGE_PRIORITY_NORMAL;
81
return new
SmsCbMessage
(SmsCbMessage.MESSAGE_FORMAT_3GPP
[
all
...]
GsmSMSDispatcher.java
30
import android.telephony.
SmsCbMessage
;
427
case
SmsCbMessage
.GEOGRAPHICAL_SCOPE_LA_WIDE:
431
case
SmsCbMessage
.GEOGRAPHICAL_SCOPE_CELL_WIDE:
432
case
SmsCbMessage
.GEOGRAPHICAL_SCOPE_CELL_WIDE_IMMEDIATE:
436
case
SmsCbMessage
.GEOGRAPHICAL_SCOPE_PLMN_WIDE:
477
SmsCbMessage
message = GsmSmsCbMessage.createSmsCbMessage(header, location, pdus);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
GsmSmsCbTest.java
22
import android.telephony.
SmsCbMessage
;
30
* Test cases for basic
SmsCbMessage
operations
38
private static
SmsCbMessage
createFromPdu(byte[] pdu) {
51
SmsCbMessage
msg = createFromPdu(pdu);
58
SmsCbMessage
msg = createFromPdu(null);
64
SmsCbMessage
msg = createFromPdu(pdu);
87
SmsCbMessage
.GEOGRAPHICAL_SCOPE_CELL_WIDE_IMMEDIATE);
88
doTestGeographicalScopeValue(pdu, (byte)0x40,
SmsCbMessage
.GEOGRAPHICAL_SCOPE_PLMN_WIDE);
89
doTestGeographicalScopeValue(pdu, (byte)0x80,
SmsCbMessage
.GEOGRAPHICAL_SCOPE_LA_WIDE);
90
doTestGeographicalScopeValue(pdu, (byte)0xC0,
SmsCbMessage
.GEOGRAPHICAL_SCOPE_CELL_WIDE)
[
all
...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
CdmaSmsCbTest.java
21
import android.telephony.
SmsCbMessage
;
39
* Test cases for basic
SmsCbMessage
operation for CDMA.
343
* Verify that the
SmsCbMessage
has the correct values for CDMA.
346
private static void verifyCbValues(
SmsCbMessage
cbMessage) {
347
assertEquals(
SmsCbMessage
.MESSAGE_FORMAT_3GPP2, cbMessage.getMessageFormat());
348
assertEquals(
SmsCbMessage
.GEOGRAPHICAL_SCOPE_PLMN_WIDE, cbMessage.getGeographicalScope());
356
SmsCbMessage
cbMessage = msg.parseBroadcastSms();
360
assertEquals(
SmsCbMessage
.MESSAGE_PRIORITY_NORMAL, cbMessage.getMessagePriority());
384
SmsCbMessage
cbMessage = msg.parseBroadcastSms();
388
assertEquals(
SmsCbMessage
.MESSAGE_PRIORITY_NORMAL, cbMessage.getMessagePriority())
[
all
...]
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/
DialogSmsDisplayTests.java
24
import android.telephony.
SmsCbMessage
;
114
private static
SmsCbMessage
createFromPdu(byte[] pdu) {
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastDatabaseHelper.java
28
import android.telephony.
SmsCbMessage
;
190
cv.put(Telephony.CellBroadcasts.MESSAGE_FORMAT,
SmsCbMessage
.MESSAGE_FORMAT_3GPP);
298
SmsCbMessage
.MESSAGE_PRIORITY_EMERGENCY);
301
SmsCbMessage
.MESSAGE_PRIORITY_NORMAL);
CellBroadcastAlertService.java
35
import android.telephony.
SmsCbMessage
;
127
SmsCbMessage
message = (
SmsCbMessage
) extras.get("message");
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
SmsMessage.java
23
import android.telephony.
SmsCbMessage
;
756
SmsCbMessage
parseBroadcastSms() {
770
return new
SmsCbMessage
(
SmsCbMessage
.MESSAGE_FORMAT_3GPP2,
771
SmsCbMessage
.GEOGRAPHICAL_SCOPE_PLMN_WIDE, bData.messageId, location,
[
all
...]
CdmaSMSDispatcher.java
35
import android.telephony.
SmsCbMessage
;
154
SmsCbMessage
message = sms.parseBroadcastSms();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
SMSDispatcher.java
50
import android.telephony.
SmsCbMessage
;
[
all
...]
Completed in 1325 milliseconds