Searched refs:stacked (Results 1 – 8 of 8) sorted by relevance
33 private boolean stacked = false; field in ButtonBarLayout77 private void setStacked(boolean stacked) { in setStacked() argument78 if (this.stacked == stacked) { in setStacked()81 this.stacked = stacked; in setStacked()86 if (stacked) { in setStacked()98 setOrientation(stacked ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); in setStacked()105 if (stacked) { in setStacked()
339 for (LinkProperties stacked: oldLp.getStackedLinks()) { in fixupLinkProperties()340 if (Objects.equals(mIface, stacked.getInterfaceName())) { in fixupLinkProperties()341 lp.addStackedLink(stacked); in fixupLinkProperties()348 LinkProperties stacked = new LinkProperties(); in makeLinkProperties() local349 stacked.setInterfaceName(mIface); in makeLinkProperties()360 stacked.addRoute(ipv4Default); in makeLinkProperties()361 stacked.addLinkAddress(clatAddress); in makeLinkProperties()362 return stacked; in makeLinkProperties()
147 private void setStacked(boolean stacked) { in setStacked() argument148 setOrientation(stacked ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); in setStacked()149 setGravity(stacked ? Gravity.END : Gravity.BOTTOM); in setStacked()153 spacer.setVisibility(stacked ? View.GONE : View.INVISIBLE); in setStacked()
230 for (LinkProperties stacked: mStackedLinks.values()) { in getAllInterfaceNames()231 interfaceNames.addAll(stacked.getAllInterfaceNames()); in getAllInterfaceNames()265 for (LinkProperties stacked: mStackedLinks.values()) { in getAllAddresses()266 addresses.addAll(stacked.getAllAddresses()); in getAllAddresses()344 for (LinkProperties stacked: mStackedLinks.values()) { in getAllLinkAddresses()345 addresses.addAll(stacked.getAllLinkAddresses()); in getAllLinkAddresses()731 for (LinkProperties stacked: mStackedLinks.values()) { in getAllRoutes()732 routes.addAll(stacked.getAllRoutes()); in getAllRoutes()831 final List<LinkProperties> stacked = new ArrayList<>(); in getStackedLinks() local833 stacked.add(new LinkProperties(link)); in getStackedLinks()[all …]
480 LinkProperties stacked = new LinkProperties(); in testAddressMethods() local481 stacked.setInterfaceName("stacked"); in testAddressMethods()482 lp.addStackedLink(stacked); in testAddressMethods()483 stacked.addLinkAddress(LINKADDRV4); in testAddressMethods()484 stacked.addLinkAddress(LINKADDRV6); in testAddressMethods()485 assertTrue(stacked.hasIpv4Address()); in testAddressMethods()486 assertTrue(stacked.hasGlobalIpv6Address()); in testAddressMethods()804 LinkProperties stacked = new LinkProperties(); in testIsReachable() local807 stacked.setInterfaceName("v4-test0"); in testIsReachable()808 v6lp.addStackedLink(stacked); in testIsReachable()[all …]
331 final LinkProperties stacked = new LinkProperties(); in testSetUpstreamLinkPropertiesWorking() local332 stacked.setInterfaceName("stacked"); in testSetUpstreamLinkPropertiesWorking()333 stacked.addLinkAddress(new LinkAddress("192.0.2.129/25")); in testSetUpstreamLinkPropertiesWorking()334 stacked.addRoute(new RouteInfo(InetAddress.getByName("192.0.2.254"))); in testSetUpstreamLinkPropertiesWorking()335 stacked.addRoute(new RouteInfo(InetAddress.getByName("fe80::bad:f00"))); in testSetUpstreamLinkPropertiesWorking()336 assertTrue(lp.addStackedLink(stacked)); in testSetUpstreamLinkPropertiesWorking()
6018 LinkProperties stacked = new LinkProperties(); in makeClatLinkProperties() local6019 stacked.setInterfaceName(CLAT_PREFIX + MOBILE_IFNAME); in makeClatLinkProperties()6023 stacked.addRoute(ipv4Default); in makeClatLinkProperties()6024 stacked.addLinkAddress(clatAddress); in makeClatLinkProperties()6025 return stacked; in makeClatLinkProperties()
6373 for (LinkProperties stacked : newNetwork.linkProperties.getStackedLinks()) { in rematchNetworkAndRequests()6374 final String stackedIface = stacked.getInterfaceName(); in rematchNetworkAndRequests()