Searched refs:domain (Results 1 - 25 of 31) 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/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
131 f = urlopen('http://data.iana.org/TLD/tlds-alpha-by-domain.txt')
137 for domain in domains:
138 domain = domain.lower() variable
140 if len(domain) > 0:
141 getBucket(buckets, domain[0]).add(domain.strip())
143 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...]
H A DHomeSP.java194 for (String domain : domainNameElement.getDomains()) {
195 List<String> anLabels = Utils.splitDomain(domain);
/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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DUtils.java24 public static List<String> splitDomain(String domain) { argument
26 if (domain.endsWith("."))
27 domain = domain.substring(0, domain.length() - 1);
28 int at = domain.indexOf('@');
30 domain = domain.substring(at + 1);
32 String[] labels = domain.toLowerCase().split("\\.");
58 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/java/android/app/backup/
H A DFullBackup.java77 static public native int backupToTar(String packageName, String domain, argument
237 Log.i(TAG, "Unrecognized domain " + domainToken);
240 Log.i(TAG, "Error reading directory for domain: " + domainToken);
246 * A map of domain -> list of canonical file names in that domain that are to be included.
247 * We keep track of the domain so that we can go through the file system in order later on.
285 * @return A mapping of domain -> canonical paths within that domain. Each of these paths
369 final String domainFromXml = parser.getAttributeValue(null, "domain");
375 + "domain
441 parseCurrentTagForDomain(XmlPullParser parser, Set<String> excludes, Map<String, Set<String>> includes, String domain) argument
495 extractCanonicalFile(File domain, String filePathFromXml) argument
521 getDirectoryForCriteriaDomain(String domain) argument
[all...]
H A DBackupAgent.java402 // this domain (there may still be rules for other domains).
476 final String domain;
479 domain = FullBackup.DATABASE_TREE_TOKEN;
482 domain = FullBackup.SHAREDPREFS_TREE_TOKEN;
485 domain = FullBackup.DATA_TREE_TOKEN;
488 domain = FullBackup.ROOT_TREE_TOKEN;
491 domain = FullBackup.MANAGED_EXTERNAL_TREE_TOKEN;
501 if (DEBUG) Log.i(TAG, "backupFile() of " + filePath + " => domain=" + domain
504 FullBackup.backupToTar(getPackageName(), domain, nul
516 fullBackupFileTree(String packageName, String domain, String startingPath, ArraySet<String> manifestExcludes, ArraySet<String> systemExcludes, FullBackupDataOutput output) argument
705 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
907 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
[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/
H A DIBackupAgent.aidl116 * @param domain Name of the file's semantic domain to which the 'path' argument is a
118 * @param path Relative path of the file within its semantic domain.
129 int type, String domain, String path, long mode, long mtime,
/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/base/core/java/com/android/server/backup/
H A DSystemBackupAgent.java153 int type, String domain, String path, long mode, long mtime)
155 Slog.i(TAG, "Restoring file domain=" + domain + " path=" + path);
161 // Various domain+files we understand a priori
162 if (domain.equals(FullBackup.ROOT_TREE_TOKEN)) {
174 Slog.w(TAG, "Skipping unrecognized system file: [ " + domain + " : " + path + " ]");
152 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
/frameworks/wilhelm/src/
H A Ddata.h104 XAuint32 domain; member in struct:__anon1661
/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) {
625 XAuint32 domain; local
631 streamIndex, &domain);
645 domain = 12345;
647 &domain);
649 printf(" QueryStreamType: domain = 0x%X (%s)\n", domain, domainToString(domain));
760 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);
/frameworks/base/core/java/android/net/
H A DVpnService.java562 * Add a search domain to the DNS resolver.
564 public Builder addSearchDomain(String domain) { argument
568 mConfig.searchDomains.add(domain);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhone.java389 String domain = p.getSipDomain();
391 if (domain.endsWith(":5060")) {
392 return domain.substring(0, domain.length() - 5);
394 return domain;
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java587 * Constraint for server domain name. If set, this FQDN is used as a suffix match requirement
591 * Suffix match here means that the host/domain name is compared one label at a time starting
592 * from the top-level domain and all the labels in domain_suffix_match shall be included in the
597 * @param domain The domain value
599 public void setDomainSuffixMatch(String domain) { argument
600 setFieldValue(DOM_SUFFIX_MATCH_KEY, domain);
605 * @return The domain value.
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp109 if (XA_DOMAINTYPE_VIDEO == mp->mStreamInfo.mStreamInfoTable.itemAt(i).domain) {
116 streamInfo.domain = XA_DOMAINTYPE_VIDEO;
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp480 int write_tarfile(const String8& packageName, const String8& domain, argument
490 // domain directories, so we should just skip it
500 if ((5 + packageName.length() + 1 + domain.length() >= 155) || (relpath.length() >= 100)) {
603 if (domain.length() > 0) {
604 prefix.appendPath(domain);

Completed in 545 milliseconds

12