/aosp_15_r20/external/libmonet/scheme/ |
H A D | Scheme.java | 19 package com.google.ux.material.libmonet.scheme; 26 * Represents a Material color scheme, a mapping of color roles to colors. 34 public class Scheme { class 65 public Scheme() {} in Scheme() method in Scheme 67 public Scheme( in Scheme() method in Scheme 129 /** Creates a light theme Scheme from a source color in ARGB, i.e. a hex code. */ 130 public static Scheme light(int argb) { in light() 134 /** Creates a dark theme Scheme from a source color in ARGB, i.e. a hex code. */ 135 public static Scheme dark(int argb) { in dark() 139 /** Creates a light theme content-based Scheme from a source color in ARGB, i.e. a hex code. */ [all …]
|
/aosp_15_r20/frameworks/base/sax/tests/saxtests/res/raw/ |
H A D | youtube.xml | 48 <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' 50 <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' 52 <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' 54 <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' 56 <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' 58 <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' 60 <category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' 62 <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' 88 scheme='http://gdata.youtube.com/schemas/2007/categories.cat'> 113 <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' [all …]
|
/aosp_15_r20/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
H A D | CryptUtil.c | 77 // TPM_RC_SCHEME not the proper scheme for this key type 88 &signKey->publicArea.parameters.keyedHashDetail.scheme; in CryptHMACVerifySignature() 95 // algorithm than otherwise allowed by the key. That is, a key with a scheme in CryptHMACVerifySignature() 97 // a matching scheme. in CryptHMACVerifySignature() 98 if((keyScheme->scheme != TPM_ALG_NULL) in CryptHMACVerifySignature() 99 && ((keyScheme->scheme != signature->sigAlg) in CryptHMACVerifySignature() 122 // the scheme 132 TPMT_KEYEDHASH_SCHEME *scheme; in CryptGenerateKeyedHash() local 136 scheme = &publicArea->parameters.keyedHashDetail.scheme; in CryptGenerateKeyedHash() 142 if(scheme->scheme == TPM_ALG_NULL) in CryptGenerateKeyedHash() [all …]
|
H A D | CryptEccCrypt.c | 43 // This function is used by TPM2_ECC_Decrypt and TPM2_ECC_Encrypt. It sets scheme 44 // either the input scheme or the key scheme. If they key scheme is not TPM_ALG_NULL 45 // then the input scheme must be TPM_ALG_NULL or the same as the key scheme. If 48 // TRUE 'scheme' is set 49 // FALSE 'scheme' is not valid (it may have been changed). 52 OBJECT *key, //IN: key containing default scheme in CryptEccSelectScheme() 53 TPMT_KDF_SCHEME *scheme // IN: a decrypt scheme in CryptEccSelectScheme() argument 59 if(scheme->scheme == TPM_ALG_NULL) in CryptEccSelectScheme() 60 *scheme = *keyScheme; in CryptEccSelectScheme() 61 if(keyScheme->scheme == TPM_ALG_NULL) in CryptEccSelectScheme() [all …]
|
/aosp_15_r20/external/cronet/url/ |
H A D | url_util.cc | 28 // A pair for representing a standard scheme name and the SchemeType for it. 30 std::string scheme; member 34 // A pair for representing a scheme and a custom protocol handler for it. 40 std::string scheme; member 65 // WARNING: Adding (1) a non-"standard" scheme or (2) a scheme whose URLs have 90 // loaded with any other URL scheme. 130 // Gets the scheme registry without locking the schemes. This should *only* be 158 return compare_to[0] == 0; // When component is empty, match empty scheme. in DoCompareSchemeComponent() 164 // Returns true and sets |type| to the SchemeType of the given scheme 165 // identified by |scheme| within |spec| if in |schemes|. [all …]
|
H A D | url_canon_relative.cc | 30 // don't have to worry about invalid scheme characters since we are comparing 31 // against the canonical scheme of the base. 69 bool IsValidScheme(const CHAR* url, const Component& scheme) { in IsValidScheme() argument 70 // Caller should ensure that the |scheme| is not empty. in IsValidScheme() 71 DCHECK_NE(0, scheme.len); in IsValidScheme() 73 // From https://url.spec.whatwg.org/#scheme-start-state: in IsValidScheme() 74 // scheme start state: in IsValidScheme() 76 // state to scheme state. in IsValidScheme() 77 // 2. Otherwise, if state override is not given, set state to no scheme in IsValidScheme() 80 // Note that both step 2 and step 3 mean that the scheme was not valid. in IsValidScheme() [all …]
|
H A D | url_util.h | 45 // Android WebView assumes that one URL with a non-standard scheme will be 46 // same-origin to another URL with the same non-standard scheme. 54 // The following Add*Scheme method are not threadsafe and can not be called 58 // Adds an application-defined scheme to the internal list of "standard-format" 59 // URL schemes. A standard-format scheme adheres to what RFC 3986 calls "generic 69 // other operations against the standard scheme list. 73 // Adds an application-defined scheme to the internal list of schemes allowed 78 // Adds an application-defined scheme to the list of schemes that do not trigger 83 // Adds an application-defined scheme to the list of schemes that normal pages 89 // Adds an application-defined scheme to the list of schemes that cause pages [all …]
|
/aosp_15_r20/external/libcups/cups/ |
H A D | auth.c | 40 static const char *cups_auth_find(const char *www_authenticate, const char *scheme); 41 static const char *cups_auth_param(const char *scheme, const char *name, char *value, size_t valsiz… 42 static const char *cups_auth_scheme(const char *www_authenticate, char *scheme, size_t schemesize); 114 *schemedata; /* Scheme-specific data */ in cupsDoAuthentication() 115 char scheme[256], /* Scheme name */ in cupsDoAuthentication() local 169 …_scheme(www_auth, scheme, sizeof(scheme)); schemedata; schemedata = cups_auth_scheme(schemedata + … in cupsDoAuthentication() 172 * Check the scheme name... in cupsDoAuthentication() 175 DEBUG_printf(("2cupsDoAuthentication: Trying scheme \"%s\"...", scheme)); in cupsDoAuthentication() 178 if (!_cups_strcasecmp(scheme, "Negotiate") && !cups_is_local_connection(http)) in cupsDoAuthentication() 205 if (_cups_strcasecmp(scheme, "Basic") && in cupsDoAuthentication() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/http/src/uri/ |
D | mod.rs | 35 use self::scheme::Scheme2; 41 pub use self::scheme::Scheme; 47 mod scheme; module 75 /// scheme authority path query fragment 97 scheme: Scheme, field 107 /// The scheme component of a URI 108 pub scheme: Option<Scheme>, field 194 /// .scheme("https") 219 /// assert!(uri.scheme().is_none()); 228 /// parts.scheme = Some("http".parse().unwrap()); [all …]
|
D | scheme.rs | 11 /// Represents the scheme component of a URI 13 pub struct Scheme { struct 30 impl Scheme { impl 31 /// HTTP protocol scheme 32 pub const HTTP: Scheme = Scheme { 37 pub const HTTPS: Scheme = Scheme { 42 Scheme { in empty() 47 /// Return a str representation of the scheme 53 /// let scheme: Scheme = "http".parse().unwrap(); 54 /// assert_eq!(scheme.as_str(), "http"); [all …]
|
/aosp_15_r20/external/apache-http/src/org/apache/http/conn/scheme/ |
H A D | SchemeRegistry.java | 2 …onents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/SchemeRegistry.jav… 31 package org.apache.http.conn.scheme; 41 * A set of supported protocol {@link Scheme schemes}. 60 private final Map<String,Scheme> registeredSchemes; 64 * Creates a new, empty scheme registry. 68 registeredSchemes = new LinkedHashMap<String,Scheme>(); in SchemeRegistry() 73 * Obtains a scheme by name. 75 * @param name the name of the scheme to look up (in lowercase) 77 * @return the scheme, never <code>null</code> 80 * if the scheme with the given name is not registered [all …]
|
H A D | Scheme.java | 2 …tpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/Scheme.java $ 31 package org.apache.http.conn.scheme; 38 * Encapsulates specifics of a protocol scheme such as "http" or "https". 48 * Scheme https = new Scheme("https", new MySecureSocketFactory(), 443); 62 public final class Scheme { class 64 /** The name of this scheme, in lowercase. (e.g. http, https) */ 67 /** The socket factory for this scheme */ 70 /** The default port for this scheme */ 73 /** Indicates whether this scheme allows for layered connections */ 82 * Creates a new scheme. [all …]
|
/aosp_15_r20/cts/tests/tests/content/src/android/content/cts/ |
H A D | IntentFilterTest.java | 437 IntentFilter filter = new Match(null, null, null, new String[]{"scheme"}, in testSchemeSpecificParts() 442 MatchCondition.data(MATCH_CATEGORY_SCHEME_SPECIFIC_PART, "scheme:ssp1"), in testSchemeSpecificParts() 443 MatchCondition.data(MATCH_CATEGORY_SCHEME_SPECIFIC_PART, "scheme:2ssp"), in testSchemeSpecificParts() 444 MatchCondition.data(IntentFilter.NO_MATCH_DATA, "scheme:ssp"), in testSchemeSpecificParts() 445 MatchCondition.data(IntentFilter.NO_MATCH_DATA, "scheme:ssp12")); in testSchemeSpecificParts() 446 filter = new Match(null, null, null, new String[]{"scheme"}, in testSchemeSpecificParts() 451 MatchCondition.data(MATCH_CATEGORY_SCHEME_SPECIFIC_PART, "scheme:ssp1"), in testSchemeSpecificParts() 452 MatchCondition.data(MATCH_CATEGORY_SCHEME_SPECIFIC_PART, "scheme:2ssp"), in testSchemeSpecificParts() 453 MatchCondition.data(IntentFilter.NO_MATCH_DATA, "scheme:ssp"), in testSchemeSpecificParts() 454 MatchCondition.data(MATCH_CATEGORY_SCHEME_SPECIFIC_PART, "scheme:ssp12")); in testSchemeSpecificParts() [all …]
|
/aosp_15_r20/external/cronet/net/base/ |
H A D | proxy_string_util.h | 25 // <scheme>" "<host>[":"<port>] 27 // Where <scheme> may be one of (case-insensitive): 37 // chosen scheme (via ProxyServer::GetDefaultPortForScheme()). 42 // "PROXY foopy:19" {scheme=HTTP, host="foopy", port=19} 43 // "DIRECT" {scheme=DIRECT} 44 // "SOCKS5 foopy" {scheme=SOCKS5, host="foopy", port=1080} 45 // "HTTPS foopy:123" {scheme=HTTPS, host="foopy", port=123} 46 // "QUIC foopy:123" {scheme=QUIC, host="foopy", port=123} 60 // [<scheme>"://"]<server>[":"<port>] 62 // Where <scheme> may be one of: [all …]
|
/aosp_15_r20/external/cronet/net/http/ |
H A D | http_auth_cache.h | 28 // For each (scheme_host_port, realm, scheme) triple the cache stores a 30 // - the origin server {protocol scheme, host, port} 32 // - the last auth handler used (contains realm and authentication scheme) 34 // Entries can be looked up by either (origin, realm, scheme) or (origin, path). 49 // The authentication scheme of the challenge. 50 HttpAuth::Scheme scheme() const { in scheme() function 101 HttpAuth::Scheme scheme_ = HttpAuth::AUTH_SCHEME_MAX; 143 // scheme |scheme|. If a matching entry is found, move it up by one place 146 // |scheme_host_port| - the {scheme, host, port} of the server. 149 // |scheme| - the authentication scheme (i.e. basic, negotiate). [all …]
|
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/animation/ |
H A D | MediaColorSchemes.kt | 21 /** Returns the surface color for media controls based on the scheme. */ 22 internal fun surfaceFromScheme(scheme: ColorScheme) = scheme.accent2.s800 // A2-800 24 /** Returns the primary accent color for media controls based on the scheme. */ 25 internal fun accentPrimaryFromScheme(scheme: ColorScheme) = scheme.accent1.s100 // A1-100 27 /** Returns the secondary accent color for media controls based on the scheme. */ 28 internal fun accentSecondaryFromScheme(scheme: ColorScheme) = scheme.accent1.s200 // A1-200 30 /** Returns the primary text color for media controls based on the scheme. */ 31 internal fun textPrimaryFromScheme(scheme: ColorScheme) = scheme.neutral1.s50 // N1-50 33 /** Returns the inverse of the primary text color for media controls based on the scheme. */ 34 internal fun textPrimaryInverseFromScheme(scheme: ColorScheme) = scheme.neutral1.s900 // N1-900 [all …]
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | sysconfig.rst | 68 Python uses an installation scheme that differs depending on the platform and on 73 Distutils-based system will follow the same scheme to copy its file in the right 78 - *posix_prefix*: scheme for POSIX platforms like Linux or macOS. This is 79 the default scheme used when Python or a component is installed. 80 - *posix_home*: scheme for POSIX platforms used when a *home* option is used 81 upon installation. This scheme is used when a component is installed through 83 - *posix_user*: scheme for POSIX platforms used when a component is installed 84 through Distutils and the *user* option is used. This scheme defines paths 86 - *posix_venv*: scheme for :mod:`Python virtual environments <venv>` on POSIX 88 - *nt*: scheme for NT platforms like Windows. [all …]
|
/aosp_15_r20/tools/apksig/src/main/java/com/android/apksig/ |
H A D | ApkVerifier.java | 105 ApkSigningBlockUtils.VERSION_APK_SIGNATURE_SCHEME_V2, "APK Signature Scheme v2"); in loadSupportedApkSigSchemeNames() 107 ApkSigningBlockUtils.VERSION_APK_SIGNATURE_SCHEME_V3, "APK Signature Scheme v3"); in loadSupportedApkSigSchemeNames() 202 // The SUPPORTED_APK_SIG_SCHEME_NAMES contains the mapping from version number to scheme in verify() 219 // Android T and newer attempts to verify APKs using APK Signature Scheme V3.1. v3.0 in verify() 246 // Android P and newer attempts to verify APKs using APK Signature Scheme v3; since a in verify() 280 // ignore APK Signature Scheme v3 signatures and always attempt to verify either JAR or in verify() 281 // APK Signature Scheme v2 signatures. Android P onwards verifies v2 signatures only if in verify() 282 // no APK Signature Scheme v3 (or newer scheme) signatures were found. in verify() 321 // are signed using APK Signature Scheme v2 or newer. in verify() 341 // ignore APK Signature Scheme v2 signatures and always attempt to verify JAR signatures. in verify() [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/urllib3/ |
D | poolmanager.py | 83 According to RFC 3986, both the scheme and host are case-insensitive. 90 with the ``scheme`` and ``host`` keys at a minimum. 101 context["scheme"] = context["scheme"].lower() 128 #: A dictionary that maps a scheme to a callable that creates a pool key. 189 def _new_pool(self, scheme, host, port, request_context=None): argument 191 Create a new :class:`urllib3.connectionpool.ConnectionPool` based on host, port, scheme, and 199 pool_cls = self.pool_classes_by_scheme[scheme] 204 # this function has historically only used the scheme, host, and port 207 for key in ("scheme", "host", "port"): 210 if scheme == "http": [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/urllib3/ |
D | poolmanager.py | 83 According to RFC 3986, both the scheme and host are case-insensitive. 90 with the ``scheme`` and ``host`` keys at a minimum. 101 context["scheme"] = context["scheme"].lower() 128 #: A dictionary that maps a scheme to a callable that creates a pool key. 189 def _new_pool(self, scheme, host, port, request_context=None): argument 191 Create a new :class:`urllib3.connectionpool.ConnectionPool` based on host, port, scheme, and 199 pool_cls = self.pool_classes_by_scheme[scheme] 204 # this function has historically only used the scheme, host, and port 207 for key in ("scheme", "host", "port"): 210 if scheme == "http": [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/urllib3/ |
D | poolmanager.py | 83 According to RFC 3986, both the scheme and host are case-insensitive. 90 with the ``scheme`` and ``host`` keys at a minimum. 101 context["scheme"] = context["scheme"].lower() 128 #: A dictionary that maps a scheme to a callable that creates a pool key. 189 def _new_pool(self, scheme, host, port, request_context=None): argument 191 Create a new :class:`urllib3.connectionpool.ConnectionPool` based on host, port, scheme, and 199 pool_cls = self.pool_classes_by_scheme[scheme] 204 # this function has historically only used the scheme, host, and port 207 for key in ("scheme", "host", "port"): 210 if scheme == "http": [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/urllib3/ |
D | poolmanager.py | 83 According to RFC 3986, both the scheme and host are case-insensitive. 90 with the ``scheme`` and ``host`` keys at a minimum. 101 context["scheme"] = context["scheme"].lower() 128 #: A dictionary that maps a scheme to a callable that creates a pool key. 189 def _new_pool(self, scheme, host, port, request_context=None): argument 191 Create a new :class:`urllib3.connectionpool.ConnectionPool` based on host, port, scheme, and 199 pool_cls = self.pool_classes_by_scheme[scheme] 204 # this function has historically only used the scheme, host, and port 207 for key in ("scheme", "host", "port"): 210 if scheme == "http": [all …]
|
/aosp_15_r20/external/cronet/url/third_party/mozilla/ |
H A D | url_parse.cc | 52 return os << "{ scheme: " << parsed.scheme in operator <<() 297 bool DoExtractScheme(std::basic_string_view<CharT> url, Component* scheme) { in DoExtractScheme() argument 310 *scheme = MakeRange(begin, base::checked_cast<int>(i)); in DoExtractScheme() 314 return false; // No colon found: no scheme in DoExtractScheme() 317 // Fills in all members of the Parsed structure except for the scheme. 320 // |after_scheme| is the character immediately following the scheme (after the 362 // The main parsing function for standard URLs. Standard URLs have a scheme, 375 &parsed->scheme)) { in DoParseStandardURL() 376 after_scheme = parsed->scheme.end() + 1; // Skip past the colon. in DoParseStandardURL() 378 // Say there's no scheme when there is no colon. We could also say that in DoParseStandardURL() [all …]
|
/aosp_15_r20/external/openscreen/third_party/mozilla/ |
H A D | url_parse.cc | 247 bool DoExtractScheme(const char* url, int url_len, Component* scheme) { in DoExtractScheme() argument 258 *scheme = MakeRange(begin, i); in DoExtractScheme() 262 return false; // No colon found: no scheme in DoExtractScheme() 265 // Fills in all members of the Parsed structure except for the scheme. 268 // |after_scheme| is the character immediately following the scheme (after the 312 // The main parsing function for standard URLs. Standard URLs have a scheme, 322 if (DoExtractScheme(spec, spec_len, &parsed->scheme)) { in DoParseStandardURL() 323 after_scheme = parsed->scheme.end() + 1; // Skip past the colon. in DoParseStandardURL() 325 // Say there's no scheme when there is no colon. We could also say that in DoParseStandardURL() 326 // everything is the scheme. Both would produce an invalid URL, but this way in DoParseStandardURL() [all …]
|
/aosp_15_r20/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 112 <scheme>://<authority><path>?<query> 156 * Absolute URIs are hierarchical if the scheme-specific part starts with 163 * scheme-specific part of an opaque URI cannot start with a '/'. 171 * explicit scheme. 179 * explicit scheme. 188 * Gets the scheme of this URI. Example: "http" 190 * @return the scheme or null if this is a relative URI 196 * Gets the scheme-specific part of this URI, i.e. everything between 197 * the scheme separator ':' and the fragment separator '#'. If this is a 202 * @return the decoded scheme-specific-part [all …]
|