Searched refs:controllerObj (Results 1 – 2 of 2) sorted by relevance
49 public static void registerCallback(Object controllerObj, Object callbackObj, Handler handler) { in registerCallback() argument50 ((MediaController) controllerObj).registerCallback( in registerCallback()54 public static void unregisterCallback(Object controllerObj, Object callbackObj) { in unregisterCallback() argument55 ((MediaController) controllerObj) in unregisterCallback()59 public static void setMediaController(Activity activity, Object controllerObj) { in setMediaController() argument60 activity.setMediaController((MediaController) controllerObj); in setMediaController()67 public static Object getSessionToken(Object controllerObj) { in getSessionToken() argument68 return ((MediaController) controllerObj).getSessionToken(); in getSessionToken()71 public static Object getTransportControls(Object controllerObj) { in getTransportControls() argument72 return ((MediaController)controllerObj).getTransportControls(); in getTransportControls()[all …]
169 Object controllerObj = null; in setMediaController() local172 controllerObj = MediaControllerCompatApi21.fromToken(activity, sessionTokenObj); in setMediaController()174 MediaControllerCompatApi21.setMediaController(activity, controllerObj); in setMediaController()195 Object controllerObj = MediaControllerCompatApi21.getMediaController(activity); in getMediaController() local196 if (controllerObj == null) { in getMediaController()199 Object sessionTokenObj = MediaControllerCompatApi21.getSessionToken(controllerObj); in getMediaController()