Home
last modified time | relevance | path

Searched refs:focusChange (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java156 private final OnAudioFocusChangeListener mNavFocusListener = (focusChange) -> {
157 Log.i(TAG, "Nav focus change:" + focusChange);
159 private final OnAudioFocusChangeListener mVrFocusListener = (focusChange) -> {
160 Log.i(TAG, "VR focus change:" + focusChange);
162 private final OnAudioFocusChangeListener mRadioFocusListener = (focusChange) -> {
163 Log.i(TAG, "Radio focus change:" + focusChange);
890 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument
891 Log.i(TAG, "onAudioFocusChange " + focusChange); in onAudioFocusChange()
892 if (focusChange == AUDIOFOCUS_GAIN) { in onAudioFocusChange()
894 } else if (focusChange == AUDIOFOCUS_LOSS) { in onAudioFocusChange()
[all …]
DCarAudioZoneInputFragment.java247 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument
249 Log.d(TAG, "InputAudioFocusListener focus change:" + focusChange); in onAudioFocusChange()
252 switch (focusChange) { in onAudioFocusChange()
DAudioPlayer.java85 public void onAudioFocusChange(int focusChange) {
90 switch (focusChange) {
/packages/services/Car/service/src/com/android/car/audio/hal/
DHalAudioFocus.java238 .setOnAudioFocusChangeListener((int focusChange) -> { in generateFocusRequestLocked()
239 onAudioFocusChange(usage, zoneId, focusChange); in generateFocusRequestLocked()
244 private void onAudioFocusChange(int usage, int zoneId, int focusChange) { in onAudioFocusChange() argument
249 if (focusChange == AUDIOFOCUS_LOSS) { in onAudioFocusChange()
252 currentRequest.mFocusStatus = focusChange; in onAudioFocusChange()
254 mAudioControlWrapper.onAudioFocusChange(usage, zoneId, focusChange); in onAudioFocusChange()
DAudioControlWrapperV2.java101 public void onAudioFocusChange(@AttributeUsage int usage, int zoneId, int focusChange) { in onAudioFocusChange() argument
104 + ", zoneId " + zoneId + ", focusChange " + focusChange); in onAudioFocusChange()
107 mAudioControlV2.onAudioFocusChange(usage, zoneId, focusChange); in onAudioFocusChange()
DAudioControlWrapperAidl.java101 public void onAudioFocusChange(@AttributeUsage int usage, int zoneId, int focusChange) { in onAudioFocusChange() argument
104 + ", zoneId " + zoneId + ", focusChange " + focusChange); in onAudioFocusChange()
108 mAudioControl.onAudioFocusChange(usageName, zoneId, focusChange); in onAudioFocusChange()
DAudioControlWrapper.java82 void onAudioFocusChange(@AttributeUsage int usage, int zoneId, int focusChange); in onAudioFocusChange() argument
DAudioControlWrapperV1.java84 public void onAudioFocusChange(int usage, int zoneId, int focusChange) { in onAudioFocusChange() argument
/packages/apps/Car/Radio/src/com/android/car/radio/audio/
DAudioStreamController.java250 private void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument
251 Log.v(TAG, "onAudioFocusChange(" + focusChange + ")"); in onAudioFocusChange()
254 switch (focusChange) { in onAudioFocusChange()
271 Log.w(TAG, "Unexpected audio focus state: " + focusChange); in onAudioFocusChange()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailAudioManager.java70 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument
71 LogUtil.d("VoicemailAudioManager.onAudioFocusChange", "focusChange=" + focusChange); in onAudioFocusChange()
72 voicemailPlaybackPresenter.onAudioFocusChange(focusChange == AudioManager.AUDIOFOCUS_GAIN); in onAudioFocusChange()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandler.java106 public void onAudioFocusChange(int focusChange) {
108 Log.d(TAG, "onAudioFocusChangeListener focuschange " + focusChange);
110 A2dpSinkStreamHandler.this.obtainMessage(AUDIO_FOCUS_CHANGE, focusChange)
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DAudioAutoStartActivity.java234 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument
236 Log.d(TAG, "Audio Auto Start Player Focus change:" + focusChange); in onAudioFocusChange()
238 switch (focusChange) { in onAudioFocusChange()
/packages/apps/TV/src/com/android/tv/audio/
DAudioManagerHelper.java141 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument
142 mAudioFocusStatus = focusChange; in onAudioFocusChange()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DCarAudioZoneVolumeFragment.java280 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument
281 if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { in onAudioFocusChange()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java278 public void onAudioFocusChange(int focusChange) {
285 switch (focusChange) {
/packages/apps/Music/kotlin/src/com/android/music/
DAudioPreview.kt249 override fun onAudioFocusChange(focusChange: Int) { in onAudioFocusChange()
256 when (focusChange) { in onAudioFocusChange()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java666 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument
667 log("onAudioFocusChanged: " + focusChange); in onAudioFocusChange()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugReportActivity.java541 .setOnAudioFocusChangeListener(focusChange -> in startRecordingWithPermission()
542 Log.d(TAG, "AudioManager focus change " + focusChange)) in startRecordingWithPermission()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioFocusTest.java835 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument
838 mFocusChange = focusChange; in onAudioFocusChange()