/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioTestFragment.java | 156 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 …]
|
D | CarAudioZoneInputFragment.java | 247 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 249 Log.d(TAG, "InputAudioFocusListener focus change:" + focusChange); in onAudioFocusChange() 252 switch (focusChange) { in onAudioFocusChange()
|
D | AudioPlayer.java | 85 public void onAudioFocusChange(int focusChange) { 90 switch (focusChange) {
|
/packages/services/Car/service/src/com/android/car/audio/hal/ |
D | HalAudioFocus.java | 238 .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()
|
D | AudioControlWrapperV2.java | 101 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()
|
D | AudioControlWrapperAidl.java | 101 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()
|
D | AudioControlWrapper.java | 82 void onAudioFocusChange(@AttributeUsage int usage, int zoneId, int focusChange); in onAudioFocusChange() argument
|
D | AudioControlWrapperV1.java | 84 public void onAudioFocusChange(int usage, int zoneId, int focusChange) { in onAudioFocusChange() argument
|
/packages/apps/Car/Radio/src/com/android/car/radio/audio/ |
D | AudioStreamController.java | 250 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/ |
D | VoicemailAudioManager.java | 70 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/ |
D | A2dpSinkStreamHandler.java | 106 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/ |
D | AudioAutoStartActivity.java | 234 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/ |
D | AudioManagerHelper.java | 141 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/ |
D | CarAudioZoneVolumeFragment.java | 280 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 281 if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { in onAudioFocusChange()
|
/packages/apps/Music/src/com/android/music/ |
D | AudioPreview.java | 278 public void onAudioFocusChange(int focusChange) { 285 switch (focusChange) {
|
/packages/apps/Music/kotlin/src/com/android/music/ |
D | AudioPreview.kt | 249 override fun onAudioFocusChange(focusChange: Int) { in onAudioFocusChange() 256 when (focusChange) { in onAudioFocusChange()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 666 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 667 log("onAudioFocusChanged: " + focusChange); in onAudioFocusChange()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | BugReportActivity.java | 541 .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/ |
D | CarAudioFocusTest.java | 835 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 838 mFocusChange = focusChange; in onAudioFocusChange()
|