Home
last modified time | relevance | path

Searched refs:CellBroadcastAlertService (Results 1 – 12 of 12) sorted by relevance

/aosp12/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
H A DCellBroadcastAlertServiceTest.java20 import static com.android.cellbroadcastreceiver.CellBroadcastAlertService.SHOW_NEW_ALERT_ACTION;
38 import com.android.cellbroadcastreceiver.CellBroadcastAlertService;
49 CellBroadcastServiceTestCase<CellBroadcastAlertService> {
54 super(CellBroadcastAlertService.class); in CellBroadcastAlertServiceTest()
121 Intent intent = new Intent(mContext, CellBroadcastAlertService.class); in sendMessage()
129 Intent intent = new Intent(mContext, CellBroadcastAlertService.class); in sendMessageForCmasMessageClass()
139 Intent intent = new Intent(mContext, CellBroadcastAlertService.class); in sendMessageForCmasMessageClassAndLanguage()
286 Intent intent = new Intent(mContext, CellBroadcastAlertService.class); in testShowNewAlert()
296 assertEquals(CellBroadcastAlertService.AlertType.DEFAULT, in testShowNewAlert()
368 CellBroadcastAlertService cellBroadcastAlertService = in testShouldDisplayMessage()
[all …]
H A DCellBroadcastAlertDialogTest.java46 import com.android.cellbroadcastreceiver.CellBroadcastAlertService;
102 intent.putParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, in createActivityIntent()
191 eq(CellBroadcastAlertService.NOTIFICATION_ID)); in testDismiss()
206 intent.putParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, in testOnNewIntent()
211 eq(CellBroadcastAlertService.NOTIFICATION_ID)); in testOnNewIntent()
304 intent.putParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, in testOnKeyDownWithEmptyMessageList()
H A DCellBroadcastReceiverTest.java50 import com.android.cellbroadcastreceiver.CellBroadcastAlertService;
183 doReturn(mIntent).when(mIntent).setClass(mContext, CellBroadcastAlertService.class); in testOnReceive_actionSmsEmergencyCbReceived()
187 verify(mIntent).setClass(mContext, CellBroadcastAlertService.class); in testOnReceive_actionSmsEmergencyCbReceived()
194 doReturn(mIntent).when(mIntent).setClass(mContext, CellBroadcastAlertService.class); in testOnReceive_smsCbReceivedAction()
198 verify(mIntent).setClass(mContext, CellBroadcastAlertService.class); in testOnReceive_smsCbReceivedAction()
H A DCellBroadcastChannelManagerTest.java27 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
H A DCellBroadcastAlertAudioTest.java19 import static com.android.cellbroadcastreceiver.CellBroadcastAlertService.SHOW_NEW_ALERT_ACTION;
/aosp12/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertDialog.java341 if (getIntent().getBooleanExtra(CellBroadcastAlertService.DISMISS_DIALOG, false)) { in onCreate()
373 CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA); in onCreate()
378 CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA); in onCreate()
476 CellBroadcastAlertService.addToNotificationBar(getLatestMessage(), mMessageList, in onStop()
542 CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, mMessageList); in onSaveInstanceState()
836 if (intent.getBooleanExtra(CellBroadcastAlertService.DISMISS_DIALOG, false)) { in onNewIntent()
841 CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA); in onNewIntent()
912 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in clearNotification()
1128 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in removeReadMessageFromNotificationBar()
1133 CellBroadcastAlertService.addToNotificationBar( in removeReadMessageFromNotificationBar()
H A DCellBroadcastConfigService.java98 CellBroadcastAlertService.createNotificationChannels(c); in onHandleIntent()
101 CellBroadcastAlertService.SETTINGS_CHANGED_NOTIFICATION_ID, settingsIntent, in onHandleIntent()
107 CellBroadcastAlertService.NOTIFICATION_CHANNEL_SETTINGS_UPDATES) in onHandleIntent()
116 CellBroadcastAlertService.SETTINGS_CHANGED_NOTIFICATION_ID, in onHandleIntent()
H A DCellBroadcastAlertService.java69 public class CellBroadcastAlertService extends Service { class
344 alertIntent.setClass(this, CellBroadcastAlertService.class); in handleCellBroadcastIntent()
803 deleteIntent.putExtra(CellBroadcastAlertService.DISMISS_DIALOG, true); in addToNotificationBar()
891 intent.putParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, in createDisplayMessageIntent()
920 public CellBroadcastAlertService getService() { in getService()
921 return CellBroadcastAlertService.this; in getService()
958 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in playPendingAlert()
H A DCellBroadcastReceiver.java158 intent.setClass(mContext, CellBroadcastAlertService.class); in onReceive()
174 CellBroadcastAlertService.createNotificationChannels(mContext); in onReceive()
H A DCellBroadcastChannelManager.java30 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
H A DCellBroadcastAlertAudio.java56 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
H A DCellBroadcastListActivity.java393 i.putParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, in showDialogAndMarkRead()