Searched refs:mAlertType (Results 1 – 6 of 6) sorted by relevance
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastChannelManagerTest.java | 71 assertEquals(AlertType.ETWS_EARTHQUAKE, list.get(0).mAlertType); in testGetCellBroadcastChannelRanges() 76 assertEquals(AlertType.ETWS_TSUNAMI, list.get(1).mAlertType); in testGetCellBroadcastChannelRanges() 81 assertEquals(AlertType.OTHER, list.get(2).mAlertType); in testGetCellBroadcastChannelRanges() 86 assertEquals(AlertType.DEFAULT, list.get(3).mAlertType); in testGetCellBroadcastChannelRanges() 91 assertEquals(AlertType.DEFAULT, list.get(4).mAlertType); in testGetCellBroadcastChannelRanges() 96 assertEquals(AlertType.TEST, list.get(5).mAlertType); in testGetCellBroadcastChannelRanges()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 115 private AlertType mAlertType; field in CellBroadcastAlertAudio 241 mTts.setAudioAttributes(getAlertAudioAttributes(mAlertType)); in onCreate() 340 mAlertType = AlertType.DEFAULT; in onStartCommand() 342 mAlertType = (AlertType) intent.getSerializableExtra(ALERT_AUDIO_TONE_TYPE); in onStartCommand() 377 playAlertTone(mAlertType, mVibrationPattern); in onStartCommand() 504 mMediaPlayer.setAudioAttributes(getAlertAudioAttributes(mAlertType)); in playAlertTone() 505 setAlertVolume(mAlertType); in playAlertTone() 587 resetAlarmStreamVolume(mAlertType); in stop()
|
D | CellBroadcastChannelManager.java | 116 public AlertType mAlertType; field in CellBroadcastChannelManager.CellBroadcastChannelRange 131 mAlertType = AlertType.DEFAULT; in CellBroadcastChannelRange() 152 mAlertType = AlertType.valueOf(value.toUpperCase()); in CellBroadcastChannelRange() 223 + mEmergencyLevel + ",type=" + mAlertType + ",scope=" + mScope + ",vibration=" in toString()
|
D | CellBroadcastResources.java | 369 switch (range.mAlertType) { in getDialogTitleResource() 423 switch (range.mAlertType) { in getDialogPictogramResource()
|
D | CellBroadcastAlertService.java | 409 if (range.mAlertType == AlertType.TEST) { in isChannelEnabled() 537 alertType = range.mAlertType; in openEmergencyAlertNotification()
|
D | CellBroadcastConfigService.java | 250 switch (range.mAlertType) { in enableCellBroadcastChannels()
|