Searched refs:controllerInfo (Results 1 – 3 of 3) sorted by relevance
370 final ControllerInfo controllerInfo = new ControllerInfo( in onConnect() local381 controllerInfo.mAllowedCommands = in onConnect()382 mCallback.onConnect(MediaSession2.this, controllerInfo); in onConnect()386 if (controllerInfo.mAllowedCommands == null && !controllerInfo.isTrusted()) { in onConnect()389 if (controllerInfo.mAllowedCommands == null) { in onConnect()392 controllerInfo.mAllowedCommands = in onConnect()396 Log.d(TAG, "Accepting connection: " + controllerInfo); in onConnect()404 controllerInfo.mAllowedCommands); in onConnect()413 controllerInfo.notifyConnected(connectionResult); in onConnect()416 Log.w(TAG, "Controller " + controllerInfo + " has sent connection" in onConnect()[all …]
161 public abstract MediaSession2 onGetSession(@NonNull ControllerInfo controllerInfo); in onGetSession() argument396 final ControllerInfo controllerInfo = new ControllerInfo( in connect() local405 + " controller=" + controllerInfo); in connect()409 session = service.onGetSession(controllerInfo); in connect()414 + " controller=" + controllerInfo); in connect()
224 val controllerInfo = in getControllerForAuthority() constant231 controllers.put(authority, controllerInfo) in getControllerForAuthority()233 return controllerInfo.controller in getControllerForAuthority()244 for ((_, controllerInfo) in controllers) { in onCleared() method247 controllerInfo.controller.onDestroy() in onCleared()252 controllerInfo.client.close() in onCleared()