OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ToneType
(Results
1 - 4
of
4
) sorted by null
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
CellBroadcastOtherChannelsManagerTest.java
22
import com.android.cellbroadcastreceiver.CellBroadcastAlertAudio.
ToneType
;
67
assertEquals(
ToneType
.EARTHQUAKE, list.get(0).mToneType);
71
assertEquals(
ToneType
.TSUNAMI, list.get(1).mToneType);
75
assertEquals(
ToneType
.OTHER, list.get(2).mToneType);
79
assertEquals(
ToneType
.CMAS_DEFAULT, list.get(3).mToneType);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastOtherChannelsManager.java
25
import com.android.cellbroadcastreceiver.CellBroadcastAlertAudio.
ToneType
;
61
public
ToneType
mToneType;
65
mToneType =
ToneType
.CMAS_DEFAULT;
72
mToneType =
ToneType
.valueOf(tokens[1].trim().toUpperCase());
CellBroadcastAlertService.java
42
import com.android.cellbroadcastreceiver.CellBroadcastAlertAudio.
ToneType
;
375
ToneType
toneType
=
ToneType
.CMAS_DEFAULT;
380
toneType
=
ToneType
.ETWS_DEFAULT;
388
toneType
=
ToneType
.EARTHQUAKE;
391
toneType
=
ToneType
.TSUNAMI
[
all
...]
CellBroadcastAlertAudio.java
110
public enum
ToneType
{
336
ToneType
toneType
=
ToneType
.CMAS_DEFAULT;
338
toneType
= (
ToneType
) intent.getSerializableExtra(ALERT_AUDIO_TONE_TYPE);
340
playAlertTone(
toneType
);
358
* @param
toneType
the alert tone type (e.g. default, earthquake, tsunami, etc..)
360
private void playAlertTone(
ToneType
toneType
) {
[
all
...]
Completed in 1562 milliseconds