Searched refs:domain (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/pm/
H A DIntentFilterVerificationResponse.java35 for (String domain : failedDomains) {
39 sb.append(domain);
/frameworks/base/core/java/android/security/net/config/
H A DApplicationConfig.java60 * When matching the most specific matching domain rule will be used, if no match exists
90 Domain domain = entry.first;
93 if (domain.hostname.equals(hostname)) {
97 // sub-domain of the Domain.
98 if (domain.subdomainsIncluded
99 && hostname.endsWith(domain.hostname)
100 && hostname.charAt(hostname.length() - domain.hostname.length() - 1) == '.') {
103 } else if (domain.hostname.length() > bestMatch.first.hostname.length()) {
H A DXmlConfigSource.java79 return "domain-config";
171 String domain = parser.getText().trim().toLowerCase(Locale.US);
173 throw new ParserException(parser, "domain contains additional elements");
178 if (!seenDomains.add(domain)) {
179 throw new ParserException(parser, domain + " has already been specified");
181 return new Domain(domain, includeSubdomains);
259 if ("domain".equals(tagName)) {
262 "domain element not allowed in " + getConfigString(configType));
264 Domain domain = parseDomain(parser, seenDomains);
265 domains.add(domain);
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
H A DDomainMatcher.java77 * Check if domain is either a the same or a sub-domain of any of the domains in the domain tree
78 * in this matcher, i.e. all or or a sub-set of the labels in domain matches a path in the tree.
80 * @param domain Domain to be checked.
81 * @return None if domain is not a sub-domain, Primary if it matched one of the primary domains
84 public Match isSubDomain(List<String> domain) { argument
87 for (String labelString : domain) {
95 return Match.None; // Domain is a super domain
[all...]
/frameworks/ex/common/tools/
H A Dmake-iana-tld-pattern.py9 * http://data.iana.org/TLD/tlds-alpha-by-domain.txt
20 * http://data.iana.org/TLD/tlds-alpha-by-domain.txt
154 f = urlopen('http://data.iana.org/TLD/tlds-alpha-by-domain.txt')
160 for domain in domains:
161 domain = domain.lower() variable
163 if len(domain) > 0:
164 getBucket(buckets, domain[0]).add(domain.strip())
166 if domain
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
H A DDomainMatcher.java80 * Check if domain is either a the same or a sub-domain of any of the domains in the domain tree
81 * in this matcher, i.e. all or or a sub-set of the labels in domain matches a path in the tree.
82 * @param domain Domain to be checked.
83 * @return None if domain is not a sub-domain, Primary if it matched one of the primary domains
86 public Match isSubDomain(List<String> domain) { argument
89 for (String labelString : domain) {
97 return Match.None; // Domain is a super domain
[all...]
/frameworks/ex/common/java/com/android/common/
H A DRfc822Validator.java31 * and has the specified domain name added. It is meant for use with
58 * Regular expression for a domain label, as per RFC 3490.
65 * Expression that matches a domain name, including international domain names in Punycode or
69 "("+ LABEL_REGEXP + "\\.)+" // Subdomains and domain
70 // Top-level domain must be at least 2 chars
86 * Constructs a new validator that uses the specified domain name as
89 public Rfc822Validator(String domain) { argument
90 mDomain = domain;
117 * or the domain nam
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DUtils.java25 public static List<String> splitDomain(String domain) { argument
27 if (domain.endsWith("."))
28 domain = domain.substring(0, domain.length() - 1);
29 int at = domain.indexOf('@');
31 domain = domain.substring(at + 1);
33 String[] labels = domain.toLowerCase().split("\\.");
74 public static String getMccMnc(List<String> domain) { argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DUtils.java29 public static List<String> splitDomain(String domain) { argument
31 if (domain.endsWith("."))
32 domain = domain.substring(0, domain.length() - 1);
33 int at = domain.indexOf('@');
35 domain = domain.substring(at + 1);
37 String[] labels = domain.toLowerCase().split("\\.");
79 public static String getMccMnc(List<String> domain) { argument
[all...]
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DSharedStorageAgent.java55 String domain = FullBackup.SHARED_PREFIX + i;
56 fullBackupFileTree(null, domain, v.getPath(),
68 int type, String domain, String relpath, long mode, long mtime)
70 if (DEBUG) Slog.d(TAG, "Shared restore: [ " + domain + " : " + relpath + "]");
67 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String relpath, long mode, long mtime) argument
/frameworks/wilhelm/src/itf/
H A DIStreamInformation.c53 XAuint32 *domain) /* [out] */
57 if (NULL == domain) {
63 *domain = XA_DOMAINTYPE_UNKNOWN;
68 *domain = XA_DOMAINTYPE_UNKNOWN;
78 *domain = thiz->mStreamInfoTable.itemAt(streamIndex).domain;
117 switch (streamInfo.domain) {
141 "unknown domain %u", streamIndex, streamInfo.domain);
304 contInf.domain
51 IStreamInformation_QueryStreamType( XAStreamInformationItf self, XAuint32 streamIndex, XAuint32 *domain) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DPatternsTest.java37 // One of the new top level domain.
41 // One of the new top level test domain.
45 // One of the new top level unicode domain.
152 assertTrue("Should match URL with Unicode domain name",
159 assertTrue("Should match URL without protocol and with Unicode domain name",
283 assertTrue("Should match URL with Unicode domain name",
287 assertTrue("hould match URL without protocol and with Unicode domain name",
397 assertTrue("Should match domain name with Unicode surrogate pairs",
469 String domain = "xn--fsqu00a.xn--0zwm56d";
470 assertTrue("Should match domain nam
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvContentRating.java799 * @param domain The domain string. For example, "com.android.tv".
804 * @throws IllegalArgumentException If {@code domain}, {@code ratingSystem} or {@code rating} is
807 public static TvContentRating createRating(String domain, String ratingSystem, argument
809 if (TextUtils.isEmpty(domain)) {
810 throw new IllegalArgumentException("domain cannot be empty");
818 return new TvContentRating(domain, ratingSystem, rating, subRatings);
826 * @return the {@code TvContentRating} object containing the domain, rating system, rating and
849 * @param domain The string for domain o
854 TvContentRating( String domain, String ratingSystem, String rating, String[] subRatings) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DFullBackup.java85 static public native int backupToTar(String packageName, String domain, argument
265 Log.i(TAG, "Unrecognized domain " + domainToken);
268 Log.i(TAG, "Error reading directory for domain: " + domainToken);
274 * A map of domain -> list of canonical file names in that domain that are to be included.
275 * We keep track of the domain so that we can go through the file system in order later on.
326 * @return A mapping of domain -> canonical paths within that domain. Each of these paths
410 final String domainFromXml = parser.getAttributeValue(null, "domain");
416 + "domain
501 parseCurrentTagForDomain(XmlPullParser parser, Set<String> excludes, Map<String, Set<String>> includes, String domain) argument
563 extractCanonicalFile(File domain, String filePathFromXml) argument
589 getDirectoryForCriteriaDomain(String domain) argument
[all...]
H A DBackupAgent.java477 // this domain (there may still be rules for other domains).
578 final String domain;
581 domain = FullBackup.DATABASE_TREE_TOKEN;
584 domain = FullBackup.SHAREDPREFS_TREE_TOKEN;
587 domain = FullBackup.FILES_TREE_TOKEN;
590 domain = FullBackup.ROOT_TREE_TOKEN;
593 domain = FullBackup.DEVICE_DATABASE_TREE_TOKEN;
596 domain = FullBackup.DEVICE_SHAREDPREFS_TREE_TOKEN;
599 domain = FullBackup.DEVICE_FILES_TREE_TOKEN;
602 domain
630 fullBackupFileTree(String packageName, String domain, String startingPath, ArraySet<String> manifestExcludes, ArraySet<String> systemExcludes, FullBackupDataOutput output) argument
823 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
1025 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
[all...]
/frameworks/base/core/java/com/android/server/backup/
H A DSystemBackupAgent.java138 int type, String domain, String path, long mode, long mtime)
140 Slog.i(TAG, "Restoring file domain=" + domain + " path=" + path);
146 // Various domain+files we understand a priori
147 if (domain.equals(FullBackup.ROOT_TREE_TOKEN)) {
159 Slog.w(TAG, "Skipping unrecognized system file: [ " + domain + " : " + path + " ]");
137 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
/frameworks/base/core/java/android/app/
H A DIBackupAgent.aidl137 * @param domain Name of the file's semantic domain to which the 'path' argument is a
139 * @param path Relative path of the file within its semantic domain.
150 int type, String domain, String path, long mode, long mtime,
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
H A DNetworkSecurityConfigTests.java146 NetworkSecurityConfig domain = new NetworkSecurityConfig.Builder()
154 new Domain("android.com", true), domain));
164 NetworkSecurityConfig domain = new NetworkSecurityConfig.Builder()
172 new Domain("android.com", true), domain));
183 NetworkSecurityConfig domain = new NetworkSecurityConfig.Builder()
191 new Domain("android.com", true), domain));
211 // First try connecting to a subdomain of a domain entry that includes subdomains.
249 NetworkSecurityConfig domain = new NetworkSecurityConfig.Builder()
257 new Domain("android.com", true), domain));
/frameworks/base/core/jni/
H A Dandroid_app_backup_FullBackup.cpp72 * This method writes one file data block. 'domain' is the name of the appropriate pseudo-
77 * domain: which semantic name the file is to be stored under (a, r, f, db, etc)
95 String8 domain(domainchars ? domainchars : "");
115 jint err = write_tarfile(packageName, domain, rootpath, path, &tarSize, writer);
/frameworks/wilhelm/src/
H A Ddata.h107 XAuint32 domain; member in struct:__anon1750
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c226 // convert a domain type to string
227 static const char *domainToString(XAuint32 domain) argument
229 switch (domain) {
624 XAuint32 domain; local
630 streamIndex, &domain);
644 domain = 12345;
646 &domain);
648 printf(" QueryStreamType: domain = 0x%X (%s)\n", domain, domainToString(domain));
759 XAuint32 domain; local
[all...]
/frameworks/base/core/java/android/nfc/
H A DNdefRecord.java434 * The data is typed by a domain name (usually your Android package name) and
435 * a domain-specific type. This data is packaged into a "NFC Forum External
437 * NFC Forum requires that the domain and type used in an external record
439 * always case sensitive. So this method will force the domain and type to
442 * if the domain and type have serious problems, for example if either field
452 * @param domain domain-name of issuing organization
453 * @param type domain-specific type of data
455 * @throws IllegalArugmentException if either domain or type are empty or invalid
457 public static NdefRecord createExternal(String domain, Strin argument
[all...]
/frameworks/base/core/java/android/text/style/
H A DTtsSpan.java137 * protocol://username:password@domain:port/path?query_string#fragment_id
138 * Hence populating just username and domain will read as an email address.
411 * Argument used to specify the domain part of a URI. For example
415 public static final String ARG_DOMAIN = "android.arg.domain";
1347 * @param domain The part after the @ in the email address.
1351 String domain) {
1352 return setDomain(domain).setUsername(username);
1383 * @param domain The domain, for example "source.android.com".
1386 public ElectronicBuilder setDomain(String domain) { argument
1350 setEmailArguments(String username, String domain) argument
[all...]
/frameworks/base/include/androidfw/
H A DBackupHelpers.h139 int write_tarfile(const String8& packageName, const String8& domain,
/frameworks/wilhelm/tests/native-media/jni/
H A Dnative-media-jni.c243 XAuint32 domain; local
244 res = (*caller)->QueryStreamType(caller, streamIndex, &domain);
246 switch (domain) {
256 fprintf(stderr, "Unexpected domain %u\n", domain);

Completed in 3627 milliseconds

12