Searched refs:getActiveRemoteToken (Results 1 – 4 of 4) sorted by relevance
84 when(RemoteVolumePreferenceController.getActiveRemoteToken(mContext)).thenReturn(token); in getSlices_hasActiveRemoteToken_containsRemoteMediaUri()101 when(RemoteVolumePreferenceController.getActiveRemoteToken(mContext)) in getSlices_doesNotHaveActiveRemoteToken_doesNotcontainRemoteMediaUri()
89 updateToken(getActiveRemoteToken(mContext)); in RemoteVolumePreferenceController()102 public static MediaSession.Token getActiveRemoteToken(Context context) { in getActiveRemoteToken() method in RemoteVolumePreferenceController
91 assertThat(mController.getActiveRemoteToken(mContext)).isEqualTo(mToken); in getActiveRemoteToken_containRemoteMedia_returnToken()99 assertThat(mController.getActiveRemoteToken(mContext)).isNull(); in getActiveRemoteToken_noRemoteMedia_returnNull()
58 if (RemoteVolumePreferenceController.getActiveRemoteToken(mContext) != null) { in getSlices()