Home
last modified time | relevance | path

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

12

/frameworks/libs/net/common/tests/unit/src/android/net/util/
DIpRangeTest.java225 final List<IpPrefix> prefixes = new ArrayList<>(); in testIpRangeToPrefixesIpv4FullRange() local
226 prefixes.add(new IpPrefix("0.0.0.0/0")); in testIpRangeToPrefixesIpv4FullRange()
228 assertEquals(prefixes, range.asIpPrefixes()); in testIpRangeToPrefixesIpv4FullRange()
234 final List<IpPrefix> prefixes = new ArrayList<>(); in testIpRangeToPrefixesIpv4() local
235 prefixes.add(new IpPrefix("192.0.2.128/25")); in testIpRangeToPrefixesIpv4()
236 prefixes.add(new IpPrefix("192.0.2.64/26")); in testIpRangeToPrefixesIpv4()
237 prefixes.add(new IpPrefix("192.0.2.32/27")); in testIpRangeToPrefixesIpv4()
238 prefixes.add(new IpPrefix("192.0.2.16/28")); in testIpRangeToPrefixesIpv4()
239 prefixes.add(new IpPrefix("192.0.2.8/29")); in testIpRangeToPrefixesIpv4()
240 prefixes.add(new IpPrefix("192.0.2.4/30")); in testIpRangeToPrefixesIpv4()
[all …]
/frameworks/base/packages/Tethering/src/android/net/util/
DPrefixUtils.java47 final HashSet<IpPrefix> prefixes = new HashSet<>(); in getNonForwardablePrefixes() local
48 addNonForwardablePrefixes(prefixes); in getNonForwardablePrefixes()
49 return prefixes; in getNonForwardablePrefixes()
53 public static void addNonForwardablePrefixes(Set<IpPrefix> prefixes) { in addNonForwardablePrefixes() argument
54 Collections.addAll(prefixes, MIN_NON_FORWARDABLE_PREFIXES); in addNonForwardablePrefixes()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DAppSmsManager.java117 @Nullable String prefixes, in createAppSpecificSmsTokenWithPackageInfo() argument
136 callingPackageName, intent, token, prefixes, subId, true); in createAppSpecificSmsTokenWithPackageInfo()
245 if (TextUtils.isEmpty(request.prefixes)) { in hasPrefix()
249 String[] prefixes = request.prefixes.split(SmsManager.REGEX_PREFIX_DELIMITER); in hasPrefix() local
250 for (String prefix : prefixes) { in hasPrefix()
273 public final String prefixes; field in AppSmsManager.AppRequestInfo
283 String prefixes, int subId, boolean packageBasedToken) { in AppRequestInfo() argument
288 this.prefixes = prefixes; in AppRequestInfo()
DSmsController.java667 int subId, String callingPkg, String prefixes, PendingIntent intent) { in createAppSpecificSmsTokenWithPackageInfo() argument
672 subId, callingPkg, prefixes, intent); in createAppSpecificSmsTokenWithPackageInfo()
/frameworks/base/packages/Tethering/src/android/net/ip/
DRouterAdvertisementDaemon.java133 public HashSet<IpPrefix> prefixes; field in RouterAdvertisementDaemon.RaParams
140 prefixes = new HashSet<IpPrefix>(); in RaParams()
148 prefixes = (HashSet) other.prefixes.clone(); in RaParams()
162 for (IpPrefix ipp : oldRa.prefixes) { in getDeprecatedRaParams()
163 if (newRa == null || !newRa.prefixes.contains(ipp)) { in getDeprecatedRaParams()
164 newlyDeprecated.prefixes.add(ipp); in getDeprecatedRaParams()
187 void putPrefixes(Set<IpPrefix> prefixes) { in putPrefixes() argument
188 for (IpPrefix ipp : prefixes) { in putPrefixes()
193 void removePrefixes(Set<IpPrefix> prefixes) { in removePrefixes() argument
194 for (IpPrefix ipp : prefixes) { in removePrefixes()
[all …]
DIpServer.java713 params.prefixes.add(prefix); in updateUpstreamIPv6LinkProperties()
785 addedPrefixes.removeAll(mLastRaParams.prefixes); in configureLocalIPv6Routes()
994 configureLocalIPv6Routes(deprecatedParams.prefixes, in setRaParams()
995 (newParams != null) ? newParams.prefixes : null); in setRaParams()
1358 String ifname, HashSet<IpPrefix> prefixes) { in getLocalRoutesFor() argument
1360 for (IpPrefix ipp : prefixes) { in getLocalRoutesFor()
/frameworks/base/core/java/android/text/util/
DLinkify.java613 private static final String makeUrl(@NonNull String url, @NonNull String[] prefixes, in makeUrl() argument
621 for (int i = 0; i < prefixes.length; i++) { in makeUrl()
622 if (url.regionMatches(true, 0, prefixes[i], 0, prefixes[i].length())) { in makeUrl()
626 if (!url.regionMatches(false, 0, prefixes[i], 0, prefixes[i].length())) { in makeUrl()
627 url = prefixes[i] + url.substring(prefixes[i].length()); in makeUrl()
634 if (!hasPrefix && prefixes.length > 0) { in makeUrl()
635 url = prefixes[0] + url; in makeUrl()
/frameworks/base/tests/net/common/java/android/net/
DIpPrefixTest.java320 IpPrefix[] prefixes = { in testHashCodeIsNotConstant() local
326 for (int i = 0; i < prefixes.length; i++) { in testHashCodeIsNotConstant()
327 for (int j = i + 1; j < prefixes.length; j++) { in testHashCodeIsNotConstant()
328 assertNotEquals(prefixes[i].hashCode(), prefixes[j].hashCode()); in testHashCodeIsNotConstant()
/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/core/java/android/net/
DNetworkUtils.java424 public static long routedIPv4AddressCount(final TreeSet<IpPrefix> prefixes) { in routedIPv4AddressCount() argument
426 for (final IpPrefix prefix : deduplicatePrefixSet(prefixes)) { in routedIPv4AddressCount()
443 public static BigInteger routedIPv6AddressCount(final TreeSet<IpPrefix> prefixes) { in routedIPv6AddressCount() argument
445 for (final IpPrefix prefix : deduplicatePrefixSet(prefixes)) { in routedIPv6AddressCount()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java108 private void handleMaybePrefixConflict(final List<IpPrefix> prefixes) { in handleMaybePrefixConflict() argument
113 for (IpPrefix source : prefixes) { in handleMaybePrefixConflict()
/frameworks/av/
DMainlineFiles.cfg5 # rest are path prefixes starting at root of the project
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java786 static void assertPrefixSet(Set<IpPrefix> prefixes, boolean expectation, String... expected) { in assertPrefixSet() argument
789 assertPrefixSet(prefixes, expectation, expectedSet); in assertPrefixSet()
792 static void assertPrefixSet(Set<IpPrefix> prefixes, boolean expectation, Set<String> expected) { in assertPrefixSet() argument
797 expectation, prefixes.contains(new IpPrefix(expectedPrefix))); in assertPrefixSet()
/frameworks/base/core/res/
DAndroid.bp66 // Strip these prefixes prior to processing with xmllint.
/frameworks/base/telephony/java/com/android/internal/telephony/
DISmsImplBase.java190 int subId, String callingPkg, String prefixes, PendingIntent intent) { in createAppSpecificSmsTokenWithPackageInfo() argument
DISms.aidl530 int subId, String callingPkg, String prefixes, in PendingIntent intent); in createAppSpecificSmsTokenWithPackageInfo() argument
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp139 static constexpr char const* prefixes[] = { in getDefaultXmlNames() local
148 prefixes[0] + variants[0] + ".xml", in getDefaultXmlNames()
149 prefixes[1] + variants[1] + ".xml" in getDefaultXmlNames()
/frameworks/base/telephony/java/android/telephony/
DSmsManager.java2760 @Nullable String prefixes, @NonNull PendingIntent intent) { in createAppSpecificSmsTokenWithPackageInfo()
2764 null, prefixes, intent); in createAppSpecificSmsTokenWithPackageInfo()
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
/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/
DDoxyfile999 # can be used to specify a prefix (or a list of prefixes) that should be ignored
DDoxyfile.orig990 # can be used to specify a prefix (or a list of prefixes) that should be ignored
/frameworks/av/media/codec2/docs/
Ddoxygen.config1062 # can be used to specify a prefix (or a list of prefixes) that should be ignored
/frameworks/base/media/native/midi/include/
DDoxyfile1112 # can be used to specify a prefix (or a list of prefixes) that should be ignored

12