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.java422 for (LinkProperties stacked: oldLp.getStackedLinks()) { in fixupLinkProperties()
423 if (Objects.equals(mIface, stacked.getInterfaceName())) { in fixupLinkProperties()
424 lp.addStackedLink(stacked); in fixupLinkProperties()
431 LinkProperties stacked = new LinkProperties(); in makeLinkProperties() local
432 stacked.setInterfaceName(mIface); in makeLinkProperties()
443 stacked.addRoute(ipv4Default); in makeLinkProperties()
444 stacked.addLinkAddress(clatAddress); in makeLinkProperties()
445 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.java238 for (LinkProperties stacked: mStackedLinks.values()) { in getAllInterfaceNames()
239 interfaceNames.addAll(stacked.getAllInterfaceNames()); in getAllInterfaceNames()
273 for (LinkProperties stacked: mStackedLinks.values()) { in getAllAddresses()
274 addresses.addAll(stacked.getAllAddresses()); in getAllAddresses()
352 for (LinkProperties stacked: mStackedLinks.values()) { in getAllLinkAddresses()
353 addresses.addAll(stacked.getAllLinkAddresses()); in getAllLinkAddresses()
780 for (LinkProperties stacked: mStackedLinks.values()) { in getAllRoutes()
781 routes.addAll(stacked.getAllRoutes()); in getAllRoutes()
874 final List<LinkProperties> stacked = new ArrayList<>(); in getStackedLinks() local
876 stacked.add(new LinkProperties(link)); in getStackedLinks()
[all …]
/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java554 LinkProperties stacked = new LinkProperties(); in testAddressMethods() local
555 stacked.setInterfaceName("stacked"); in testAddressMethods()
556 lp.addStackedLink(stacked); in testAddressMethods()
557 stacked.addLinkAddress(LINKADDRV4); in testAddressMethods()
558 stacked.addLinkAddress(LINKADDRV6); in testAddressMethods()
559 assertTrue(stacked.hasIpv4Address()); in testAddressMethods()
560 assertTrue(stacked.hasGlobalIpv6Address()); in testAddressMethods()
877 LinkProperties stacked = new LinkProperties(); in testIsReachable() local
880 stacked.setInterfaceName("v4-test0"); in testIsReachable()
881 v6lp.addStackedLink(stacked); in testIsReachable()
[all …]
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java360 final LinkProperties stacked = new LinkProperties(); in testSetUpstreamLinkPropertiesWorking() local
361 stacked.setInterfaceName("stacked"); in testSetUpstreamLinkPropertiesWorking()
362 stacked.addLinkAddress(new LinkAddress("192.0.2.129/25")); in testSetUpstreamLinkPropertiesWorking()
363 stacked.addRoute(new RouteInfo(null, InetAddress.getByName("192.0.2.254"), null, in testSetUpstreamLinkPropertiesWorking()
365 stacked.addRoute(new RouteInfo(null, InetAddress.getByName("fe80::bad:f00"), null, in testSetUpstreamLinkPropertiesWorking()
367 assertTrue(lp.addStackedLink(stacked)); in testSetUpstreamLinkPropertiesWorking()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java6064 LinkProperties stacked = new LinkProperties(); in makeClatLinkProperties() local
6065 stacked.setInterfaceName(CLAT_PREFIX + MOBILE_IFNAME); in makeClatLinkProperties()
6069 stacked.addRoute(ipv4Default); in makeClatLinkProperties()
6070 stacked.addLinkAddress(clatAddress); in makeClatLinkProperties()
6071 return stacked; in makeClatLinkProperties()
/frameworks/ml/nn/tools/api/
Dtypes.spec2279 * get pushed, stacked in order, into the fixed-size “memory” (the oldest