History log of /packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/SendTestMessages.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
26f398e2862c80a19fd32d8b1fd74cc9751c129c 22-Jul-2015 Jack Yu <jackyu@google.com> Added multi-sim support to the test app.

bug: 22666355
Change-Id: Ic3a2cc24fbf8655d381ed0da5fabbaedf1dc5612
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/SendTestMessages.java
0224babc0bec527dd7e44babb2cd644836f8e1fb 14-Nov-2014 xinhe <xinhe@google.com> CMAS opt-out setting does not work when switching from Secondary user to
Device owner

Fix includes:
(1) Only device owner is alloed to set/change preference
(2) CBS intents are sent to all users
(3) Cell broadcast alter is only displayed on the active user
(4) Cell broadcast messages are saved in all users' mail box
(5) Cell broadcast test app send intents to all users
(6) Remove airplane mode trigger cellbroadcast MID configure. This should
be taken care of by ServiceStateChange

Bug:18223949
Change-Id: I6b6162e7f52a6cd958ef08267f7f239e70489ec8
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/SendTestMessages.java
0cce4184dad2d8c507e1d509d37fd9de9e0e618e 10-Dec-2012 Wink Saville <wink@google.com> am ef45875e: Merge "Telephony: Use IccUtils from uicc packge"

* commit 'ef45875e0532efa856c139d2bc4248ae2ffb6abe':
Telephony: Use IccUtils from uicc packge
8524c0a36abccf29818d6e18c1080208cfee3ec4 30-Nov-2012 Jake Hamby <jhamby@google.com> Enable support for area info cell broadcasts in Brazil.

Brazilian operators require support for displaying the most recent
area info cell broadcast (message identifier == 50) received.
Handle this with a broadcast that the Settings app can receive
and display in the status screen. Settings can also request
CellBroadcastReceiver to send the most recent area info received.

Also, when the SIM country code is Brazil, show the checkbox to
enable/disable channel 50 in cell broadcast settings, and enable
channel 50 in the radio at startup unless the user disables it.

Also update the test application to allow message identifier to be
set for GSM and UMTS cell broadcasts (excluding ETWS) for testing
the handling of different message identifiers, and change the
message identifier of the test cell broadcast PDUs from 50 to 1.
To override the message identifier, set the category field in the
test app to a non-zero value.

Bug: 7445881
Change-Id: Ibca8d33c32c0391d0d4eee444c86dd93878d7d1e
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/SendTestMessages.java
dd84b3124e2696601efe65a212799b44e1f6d5f9 01-Aug-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Use IccUtils from uicc packge

Change-Id: I3b718b9aea1f21c7906c8243b4ca0db6af495a08
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/SendTestMessages.java
00b87064abfb9d254fbbf72110643d2e626365e6 14-Feb-2012 Jake Hamby <jhamby@google.com> Add CMAS over CDMA support to CellBroadcastReceiver app.

Add support for CMAS warning notifications over CDMA to
CellBroadcastReceiver app. The framework code now sends cell
broadcasts in a radio-technology independent form by passing the new
Parcelable android.telephony.SmsCbMessage class as the "message"
intent of the SMS_CB_RECEIVED_ACTION or SMS_EMERGENCY_CB_RECEIVED_ACTION,
instead of as a GSM/UMTS "pdu" byte array.

The database version has also been upgraded to encompass metadata for
ETWS and CMAS emergency broadcasts, as well as CDMA format broadcasts.

Bug: 5856308
Change-Id: I1b10d35d8aa6f0134260116980e4c326f86d2fe7
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/SendTestMessages.java
50a624a47ce645a7992e346e40a4e7ec5e0df9b7 18-May-2011 Jake Hamby <jhamby@google.com> Initial checkin of Cell Broadcast display application.

Simple Cell Broadcast application. Supports ETWS and CMAS emergency
messages, and can be extended to support other types of PWS
(Public Warning System) emergency warnings. User preferences for
configuration of each supported national system (ETWS, CMAS, and
channel 50 broadcasts for Brazil) are displayed/hidden based on the
values in res/values/config.xml.

For emergency alerts, a flashing warning icon and special alert sound
is played. If there is a text-to-speech engine installed for the
language of the broadcast, then the contents of the broadcast message
will be spoken after the alert sound is played. The user can disable
the text-to-speech feature in settings, as well as adjusting the
length of the alert sound and enabling/disabling delivery of several
emergency broadcast channels.

The CellBroadcastReceiverTests apk includes a launcher activity with
buttons for sending each type of test message. This APK must be signed
with the system certificate in order to acquire the BROADCAST_SMS
permission required to send test broadcasts to the app.

Change-Id: If9b61e02c246de5783b3e39cd100ea707ea80084
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/SendTestMessages.java