/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | DefaultAudioManagerWrapper.java | 38 private final AudioManager mAudioManager; field in DefaultAudioManagerWrapper 41 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in DefaultAudioManagerWrapper() 47 mAudioManager.adjustStreamVolume(streamType, direction, flags); in adjustStreamVolume() 53 mAudioManager.setStreamVolume(streamType, index, flags); in setStreamVolume() 58 return mAudioManager.getStreamVolume(streamType); in getStreamVolume() 63 return mAudioManager.getStreamMinVolume(streamType); in getStreamMinVolume() 68 return mAudioManager.getStreamMaxVolume(streamType); in getStreamMaxVolume() 73 return mAudioManager.isStreamMute(streamType); in isStreamMute() 78 mAudioManager.setStreamMute(streamType, state); in setStreamMute() 83 return mAudioManager.setHdmiSystemAudioSupported(on); in setHdmiSystemAudioSupported() [all …]
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioManagerTest.java | 55 private AudioManager mAudioManager; field in AudioManagerTest 62 mAudioManager = getApplicationContext().getSystemService(AudioManager.class); in setUp() 71 mAudioManager.getAudioProductStrategies(); in testGetAndValidateProductStrategies() 74 List<AudioVolumeGroup> audioVolumeGroups = mAudioManager.getAudioVolumeGroups(); in testGetAndValidateProductStrategies() 135 List<AudioVolumeGroup> audioVolumeGroups = mAudioManager.getAudioVolumeGroups(); in testGetAndValidateVolumeGroups() 139 mAudioManager.getAudioProductStrategies(); in testGetAndValidateVolumeGroups() 217 () -> mAudioManager.getMaxVolumeIndexForAttributes(nullAttributes)); in testSetGetVolumePerAttributesWithInvalidAttributes() 220 () -> mAudioManager.getMinVolumeIndexForAttributes(nullAttributes)); in testSetGetVolumePerAttributesWithInvalidAttributes() 223 () -> mAudioManager.getVolumeIndexForAttributes(nullAttributes)); in testSetGetVolumePerAttributesWithInvalidAttributes() 226 () -> mAudioManager.setVolumeIndexForAttributes( in testSetGetVolumePerAttributesWithInvalidAttributes() [all …]
|
D | AudioVolumeGroupChangeHandlerTest.java | 52 private AudioManager mAudioManager; field in AudioVolumeGroupChangeHandlerTest 56 mAudioManager = getApplicationContext().getSystemService(AudioManager.class); in setUp() 114 List<AudioVolumeGroup> audioVolumeGroups = mAudioManager.getAudioVolumeGroups(); in testCallbackReceived() 131 int index = mAudioManager.getVolumeIndexForAttributes(aa); in testCallbackReceived() 132 int indexMax = mAudioManager.getMaxVolumeIndexForAttributes(aa); in testCallbackReceived() 133 int indexMin = mAudioManager.getMinVolumeIndexForAttributes(aa); in testCallbackReceived() 139 mAudioManager.setVolumeIndexForAttributes(aa, indexForAa, 0/*flags*/); in testCallbackReceived() 143 final int readIndex = mAudioManager.getVolumeIndexForAttributes(aa); in testCallbackReceived() 169 List<AudioVolumeGroup> audioVolumeGroups = mAudioManager.getAudioVolumeGroups(); in testMultipleCallbackReceived() 186 int index = mAudioManager.getVolumeIndexForAttributes(aa); in testMultipleCallbackReceived() [all …]
|
D | AudioVolumesTestRule.java | 44 private AudioManager mAudioManager; field in AudioVolumesTestRule 53 List<AudioVolumeGroup> audioVolumeGroups = mAudioManager.getAudioVolumeGroups(); in storeAllVolumes() 73 avg.getId(), mAudioManager.getVolumeIndexForAttributes(avgAttributes)); in storeAllVolumes() 81 List<AudioVolumeGroup> audioVolumeGroups = mAudioManager.getAudioVolumeGroups(); in restoreAllVolumes() 94 mAudioManager.setVolumeIndexForAttributes( in restoreAllVolumes() 106 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in setUp() 114 mOriginalStreamVolumes.put(streamType, mAudioManager.getStreamVolume(streamType)); in setUp() 125 mAudioManager.setStreamVolume(e.getKey(), e.getValue(), in tearDown()
|
D | AudioPolicyDeathTestActivity.java | 41 private AudioManager mAudioManager = null; field in AudioPolicyDeathTestActivity 51 mAudioManager = getApplicationContext().getSystemService(AudioManager.class); in onCreate() 74 int result = mAudioManager.registerAudioPolicy(mAudioPolicy); in onCreate() 103 if (mAudioManager != null && mAudioPolicy != null) { in onDestroy() 104 mAudioManager.unregisterAudioPolicy(mAudioPolicy); in onDestroy()
|
D | AudioVolumeGroupTest.java | 52 private AudioManager mAudioManager; field in AudioVolumeGroupTest 56 mAudioManager = getApplicationContext().getSystemService(AudioManager.class); in setUp() 79 final List<AudioVolumeGroup> audioVolumeGroup = mAudioManager.getAudioVolumeGroups(); in testGetVolumeGroups() 84 mAudioManager.getAudioProductStrategies(); in testGetVolumeGroups()
|
/frameworks/av/media/libaudioclient/ |
D | RecordingActivityTracker.cpp | 31 mAudioManager = interface_cast<IAudioManager>(binder); in RecordingActivityTracker() 39 if (mRIId != RECORD_RIID_INVALID && mAudioManager) { in ~RecordingActivityTracker() 40 mAudioManager->releaseRecorder(mRIId); in ~RecordingActivityTracker() 46 if (mRIId == RECORD_RIID_INVALID && mAudioManager) { in getRiid() 47 mRIId = mAudioManager->trackRecorder(mToken); in getRiid() 54 if (getRiid() != RECORD_RIID_INVALID && mAudioManager) { in recordingStarted() 55 mAudioManager->recorderEvent(mRIId, RECORDER_STATE_STARTED); in recordingStarted() 61 if (getRiid() != RECORD_RIID_INVALID && mAudioManager) { in recordingStopped() 62 mAudioManager->recorderEvent(mRIId, RECORDER_STATE_STOPPED); in recordingStopped()
|
D | PlayerBase.cpp | 42 mAudioManager = interface_cast<IAudioManager>(binder); in PlayerBase() 53 if (mAudioManager == 0) { in init() 56 mPIId = mAudioManager->trackPlayer(playerType, usage, AUDIO_CONTENT_TYPE_UNKNOWN, this, in init() 62 if (mAudioManager == nullptr) { in triggerPortIdUpdate() 71 mAudioManager->playerEvent(mPIId, android::PLAYER_UPDATE_PORT_ID, portId); in triggerPortIdUpdate() 77 if (mAudioManager != 0) { in baseDestroy() 78 mAudioManager.clear(); in baseDestroy() 84 if (mAudioManager != 0) { in servicePlayerEvent() 102 mAudioManager->playerEvent(mPIId, event, deviceId); in servicePlayerEvent() 108 if (mAudioManager != 0 in serviceReleasePlayer() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | BaseTvToAudioSystemAvbTest.java | 98 assertThat(mAudioManager.getDeviceVolumeBehavior(getAudioOutputDevice())).isEqualTo( in savlNotSupported_systemAudioDeviceSendsReportAudioStatus_adjustOnlyAvbEnabled() 103 assertThat(mAudioManager.getDeviceVolumeBehavior(getAudioOutputDevice())).isEqualTo( in savlNotSupported_systemAudioDeviceSendsReportAudioStatus_adjustOnlyAvbEnabled() 126 assertThat(mAudioManager.getDeviceVolumeBehavior(getAudioOutputDevice())).isEqualTo( in avbEnabled_savlNotSupported_receiveReportAudioStatus_switchToAdjustOnlyAvb() 151 assertThat(mAudioManager.getDeviceVolumeBehavior(getAudioOutputDevice())).isEqualTo( in avbEnabled_savlFeatureAborted_receiveReportAudioStatus_switchToAdjustOnlyAvb() 171 verify(mAudioManager).setStreamVolume(eq(AudioManager.STREAM_MUSIC), eq(5), in adjustOnlyAvbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges() 173 verify(mAudioManager).adjustStreamVolume(eq(AudioManager.STREAM_MUSIC), in adjustOnlyAvbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges() 175 clearInvocations(mAudioManager); in adjustOnlyAvbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges() 180 verify(mAudioManager).setStreamVolume(eq(AudioManager.STREAM_MUSIC), eq(8), in adjustOnlyAvbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges() 182 verify(mAudioManager).adjustStreamVolume(eq(AudioManager.STREAM_MUSIC), in adjustOnlyAvbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges() 184 clearInvocations(mAudioManager); in adjustOnlyAvbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges() [all …]
|
D | BaseAbsoluteVolumeBehaviorTest.java | 89 protected AudioManagerWrapper mAudioManager; field in BaseAbsoluteVolumeBehaviorTest 130 mAudioManager = spy(mAudioFramework.getAudioManager()); in setUp() 133 mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, 1, EMPTY_FLAGS); in setUp() 134 mAudioManager.setStreamMute(AudioManager.STREAM_MUSIC, true); in setUp() 139 mAudioManager, mAudioDeviceVolumeManager) { in setUp() 223 mAudioManager.setDeviceVolumeBehavior(HdmiControlService.AUDIO_OUTPUT_DEVICE_HDMI, in adoptFullVolumeBehaviorOnAvbCapableAudioOutputDevices() 226 mAudioManager.setDeviceVolumeBehavior(HdmiControlService.AUDIO_OUTPUT_DEVICE_HDMI_ARC, in adoptFullVolumeBehaviorOnAvbCapableAudioOutputDevices() 228 mAudioManager.setDeviceVolumeBehavior(HdmiControlService.AUDIO_OUTPUT_DEVICE_HDMI_EARC, in adoptFullVolumeBehaviorOnAvbCapableAudioOutputDevices() 304 assertThat(mAudioManager.getDeviceVolumeBehavior(getAudioOutputDevice())).isEqualTo( in enableAbsoluteVolumeBehavior() 317 assertThat(mAudioManager.getDeviceVolumeBehavior(getAudioOutputDevice())).isEqualTo( in enableAdjustOnlyAbsoluteVolumeBehavior() [all …]
|
D | HdmiEarcLocalDeviceTxTest.java | 80 private AudioManagerWrapper mAudioManager; field in HdmiEarcLocalDeviceTxTest 93 mAudioManager = spy(audioFramework.getAudioManager()); in setUp() 98 mAudioManager, audioFramework.getAudioDeviceVolumeManager()) { in setUp() 152 verify(mAudioManager, times(1)).setWiredDeviceConnectionState( in earcGetsConnected_capsReportedInTime_sad() 184 verify(mAudioManager, times(1)).setWiredDeviceConnectionState( in earcGetsConnected_capsReportedInTime_sad_sadb() 243 verify(mAudioManager, times(1)).setWiredDeviceConnectionState( in earcGetsConnected_capsReportedInTime_sad_sadb_vsadb() 274 verify(mAudioManager, times(1)).setWiredDeviceConnectionState( in earcGetsConnected_capsReportedTooLate() 279 Mockito.clearInvocations(mAudioManager); in earcGetsConnected_capsReportedTooLate() 283 verify(mAudioManager, times(0)).setWiredDeviceConnectionState(any(), anyInt()); in earcGetsConnected_capsReportedTooLate() 292 verify(mAudioManager, times(0)).setWiredDeviceConnectionState(any(), eq(1)); in earcGetsConnected_earcGetsDisconnectedBeforeCapsReported() [all …]
|
D | PlaybackDeviceToTvAvbTest.java | 68 assertThat(mAudioManager.getDeviceVolumeBehavior(getAudioOutputDevice())).isEqualTo( in switchToAudioSystem_absoluteVolumeControlDisabledUntilAllConditionsMet() 71 clearInvocations(mAudioManager, mAudioDeviceVolumeManager); in switchToAudioSystem_absoluteVolumeControlDisabledUntilAllConditionsMet() 91 assertThat(mAudioManager.getDeviceVolumeBehavior(getAudioOutputDevice())).isEqualTo( in switchToAudioSystem_absoluteVolumeControlDisabledUntilAllConditionsMet()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioManagerTest.java | 38 private AudioManager mAudioManager; field in MediaAudioManagerTest 57 mAudioManager = (AudioManager)getActivity().getSystemService(Context.AUDIO_SERVICE); in initializeAudioManagerWithLooper() 98 int getRingtone = mAudioManager.getRingerMode(); in validateSetRingTone() 113 mAudioManager.setRingerMode(ringtoneMode[i]); in testSetRingtoneMode() 145 int result = mAudioManager.requestAudioFocus(mAudioFocusListener, in verifyAudioFocusLoss() 151 result = mAudioManager.requestAudioFocus(null, AudioManager.STREAM_MUSIC, in verifyAudioFocusLoss() 168 mAudioManager.abandonAudioFocus(mAudioFocusListener); in cleanupAudioFocusListener() 216 int result = mAudioManager.requestAudioFocus(mAudioFocusListener, in testAudioFocusStressListenerRequestAbandon() 231 mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in testAudioFocusStressNoListenerRequestAbandon() 235 mAudioManager.requestAudioFocus(null, AudioManager.STREAM_MUSIC, in testAudioFocusStressNoListenerRequestAbandon() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/systemsounds/ |
D | HomeSoundEffectControllerTest.java | 57 private @Mock AudioManager mAudioManager; field in HomeSoundEffectControllerTest 89 mController = new HomeSoundEffectController(mContext, mAudioManager, in setUp() 103 verify(mAudioManager, never()).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenHomeFirstMovesToFront() 125 verify(mAudioManager).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectPlayedWhenEnabled() 149 verify(mAudioManager).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedTwiceInRow() 155 verify(mAudioManager, times(1)).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedTwiceInRow() 168 verify(mAudioManager, never()).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenNonHomeTaskMovesToFront() 191 verify(mAudioManager).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenOtherHomeActivityMovesToFront() 197 verify(mAudioManager, times(1)).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenOtherHomeActivityMovesToFront() 219 verify(mAudioManager, never()).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenOtherHomeActivityMovesToFrontOfOtherApp() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | HearingAidAudioRoutingHelperTest.java | 68 private AudioManager mAudioManager = mContext.getSystemService(AudioManager.class); field in HearingAidAudioRoutingHelperTest 80 doReturn(mAudioManager).when(mContext).getSystemService(AudioManager.class); in setUp() 83 when(mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS)).thenReturn( in setUp() 85 doReturn(Collections.emptyList()).when(mAudioManager).getPreferredDevicesForStrategy( in setUp() 101 when(mAudioManager.getPreferredDeviceForStrategy(mAudioStrategy)).thenReturn( in setPreferredDeviceRoutingStrategies_hadValueThenValueAuto_callRemoveStrategy() 108 verify(mAudioManager, atLeastOnce()).removePreferredDeviceForStrategy(mAudioStrategy); in setPreferredDeviceRoutingStrategies_hadValueThenValueAuto_callRemoveStrategy() 113 when(mAudioManager.getPreferredDeviceForStrategy(mAudioStrategy)).thenReturn(null); in setPreferredDeviceRoutingStrategies_NoValueThenValueAuto_notCallRemoveStrategy() 119 verify(mAudioManager, never()).removePreferredDeviceForStrategy(mAudioStrategy); in setPreferredDeviceRoutingStrategies_NoValueThenValueAuto_notCallRemoveStrategy() 128 verify(mAudioManager, atLeastOnce()).setPreferredDeviceForStrategy(mAudioStrategy, in setPreferredDeviceRoutingStrategies_valueHearingDevice_callSetStrategy() 140 verify(mAudioManager, atLeastOnce()).setPreferredDeviceForStrategy(mAudioStrategy, in setPreferredDeviceRoutingStrategies_valueDeviceSpeaker_callSetStrategy()
|
D | BluetoothUtilsTest.java | 64 private AudioManager mAudioManager; field in BluetoothUtilsTest 343 mAudioManager)).isEqualTo(true); in isAvailableMediaBluetoothDevice_isConnectedLeAudioDevice_returnTrue() 348 when(mAudioManager.getMode()).thenReturn(AudioManager.MODE_RINGTONE); in isAvailableMediaBluetoothDevice_isHeadset_isConnectedA2dpDevice_returnFalse() 355 mAudioManager)).isEqualTo(false); in isAvailableMediaBluetoothDevice_isHeadset_isConnectedA2dpDevice_returnFalse() 360 when(mAudioManager.getMode()).thenReturn(AudioManager.MODE_NORMAL); in isAvailableMediaBluetoothDevice_isA2dp_isConnectedA2dpDevice_returnTrue() 367 mAudioManager)).isEqualTo(true); in isAvailableMediaBluetoothDevice_isA2dp_isConnectedA2dpDevice_returnTrue() 372 when(mAudioManager.getMode()).thenReturn(AudioManager.MODE_RINGTONE); in isAvailableMediaBluetoothDevice_isHeadset_isConnectedHfpDevice_returnTrue() 379 mAudioManager)).isEqualTo(true); in isAvailableMediaBluetoothDevice_isHeadset_isConnectedHfpDevice_returnTrue() 390 mAudioManager)).isEqualTo(false); in isConnectedBluetoothDevice_isConnectedLeAudioDevice_returnFalse() 395 when(mAudioManager.getMode()).thenReturn(AudioManager.MODE_RINGTONE); in isConnectedBluetoothDevice_isHeadset_isConnectedA2dpDevice_returnTrue() [all …]
|
/frameworks/base/core/java/android/preference/ |
D | SeekBarVolumizer.java | 113 private final AudioManager mAudioManager; field in SeekBarVolumizer 173 mAudioManager = context.getSystemService(AudioManager.class); in SeekBarVolumizer() 184 mAffectedByRingerMode = mAudioManager.isStreamAffectedByRingerMode(mStreamType); in SeekBarVolumizer() 187 mRingerMode = mAudioManager.getRingerModeInternal(); in SeekBarVolumizer() 197 mMaxStreamVolume = mAudioManager.getStreamMaxVolume(mStreamType); in SeekBarVolumizer() 199 mOriginalStreamVolume = mAudioManager.getStreamVolume(mStreamType); in SeekBarVolumizer() 200 mLastAudibleStreamVolume = mAudioManager.getLastAudibleStreamVolume(mStreamType); in SeekBarVolumizer() 201 mMuted = mAudioManager.isStreamMute(mStreamType); in SeekBarVolumizer() 313 mAudioManager.adjustStreamVolume(mStreamType, AudioManager.ADJUST_UNMUTE, 0); in handleMessage() 315 mAudioManager.adjustStreamVolume(mStreamType, AudioManager.ADJUST_MUTE, 0); in handleMessage() [all …]
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/audio/ |
D | AudioRecordingDetector.java | 41 private final AudioManager mAudioManager; field in AudioRecordingDetector 45 mAudioManager = context.getSystemService(AudioManager.class); in AudioRecordingDetector() 50 mAudioManager.registerAudioRecordingCallback(/* cb= */ this, /* handler= */ null); in register() 56 mAudioManager.unregisterAudioRecordingCallback(/* cb= */ this); in unregister()
|
D | AudioPlaybackDetector.java | 41 private final AudioManager mAudioManager; field in AudioPlaybackDetector 45 mAudioManager = context.getSystemService(AudioManager.class); in AudioPlaybackDetector() 50 mAudioManager.registerAudioPlaybackCallback(/* cb= */ this, /* handler= */ null); in register() 56 mAudioManager.unregisterAudioPlaybackCallback(/* cb= */ this); in unregister()
|
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/media/ |
D | TvAudioManager.java | 34 private final AudioManager mAudioManager; field in TvAudioManager 37 mAudioManager = context.getSystemService(AudioManager.class); in TvAudioManager() 58 mAudioManager.setDeviceVolumeBehavior(audioDeviceAttributes, deviceVolumeBehavior); in setDeviceVolumeBehavior() 74 return mAudioManager.getDeviceVolumeBehavior(audioDeviceAttributes); in getDeviceVolumeBehavior()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/ |
D | CsdWarningDialogTest.java | 50 private AudioManager mAudioManager; field in CsdWarningDialogTest 57 mAudioManager = mock(AudioManager.class); in setup() 58 getContext().addMockSystemService(AudioManager.class, mAudioManager); in setup() 66 mAudioManager, mNotificationManager, executor, null); in create1XCsdDialogAndWait_sendsNotification() 81 mAudioManager, mNotificationManager, executor, null); in create5XCsdDiSalogAndWait_willSendNotification()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | HearingAidAudioRoutingHelper.java | 39 private final AudioManager mAudioManager; field in HearingAidAudioRoutingHelper 42 mAudioManager = context.getSystemService(AudioManager.class); in HearingAidAudioRoutingHelper() 116 AudioDeviceInfo[] audioDevices = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getMatchedHearingDeviceAttributes() 144 status &= mAudioManager.setPreferredDeviceForStrategy(strategy, audioDevice); in setPreferredDeviceForStrategies() 154 if (mAudioManager.getPreferredDeviceForStrategy(strategy) != null) { in removePreferredDeviceForStrategies() 155 status &= mAudioManager.removePreferredDeviceForStrategy(strategy); in removePreferredDeviceForStrategies()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | AudioManagerRouteController.java | 89 @NonNull private final AudioManager mAudioManager; field in AudioManagerRouteController 129 mAudioManager = Objects.requireNonNull(audioManager); in AudioManagerRouteController() 153 mAudioManager.registerAudioDeviceCallback(mAudioDeviceCallback, mHandler); in start() 154 mAudioManager.addOnDevicesForAttributesChangedListener( in start() 167 mAudioManager.removeOnDevicesForAttributesChangedListener( in stop() 169 mAudioManager.unregisterAudioDeviceCallback(mAudioDeviceCallback); in stop() 247 mAudioManager.removePreferredDeviceForStrategy(mStrategyForMedia); in getTransferActionForRoute() 257 mAudioManager.setPreferredDeviceForStrategy( in getTransferActionForRoute() 292 mAudioManager.getDevicesForAttributes(MEDIA_USAGE_AUDIO_ATTRIBUTES); in rebuildAvailableRoutes() 311 /* audioDeviceInfos= */ mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS), in rebuildAvailableRoutes() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SafetyWarningDialog.java | 40 private final AudioManager mAudioManager; field in SafetyWarningDialog 49 mAudioManager = audioManager; in SafetyWarningDialog() 86 mAudioManager.disableSafeMediaVolume(); in onKeyUp() 94 mAudioManager.disableSafeMediaVolume(); in onClick()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | BluetoothMediaDevice.java | 43 private final AudioManager mAudioManager; field in BluetoothMediaDevice 52 mAudioManager = context.getSystemService(AudioManager.class); in BluetoothMediaDevice() 135 return mAudioManager.getMutingExpectedDevice() != null && mCachedDevice.getAddress().equals( in isMutingExpectedDevice() 136 mAudioManager.getMutingExpectedDevice().getAddress()); in isMutingExpectedDevice()
|