Searched refs:CellBroadcastAlertService (Results 1 – 12 of 12) sorted by relevance
/aosp12/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
H A D | CellBroadcastAlertServiceTest.java | 20 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 D | CellBroadcastAlertDialogTest.java | 46 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 D | CellBroadcastReceiverTest.java | 50 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 D | CellBroadcastChannelManagerTest.java | 27 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
|
H A D | CellBroadcastAlertAudioTest.java | 19 import static com.android.cellbroadcastreceiver.CellBroadcastAlertService.SHOW_NEW_ALERT_ACTION;
|
/aosp12/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastAlertDialog.java | 341 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 D | CellBroadcastConfigService.java | 98 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 D | CellBroadcastAlertService.java | 69 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 D | CellBroadcastReceiver.java | 158 intent.setClass(mContext, CellBroadcastAlertService.class); in onReceive() 174 CellBroadcastAlertService.createNotificationChannels(mContext); in onReceive()
|
H A D | CellBroadcastChannelManager.java | 30 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
|
H A D | CellBroadcastAlertAudio.java | 56 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
|
H A D | CellBroadcastListActivity.java | 393 i.putParcelableArrayListExtra(CellBroadcastAlertService.SMS_CB_MESSAGE_EXTRA, in showDialogAndMarkRead()
|