Home
last modified time | relevance | path

Searched refs:isIndependentPlaybackConfig (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/
DCarMediaManagerUnitTest.java196 when(mServiceMock.isIndependentPlaybackConfig(TEST_USER_ID)).thenReturn(true); in testIsIndependentPlaybackConfig()
199 .isIndependentPlaybackConfig()).isTrue(); in testIsIndependentPlaybackConfig()
205 doThrow(mRemoteException).when(mServiceMock).isIndependentPlaybackConfig(TEST_USER_ID); in testIsIndependentPlaybackConfig_whenServiceThrowsRemoteException_returnFalse()
208 .that(mMediaManager.isIndependentPlaybackConfig()).isFalse(); in testIsIndependentPlaybackConfig_whenServiceThrowsRemoteException_returnFalse()
/packages/services/Car/car-lib/src/android/car/media/
DCarMediaManager.java199 public boolean isIndependentPlaybackConfig() { in isIndependentPlaybackConfig() method in CarMediaManager
201 return mService.isIndependentPlaybackConfig(getContext().getUser().getIdentifier()); in isIndependentPlaybackConfig()
DICarMedia.aidl40 boolean isIndependentPlaybackConfig(int userId); in isIndependentPlaybackConfig() method
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java634 assertThat(mCarMediaService.isIndependentPlaybackConfig(TEST_USER_ID)).isTrue(); in testIsIndependentPlaybackConfig_true()
641 assertThat(mCarMediaService.isIndependentPlaybackConfig(TEST_USER_ID)).isFalse(); in testIsIndependentPlaybackConfig_false()
649 assertThat(mCarMediaService.isIndependentPlaybackConfig(TEST_USER_ID)).isFalse(); in testIsIndependentPlaybackConfig_multiUsers()
654 assertThat(mCarMediaService.isIndependentPlaybackConfig(ANOTHER_TEST_USER_ID)).isTrue(); in testIsIndependentPlaybackConfig_multiUsers()
658 assertThat(mCarMediaService.isIndependentPlaybackConfig(TEST_USER_ID)).isFalse(); in testIsIndependentPlaybackConfig_multiUsers()
674 () -> mCarMediaService.isIndependentPlaybackConfig(ANOTHER_TEST_USER_ID)); in testIsIndependentPlaybackConfig_throwsSecurityExceptionWhenUserDoesNotMatch()
683 assertThat(mCarMediaService.isIndependentPlaybackConfig(TEST_USER_ID)).isTrue(); in testSetAndIsIndependentPlaybackConfig_systemUserCanCallForOtherUser()
/packages/services/Car/car-lib-module/api/
Dtest-current.txt121 …on(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public boolean isIndependentPlaybackConfig();
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java903 public boolean isIndependentPlaybackConfig(@UserIdInt int userId) { in isIndependentPlaybackConfig() method in CarMediaService
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.2.txt411 android.car.media CarMediaManager boolean isIndependentPlaybackConfig()
Dcar_hidden_apis_release_33.1.txt411 android.car.media CarMediaManager boolean isIndependentPlaybackConfig()
Dcar_hidden_apis.txt513 android.car.media CarMediaManager boolean isIndependentPlaybackConfig()
Dcar_hidden_apis_release_33.3.txt457 android.car.media CarMediaManager boolean isIndependentPlaybackConfig()
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt236 method TIRAMISU_0 @hiddenOnly boolean isIndependentPlaybackConfig();
/packages/services/Car/car-lib/api/
Dtest-current.txt1830 …on(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public boolean isIndependentPlaybackConfig();