Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertServiceTest.java20 import static com.android.cellbroadcastreceiver.CellBroadcastAlertService.SHOW_NEW_ALERT_ACTION;
32 import com.android.cellbroadcastreceiver.CellBroadcastAlertService;
41 CellBroadcastServiceTestCase<CellBroadcastAlertService> {
44 super(CellBroadcastAlertService.class); in CellBroadcastAlertServiceTest()
102 Intent intent = new Intent(mContext, CellBroadcastAlertService.class); in sendMessage()
129 Intent intent = new Intent(mContext, CellBroadcastAlertService.class); in testShowNewAlert()
139 assertEquals(CellBroadcastAlertService.AlertType.DEFAULT, in testShowNewAlert()
147 .getParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA); in testShowNewAlert()
DCellBroadcastAlertDialogTest.java43 import com.android.cellbroadcastreceiver.CellBroadcastAlertService;
92 intent.putParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, in createActivityIntent()
174 eq(CellBroadcastAlertService.NOTIFICATION_ID)); in testDismiss()
217 eq(CellBroadcastAlertService.NOTIFICATION_ID)); in testOnNewIntent()
DCellBroadcastReceiverTest.java47 import com.android.cellbroadcastreceiver.CellBroadcastAlertService;
168 doReturn(mIntent).when(mIntent).setClass(mContext, CellBroadcastAlertService.class); in testOnReceive_actionSmsEmergencyCbReceived()
172 verify(mIntent).setClass(mContext, CellBroadcastAlertService.class); in testOnReceive_actionSmsEmergencyCbReceived()
179 doReturn(mIntent).when(mIntent).setClass(mContext, CellBroadcastAlertService.class); in testOnReceive_smsCbReceivedAction()
183 verify(mIntent).setClass(mContext, CellBroadcastAlertService.class); in testOnReceive_smsCbReceivedAction()
DCellBroadcastListActivityTest.java61 import com.android.cellbroadcastreceiver.CellBroadcastAlertService;
103 verify(mMockNotificationManager).cancel(eq(CellBroadcastAlertService.NOTIFICATION_ID)); in testOnCreate()
DCellBroadcastChannelManagerTest.java24 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
DCellBroadcastAlertAudioTest.java19 import static com.android.cellbroadcastreceiver.CellBroadcastAlertService.SHOW_NEW_ALERT_ACTION;
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java65 public class CellBroadcastAlertService extends Service class
280 alertIntent.setClass(this, CellBroadcastAlertService.class); in handleCellBroadcastIntent()
725 intent.putParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, in createDisplayMessageIntent()
753 public CellBroadcastAlertService getService() { in getService()
754 return CellBroadcastAlertService.this; in getService()
787 CellBroadcastAlertService.this::onAudioFocusChange,
796 CellBroadcastAlertService.this::onAudioFocusChange);
821 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in playPendingAlert()
DCellBroadcastAlertDialog.java322 CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA); in onCreate()
327 CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA); in onCreate()
407 CellBroadcastAlertService.addToNotificationBar(getLatestMessage(), mMessageList, in onStop()
460 CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, mMessageList); in onSaveInstanceState()
625 CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA); in onNewIntent()
678 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in clearNotification()
759 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in dismiss()
DCellBroadcastListActivity.java77 .cancel(CellBroadcastAlertService.NOTIFICATION_ID); in onCreate()
295 i.putParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, in showDialogAndMarkRead()
DCellBroadcastReceiver.java142 intent.setClass(mContext, CellBroadcastAlertService.class); in onReceive()
155 CellBroadcastAlertService.createNotificationChannels(mContext); in onReceive()
DCellBroadcastChannelManager.java30 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
DCellBroadcastAlertAudio.java52 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;