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

/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/base/core/java/android/app/backup/
H A DBackupAgent.java304 final String domain;
307 domain = FullBackup.DATABASE_TREE_TOKEN;
310 domain = FullBackup.SHAREDPREFS_TREE_TOKEN;
313 domain = FullBackup.DATA_TREE_TOKEN;
316 domain = FullBackup.ROOT_TREE_TOKEN;
324 Log.i(TAG, "backupFile() of " + filePath + " => domain=" + domain
326 FullBackup.backupToTar(getPackageName(), domain, null, rootpath, filePath,
338 protected final void fullBackupFileTree(String packageName, String domain, String rootPath, argument
378 FullBackup.backupToTar(packageName, domain, nul
421 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
571 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
[all...]
H A DFullBackup.java62 static public native int backupToTar(String packageName, String domain, argument
/frameworks/ex/common/java/com/android/common/
H A DRfc822Validator.java30 * and has the specified domain name added. It is meant for use with
45 * that constraint by accepting any kind of top level domain, not just
55 * Constructs a new validator that uses the specified domain name as
58 public Rfc822Validator(String domain) { argument
59 mDomain = domain;
87 * or the domain name part of the email address have been removed.
135 // append the domain of the account if it exists
147 String domain = removeIllegalCharacters(text.substring(index + 1));
148 boolean emptyDomain = domain.length() == 0;
150 tokens[i].setAddress(fix + "@" + (!emptyDomain ? domain
[all...]
/frameworks/base/core/java/android/net/http/
H A DCertificateChainValidator.java76 * @param domain The website domain
80 HttpsConnection connection, SSLSocket sslSocket, String domain)
105 return verifyServerDomainAndCertificates((X509Certificate[]) peerCertificates, domain, "RSA");
112 * @param domain The full website hostname and domain
117 byte[][] certChain, String domain, String authType)
130 return verifyServerDomainAndCertificates(serverCertificates, domain, authType);
135 * Calls DomainNamevalidator to verify the domain, and TrustManager to verify the certs.
137 * @param domain Th
79 doHandshakeAndValidateServerCertificates( HttpsConnection connection, SSLSocket sslSocket, String domain) argument
116 verifyServerCertificates( byte[][] certChain, String domain, String authType) argument
141 verifyServerDomainAndCertificates( X509Certificate[] chain, String domain, String authType) argument
[all...]
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DSharedStorageAgent.java46 String domain = FullBackup.SHARED_PREFIX + i;
47 fullBackupFileTree(null, domain, v.getPath(), null, output);
57 int type, String domain, String relpath, long mode, long mtime)
59 if (DEBUG) Slog.d(TAG, "Shared restore: [ " + domain + " : " + relpath + "]");
56 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String relpath, long mode, long mtime) argument
/frameworks/base/core/java/android/app/
H A DIBackupAgent.aidl110 * @param domain Name of the file's semantic domain to which the 'path' argument is a
112 * @param path Relative path of the file within its semantic domain.
117 int type, String domain, String path, long mode, long mtime,
/frameworks/base/core/java/android/webkit/
H A DCookieSyncManager.java105 * matches a given base domain.
106 * @param domain
109 ArrayList<Cookie> getCookiesForDomain(String domain) { argument
116 return mDataBase.getCookiesForDomain(domain);
207 mDataBase.deleteCookies(cookie.domain, cookie.path,
H A DCookieManager.java45 private static final String DOMAIN = "domain";
82 // RFC2109 defines 20 as max cookie count per domain. As we track with base
83 // domain, we allow 50 per base domain
87 // domain, we set 200 as max base domain count
94 // max domain count to limit RAM cookie takes less than 100k,
128 String domain; field in class:CookieManager.Cookie
150 domain = defaultDomain;
156 // An exact match means that domain, pat
[all...]
H A DWebViewDatabase.java61 // 3 -> 4 Add crossdomain (For x-permitted-cross-domain-policies header)
104 private static final String COOKIES_DOMAIN_COL = "domain";
524 * a given domain
528 ArrayList<Cookie> getCookiesForDomain(String domain) { argument
530 if (domain == null || !checkInitialized()) {
545 columns, selection, new String[] { domain }, null, null,
556 cookie.domain = cursor.getString(domainCol);
580 * Delete cookies which matches (domain, path, name).
582 * @param domain If it is null, nothing happens.
583 * @param path If it is null, all the cookies match (domain) wil
588 deleteCookies(String domain, String path, String name) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DSystemBackupAgent.java114 int type, String domain, String path, long mode, long mtime)
116 Slog.i(TAG, "Restoring file domain=" + domain + " path=" + path);
122 // Various domain+files we understand a priori
123 if (domain.equals(FullBackup.ROOT_TREE_TOKEN)) {
135 Slog.w(TAG, "Skipping unrecognized system file: [ " + domain + " : " + path + " ]");
113 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
H A DBackupManagerService.java2787 String domain; // e.g. FullBackup.DATABASE_TREE_TOKEN field in class:BackupManagerService.FileMetadata
2788 String path; // subpath within the semantic domain
2799 sb.append(domain); sb.append(':'); sb.append(path); sb.append(',');
2881 mInfo.domain, mInfo.path, mInfo.mode, mInfo.mtime,
3123 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) {
3146 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) {
3245 info.domain, info.path, info.mode, info.mtime,
3703 b.append(info.domain);
3775 info.domain = FullBackup.SHARED_STORAGE_TOKEN;
3779 // App content! Parse out the package name and domain
[all...]
H A DConnectivityService.java2986 for (String domain : searchDomains) {
2987 buffer.append(domain).append(' ');
/frameworks/base/core/jni/
H A Dandroid_app_backup_FullBackup.cpp62 * This method writes one file data block. 'domain' is the name of the appropriate pseudo-
67 * domain: which semantic name the file is to be stored under (a, r, f, db, etc)
87 String8 domain(domainchars ? domainchars : "");
110 return write_tarfile(packageName, domain, rootpath, path, writer);
/frameworks/base/core/java/com/android/internal/net/
H A DDomainNameValidator.java43 * Checks the site certificate against the domain name of the site being visited
45 * @param thisDomain The domain name of the site being visited
46 * @return True iff if there is a domain match as specified by RFC2818
62 * @return True iff the domain name is specified as an IP address
64 private static boolean isIpAddress(String domain) { argument
65 boolean rval = (domain != null && domain.length() != 0);
69 rval = domain.equals(
70 NetworkUtils.numericToInetAddress(domain).getHostAddress());
84 * Checks the site certificate against the IP domain nam
[all...]
/frameworks/base/include/utils/
H A DBackupHelpers.h137 int write_tarfile(const String8& packageName, const String8& domain,
/frameworks/base/core/java/android/net/
H A DVpnService.java414 * Add a search domain to the DNS resolver.
416 public Builder addSearchDomain(String domain) { argument
420 mConfig.searchDomains.add(domain);
/frameworks/base/core/tests/coretests/src/com/android/internal/net/
H A DDomainNameValidatorTest.java228 private void checkWithActualCert(String message, int resId, String domain, argument
234 checkMatch(message, certificate, domain, expected);
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
H A DSipPhone.java342 String domain = p.getSipDomain();
344 if (domain.endsWith(":5060")) {
345 return domain.substring(0, domain.length() - 5);
347 return domain;
/frameworks/base/libs/utils/
H A DBackupHelpers.cpp492 int write_tarfile(const String8& packageName, const String8& domain, argument
501 // domain directories, so we should just skip it
510 if ((5 + packageName.length() + 1 + domain.length() >= 155) || (relpath.length() >= 100)) {
607 if (domain.length() > 0) {
608 prefix.appendPath(domain);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java234 int type, String domain, String relpath, long mode, long mtime)
233 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String relpath, long mode, long mtime) argument

Completed in 2446 milliseconds