/frameworks/ex/common/java/com/android/common/ |
H A D | Rfc822Validator.java | 30 * 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 D | make-iana-tld-pattern.py | 9 * 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 D | SharedStorageAgent.java | 55 String domain = FullBackup.SHARED_PREFIX + i; 56 fullBackupFileTree(null, domain, v.getPath(), externalFilesDirFilter, output); 66 int type, String domain, String relpath, long mode, long mtime) 68 if (DEBUG) Slog.d(TAG, "Shared restore: [ " + domain + " : " + relpath + "]"); 65 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 D | CertificateChainValidator.java | 72 * @param domain The website domain 76 HttpsConnection connection, SSLSocket sslSocket, String domain) 101 return verifyServerDomainAndCertificates((X509Certificate[]) peerCertificates, domain, "RSA"); 108 * @param domain The full website hostname and domain 113 byte[][] certChain, String domain, String authType) 132 return verifyServerDomainAndCertificates(serverCertificates, domain, authType); 152 * Calls DomainNamevalidator to verify the domain, and TrustManager to verify the certs. 154 * @param domain Th 75 doHandshakeAndValidateServerCertificates( HttpsConnection connection, SSLSocket sslSocket, String domain) argument 112 verifyServerCertificates( byte[][] certChain, String domain, String authType) argument 158 verifyServerDomainAndCertificates( X509Certificate[] chain, String domain, String authType) argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | FullBackup.java | 63 static public native int backupToTar(String packageName, String domain, argument
|
H A D | BackupAgent.java | 359 final String domain; 362 domain = FullBackup.DATABASE_TREE_TOKEN; 365 domain = FullBackup.SHAREDPREFS_TREE_TOKEN; 368 domain = FullBackup.DATA_TREE_TOKEN; 371 domain = FullBackup.ROOT_TREE_TOKEN; 374 domain = FullBackup.MANAGED_EXTERNAL_TREE_TOKEN; 382 Log.i(TAG, "backupFile() of " + filePath + " => domain=" + domain 384 FullBackup.backupToTar(getPackageName(), domain, null, rootpath, filePath, 396 protected final void fullBackupFileTree(String packageName, String domain, Strin argument 479 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument 663 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 D | VpnService.java | 413 * Add a search domain to the DNS resolver. 415 public Builder addSearchDomain(String domain) { argument 419 mConfig.searchDomains.add(domain);
|
/frameworks/base/services/java/com/android/server/ |
H A D | SystemBackupAgent.java | 126 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 D | BackupManagerService.java | 2694 // Cull any packages that run as system-domain uids but do not define their 3112 String domain; // e.g. FullBackup.DATABASE_TREE_TOKEN field in class:BackupManagerService.FileMetadata 3113 String path; // subpath within the semantic domain 3124 sb.append(domain); sb.append(':'); sb.append(path); sb.append(','); 3208 mInfo.domain, mInfo.path, mInfo.mode, mInfo.mtime, 3452 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { 3475 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { 3561 if (info.domain.equals(FullBackup.OBB_TREE_TOKEN)) { 3581 info.domain, info.path, info.mode, info.mtime, 4057 b.append(info.domain); [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IStreamInformation.c | 53 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 D | data.h | 102 XAuint32 domain; member in struct:__anon1703
|
/frameworks/base/core/java/android/nfc/ |
H A D | NdefRecord.java | 432 * 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 D | native-media-jni.c | 243 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 D | BackupHelpers.cpp | 492 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/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.java | 480 int type, String domain, String relpath, long mode, long mtime) 479 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String relpath, long mode, long mtime) argument
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | xaplay.c | 225 // 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/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 48 /** 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...] |