Searched refs:mAlertType (Results 1 – 6 of 6) sorted by relevance
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastChannelManagerTest.java | 129 assertEquals(AlertType.ETWS_EARTHQUAKE, list.get(0).mAlertType); in verifyChannelRangesForConfig1() 140 assertEquals(AlertType.ETWS_TSUNAMI, list.get(1).mAlertType); in verifyChannelRangesForConfig1() 152 assertEquals(AlertType.OTHER, list.get(2).mAlertType); in verifyChannelRangesForConfig1() 164 assertEquals(AlertType.DEFAULT, list.get(3).mAlertType); in verifyChannelRangesForConfig1() 175 assertEquals(AlertType.DEFAULT, list.get(4).mAlertType); in verifyChannelRangesForConfig1() 186 assertEquals(AlertType.TEST, list.get(5).mAlertType); in verifyChannelRangesForConfig1() 218 assertEquals(AlertType.MUTE, list.get(9).mAlertType); in verifyChannelRangesForConfig1() 229 assertEquals(AlertType.ETWS_EARTHQUAKE, list.get(0).mAlertType); in verifyChannelRangesForConfig2() 240 assertEquals(AlertType.ETWS_TSUNAMI, list.get(1).mAlertType); in verifyChannelRangesForConfig2() 252 assertEquals(AlertType.OTHER, list.get(2).mAlertType); in verifyChannelRangesForConfig2()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 131 private AlertType mAlertType; field in CellBroadcastAlertAudio 400 mAlertType = AlertType.DEFAULT; in handleStartIntent() 402 mAlertType = (AlertType) intent.getSerializableExtra(ALERT_AUDIO_TONE_TYPE); in handleStartIntent() 436 if ((mEnableAudio || mEnableVibrate) && (mAlertType != AlertType.MUTE)) { in handleStartIntent() 437 playAlertTone(mAlertType, mVibrationPattern); in handleStartIntent() 741 builder.setUsage((mAlertType == AlertType.INFO || mAlertType == AlertType.AREA) ? in getAlertAudioAttributes() 796 if (mAlertType != AlertType.INFO && mAlertType != AlertType.AREA) { in setAlarmStreamVolumeToFull()
|
D | CellBroadcastChannelManager.java | 159 public AlertType mAlertType; field in CellBroadcastChannelManager.CellBroadcastChannelRange 195 mAlertType = AlertType.DEFAULT; in CellBroadcastChannelRange() 220 mAlertType = AlertType.valueOf(value.toUpperCase()); in CellBroadcastChannelRange() 334 if (!hasVibrationPattern && mAlertType.equals(AlertType.INFO)) { in CellBroadcastChannelRange() 353 + mEmergencyLevel + ",type=" + mAlertType + ",scope=" + mScope + ",vibration=" in toString()
|
D | CellBroadcastResources.java | 384 switch (range.mAlertType) { in getDialogTitleResource() 436 switch (range.mAlertType) { in getDialogPictogramResource()
|
D | CellBroadcastAlertService.java | 295 if (range != null && range.mAlertType == AlertType.AREA in shouldDisplayMessage() 572 if (range.mAlertType == AlertType.TEST) { in isChannelEnabled() 579 if (range.mAlertType == AlertType.AREA) { in isChannelEnabled() 707 alertType = range.mAlertType; in openEmergencyAlertNotification()
|
D | CellBroadcastConfigService.java | 530 switch (range.mAlertType) { in getCellBroadcastChannelsConfig()
|