Home
last modified time | relevance | path

Searched refs:controllerObj (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/media/api21/android/support/v4/media/session/
DMediaControllerCompatApi21.java49 public static void registerCallback(Object controllerObj, Object callbackObj, Handler handler) { in registerCallback() argument
50 ((MediaController) controllerObj).registerCallback( in registerCallback()
54 public static void unregisterCallback(Object controllerObj, Object callbackObj) { in unregisterCallback() argument
55 ((MediaController) controllerObj) in unregisterCallback()
59 public static void setMediaController(Activity activity, Object controllerObj) { in setMediaController() argument
60 activity.setMediaController((MediaController) controllerObj); in setMediaController()
67 public static Object getSessionToken(Object controllerObj) { in getSessionToken() argument
68 return ((MediaController) controllerObj).getSessionToken(); in getSessionToken()
71 public static Object getTransportControls(Object controllerObj) { in getTransportControls() argument
72 return ((MediaController)controllerObj).getTransportControls(); in getTransportControls()
[all …]
/frameworks/support/media/src/main/java/android/support/v4/media/session/
DMediaControllerCompat.java169 Object controllerObj = null; in setMediaController() local
172 controllerObj = MediaControllerCompatApi21.fromToken(activity, sessionTokenObj); in setMediaController()
174 MediaControllerCompatApi21.setMediaController(activity, controllerObj); in setMediaController()
195 Object controllerObj = MediaControllerCompatApi21.getMediaController(activity); in getMediaController() local
196 if (controllerObj == null) { in getMediaController()
199 Object sessionTokenObj = MediaControllerCompatApi21.getSessionToken(controllerObj); in getMediaController()