Home
last modified time | relevance | path

Searched refs:controllerInfo (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Media/apex/framework/java/android/media/
DMediaSession2.java370 final ControllerInfo controllerInfo = new ControllerInfo( in onConnect() local
381 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 …]
DMediaSession2Service.java161 public abstract MediaSession2 onGetSession(@NonNull ControllerInfo controllerInfo); in onGetSession() argument
396 final ControllerInfo controllerInfo = new ControllerInfo( in connect() local
405 + " controller=" + controllerInfo); in connect()
409 session = service.onGetSession(controllerInfo); in connect()
414 + " controller=" + controllerInfo); in connect()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/
DPreviewViewModel.kt224 val controllerInfo = in getControllerForAuthority() constant
231 controllers.put(authority, controllerInfo) in getControllerForAuthority()
233 return controllerInfo.controller in getControllerForAuthority()
244 for ((_, controllerInfo) in controllers) { in onCleared() method
247 controllerInfo.controller.onDestroy() in onCleared()
252 controllerInfo.client.close() in onCleared()