Home
last modified time | relevance | path

Searched refs:mMediaRouterCallback (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DInfoMediaManagerTest.java108 mInfoMediaManager.mMediaRouterCallback.onRoutesAdded(routes); in onRouteAdded_getAvailableRoutes_shouldAddMediaDevice()
131 mInfoMediaManager.mMediaRouterCallback.onRoutesAdded(routes); in onRouteAdded_buildAllRoutes_shouldAddMediaDevice()
159 mInfoMediaManager.mMediaRouterCallback.onPreferredFeaturesChanged(TEST_PACKAGE_NAME, null); in onPreferredFeaturesChanged_samePackageName_shouldAddMediaDevice()
169 mInfoMediaManager.mMediaRouterCallback.onPreferredFeaturesChanged("com.fake.play", null); in onPreferredFeaturesChanged_differentPackageName_doNothing()
195 mInfoMediaManager.mMediaRouterCallback.onRoutesChanged(routes); in onRoutesChanged_getAvailableRoutes_shouldAddMediaDevice()
218 mInfoMediaManager.mMediaRouterCallback.onRoutesChanged(routes); in onRoutesChanged_buildAllRoutes_shouldAddMediaDevice()
259 mInfoMediaManager.mMediaRouterCallback.onRoutesRemoved(routes); in onRoutesRemoved_getAvailableRoutes_shouldAddMediaDevice()
282 mInfoMediaManager.mMediaRouterCallback.onRoutesRemoved(routes); in onRoutesRemoved_buildAllRoutes_shouldAddMediaDevice()
581 mInfoMediaManager.mMediaRouterCallback.onTransferFailed(null, null); in onTransferFailed_shouldDispatchOnRequestFailed()
590 mInfoMediaManager.mMediaRouterCallback.onRequestFailed(REASON_NETWORK_ERROR); in onRequestFailed_shouldDispatchOnRequestFailed()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardDisplayManager.java166 mMediaRouterCallback, MediaRouter.CALLBACK_FLAG_PASSIVE_DISCOVERY); in show()
175 mMediaRouter.removeCallback(mMediaRouterCallback); in hide()
181 private final MediaRouter.SimpleCallback mMediaRouterCallback = field in KeyguardDisplayManager
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DInfoMediaManager.java61 final RouterManagerCallback mMediaRouterCallback = new RouterManagerCallback(); field in InfoMediaManager
86 mRouterManager.registerCallback(mExecutor, mMediaRouterCallback); in startScan()
92 mRouterManager.unregisterCallback(mMediaRouterCallback); in stopScan()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java80 private final MediaRouterCallback mMediaRouterCallback; field in MediaProjectionManagerService
95 mMediaRouterCallback = new MediaRouterCallback(); in MediaProjectionManagerService()
103 mMediaRouter.addCallback(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY, mMediaRouterCallback, in onStart()