Home
last modified time | relevance | path

Searched refs:stacked (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DButtonBarLayout.java33 private boolean stacked = false; field in ButtonBarLayout
77 private void setStacked(boolean stacked) { in setStacked() argument
78 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()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java339 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() local
349 stacked.setInterfaceName(mIface); in makeLinkProperties()
360 stacked.addRoute(ipv4Default); in makeLinkProperties()
361 stacked.addLinkAddress(clatAddress); in makeLinkProperties()
362 return stacked; in makeLinkProperties()
/frameworks/base/core/java/com/android/internal/widget/
DButtonBarLayout.java147 private void setStacked(boolean stacked) { in setStacked() argument
148 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()
/frameworks/base/core/java/android/net/
DLinkProperties.java230 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() local
833 stacked.add(new LinkProperties(link)); in getStackedLinks()
[all …]
/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java480 LinkProperties stacked = new LinkProperties(); in testAddressMethods() local
481 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() local
807 stacked.setInterfaceName("v4-test0"); in testIsReachable()
808 v6lp.addStackedLink(stacked); in testIsReachable()
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DOffloadControllerTest.java331 final LinkProperties stacked = new LinkProperties(); in testSetUpstreamLinkPropertiesWorking() local
332 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()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java6018 LinkProperties stacked = new LinkProperties(); in makeClatLinkProperties() local
6019 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()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java6373 for (LinkProperties stacked : newNetwork.linkProperties.getStackedLinks()) { in rematchNetworkAndRequests()
6374 final String stackedIface = stacked.getInterfaceName(); in rematchNetworkAndRequests()