Home
last modified time | relevance | path

Searched refs:domain (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/core/java/android/net/http/
DCertificateChainValidator.java75 HttpsConnection connection, SSLSocket sslSocket, String domain) in doHandshakeAndValidateServerCertificates() argument
100 … return verifyServerDomainAndCertificates((X509Certificate[]) peerCertificates, domain, "RSA"); in doHandshakeAndValidateServerCertificates()
112 byte[][] certChain, String domain, String authType) in verifyServerCertificates() argument
125 return verifyServerDomainAndCertificates(serverCertificates, domain, authType); in verifyServerCertificates()
152 X509Certificate[] chain, String domain, String authType) in verifyServerDomainAndCertificates() argument
160 boolean valid = domain != null in verifyServerDomainAndCertificates()
161 && !domain.isEmpty() in verifyServerDomainAndCertificates()
162 && sVerifier.verify(domain, currCertificate); in verifyServerDomainAndCertificates()
165 HttpLog.v("certificate not for this host: " + domain); in verifyServerDomainAndCertificates()
174 trustManager.checkServerTrusted(chain, authType, domain); in verifyServerDomainAndCertificates()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java359 final String domain; in fullBackupFile() local
362 domain = FullBackup.DATABASE_TREE_TOKEN; in fullBackupFile()
365 domain = FullBackup.SHAREDPREFS_TREE_TOKEN; in fullBackupFile()
368 domain = FullBackup.DATA_TREE_TOKEN; in fullBackupFile()
371 domain = FullBackup.ROOT_TREE_TOKEN; in fullBackupFile()
374 domain = FullBackup.MANAGED_EXTERNAL_TREE_TOKEN; in fullBackupFile()
382 Log.i(TAG, "backupFile() of " + filePath + " => domain=" + domain in fullBackupFile()
384 FullBackup.backupToTar(getPackageName(), domain, null, rootpath, filePath, in fullBackupFile() local
396 protected final void fullBackupFileTree(String packageName, String domain, String rootPath, in fullBackupFileTree() argument
436 FullBackup.backupToTar(packageName, domain, null, rootPath, filePath, in fullBackupFileTree()
[all …]
DFullBackup.java63 static public native int backupToTar(String packageName, String domain, in backupToTar() argument
/frameworks/ex/common/tools/
Dmake-iana-tld-pattern.py137 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.startswith('xn--'):
144 puny = domain.strip()[4:]
/frameworks/wilhelm/src/itf/
DIStreamInformation.c53 XAuint32 *domain) /* [out] */ in IStreamInformation_QueryStreamType() argument
57 if (NULL == domain) { in IStreamInformation_QueryStreamType()
63 *domain = XA_DOMAINTYPE_UNKNOWN; in IStreamInformation_QueryStreamType()
68 *domain = XA_DOMAINTYPE_UNKNOWN; in IStreamInformation_QueryStreamType()
78 *domain = thiz->mStreamInfoTable.itemAt(streamIndex).domain; in IStreamInformation_QueryStreamType()
117 switch (streamInfo.domain) { in IStreamInformation_QueryStreamInformation()
141 "unknown domain %u", streamIndex, streamInfo.domain); in IStreamInformation_QueryStreamInformation()
304 contInf.domain = XA_DOMAINTYPE_CONTAINER; in IStreamInformation_init()
/frameworks/ex/common/java/com/android/common/
DRfc822Validator.java58 public Rfc822Validator(String domain) { in Rfc822Validator() argument
59 mDomain = domain; in Rfc822Validator()
147 String domain = removeIllegalCharacters(text.substring(index + 1)); in fixText() local
148 boolean emptyDomain = domain.length() == 0; in fixText()
150 tokens[i].setAddress(fix + "@" + (!emptyDomain ? domain : mDomain)); in fixText()
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DSharedStorageAgent.java55 String domain = FullBackup.SHARED_PREFIX + i; in onFullBackup() local
56 fullBackupFileTree(null, domain, v.getPath(), externalFilesDirFilter, output); in onFullBackup()
66 int type, String domain, String relpath, long mode, long mtime) in onRestoreFile() argument
68 if (DEBUG) Slog.d(TAG, "Shared restore: [ " + domain + " : " + relpath + "]"); in onRestoreFile()
/frameworks/base/services/java/com/android/server/
DSystemBackupAgent.java126 int type, String domain, String path, long mode, long mtime) in onRestoreFile() argument
128 Slog.i(TAG, "Restoring file domain=" + domain + " path=" + path); in onRestoreFile()
135 if (domain.equals(FullBackup.ROOT_TREE_TOKEN)) { in onRestoreFile()
147 Slog.w(TAG, "Skipping unrecognized system file: [ " + domain + " : " + path + " ]"); in onRestoreFile()
DBackupManagerService.java3010 String domain; // e.g. FullBackup.DATABASE_TREE_TOKEN field in BackupManagerService.FileMetadata
3022 sb.append(domain); sb.append(':'); sb.append(path); sb.append(','); in toString()
3106 mInfo.domain, mInfo.path, mInfo.mode, mInfo.mtime, in run()
3350 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile()
3373 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile()
3459 if (info.domain.equals(FullBackup.OBB_TREE_TOKEN)) { in restoreOneFile()
3479 info.domain, info.path, info.mode, info.mtime, in restoreOneFile()
3955 b.append(info.domain); in dumpFileMetadata()
4027 info.domain = FullBackup.SHARED_STORAGE_TOKEN; in readTarHeaders()
4046 info.domain = info.path.substring(0, slash); in readTarHeaders()
/frameworks/wilhelm/tests/sandbox/
Dxaplay.c226 static const char *domainToString(XAuint32 domain) in domainToString() argument
228 switch (domain) { in domainToString()
624 XAuint32 domain; in main() local
630 streamIndex, &domain); in main()
644 domain = 12345; in main()
646 &domain); in main()
648 printf(" QueryStreamType: domain = 0x%X (%s)\n", domain, domainToString(domain)); in main()
665 switch (domain) { in main()
759 XAuint32 domain; in main() local
761 &domain); in main()
/frameworks/base/core/jni/
Dandroid_app_backup_FullBackup.cpp87 String8 domain(domainchars ? domainchars : ""); in backupToTar() local
110 return write_tarfile(packageName, domain, rootpath, path, writer); in backupToTar()
/frameworks/base/core/java/android/nfc/
DNdefRecord.java455 public static NdefRecord createExternal(String domain, String type, byte[] data) { in createExternal() argument
456 if (domain == null) throw new NullPointerException("domain is null"); in createExternal()
459 domain = domain.trim().toLowerCase(Locale.US); in createExternal()
462 if (domain.length() == 0) throw new IllegalArgumentException("domain is empty"); in createExternal()
465 byte[] byteDomain = domain.getBytes(Charsets.UTF_8); in createExternal()
/frameworks/wilhelm/tests/native-media/jni/
Dnative-media-jni.c243 XAuint32 domain; in StreamChangeCallback() local
244 res = (*caller)->QueryStreamType(caller, streamIndex, &domain); in StreamChangeCallback()
246 switch (domain) { in StreamChangeCallback()
256 fprintf(stderr, "Unexpected domain %u\n", domain); in StreamChangeCallback()
/frameworks/base/core/java/android/app/
DIBackupAgent.aidl117 int type, String domain, String path, long mode, long mtime, in doRestoreFile() argument
/frameworks/base/core/java/android/net/
DVpnService.java416 public Builder addSearchDomain(String domain) { in addSearchDomain() argument
420 mConfig.searchDomains.add(domain); in addSearchDomain()
/frameworks/wilhelm/src/
Ddata.h102 XAuint32 domain; member
/frameworks/base/include/androidfw/
DBackupHelpers.h137 int write_tarfile(const String8& packageName, const String8& domain,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java386 String domain = p.getSipDomain(); in getSipDomain() local
388 if (domain.endsWith(":5060")) { in getSipDomain()
389 return domain.substring(0, domain.length() - 5); in getSipDomain()
391 return domain; in getSipDomain()
/frameworks/base/core/java/com/google/android/util/
DAbstractMessageParser.java332 private boolean isValidDomain(String domain) { in isValidDomain() argument
334 if (matches(getResources().getDomainSuffixes(), reverse(domain))) { in isValidDomain()
382 String domain = text.substring(nextChar, index); in parseURL() local
383 if (!isValidDomain(domain)) { in parseURL()
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp492 int write_tarfile(const String8& packageName, const String8& domain, in write_tarfile() argument
510 if ((5 + packageName.length() + 1 + domain.length() >= 155) || (relpath.length() >= 100)) { in write_tarfile()
604 if (domain.length() > 0) { in write_tarfile()
605 prefix.appendPath(domain); in write_tarfile()
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_failed.txt561 /sdcard/android/layout_tests/http/tests/wml/access-target-domain-deny.html
650 /sdcard/android/layout_tests/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain
651 /sdcard/android/layout_tests/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain
652 /sdcard/android/layout_tests/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-s…
654 /sdcard/android/layout_tests/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-s…
655 /sdcard/android/layout_tests/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-w…
706 …http/tests/security/javascriptURL/xss-DENIED-from-javascript-url-in-foreign-domain-window-open.html
711 …ests/http/tests/security/javascriptURL/xss-DENIED-to-javascript-url-in-foreign-domain-subframe.html
714 …s/http/tests/security/javascriptURL/xss-DENIED-to-javascript-url-in-foreign-domain-window-open.html
718 …ts/http/tests/security/javascriptURL/xss-DENIED-from-javascript-url-in-foreign-domain-subframe.html
[all …]
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp109 if (XA_DOMAINTYPE_VIDEO == mp->mStreamInfo.mStreamInfoTable.itemAt(i).domain) { in player_handleMediaPlayerEventNotifications()
116 streamInfo.domain = XA_DOMAINTYPE_VIDEO; in player_handleMediaPlayerEventNotifications()
/frameworks/base/docs/html/training/gestures/
Dscroll.jd136 will be drawn into. At any given time, a subset of the total chart domain and range are drawn
141 graph domain and range are decimal/float values, {@code mCurrentViewport} is of
148 // chart domain and range. The viewport is the part of the app that the
/frameworks/base/docs/html/guide/topics/connectivity/
Dsip.jd96 <td>Defines a SIP profile, including a SIP account, domain and server information.
218 account, and domain and server information. The profile associated with the SIP
233 SipProfile.Builder builder = new SipProfile.Builder(username, domain);
/frameworks/base/docs/html/training/basics/firstapp/
Dcreating-project.jd71 best if you use a name that begins with the reverse domain name of your organization or

12