OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ringerMode
(Results
1 - 18
of
18
) 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/java/android/media/
IAudioService.aidl
50
void setRingerMode(int
ringerMode
);
AudioManager.java
556
public static boolean isValidRingerMode(int
ringerMode
) {
557
if (
ringerMode
< 0 ||
ringerMode
> RINGER_MODE_MAX) {
620
* @param
ringerMode
The ringer mode, one of {@link #RINGER_MODE_NORMAL},
624
public void setRingerMode(int
ringerMode
) {
625
if (!isValidRingerMode(
ringerMode
)) {
630
service.setRingerMode(
ringerMode
);
[
all
...]
AudioService.java
705
public void setRingerMode(int
ringerMode
) {
707
if (
ringerMode
!= mRingerMode) {
708
setRingerModeInt(
ringerMode
, true);
715
private void setRingerModeInt(int
ringerMode
, boolean persist) {
716
mRingerMode =
ringerMode
;
[
all
...]
/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;
/packages/apps/Settings/src/com/android/settings/
SoundSettings.java
250
int
ringerMode
= AudioManager.RINGER_MODE_NORMAL;
252
ringerMode
= AudioManager.RINGER_MODE_SILENT;
254
ringerMode
= AudioManager.RINGER_MODE_VIBRATE;
256
mAudioManager.setRingerMode(
ringerMode
);
/packages/apps/Phone/src/com/android/phone/
EmergencyDialer.java
535
int
ringerMode
= audioManager.getRingerMode();
536
if ((
ringerMode
== AudioManager.RINGER_MODE_SILENT)
537
|| (
ringerMode
== AudioManager.RINGER_MODE_VIBRATE)) {
CallNotifier.java
[
all
...]
PhoneApp.java
[
all
...]
/cts/tests/tests/media/src/android/media/cts/
AudioManagerTest.java
592
int
ringerMode
= mAudioManager.getRingerMode();
594
assertEquals(
ringerMode
, mAudioManager.getRingerMode());
597
assertEquals(
ringerMode
, mAudioManager.getRingerMode());
/frameworks/base/policy/src/com/android/internal/policy/impl/
GlobalActions.java
509
private int ringerModeToIndex(int
ringerMode
) {
511
return
ringerMode
;
/packages/apps/Contacts/src/com/android/contacts/dialpad/
DialpadFragment.java
[
all
...]
/prebuilt/sdk/14/
android.jar
/prebuilt/sdk/15/
android.jar
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/5/
android.jar
/prebuilt/sdk/6/
android.jar
/prebuilt/sdk/8/
android.jar
Completed in 453 milliseconds