Searched refs:routeInfo (Results 1 – 5 of 5) sorted by relevance
701 public Builder(@NonNull MediaRoute2Info routeInfo) { in Builder() argument702 this(routeInfo.mId, routeInfo); in Builder()713 public Builder(@NonNull String id, @NonNull MediaRoute2Info routeInfo) { in Builder() argument717 Objects.requireNonNull(routeInfo, "routeInfo must not be null"); in Builder()720 mName = routeInfo.mName; in Builder()721 mFeatures = new ArrayList<>(routeInfo.mFeatures); in Builder()722 mType = routeInfo.mType; in Builder()723 mIsSystem = routeInfo.mIsSystem; in Builder()724 mIconUri = routeInfo.mIconUri; in Builder()725 mDescription = routeInfo.mDescription; in Builder()[all …]
243 for (RouteInfo routeInfo : lp.getRoutes()) { in getIPv6OnlyLinkProperties()244 final IpPrefix destination = routeInfo.getDestination(); in getIPv6OnlyLinkProperties()247 v6only.addRoute(routeInfo); in getIPv6OnlyLinkProperties()
675 for (RouteInfo routeInfo : linkProperties.getRoutes()) { in updateLinkProperties()676 if (routeInfo.isIPv4Default() && routeInfo.hasGateway()) { in updateLinkProperties()677 mConnectedInfo.gateway = routeInfo.getGateway().getHostAddress(); in updateLinkProperties()
363 void addLegacyRouteForNetId(int netId, in RouteInfo routeInfo, int uid); in addLegacyRouteForNetId() argument
2012 public void addLegacyRouteForNetId(int netId, RouteInfo routeInfo, int uid) { in addLegacyRouteForNetId() argument2015 final LinkAddress la = routeInfo.getDestinationLinkAddress(); in addLegacyRouteForNetId()2016 final String ifName = routeInfo.getInterface(); in addLegacyRouteForNetId()2020 if (routeInfo.hasGateway()) { in addLegacyRouteForNetId()2021 nextHop = routeInfo.getGateway().getHostAddress(); in addLegacyRouteForNetId()