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; 36 import com.android.cellbroadcastreceiver.CellBroadcastAlertService; 46 CellBroadcastServiceTestCase<CellBroadcastAlertService> { 49 super(CellBroadcastAlertService.class); in CellBroadcastAlertServiceTest() 116 Intent intent = new Intent(mContext, CellBroadcastAlertService.class); in sendMessage() 124 Intent intent = new Intent(mContext, CellBroadcastAlertService.class); in sendMessageForCmasMessageClass() 134 Intent intent = new Intent(mContext, CellBroadcastAlertService.class); in sendMessageForCmasMessageClassAndLanguage() 168 Intent intent = new Intent(mContext, CellBroadcastAlertService.class); in testShowNewAlert() 178 assertEquals(CellBroadcastAlertService.AlertType.DEFAULT, in testShowNewAlert() 186 .getParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA); in testShowNewAlert()
|
D | CellBroadcastAlertDialogTest.java | 48 import com.android.cellbroadcastreceiver.CellBroadcastAlertService; 100 intent.putParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, in createActivityIntent() 186 eq(CellBroadcastAlertService.NOTIFICATION_ID)); in testDismiss() 232 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 | 57 import com.android.cellbroadcastreceiver.CellBroadcastAlertService; 99 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 | 69 public class CellBroadcastAlertService extends Service class 294 alertIntent.setClass(this, CellBroadcastAlertService.class); in handleCellBroadcastIntent() 739 intent.putParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, in createDisplayMessageIntent() 767 public CellBroadcastAlertService getService() { in getService() 768 return CellBroadcastAlertService.this; in getService() 801 CellBroadcastAlertService.this::onAudioFocusChange, 810 CellBroadcastAlertService.this::onAudioFocusChange); 835 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() 415 CellBroadcastAlertService.addToNotificationBar(getLatestMessage(), mMessageList, in onStop() 468 CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, mMessageList); in onSaveInstanceState() 633 CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA); in onNewIntent() 686 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in clearNotification() 767 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in dismiss()
|
D | CellBroadcastListActivity.java | 79 .cancel(CellBroadcastAlertService.NOTIFICATION_ID); in onCreate() 303 i.putParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, in showDialogAndMarkRead()
|
D | CellBroadcastReceiver.java | 146 intent.setClass(mContext, CellBroadcastAlertService.class); in onReceive() 162 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;
|