Home
last modified time | relevance | path

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

/frameworks/libs/net/common/tests/unit/src/android/net/util/
DIpRangeTest.java227 final List<IpPrefix> prefixes = new ArrayList<>(); in testIpRangeToPrefixesIpv4FullRange() local
228 prefixes.add(new IpPrefix("0.0.0.0/0")); in testIpRangeToPrefixesIpv4FullRange()
230 assertEquals(prefixes, range.asIpPrefixes()); in testIpRangeToPrefixesIpv4FullRange()
236 final List<IpPrefix> prefixes = new ArrayList<>(); in testIpRangeToPrefixesIpv4() local
237 prefixes.add(new IpPrefix("192.0.2.128/25")); in testIpRangeToPrefixesIpv4()
238 prefixes.add(new IpPrefix("192.0.2.64/26")); in testIpRangeToPrefixesIpv4()
239 prefixes.add(new IpPrefix("192.0.2.32/27")); in testIpRangeToPrefixesIpv4()
240 prefixes.add(new IpPrefix("192.0.2.16/28")); in testIpRangeToPrefixesIpv4()
241 prefixes.add(new IpPrefix("192.0.2.8/29")); in testIpRangeToPrefixesIpv4()
242 prefixes.add(new IpPrefix("192.0.2.4/30")); in testIpRangeToPrefixesIpv4()
[all …]
/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()
247 if (TextUtils.isEmpty(request.prefixes)) { in hasPrefix()
251 String[] prefixes = request.prefixes.split(SmsManager.REGEX_PREFIX_DELIMITER); in hasPrefix() local
252 for (String prefix : prefixes) { in hasPrefix()
275 public final String prefixes; field in AppSmsManager.AppRequestInfo
285 String prefixes, int subId, boolean packageBasedToken) { in AppRequestInfo() argument
290 this.prefixes = prefixes; in AppRequestInfo()
DSmsController.java676 int subId, String callingPkg, String prefixes, PendingIntent intent) { in createAppSpecificSmsTokenWithPackageInfo() argument
681 subId, callingPkg, prefixes, intent); in createAppSpecificSmsTokenWithPackageInfo()
/frameworks/base/core/java/android/text/util/
DLinkify.java614 private static final String makeUrl(@NonNull String url, @NonNull String[] prefixes, in makeUrl() argument
622 for (int i = 0; i < prefixes.length; i++) { in makeUrl()
623 if (url.regionMatches(true, 0, prefixes[i], 0, prefixes[i].length())) { in makeUrl()
627 if (!url.regionMatches(false, 0, prefixes[i], 0, prefixes[i].length())) { in makeUrl()
628 url = prefixes[i] + url.substring(prefixes[i].length()); in makeUrl()
635 if (!hasPrefix && prefixes.length > 0) { in makeUrl()
636 url = prefixes[0] + url; in makeUrl()
/frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/
DEmergencyNumberUtils.java233 private String removePrefix(EmergencyNumber emergencyNumber, String[] prefixes) { in removePrefix() argument
235 if (prefixes == null || prefixes.length == 0) { in removePrefix()
238 for (String prefix : prefixes) { in removePrefix()
/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/tests/LocalizationTest/java/com/android/internal/app/
DLocalizationTest.kt111 private fun String.startsWithAnyOf(vararg prefixes: String): Boolean { in startsWithAnyOf()
112 prefixes.forEach { in startsWithAnyOf()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java1035 @NonNull Set<String> prefixes, in doQueryLocked()
1050 searchSpecBuilder, prefixes, allowedPrefixedSchemas)) { in doQueryLocked()
1069 resultSpecBuilder, prefixes, searchSpec.getResultGroupingLimit()); in doQueryLocked()
1072 resultSpecBuilder, prefixes, searchSpec.getResultGroupingLimit()); in doQueryLocked()
1075 resultSpecBuilder, prefixes, searchSpec.getResultGroupingLimit()); in doQueryLocked()
1078 rewriteResultSpecForPrefixesLocked(resultSpecBuilder, prefixes, allowedPrefixedSchemas); in doQueryLocked()
1785 @NonNull Set<String> prefixes, in rewriteSearchSpecForPrefixesLocked() argument
1789 existingPrefixes.retainAll(prefixes); in rewriteSearchSpecForPrefixesLocked()
1880 @NonNull Set<String> prefixes, in rewriteResultSpecForPrefixesLocked() argument
1884 existingPrefixes.retainAll(prefixes); in rewriteResultSpecForPrefixesLocked()
[all …]
/frameworks/av/
DMainlineFiles.cfg8 # rest are path prefixes starting at root of the project
/frameworks/base/telephony/java/com/android/internal/telephony/
DISms.aidl530 int subId, String callingPkg, String prefixes, in PendingIntent intent); in createAppSpecificSmsTokenWithPackageInfo() argument
DISmsImplBase.java190 int subId, String callingPkg, String prefixes, PendingIntent intent) { in createAppSpecificSmsTokenWithPackageInfo() argument
/frameworks/base/core/res/
DAndroid.bp176 // Strip these prefixes prior to processing with xmllint.
/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.java2957 @Nullable String prefixes, @NonNull PendingIntent intent) { in createAppSpecificSmsTokenWithPackageInfo()
2961 null, prefixes, intent); in createAppSpecificSmsTokenWithPackageInfo()
/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
/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
/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";