Searched refs:mCarMediaService (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/ |
D | CarMediaServiceTest.java | 134 private CarMediaService mCarMediaService; field in CarMediaServiceTest 182 mCarMediaService = new CarMediaService(mContext, mMockOccupantZoneService, mUserService, in setUp() 229 mCarMediaService.setIndependentPlaybackConfig(true, TEST_USER_ID); in testSetMediaSource_ModePlaybackIndependent() 232 mCarMediaService.setMediaSource(MEDIA_COMPONENT, MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID); in testSetMediaSource_ModePlaybackIndependent() 234 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID)) in testSetMediaSource_ModePlaybackIndependent() 236 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE, TEST_USER_ID)) in testSetMediaSource_ModePlaybackIndependent() 242 mCarMediaService.setIndependentPlaybackConfig(true, TEST_USER_ID); in testSetMediaSource_ModeBrowseIndependent() 245 mCarMediaService.setMediaSource(MEDIA_COMPONENT, MEDIA_SOURCE_MODE_BROWSE, TEST_USER_ID); in testSetMediaSource_ModeBrowseIndependent() 247 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE, TEST_USER_ID)) in testSetMediaSource_ModeBrowseIndependent() 249 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID)) in testSetMediaSource_ModeBrowseIndependent() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | ICarImpl.java | 158 private final CarMediaService mCarMediaService; field in ICarImpl 386 mCarMediaService = constructWithTrace(t, CarMediaService.class, in ICarImpl() 665 return mCarMediaService; in getCarService()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarInputServiceTest.java | 113 @Mock CarMediaService mCarMediaService; field in CarInputServiceTest 205 CarLocalServices.addService(CarMediaService.class, mCarMediaService); in setUpService()
|