Searched refs:isIndependentPlaybackConfig (Results 1 – 12 of 12) sorted by relevance
196 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()
199 public boolean isIndependentPlaybackConfig() { in isIndependentPlaybackConfig() method in CarMediaManager201 return mService.isIndependentPlaybackConfig(getContext().getUser().getIdentifier()); in isIndependentPlaybackConfig()
40 boolean isIndependentPlaybackConfig(int userId); in isIndependentPlaybackConfig() method
634 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()
121 …on(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public boolean isIndependentPlaybackConfig();
903 public boolean isIndependentPlaybackConfig(@UserIdInt int userId) { in isIndependentPlaybackConfig() method in CarMediaService
411 android.car.media CarMediaManager boolean isIndependentPlaybackConfig()
513 android.car.media CarMediaManager boolean isIndependentPlaybackConfig()
457 android.car.media CarMediaManager boolean isIndependentPlaybackConfig()
236 method TIRAMISU_0 @hiddenOnly boolean isIndependentPlaybackConfig();
1830 …on(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public boolean isIndependentPlaybackConfig();