Searched refs:CellBroadcastAlertService (Results 1 – 12 of 12) sorted by relevance
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertServiceTest.java | 20 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()
|
D | CellBroadcastAlertDialogTest.java | 43 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()
|
D | CellBroadcastReceiverTest.java | 47 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()
|
D | CellBroadcastListActivityTest.java | 61 import com.android.cellbroadcastreceiver.CellBroadcastAlertService; 103 verify(mMockNotificationManager).cancel(eq(CellBroadcastAlertService.NOTIFICATION_ID)); in testOnCreate()
|
D | CellBroadcastChannelManagerTest.java | 24 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
|
D | CellBroadcastAlertAudioTest.java | 19 import static com.android.cellbroadcastreceiver.CellBroadcastAlertService.SHOW_NEW_ALERT_ACTION;
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertService.java | 65 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()
|
D | CellBroadcastAlertDialog.java | 322 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()
|
D | CellBroadcastListActivity.java | 77 .cancel(CellBroadcastAlertService.NOTIFICATION_ID); in onCreate() 295 i.putParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, in showDialogAndMarkRead()
|
D | CellBroadcastReceiver.java | 142 intent.setClass(mContext, CellBroadcastAlertService.class); in onReceive() 155 CellBroadcastAlertService.createNotificationChannels(mContext); in onReceive()
|
D | CellBroadcastChannelManager.java | 30 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
|
D | CellBroadcastAlertAudio.java | 52 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
|