Home
last modified time | relevance | path

Searched refs:maxVolume (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/
DCustomInputEventListener.java221 int maxVolume = mCarAudioManager.getGroupMaxVolume(zoneId, volumeGroupId); in increaseVolume() local
223 if (volume > maxVolume) { in increaseVolume()
225 + maxVolume + ") for zoneId (" + zoneId + ") and volumeGroupId (" in increaseVolume()
228 if (volume == maxVolume) { in increaseVolume()
230 Log.d(TAG, "Volume for stream type (" + usage + ") is already max (" + maxVolume in increaseVolume()
239 + maxVolume + ")"); in increaseVolume()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DCarAudioZoneVolumeAdapter.java57 vh.maxVolume = convertView.findViewById(R.id.volume_limit); in getView()
77 vh.maxVolume.setText("Max"); in getView()
87 vh.maxVolume.setText(String.valueOf(mVolumeList[position].maxGain)); in getView()
127 public TextView maxVolume; field in CarAudioZoneVolumeAdapter.ViewHolder
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/media/
DCarAudioManagerTest.java124 int maxVolume = mCarAudioManager.getGroupMaxVolume(groudId); in test_getGroupVolume() local
126 .isEqualTo(maxVolume); in test_getGroupVolume()
131 assertThat(volume).isAtMost(maxVolume); in test_getGroupVolume()
273 int maxVolume = mCarAudioManager.getGroupMaxVolume(PRIMARY_AUDIO_ZONE, groupId); in getGroupVolume_whileUnMuted_returnLastSetValue() local
274 int testVolume = (minVolume + maxVolume) / 2; in getGroupVolume_whileUnMuted_returnLastSetValue()
/packages/apps/Settings/src/com/android/settings/media/
DRemoteMediaSlice.java116 final int maxVolume = info.getVolumeMax(); in getSlice() local
117 if (maxVolume <= 0) { in getSlice()
119 + maxVolume); in getSlice()
137 .setMax(maxVolume) in getSlice()
/packages/modules/Bluetooth/android/pandora/server/src/
DAsha.kt242 val maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC) in playbackAudio() constant
243 if (audioManager.getStreamVolume(AudioManager.STREAM_MUSIC) < maxVolume) { in playbackAudio()
246 maxVolume, in playbackAudio()
DA2dp.kt264 val maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC) in playbackAudio() constant
265 if (audioManager.getStreamVolume(AudioManager.STREAM_MUSIC) < maxVolume) { in playbackAudio()
268 maxVolume, in playbackAudio()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DAlarmVolumePreference.kt54 val maxVolume = audioManager.getStreamMaxVolume(STREAM_ALARM) - getMinVolume(audioManager) in onBindViewHolder() constant
56 mSeekbar.setMax(maxVolume) in onBindViewHolder()
/packages/modules/AdServices/sdksandbox/tests/cts/inprocess/src/com/android/sdksandbox/tests/cts/inprocess/
DSdkSandboxConfigurationTest.java260 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_SYSTEM); in testCanAccessVolume() local
263 assertThat(currentVolume).isAtMost(maxVolume); in testCanAccessVolume()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/
DSdkApi.java160 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in getSandboxDump() local
161 return "Current music volume: " + curVolume + ", max music volume: " + maxVolume; in getSandboxDump()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugReportService.java627 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_NOTIFICATION); in playNotificationSound() local
628 volume = (currentVolume + 0.0f) / maxVolume; in playNotificationSound()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java1226 int maxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in getAbsVolume() local
1228 int newIndex = (currIndex * ABS_VOL_BASE) / maxVolume; in getAbsVolume()