Searched defs:domain (Results 1 - 17 of 17) sorted by relevance

/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/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/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/net/http/
H A DCertificateChainValidator.java71 * @param domain The website domain
75 HttpsConnection connection, SSLSocket sslSocket, String domain)
100 return verifyServerDomainAndCertificates((X509Certificate[]) peerCertificates, domain, "RSA");
107 * @param domain The full website hostname and domain
112 byte[][] certChain, String domain, String authType)
125 return verifyServerDomainAndCertificates(serverCertificates, domain, authType);
145 * Calls DomainNamevalidator to verify the domain, and TrustManager to verify the certs.
147 * @param domain Th
74 doHandshakeAndValidateServerCertificates( HttpsConnection connection, SSLSocket sslSocket, String domain) argument
111 verifyServerCertificates( byte[][] certChain, String domain, String authType) argument
151 verifyServerDomainAndCertificates( X509Certificate[] chain, String domain, String authType) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DFullBackup.java62 static public native int backupToTar(String packageName, String domain, argument
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...]
/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/services/java/com/android/server/
H A DSystemBackupAgent.java126 int type, String domain, String path, long mode, long mtime)
128 Slog.i(TAG, "Restoring file domain=" + domain + " path=" + path);
134 // Various domain+files we understand a priori
135 if (domain.equals(FullBackup.ROOT_TREE_TOKEN)) {
147 Slog.w(TAG, "Skipping unrecognized system file: [ " + domain + " : " + path + " ]");
125 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
H A DBackupManagerService.java2457 // Cull any packages that run as system-domain uids but do not define their
2878 String domain; // e.g. FullBackup.DATABASE_TREE_TOKEN field in class:BackupManagerService.FileMetadata
2879 String path; // subpath within the semantic domain
2890 sb.append(domain); sb.append(':'); sb.append(path); sb.append(',');
2972 mInfo.domain, mInfo.path, mInfo.mode, mInfo.mtime,
3214 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) {
3237 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) {
3336 info.domain, info.path, info.mode, info.mtime,
3802 b.append(info.domain);
3874 info.domain
[all...]
/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/wilhelm/src/
H A Ddata.h102 XAuint32 domain; member in struct:__anon1621
/frameworks/base/core/java/android/nfc/
H A DNdefRecord.java432 * The data is typed by a domain name (usually your Android package name) and
433 * a domain-specific type. This data is packaged into a "NFC Forum External
435 * NFC Forum requires that the domain and type used in an external record
437 * always case sensitive. So this method will force the domain and type to
440 * if the domain and type have serious problems, for example if either field
450 * @param domain domain-name of issuing organization
451 * @param type domain-specific type of data
453 * @throws IllegalArugmentException if either domain or type are empty or invalid
455 public static NdefRecord createExternal(String domain, Strin argument
[all...]
/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/libs/androidfw/
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)) {
604 if (domain.length() > 0) {
605 prefix.appendPath(domain);
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c225 // convert a domain type to string
226 static const char *domainToString(XAuint32 domain) argument
228 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/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java452 int type, String domain, String relpath, long mode, long mtime)
451 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String relpath, long mode, long mtime) argument
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java48 /** Get the possible values for the last part of a domain name.
326 /** Determines if this is an allowable domain character. */
331 /** Determines if the given string is a valid domain. */
332 private boolean isValidDomain(String domain) { argument
333 // For hostnames, check that it ends with a known domain suffix
334 if (matches(getResources().getDomainSuffixes(), reverse(domain))) {
342 * scheme or a domain name optionally followed by a path, query, or query.
370 // Search for the end of the domain name.
380 // Make sure the domain name has a valid suffix. Since tries look for
382 String domain
[all...]

Completed in 747 milliseconds