OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cmasInfo
(Results
1 - 4
of
4
) sorted by null
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastResources.java
61
SmsCbCmasInfo
cmasInfo
) {
63
int categoryId = getCmasCategoryResId(
cmasInfo
);
69
int responseId = getCmasResponseResId(
cmasInfo
);
75
int severityId = getCmasSeverityResId(
cmasInfo
);
81
int urgencyId = getCmasUrgencyResId(
cmasInfo
);
87
int certaintyId = getCmasCertaintyResId(
cmasInfo
);
110
private static int getCmasCategoryResId(SmsCbCmasInfo
cmasInfo
) {
111
switch (
cmasInfo
.getCategory()) {
157
private static int getCmasResponseResId(SmsCbCmasInfo
cmasInfo
) {
158
switch (
cmasInfo
.getResponseType())
[
all
...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
CdmaSmsCbTest.java
417
SmsCbCmasInfo
cmasInfo
= cbMessage.getCmasWarningInfo();
418
assertEquals(messageClass,
cmasInfo
.getMessageClass());
419
assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN,
cmasInfo
.getCategory());
420
assertEquals(SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN,
cmasInfo
.getResponseType());
421
assertEquals(SmsCbCmasInfo.CMAS_SEVERITY_UNKNOWN,
cmasInfo
.getSeverity());
422
assertEquals(SmsCbCmasInfo.CMAS_URGENCY_UNKNOWN,
cmasInfo
.getUrgency());
423
assertEquals(SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN,
cmasInfo
.getCertainty());
474
SmsCbCmasInfo
cmasInfo
= cbMessage.getCmasWarningInfo();
475
assertEquals(SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT,
cmasInfo
.getMessageClass());
476
assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_ENV,
cmasInfo
.getCategory())
[
all
...]
/frameworks/opt/telephony/src/java/android/telephony/
CellBroadcastMessage.java
181
SmsCbCmasInfo
cmasInfo
;
232
cmasInfo
= new SmsCbCmasInfo(messageClass, cmasCategory, responseType, severity,
235
cmasInfo
= null;
239
language, body, priority, etwsInfo,
cmasInfo
);
281
SmsCbCmasInfo
cmasInfo
= mSmsCbMessage.getCmasWarningInfo();
282
if (
cmasInfo
!= null) {
283
cv.put(Telephony.CellBroadcasts.CMAS_MESSAGE_CLASS,
cmasInfo
.getMessageClass());
284
cv.put(Telephony.CellBroadcasts.CMAS_CATEGORY,
cmasInfo
.getCategory());
285
cv.put(Telephony.CellBroadcasts.CMAS_RESPONSE_TYPE,
cmasInfo
.getResponseType());
286
cv.put(Telephony.CellBroadcasts.CMAS_SEVERITY,
cmasInfo
.getSeverity())
[
all
...]
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/
SendCdmaCmasMessages.java
143
SmsCbCmasInfo
cmasInfo
= new SmsCbCmasInfo(cmasMessageClass, cmasCategory, responseType,
148
cmasInfo
);
Completed in 148 milliseconds