Home
last modified time | relevance | path

Searched refs:MUSIC_STRATEGY_ID (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCoreAudioHelperTest.java30 import static com.android.car.audio.CoreAudioRoutingUtils.MUSIC_STRATEGY_ID;
85 expectWithMessage("Music attributes of music strategy id (%s)", MUSIC_STRATEGY_ID) in getStrategyForAudioAttributes_withValidAttributes_succeeds()
87 .isEqualTo(MUSIC_STRATEGY_ID); in getStrategyForAudioAttributes_withValidAttributes_succeeds()
106 expectWithMessage("Music attributes of Music strategy id (%s)", MUSIC_STRATEGY_ID) in getStrategyForAudioAttributesOrDefault_withValidAttributes_succeeds()
108 .isEqualTo(MUSIC_STRATEGY_ID); in getStrategyForAudioAttributesOrDefault_withValidAttributes_succeeds()
123 .isEqualTo(MUSIC_STRATEGY_ID); in getStrategyForAudioAttributesOrDefault_withInvalidAttributes_fallbacksOnDefault()
159 .isEqualTo(MUSIC_STRATEGY_ID); in getStrategyForContextName_succeeds()
177 expectWithMessage("Music strategy for id (%s)", MUSIC_STRATEGY_ID) in getStrategy_withValidId_succeeds()
178 .that(CoreAudioHelper.getStrategy(MUSIC_STRATEGY_ID)) in getStrategy_withValidId_succeeds()
307 .that(CoreAudioHelper.isDefaultStrategy(MUSIC_STRATEGY_ID)) in isDefaultStrategy()
DCoreAudioRoutingUtils.java61 public static final int MUSIC_STRATEGY_ID = 777; field in CoreAudioRoutingUtils
113 parcel.writeInt(MUSIC_STRATEGY_ID);
301 MUSIC_STRATEGY_ID);
DCarAudioContextTest.java151 doReturn(CoreAudioRoutingUtils.MUSIC_STRATEGY_ID) in setupMock()
182 .isEqualTo(CoreAudioRoutingUtils.MUSIC_STRATEGY_ID); in getContextForAudioAttribute_usingCoreRouting()
196 CoreAudioRoutingUtils.MUSIC_STRATEGY_ID)) in isOemExtensionAudioContext_whenUsingCoreRouting()
938 CoreAudioRoutingUtils.MUSIC_STRATEGY_ID)); in getAudioAttributeWrapperFromAttributes_withMusic_hashCode_succeeds()
DCoreAudioVolumeGroupTest.java36 import static com.android.car.audio.CoreAudioRoutingUtils.MUSIC_STRATEGY_ID;
174 musicContextToDeviceInfo.put(MUSIC_STRATEGY_ID, mOemInfoMock); in setUp()
318 musicContextToDeviceInfo.put(MUSIC_STRATEGY_ID, mOemInfoMock); in setMute_whenNotMutable()
DCarAudioServiceUnitTest.java4142 CoreAudioRoutingUtils.MUSIC_STRATEGY_ID, in getVolumeGroupAndContextCount()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCoreAudioRoutingUtils.java44 static final int MUSIC_STRATEGY_ID = 777; field in CoreAudioRoutingUtils
99 parcel.writeInt(MUSIC_STRATEGY_ID);
269 MUSIC_STRATEGY_ID)); in getCarAudioContextInfos()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioFocusTest.java270 doReturn(CoreAudioRoutingUtils.MUSIC_STRATEGY_ID).when(carAudioContextUsingCoreRouting) in requestAudioFocus_withSameContext_notifiesHalOfExistingRequestStatus()
272 doReturn(CoreAudioRoutingUtils.MUSIC_STRATEGY_ID).when(carAudioContextUsingCoreRouting) in requestAudioFocus_withSameContext_notifiesHalOfExistingRequestStatus()