/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/ |
D | CustomInputEventListener.java | 221 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/ |
D | CarAudioZoneVolumeAdapter.java | 57 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/ |
D | CarAudioManagerTest.java | 124 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/ |
D | RemoteMediaSlice.java | 116 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/ |
D | Asha.kt | 242 val maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC) in playbackAudio() constant 243 if (audioManager.getStreamVolume(AudioManager.STREAM_MUSIC) < maxVolume) { in playbackAudio() 246 maxVolume, in playbackAudio()
|
D | A2dp.kt | 264 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/ |
D | AlarmVolumePreference.kt | 54 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/ |
D | SdkSandboxConfigurationTest.java | 260 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/ |
D | SdkApi.java | 160 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/ |
D | BugReportService.java | 627 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/ |
D | AvrcpControllerStateMachine.java | 1226 int maxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in getAbsVolume() local 1228 int newIndex = (currIndex * ABS_VOL_BASE) / maxVolume; in getAbsVolume()
|