Home
last modified time | relevance | path

Searched refs:routeTypes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DMediaRouteDialogPresenter.java42 int routeTypes, View.OnClickListener extendedSettingsClickListener) { in showDialogFragment() argument
48 if (route.isDefault() || !route.matchesTypes(routeTypes)) { in showDialogFragment()
54 f.setRouteTypes(routeTypes); in showDialogFragment()
71 int routeTypes, View.OnClickListener extendedSettingsClickListener) { in createDialog() argument
75 return createDialog(context, routeTypes, extendedSettingsClickListener, theme); in createDialog()
80 int routeTypes, View.OnClickListener extendedSettingsClickListener, int theme) { in createDialog() argument
81 return createDialog(context, routeTypes, extendedSettingsClickListener, theme, in createDialog()
86 public static Dialog createDialog(Context context, int routeTypes, in createDialog() argument
92 if (route.isDefault() || !route.matchesTypes(routeTypes)) { in createDialog()
95 d.setRouteTypes(routeTypes); in createDialog()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java316 int routeTypes, boolean activeScan) { in setDiscoveryRequest() argument
320 setDiscoveryRequestLocked(client, routeTypes, activeScan); in setDiscoveryRequest()
841 int routeTypes, boolean activeScan) { in setDiscoveryRequestLocked() argument
847 routeTypes &= ~MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY; in setDiscoveryRequestLocked()
850 if (clientRecord.mRouteTypes != routeTypes in setDiscoveryRequestLocked()
854 + Integer.toHexString(routeTypes) + ", activeScan=" + activeScan); in setDiscoveryRequestLocked()
856 clientRecord.mRouteTypes = routeTypes; in setDiscoveryRequestLocked()
1310 int routeTypes = 0; in updateDiscoveryRequest() local
1316 routeTypes |= clientRecord.mRouteTypes; in updateDiscoveryRequest()
1322 if ((routeTypes & MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY) != 0) { in updateDiscoveryRequest()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java90 final int routeTypes = a.getInteger( in MediaRouteButton() local
97 setRouteTypes(routeTypes); in MediaRouteButton()
/frameworks/base/media/java/android/media/
DIMediaRouterService.aidl44 void setDiscoveryRequest(IMediaRouterClient client, int routeTypes, boolean activeScan); in setDiscoveryRequest() argument
DMediaRouter.java305 int routeTypes = 0; in updateDiscoveryRequest() local
315 routeTypes |= cbi.type; in updateDiscoveryRequest()
323 routeTypes |= cbi.type; in updateDiscoveryRequest()
332 if (routeTypes != 0 || activeScan) { in updateDiscoveryRequest()
336 routeTypes |= passiveRouteTypes; in updateDiscoveryRequest()
362 if (routeTypes != mDiscoveryRequestRouteTypes in updateDiscoveryRequest()
364 mDiscoveryRequestRouteTypes = routeTypes; in updateDiscoveryRequest()