OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:tonetype
(Results
1 - 13
of
13
) 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/services/Telecomm/src/com/android/server/telecom/
InCallTonePlayer.java
141
final int
toneType
; // Passed to ToneGenerator.startTone.
148
toneType
= ToneGenerator.TONE_SUP_BUSY;
153
toneType
= ToneGenerator.TONE_PROP_PROMPT;
161
toneType
= ToneGenerator.TONE_SUP_CALL_WAITING;
166
toneType
= ToneGenerator.TONE_CDMA_CALLDROP_LITE;
171
toneType
= ToneGenerator.TONE_SUP_CONGESTION;
176
toneType
= ToneGenerator.TONE_CDMA_ABBR_INTERCEPT;
181
toneType
= ToneGenerator.TONE_CDMA_CALLDROP_LITE;
186
toneType
= ToneGenerator.TONE_CDMA_ALERT_AUTOREDIAL_LITE;
191
toneType
= ToneGenerator.TONE_CDMA_REORDER
[
all
...]
/packages/services/Telephony/src/com/android/phone/
CallNotifier.java
339
int
toneType
= 0; // passed to ToneGenerator.startTone()
346
toneType
= ToneGenerator.TONE_SUP_CALL_WAITING;
353
toneType
= ToneGenerator.TONE_CDMA_NETWORK_BUSY_ONE_SHOT;
360
toneType
= ToneGenerator.TONE_SUP_BUSY;
368
toneType
= ToneGenerator.TONE_SUP_CONGESTION;
374
toneType
= ToneGenerator.TONE_PROP_PROMPT;
381
toneType
= ToneGenerator.TONE_CDMA_ALERT_CALL_GUARD;
385
toneType
= ToneGenerator.TONE_PROP_PROMPT;
391
toneType
= ToneGenerator.TONE_CDMA_ALERT_NETWORK_LITE;
396
toneType
= ToneGenerator.TONE_CDMA_REORDER
[
all
...]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
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
...]
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
...]
/frameworks/base/core/jni/
android_media_ToneGenerator.cpp
41
static jboolean android_media_ToneGenerator_startTone(JNIEnv *env, jobject thiz, jint
toneType
, jint durationMs) {
51
return lpToneGen->startTone((ToneGenerator::tone_type)
toneType
, durationMs);
/frameworks/base/media/java/android/media/
ToneGenerator.java
31
/* Values for
toneType
parameter of ToneGenerator() constructor */
753
* @param
toneType
The type of tone generated chosen from the following list:
855
public boolean startTone(int
toneType
) {
856
return startTone(
toneType
, -1);
861
* @param
toneType
The type of tone generated @see {@link #startTone(int)}.
866
public native boolean startTone(int
toneType
, int durationMs);
/packages/apps/Messaging/src/com/android/messaging/ui/
UIIntents.java
261
* @param
toneType
type of ringtone to pick, maybe any of RingtoneManager.TYPE_*
264
final Uri defaultUri, final int
toneType
);
UIIntentsImpl.java
442
final Uri defaultUri, final int
toneType
) {
444
.putExtra(RingtoneManager.EXTRA_RINGTONE_TYPE,
toneType
)
/frameworks/av/media/libmedia/
ToneGenerator.cpp
[
all
...]
/frameworks/av/include/media/
ToneGenerator.h
158
bool startTone(tone_type
toneType
, int durationMs = -1);
291
tone_type getToneForRegion(tone_type
toneType
);
/prebuilts/sdk/6/
android.jar
Completed in 468 milliseconds