Home
last modified time | relevance | path

Searched refs:AUDIO_SERVICE (Results 1 – 25 of 110) sorted by relevance

12345

/packages/apps/Settings/src/com/android/settings/notification/
DVolumeSeekBarPreference.java75 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in VolumeSeekBarPreference()
82 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in VolumeSeekBarPreference()
89 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in VolumeSeekBarPreference()
96 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in VolumeSeekBarPreference()
DTouchSoundPreferenceController.java45 (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in TouchSoundPreferenceController()
DAudioHelper.java40 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in AudioHelper()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DAlarmVolumePreference.kt22 import android.content.Context.AUDIO_SERVICE
49 val audioManager: AudioManager = context.getSystemService(AUDIO_SERVICE) as AudioManager in onBindViewHolder()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSilentSettingsModel.kt26 import android.content.Context.AUDIO_SERVICE
59 private val mAudioManager = mContext.getSystemService(AUDIO_SERVICE) as AudioManager
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DVolumeTestFragment.java140 mCarAudioManager = (CarAudioManager) car.getCarManager(Car.AUDIO_SERVICE);
154 mAudioManager = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE); in onCreateView()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMovieActivity.java218 ((AudioManager) getSystemService(AUDIO_SERVICE)) in onStart()
231 ((AudioManager) getSystemService(AUDIO_SERVICE)) in onStop()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DMediaPlayerListTest.java77 when(mMockContext.getSystemService(Context.AUDIO_SERVICE)).thenReturn(mockAudioManager); in setUp()
79 .thenReturn(Context.AUDIO_SERVICE); in setUp()
/packages/apps/Messaging/src/com/android/messaging/util/
DMediaUtilImpl.java36 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in playSound()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DAbnormalRingerConditionController.java39 mAudioManager = (AudioManager) appContext.getSystemService(Context.AUDIO_SERVICE); in AbnormalRingerConditionController()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DWiredHeadsetManager.java38 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in WiredHeadsetManager()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/media/
DCarAudioManagerTest.java19 import static android.car.Car.AUDIO_SERVICE;
55 mCarAudioManager = (CarAudioManager) getCar().getCarManager(AUDIO_SERVICE); in setUp()
/packages/services/Telephony/src/com/android/services/telephony/
DEmergencyTonePlayer.java61 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in EmergencyTonePlayer()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DNoAudioPermissionTest.java43 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/
DWiredHeadsetManager.java82 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in WiredHeadsetManager()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DAudioAndHapticFeedbackManager.java57 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in initInternal()
/packages/apps/Car/Settings/src/com/android/car/settings/
DCarSettingsApplication.java86 mCarAudioManager = (CarAudioManager) car.getCarManager(Car.AUDIO_SERVICE);
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncRingtonePlayer.kt230 mAudioManager = context.getSystemService(Context.AUDIO_SERVICE) as AudioManager in <lambda>()
423 mAudioManager = context.getSystemService(Context.AUDIO_SERVICE) as AudioManager in <lambda>()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandlerTest.java96 when(mMockA2dpSink.getSystemService(Context.AUDIO_SERVICE)).thenReturn(mMockAudioManager); in setUp()
98 .thenReturn(Context.AUDIO_SERVICE); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/
DCarSettingsApplicationTest.java128 when(mCar.getCarManager(Car.AUDIO_SERVICE)).thenReturn(mCarAudioManager); in onLifecycleChanged_carServiceReady_carAudioManager()
229 when(mCar.getCarManager(Car.AUDIO_SERVICE)).thenReturn(mCarAudioManager); in onLifecycleChanged_carServiceCrashed_usePreviousValues_exceptCarAudioManager()
/packages/apps/TV/src/com/android/tv/audio/
DAudioManagerHelper.java44 mAudioManager = (AudioManager) activity.getSystemService(Context.AUDIO_SERVICE); in AudioManagerHelper()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DConnectedBluetoothDeviceUpdater.java46 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in ConnectedBluetoothDeviceUpdater()
DAvailableMediaBluetoothDeviceUpdater.java48 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in AvailableMediaBluetoothDeviceUpdater()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DSeparateRingVolumePreferenceControllerTest.java72 shadowContext.setSystemService(Context.AUDIO_SERVICE, mAudioManager); in setUp()
DTouchSoundPreferenceControllerTest.java68 when(mActivity.getSystemService(Context.AUDIO_SERVICE)).thenReturn(mAudioManager); in setUp()

12345