/packages/apps/Settings/src/com/android/settings/notification/ |
D | VolumeSeekBarPreference.java | 75 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()
|
D | TouchSoundPreferenceController.java | 45 (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in TouchSoundPreferenceController()
|
D | AudioHelper.java | 40 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in AudioHelper()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | AlarmVolumePreference.kt | 22 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/ |
D | SilentSettingsModel.kt | 26 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/ |
D | VolumeTestFragment.java | 140 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/ |
D | MovieActivity.java | 218 ((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/ |
D | MediaPlayerListTest.java | 77 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/ |
D | MediaUtilImpl.java | 36 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in playSound()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | AbnormalRingerConditionController.java | 39 mAudioManager = (AudioManager) appContext.getSystemService(Context.AUDIO_SERVICE); in AbnormalRingerConditionController()
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | WiredHeadsetManager.java | 38 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in WiredHeadsetManager()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/media/ |
D | CarAudioManagerTest.java | 19 import static android.car.Car.AUDIO_SERVICE; 55 mCarAudioManager = (CarAudioManager) getCar().getCarManager(AUDIO_SERVICE); in setUp()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | EmergencyTonePlayer.java | 61 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in EmergencyTonePlayer()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | NoAudioPermissionTest.java | 43 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in setUp()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | WiredHeadsetManager.java | 82 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in WiredHeadsetManager()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | AudioAndHapticFeedbackManager.java | 57 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in initInternal()
|
/packages/apps/Car/Settings/src/com/android/car/settings/ |
D | CarSettingsApplication.java | 86 mCarAudioManager = (CarAudioManager) car.getCarManager(Car.AUDIO_SERVICE);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AsyncRingtonePlayer.kt | 230 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/ |
D | A2dpSinkStreamHandlerTest.java | 96 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/ |
D | CarSettingsApplicationTest.java | 128 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/ |
D | AudioManagerHelper.java | 44 mAudioManager = (AudioManager) activity.getSystemService(Context.AUDIO_SERVICE); in AudioManagerHelper()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | ConnectedBluetoothDeviceUpdater.java | 46 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in ConnectedBluetoothDeviceUpdater()
|
D | AvailableMediaBluetoothDeviceUpdater.java | 48 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in AvailableMediaBluetoothDeviceUpdater()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | SeparateRingVolumePreferenceControllerTest.java | 72 shadowContext.setSystemService(Context.AUDIO_SERVICE, mAudioManager); in setUp()
|
D | TouchSoundPreferenceControllerTest.java | 68 when(mActivity.getSystemService(Context.AUDIO_SERVICE)).thenReturn(mAudioManager); in setUp()
|