/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(), 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/base/services/backup/java/com/android/server/backup/ |
H A D | FileMetadata.java | 34 public String domain; // e.g. FullBackup.DATABASE_TREE_TOKEN field in class:FileMetadata 35 public String path; // subpath within the semantic domain 51 sb.append(domain); 81 b.append(domain);
|
/frameworks/ex/common/java/com/android/common/ |
H A D | Rfc822Validator.java | 31 * 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/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 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/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | DomainNameElementTest.java | 46 * @param domain The domain name string 49 private void appendDomain(ByteArrayOutputStream stream, String domain) throws IOException { argument 50 byte[] domainBytes = domain.getBytes(StandardCharsets.ISO_8859_1); 63 for (String domain : domains) { 64 appendDomain(stream, domain); 70 * Verify that a DomainNameElement with empty domain list will be returned when parsing an 94 * Verify that a DomainNameElement with expected domain list will be returned when parsing a 95 * buffer contained valid domain name list.
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvContentRating.java | 799 * @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/com/android/server/backup/ |
H A D | SystemBackupAgent.java | 131 int type, String domain, String path, long mode, long mtime) 133 Slog.i(TAG, "Restoring file domain=" + domain + " path=" + path); 139 // Various domain+files we understand a priori 140 if (domain.equals(FullBackup.ROOT_TREE_TOKEN)) { 152 Slog.w(TAG, "Skipping unrecognized system file: [ " + domain + " : " + path + " ]"); 130 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CellularNetworkService.java | 89 int domain = (message.what == GET_CS_REGISTRATION_STATE_DONE) 93 getRegistrationStateFromResult(ar.result, domain); 168 private int[] getAvailableServices(int regState, int domain, boolean emergencyOnly) { argument 178 if (domain == NetworkRegistrationState.DOMAIN_PS) { 180 } else if (domain == NetworkRegistrationState.DOMAIN_CS) { 196 private NetworkRegistrationState getRegistrationStateFromResult(Object result, int domain) { argument 202 if (domain == NetworkRegistrationState.DOMAIN_CS) { 204 } else if (domain == NetworkRegistrationState.DOMAIN_PS) { 213 int domain = NetworkRegistrationState.DOMAIN_CS; 227 regState, domain, emergencyOnl 468 getNetworkRegistrationState(int domain, NetworkServiceCallback callback) argument [all...] |
H A D | NetworkRegistrationManager.java | 87 public void getNetworkRegistrationState(int domain, Message onCompleteMessage) { argument 90 logd("getNetworkRegistrationState domain " + domain); 102 mServiceBinder.getNetworkRegistrationState(mPhone.getPhoneId(), domain, callback);
|
/frameworks/wilhelm/src/itf/ |
H A D | IStreamInformation.cpp | 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/base/core/java/android/net/ |
H A D | VpnService.java | 599 * Add a search domain to the DNS resolver. 601 public Builder addSearchDomain(String domain) { argument 605 mConfig.searchDomains.add(domain);
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
H A D | WatchlistConfig.java | 47 * Class for watchlist config operations, like setting watchlist, query if a domain 61 private static final String SHA256_DOMAIN = "sha256-domain"; 62 private static final String CRC32_DOMAIN = "crc32-domain"; 167 public boolean containsDomain(String domain) { argument 174 final byte[] crc32 = getCrc32(domain); 179 final byte[] sha256 = getSha256(domain);
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | NetworkService.java | 101 * @param domain 105 public void getNetworkRegistrationState(int domain, NetworkServiceCallback callback) { argument 274 int slotId, int domain, INetworkServiceCallback callback) { 276 domain, callback).sendToTarget(); 273 getNetworkRegistrationState( int slotId, int domain, INetworkServiceCallback callback) argument
|
H A D | NetworkRegistrationState.java | 35 * Network domain 42 /** Circuit switching domain */ 44 /** Packet switching domain */ 114 * @param domain Network domain. Must be DOMAIN_CS or DOMAIN_PS. 121 public NetworkRegistrationState(int transportType, int domain, int regState, argument 125 mDomain = domain; 138 public NetworkRegistrationState(int transportType, int domain, int regState, argument 142 this(transportType, domain, regState, accessNetworkTechnology, 153 public NetworkRegistrationState(int transportType, int domain, in argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | Utils.java | 29 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("\\."); 81 public static String getMccMnc(List<String> domain) { argument [all...] |
/frameworks/wilhelm/src/ |
H A D | data.h | 107 XAuint32 domain; member in struct:__anon2093
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupAgent.java | 532 // this domain (there may still be rules for other domains). 642 final String domain; 645 domain = FullBackup.DATABASE_TREE_TOKEN; 648 domain = FullBackup.SHAREDPREFS_TREE_TOKEN; 651 domain = FullBackup.FILES_TREE_TOKEN; 654 domain = FullBackup.ROOT_TREE_TOKEN; 657 domain = FullBackup.DEVICE_DATABASE_TREE_TOKEN; 660 domain = FullBackup.DEVICE_SHAREDPREFS_TREE_TOKEN; 663 domain = FullBackup.DEVICE_FILES_TREE_TOKEN; 666 domain 694 fullBackupFileTree(String packageName, String domain, String startingPath, ArraySet<PathWithRequiredFlags> manifestExcludes, ArraySet<String> systemExcludes, FullBackupDataOutput output) argument 901 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument 1129 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument [all...] |
H A D | FullBackup.java | 93 static public native int backupToTar(String packageName, String domain, argument 282 Log.i(TAG, "Unrecognized domain " + domainToken); 285 Log.i(TAG, "Error reading directory for domain: " + domainToken); 291 private String sharedDomainToPath(String domain) throws IOException { argument 293 final String volume = domain.substring(FullBackup.SHARED_PREFIX.length()); 341 * A map of domain -> set of pairs (canonical file; required transport flags) in that 342 * domain that are to be included if the transport has decared the required flags. 343 * We keep track of the domain so that we can go through the file system in order later on. 397 * @return A mapping of domain -> set of pairs (canonical file; required transport flags) 398 * in that domain tha 614 parseCurrentTagForDomain(XmlPullParser parser, Set<PathWithRequiredFlags> excludes, Map<String, Set<PathWithRequiredFlags>> includes, String domain) argument 675 extractCanonicalFile(File domain, String filePathFromXml) argument 701 getDirectoryForCriteriaDomain(String domain) argument [all...] |
/frameworks/base/core/java/android/nfc/ |
H A D | NdefRecord.java | 434 * 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/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/core/java/android/view/ |
H A D | ViewStructure.java | 421 * Sets the Web domain represented by this node. 425 * @param domain RFC 2396-compliant URI representing the domain. 427 public abstract void setWebDomain(@Nullable String domain); argument
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.java | 334 int type, String domain, String relpath, long mode, long mtime) 333 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 | 226 // 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/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...] |
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 481 int write_tarfile(const String8& packageName, const String8& domain, argument 491 // domain directories, so we should just skip it 501 if ((5 + packageName.length() + 1 + domain.length() >= 155) || (relpath.length() >= 100)) { 608 if (domain.length() > 0) { 609 prefix.appendPath(domain);
|