Home
last modified time | relevance | path

Searched refs:prefixes (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/tests/net/java/android/net/ip/
DIpManagerTest.java159 String[] prefixes = { "fe80::/64", "fd2c:4e57:8e3c::/64" }; in testProvisioningWithInitialConfiguration() local
164 .withInitialConfiguration(conf(links(addresses), prefixes(prefixes), ips())) in testProvisioningWithInitialConfiguration()
188 LinkProperties want = linkproperties(links(addresses), routes(prefixes)); in testProvisioningWithInitialConfiguration()
199 InitialConfiguration empty = conf(links(), prefixes()); in testIsProvisioned()
226 prefixes( "fe80::/64", "fd2c:4e57:8e3c::/64"), ips())) in testIsProvisioned()
281 links("192.0.2.12/24"), prefixes("192.0.2.0/24"), dns("192.0.2.2")), in testInitialConfigurations()
283 links("192.0.2.12/24"), prefixes("192.0.2.0/24"), dns()), in testInitialConfigurations()
286 prefixes("2001:db8:dead:beef::/64", "fe80::/64"), in testInitialConfigurations()
289 links("fe80::1/64"), prefixes("fe80::/64"), dns()), in testInitialConfigurations()
292 prefixes("2001:db8:dead:beef::/64", "192.0.2.0/24"), in testInitialConfigurations()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
DBrNameUtil.java63 return prefixes(callable.name, "get") && in isGetter()
70 return prefixes(callable.name, "set") && in isSetter()
77 return prefixes(callable.name, "is") && in isBooleanGetter()
83 private static boolean prefixes(CharSequence sequence, String prefix) { in prefixes() method in BrNameUtil
84 boolean prefixes = false; in prefixes()
87 prefixes = true; in prefixes()
90 prefixes = false; in prefixes()
95 return prefixes; in prefixes()
/frameworks/base/services/net/java/android/net/util/
DPrefixUtils.java46 final HashSet<IpPrefix> prefixes = new HashSet<>(); in getNonForwardablePrefixes() local
47 addNonForwardablePrefixes(prefixes); in getNonForwardablePrefixes()
48 return prefixes; in getNonForwardablePrefixes()
51 public static void addNonForwardablePrefixes(Set<IpPrefix> prefixes) { in addNonForwardablePrefixes() argument
52 Collections.addAll(prefixes, MIN_NON_FORWARDABLE_PREFIXES); in addNonForwardablePrefixes()
/frameworks/base/services/net/java/android/net/ip/
DRouterAdvertisementDaemon.java125 public HashSet<IpPrefix> prefixes; field in RouterAdvertisementDaemon.RaParams
131 prefixes = new HashSet<IpPrefix>(); in RaParams()
138 prefixes = (HashSet) other.prefixes.clone(); in RaParams()
150 for (IpPrefix ipp : oldRa.prefixes) { in getDeprecatedRaParams()
151 if (newRa == null || !newRa.prefixes.contains(ipp)) { in getDeprecatedRaParams()
152 newlyDeprecated.prefixes.add(ipp); in getDeprecatedRaParams()
173 void putPrefixes(Set<IpPrefix> prefixes) { in putPrefixes() argument
174 for (IpPrefix ipp : prefixes) { in putPrefixes()
179 void removePrefixes(Set<IpPrefix> prefixes) { in removePrefixes() argument
180 for (IpPrefix ipp : prefixes) { in removePrefixes()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DProcessBindable.java185 private static boolean prefixes(CharSequence sequence, String prefix) { in prefixes() method in ProcessBindable
186 boolean prefixes = false; in prefixes()
189 prefixes = true; in prefixes()
192 prefixes = false; in prefixes()
197 return prefixes; in prefixes()
202 return prefixes(name, "get") && in isGetter()
210 return prefixes(name, "set") && in isSetter()
218 return prefixes(name, "is") && in isBooleanGetter()
/frameworks/support/compat/java/android/support/v4/text/util/
DLinkifyCompat.java383 private static String makeUrl(@NonNull String url, @NonNull String[] prefixes, in makeUrl() argument
391 for (int i = 0; i < prefixes.length; i++) { in makeUrl()
392 if (url.regionMatches(true, 0, prefixes[i], 0, prefixes[i].length())) { in makeUrl()
396 if (!url.regionMatches(false, 0, prefixes[i], 0, prefixes[i].length())) { in makeUrl()
397 url = prefixes[i] + url.substring(prefixes[i].length()); in makeUrl()
404 if (!hasPrefix && prefixes.length > 0) { in makeUrl()
405 url = prefixes[0] + url; in makeUrl()
/frameworks/base/core/java/android/text/util/
DLinkify.java524 private static final String makeUrl(@NonNull String url, @NonNull String[] prefixes, in makeUrl() argument
532 for (int i = 0; i < prefixes.length; i++) { in makeUrl()
533 if (url.regionMatches(true, 0, prefixes[i], 0, prefixes[i].length())) { in makeUrl()
537 if (!url.regionMatches(false, 0, prefixes[i], 0, prefixes[i].length())) { in makeUrl()
538 url = prefixes[i] + url.substring(prefixes[i].length()); in makeUrl()
545 if (!hasPrefix && prefixes.length > 0) { in makeUrl()
546 url = prefixes[0] + url; in makeUrl()
/frameworks/base/tests/net/java/android/net/
DIpPrefixTest.java281 IpPrefix[] prefixes = { in testHashCodeIsNotConstant() local
287 for (int i = 0; i < prefixes.length; i++) { in testHashCodeIsNotConstant()
288 for (int j = i + 1; j < prefixes.length; j++) { in testHashCodeIsNotConstant()
289 assertNotEquals(prefixes[i].hashCode(), prefixes[j].hashCode()); in testHashCodeIsNotConstant()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceInflater.java211 private Preference createItem(@NonNull String name, @Nullable String[] prefixes, in createItem() argument
222 if (prefixes == null || prefixes.length == 0) { in createItem()
226 for (final String prefix : prefixes) { in createItem()
/frameworks/base/core/java/com/android/internal/util/
DMessageUtils.java52 public static SparseArray<String> findMessageNames(Class[] classes, String[] prefixes) { in findMessageNames() argument
73 for (String prefix : prefixes) { in findMessageNames()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DTetherInterfaceStateMachine.java313 params.prefixes.add(prefix); in updateUpstreamIPv6LinkProperties()
351 addedPrefixes.removeAll(mLastRaParams.prefixes); in configureLocalIPv6Routes()
354 if (mLastRaParams == null || mLastRaParams.prefixes.isEmpty()) { in configureLocalIPv6Routes()
438 configureLocalIPv6Routes(deprecatedParams.prefixes, in setRaParams()
439 (newParams != null) ? newParams.prefixes : null); in setRaParams()
727 String ifname, HashSet<IpPrefix> prefixes) { in getLocalRoutesFor() argument
729 for (IpPrefix ipp : prefixes) { in getLocalRoutesFor()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java611 static void assertPrefixSet(Set<IpPrefix> prefixes, boolean expectation, String... expected) { in assertPrefixSet() argument
614 assertPrefixSet(prefixes, expectation, expectedSet); in assertPrefixSet()
617 static void assertPrefixSet(Set<IpPrefix> prefixes, boolean expectation, Set<String> expected) { in assertPrefixSet() argument
622 expectation, prefixes.contains(new IpPrefix(expectedPrefix))); in assertPrefixSet()
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/
DPlatformAdapter.java408 private static int deleteCerts(KeyStore keyStore, String fqdn, String... prefixes) { in deleteCerts() argument
410 for (String prefix : prefixes) { in deleteCerts()
/frameworks/wilhelm/doc/
DDoxyfile765 # The IGNORE_PREFIX tag can be used to specify one or more prefixes that
/frameworks/native/docs/
DDoxyfile908 # The IGNORE_PREFIX tag can be used to specify one or more prefixes that
/frameworks/av/media/libaaudio/
DDoxyfile.orig990 # can be used to specify a prefix (or a list of prefixes) that should be ignored
DDoxyfile999 # can be used to specify a prefix (or a list of prefixes) that should be ignored
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt58682 …_REPORT_NAMESPACE_ATTRIBUTES = "http://xmlpull.org/v1/doc/features.html#report-namespace-prefixes";
58795 …nal java.lang.String NAMESPACE_PREFIXES_FEATURE = "http://xml.org/sax/features/namespace-prefixes";
/frameworks/base/api/
Dcurrent.txt72777 …_REPORT_NAMESPACE_ATTRIBUTES = "http://xmlpull.org/v1/doc/features.html#report-namespace-prefixes";
72890 …nal java.lang.String NAMESPACE_PREFIXES_FEATURE = "http://xml.org/sax/features/namespace-prefixes";
Dtest-current.txt73259 …_REPORT_NAMESPACE_ATTRIBUTES = "http://xmlpull.org/v1/doc/features.html#report-namespace-prefixes";
73372 …nal java.lang.String NAMESPACE_PREFIXES_FEATURE = "http://xml.org/sax/features/namespace-prefixes";
Dsystem-current.txt76735 …_REPORT_NAMESPACE_ATTRIBUTES = "http://xmlpull.org/v1/doc/features.html#report-namespace-prefixes";
76848 …nal java.lang.String NAMESPACE_PREFIXES_FEATURE = "http://xml.org/sax/features/namespace-prefixes";