Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DMediaRouteActionProvider.java52 private int mRouteTypes; field in MediaRouteActionProvider
76 if (mRouteTypes != types) { in setRouteTypes()
84 if (mRouteTypes != 0) { in setRouteTypes()
87 mRouteTypes = types; in setRouteTypes()
95 mButton.setRouteTypes(mRouteTypes); in setRouteTypes()
122 mButton.setRouteTypes(mRouteTypes); in onCreateActionView()
145 return mRouter.isRouteAvailable(mRouteTypes, in isVisible()
DMediaRouteButton.java40 private int mRouteTypes; field in MediaRouteButton
107 return mRouteTypes; in getRouteTypes()
117 if (mRouteTypes != types) { in setRouteTypes()
118 if (mAttachedToWindow && mRouteTypes != 0) { in setRouteTypes()
122 mRouteTypes = types; in setRouteTypes()
159 mRouteTypes, mExtendedSettingsClickListener); in showDialogInternal()
261 if (mRouteTypes != 0) { in onAttachedToWindow()
262 mRouter.addCallback(mRouteTypes, mCallback, in onAttachedToWindow()
271 if (mRouteTypes != 0) { in onDetachedFromWindow()
344 final boolean isRemote = !route.isDefault() && route.matchesTypes(mRouteTypes); in refreshRoute()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteChooserDialog.java55 private int mRouteTypes; field in MediaRouteChooserDialog
76 return mRouteTypes; in getRouteTypes()
86 if (mRouteTypes != types) { in setRouteTypes()
87 mRouteTypes = types; in setRouteTypes()
118 return !route.isDefault() && route.isEnabled() && route.matchesTypes(mRouteTypes); in onFilterRoute()
128 setTitle(mRouteTypes == MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY in onCreate()
160 mRouter.addCallback(mRouteTypes, mCallback, MediaRouter.CALLBACK_FLAG_PERFORM_ACTIVE_SCAN); in onAttachedToWindow()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java582 if (clientRecord.mRouteTypes != routeTypes in setDiscoveryRequestLocked()
588 clientRecord.mRouteTypes = routeTypes; in setDiscoveryRequestLocked()
693 if (clientRecord.mRouteTypes != 0 || clientRecord.mActiveScan) { in disposeClientLocked()
739 public int mRouteTypes; field in MediaRouterService.ClientRecord
772 pw.println(indent + "mRouteTypes=0x" + Integer.toHexString(mRouteTypes)); in dump()
1009 routeTypes |= clientRecord.mRouteTypes; in updateDiscoveryRequest()