Searched refs:MUSIC_GROUP_ID (Results 1 – 6 of 6) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CoreAudioVolumeGroupTest.java | 31 import static com.android.car.audio.CoreAudioRoutingUtils.MUSIC_GROUP_ID; 117 doReturn(MUSIC_GROUP_ID) in setupMock() 132 when(mMockAudioManager.getLastAudibleVolumeForVolumeGroup(MUSIC_GROUP_ID)) in setupMock() 134 when(mMockAudioManager.isVolumeGroupMuted(MUSIC_GROUP_ID)).thenReturn(false); in setupMock() 245 eq(MUSIC_GROUP_ID), eq(index), anyInt()); in setAndGetIndex() 264 eq(MUSIC_GROUP_ID), eq(AudioManager.ADJUST_MUTE), anyInt()); in muteUnmute() 270 when(mMockAudioManager.isVolumeGroupMuted(MUSIC_GROUP_ID)).thenReturn(true); in muteUnmute() 275 eq(MUSIC_GROUP_ID), eq(AudioManager.ADJUST_UNMUTE), anyInt()); in muteUnmute() 288 eq(MUSIC_GROUP_ID), eq(MUSIC_MIN_INDEX), anyInt()); in muteByVolumeZeroKeepMuted() 295 eq(MUSIC_GROUP_ID), eq(AudioManager.ADJUST_MUTE), anyInt()); in muteByVolumeZeroKeepMuted() [all …]
|
D | CoreAudioHelperTest.java | 27 import static com.android.car.audio.CoreAudioRoutingUtils.MUSIC_GROUP_ID; 263 expectWithMessage("Music group id (%s) for music attributes (%s)", MUSIC_GROUP_ID, in getVolumeGroupIdForAudioAttributes_withSupportedAttributes_succeeds() 266 .isEqualTo(MUSIC_GROUP_ID); in getVolumeGroupIdForAudioAttributes_withSupportedAttributes_succeeds() 286 expectWithMessage("Music group name for id (%s)", MUSIC_GROUP_ID) in getVolumeGroupNameFromCoreId_withValidGroupId_succeeds() 287 .that(CoreAudioHelper.getVolumeGroupNameFromCoreId(MUSIC_GROUP_ID)) in getVolumeGroupNameFromCoreId_withValidGroupId_succeeds()
|
D | CoreAudioRoutingUtils.java | 63 public static final int MUSIC_GROUP_ID = 666; field in CoreAudioRoutingUtils 117 parcel.writeInt(MUSIC_GROUP_ID); 216 parcel.writeInt(MUSIC_GROUP_ID);
|
D | CarAudioServiceUnitTest.java | 5378 when(mAudioManager.getLastAudibleVolumeForVolumeGroup(CoreAudioRoutingUtils.MUSIC_GROUP_ID)) in onAudioVolumeGroupChanged_dispatchCallbackEvent() 5380 when(mAudioManager.isVolumeGroupMuted(CoreAudioRoutingUtils.MUSIC_GROUP_ID)) in onAudioVolumeGroupChanged_dispatchCallbackEvent() 5415 when(mAudioManager.isVolumeGroupMuted(CoreAudioRoutingUtils.MUSIC_GROUP_ID)) in onAudioVolumeGroupChanged_dispatchCallbackEvent_whenMuted() 6702 when(mAudioManager.getLastAudibleVolumeForVolumeGroup(CoreAudioRoutingUtils.MUSIC_GROUP_ID)) in mockCoreAudioRoutingAndVolume() 6704 when(mAudioManager.isVolumeGroupMuted(CoreAudioRoutingUtils.MUSIC_GROUP_ID)) in mockCoreAudioRoutingAndVolume() 6721 doReturn(CoreAudioRoutingUtils.MUSIC_GROUP_ID) in mockCoreAudioRoutingAndVolume()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CoreAudioRoutingUtils.java | 46 static final int MUSIC_GROUP_ID = 666; field in CoreAudioRoutingUtils 102 parcel.writeInt(/* volumeGroupId= */ MUSIC_GROUP_ID); 184 parcel.writeInt(MUSIC_GROUP_ID);
|
D | CarAudioZonesHelperTest.java | 2097 doReturn(CoreAudioRoutingUtils.MUSIC_GROUP_ID) in setupAudioManagerMock()
|