Home
last modified time | relevance | path

Searched refs:AudioModeProvider (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/audiomode/
DAudioModeProvider.java28 public class AudioModeProvider { class
35 private static final AudioModeProvider instance = new AudioModeProvider();
40 public static AudioModeProvider getInstance() { in getInstance()
/packages/apps/Dialer/java/com/android/incallui/
DInCallServiceImpl.java28 import com.android.incallui.audiomode.AudioModeProvider;
54 AudioModeProvider.getInstance().onAudioStateChanged(audioState); in onCallAudioStateChanged()
99 AudioModeProvider.getInstance().initializeAudioState(this); in onBind()
109 context, AudioModeProvider.getInstance(), new AccelerometerListener(context)), in onBind()
DProximitySensor.java30 import com.android.incallui.audiomode.AudioModeProvider;
31 import com.android.incallui.audiomode.AudioModeProvider.AudioModeListener;
49 private final AudioModeProvider audioModeProvider;
62 @NonNull AudioModeProvider audioModeProvider, in ProximitySensor()
DReturnToCallActionReceiver.java27 import com.android.incallui.audiomode.AudioModeProvider;
79 CallAudioState audioState = AudioModeProvider.getInstance().getAudioState(); in toggleSpeaker()
118 boolean shouldMute = !AudioModeProvider.getInstance().getAudioState().isMuted(); in toggleMute()
DReturnToCallController.java43 import com.android.incallui.audiomode.AudioModeProvider;
44 import com.android.incallui.audiomode.AudioModeProvider.AudioModeListener;
101 AudioModeProvider.getInstance().addListener(this); in ReturnToCallController()
102 audioState = AudioModeProvider.getInstance().getAudioState(); in ReturnToCallController()
111 AudioModeProvider.getInstance().removeListener(this); in tearDown()
DAudioRouteSelectorActivity.java26 import com.android.incallui.audiomode.AudioModeProvider;
41 AudioRouteSelectorDialogFragment.newInstance(AudioModeProvider.getInstance().getAudioState()) in onCreate()
DCallButtonPresenter.java40 import com.android.incallui.audiomode.AudioModeProvider;
41 import com.android.incallui.audiomode.AudioModeProvider.AudioModeListener;
79 AudioModeProvider.getInstance().addListener(this); in onInCallButtonUiReady()
99 AudioModeProvider.getInstance().removeListener(this); in onInCallButtonUiUnready()
184 return AudioModeProvider.getInstance().getAudioState(); in getCurrentAudioState()
DInCallPresenter.java64 import com.android.incallui.audiomode.AudioModeProvider;
97 public class InCallPresenter implements CallList.Listener, AudioModeProvider.AudioModeListener {
402 AudioModeProvider.getInstance().addListener(this); in setUp()
494 AudioModeProvider.getInstance().removeListener(this); in tearDown()
2048 if (!AudioModeProvider.getInstance().getAudioState().isMuted()) { in addCallClicked()
DInCallActivity.java80 import com.android.incallui.audiomode.AudioModeProvider;
292 return AudioModeProvider.getInstance().getAudioState().getRoute(); in getAudioRoute()
740 .mute(!AudioModeProvider.getInstance().getAudioState().isMuted()); in onKeyDown()
DStatusBarNotifier.java89 import com.android.incallui.audiomode.AudioModeProvider;
283 final CallAudioState callAudioState = AudioModeProvider.getInstance().getAudioState(); in buildAndSendNotification()
/packages/apps/Dialer/java/com/android/incallui/callpending/
DCallPendingActivity.java33 import com.android.incallui.audiomode.AudioModeProvider;
272 return AudioModeProvider.getInstance().getAudioState(); in newInCallButtonUiDelegate()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java86 import com.android.incallui.audiomode.AudioModeProvider;
1594 CallAudioState audioState = AudioModeProvider.getInstance().getAudioState(); in onUpgradedToVideo()