OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ringerMode
(Results
1 - 22
of
22
) sorted by null
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
ClockBackService.java
278
int
ringerMode
= intent.getIntExtra(AudioManager.EXTRA_RINGER_MODE,
280
configureForRingerMode(
ringerMode
);
335
int
ringerMode
= mAudioManager.getRingerMode();
336
configureForRingerMode(
ringerMode
);
429
* @param
ringerMode
The device ringer mode.
431
private void configureForRingerMode(int
ringerMode
) {
432
if (
ringerMode
== AudioManager.RINGER_MODE_SILENT) {
443
} else if (
ringerMode
== AudioManager.RINGER_MODE_VIBRATE) {
453
} else if (
ringerMode
== AudioManager.RINGER_MODE_NORMAL) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaPresetReverbTest.java
201
int
ringerMode
= am.getRingerMode();
259
am.setRingerMode(
ringerMode
);
274
int
ringerMode
= am.getRingerMode();
344
am.setRingerMode(
ringerMode
);
MediaVisualizerTest.java
234
int
ringerMode
= am.getRingerMode();
300
am.setRingerMode(
ringerMode
);
313
int
ringerMode
= am.getRingerMode();
432
am.setRingerMode(
ringerMode
);
447
int
ringerMode
= am.getRingerMode();
517
am.setRingerMode(
ringerMode
);
MediaEnvReverbTest.java
356
int
ringerMode
= am.getRingerMode();
416
am.setRingerMode(
ringerMode
);
431
int
ringerMode
= am.getRingerMode();
503
am.setRingerMode(
ringerMode
);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PhoneStatusBarPolicy.java
235
final int
ringerMode
= audioManager.getRingerMode();
236
final boolean visible =
ringerMode
== AudioManager.RINGER_MODE_SILENT ||
237
ringerMode
== AudioManager.RINGER_MODE_VIBRATE;
241
if (
ringerMode
== AudioManager.RINGER_MODE_VIBRATE) {
/packages/apps/Phone/src/com/android/phone/
Ringer.java
203
int
ringerMode
= audioManager.getRingerMode();
205
return
ringerMode
!= AudioManager.RINGER_MODE_SILENT;
207
return
ringerMode
== AudioManager.RINGER_MODE_VIBRATE;
CallNotifier.java
[
all
...]
EmergencyDialer.java
579
int
ringerMode
= audioManager.getRingerMode();
580
if ((
ringerMode
== AudioManager.RINGER_MODE_SILENT)
581
|| (
ringerMode
== AudioManager.RINGER_MODE_VIBRATE)) {
PhoneGlobals.java
[
all
...]
/frameworks/base/media/java/android/media/
AudioManager.java
666
public static boolean isValidRingerMode(int
ringerMode
) {
667
if (
ringerMode
< 0 ||
ringerMode
> RINGER_MODE_MAX) {
757
* @param
ringerMode
The ringer mode, one of {@link #RINGER_MODE_NORMAL},
761
public void setRingerMode(int
ringerMode
) {
762
if (!isValidRingerMode(
ringerMode
)) {
767
service.setRingerMode(
ringerMode
);
[
all
...]
AudioService.java
688
int
ringerMode
= ringerModeFromSettings;
691
if (!AudioManager.isValidRingerMode(
ringerMode
)) {
692
ringerMode
= AudioManager.RINGER_MODE_NORMAL;
694
if ((
ringerMode
== AudioManager.RINGER_MODE_VIBRATE) && !mHasVibrator) {
695
ringerMode
= AudioManager.RINGER_MODE_SILENT;
697
if (
ringerMode
!= ringerModeFromSettings) {
698
Settings.Global.putInt(cr, Settings.Global.MODE_RINGER,
ringerMode
);
701
ringerMode
= AudioManager.RINGER_MODE_NORMAL;
704
mRingerMode =
ringerMode
;
[
all
...]
IAudioService.aidl
75
void setRingerMode(int
ringerMode
);
/cts/tests/tests/media/src/android/media/cts/
AudioManagerTest.java
427
int
ringerMode
= mAudioManager.getRingerMode();
429
assertEquals(
ringerMode
, mAudioManager.getRingerMode());
432
assertEquals(
ringerMode
, mAudioManager.getRingerMode());
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DialpadFragment.java
[
all
...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
GlobalActions.java
767
private int ringerModeToIndex(int
ringerMode
) {
769
return
ringerMode
;
[
all
...]
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/8/
android.jar
Completed in 6687 milliseconds