Home
last modified time | relevance | path

Searched refs:Domain (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java119 ArraySet<Pair<Domain, NetworkSecurityConfig>> domainMap in testEmptyConfig()
120 = new ArraySet<Pair<Domain, NetworkSecurityConfig>>(); in testEmptyConfig()
128 ArraySet<Pair<Domain, NetworkSecurityConfig>> domainMap in testEmptyPerNetworkSecurityConfig()
129 = new ArraySet<Pair<Domain, NetworkSecurityConfig>>(); in testEmptyPerNetworkSecurityConfig()
130 domainMap.add(new Pair<Domain, NetworkSecurityConfig>( in testEmptyPerNetworkSecurityConfig()
131 new Domain("android.com", true), getEmptyConfig())); in testEmptyPerNetworkSecurityConfig()
146 ArraySet<Pair<Domain, NetworkSecurityConfig>> domainMap in testBadPin()
147 = new ArraySet<Pair<Domain, NetworkSecurityConfig>>(); in testBadPin()
148 domainMap.add(new Pair<Domain, NetworkSecurityConfig>( in testBadPin()
149 new Domain("android.com", true), domain)); in testBadPin()
[all …]
DTestConfigSource.java24 private final Set<Pair<Domain, NetworkSecurityConfig>> mConfigs;
26 public TestConfigSource(Set<Pair<Domain, NetworkSecurityConfig>> configs, in TestConfigSource() argument
32 public Set<Pair<Domain, NetworkSecurityConfig>> getPerDomainConfigs() { in getPerDomainConfigs()
/frameworks/base/core/java/android/security/net/config/
DDomain.java24 public final class Domain { class
35 public Domain(String hostname, boolean subdomainsIncluded) { in Domain() method in Domain
53 if (!(other instanceof Domain)) { in equals()
56 Domain otherDomain = (Domain) other; in equals()
DApplicationConfig.java42 private Set<Pair<Domain, NetworkSecurityConfig>> mConfigs;
93 Pair<Domain, NetworkSecurityConfig> bestMatch = null; in getConfigForHostname()
94 for (Pair<Domain, NetworkSecurityConfig> entry : mConfigs) { in getConfigForHostname()
95 Domain domain = entry.first; in getConfigForHostname()
137 for (Pair<Domain, NetworkSecurityConfig> entry : mConfigs) { in isCleartextTrafficPermitted()
182 for (Pair<Domain, NetworkSecurityConfig> entry : mConfigs) { in handleTrustStorageUpdate()
DXmlConfigSource.java43 private Set<Pair<Domain, NetworkSecurityConfig>> mDomainMap;
54 public Set<Pair<Domain, NetworkSecurityConfig>> getPerDomainConfigs() { in getPerDomainConfigs()
154 private Domain parseDomain(XmlResourceParser parser, Set<String> seenDomains) in parseDomain()
171 return new Domain(domain, includeSubdomains); in parseDomain()
223 private List<Pair<NetworkSecurityConfig.Builder, Set<Domain>>> parseConfigEntry( in parseConfigEntry()
227 List<Pair<NetworkSecurityConfig.Builder, Set<Domain>>> builders = new ArrayList<>(); in parseConfigEntry()
230 Set<Domain> domains = new ArraySet<>(); in parseConfigEntry()
260 Domain domain = parseDomain(parser, seenDomains); in parseConfigEntry()
322 List<Pair<NetworkSecurityConfig.Builder, Set<Domain>>> builders = new ArrayList<>(); in parseNetworkSecurityConfig()
374 Set<Pair<Domain, NetworkSecurityConfig>> configs = new ArraySet<>(); in parseNetworkSecurityConfig()
[all …]
DManifestConfigSource.java44 public Set<Pair<Domain, NetworkSecurityConfig>> getPerDomainConfigs() { in getPerDomainConfigs()
102 public Set<Pair<Domain, NetworkSecurityConfig>> getPerDomainConfigs() { in getPerDomainConfigs()
DConfigSource.java24 Set<Pair<Domain, NetworkSecurityConfig>> getPerDomainConfigs(); in getPerDomainConfigs()
DKeyStoreConfigSource.java40 public Set<Pair<Domain, NetworkSecurityConfig>> getPerDomainConfigs() { in getPerDomainConfigs()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.h59 enum Domain : uint32_t { enum
108 Domain mDomain; // component domain
109 Domain mInputDomain; // input port domain
110 Domain mOutputDomain; // output port domain
239 std::vector<std::unique_ptr<C2Param>> &configUpdate, Domain domain);
243 bool updateFormats(Domain domain);
254 const sp<AMessage> &sdkParams, Domain domain,
384 Domain domain) const;
393 const sp<AMessage> &config, Domain domain) const;
396 DEFINE_ENUM_OPERATORS(CCodecConfig::Domain)
DCCodecConfig.cpp93 typedef CCodecConfig::Domain Domain; typedef
96 : mDomain(Domain::ALL), mMediaKey(mediaKey), mStruct(c2struct), mField(c2field) { } in ConfigMapper()
100 C2_CHECK(domain & Domain::GUARD_BIT); in limitTo()
101 mDomain = Domain(mDomain & domain); in limitTo()
179 Domain domain() const { return mDomain; } in domain()
186 Domain mDomain; ///< parameter domain (mask) containing port, kind and config domains
240 typedef CCodecConfig::Domain Domain; typedef
272 ((cm.domain() & Domain::IS_INPUT) ? 'I' : ' '), in add()
273 ((cm.domain() & Domain::IS_OUTPUT) ? 'O' : ' '), in add()
274 ((cm.domain() & Domain::IS_CODED) ? 'C' : ' '), in add()
[all …]
/frameworks/base/telephony/java/android/telephony/
DNetworkRegistrationInfo.java64 public @interface Domain {} annotation in NetworkRegistrationInfo
69 public static final int DOMAIN_CS = android.hardware.radio.network.Domain.CS;
71 public static final int DOMAIN_PS = android.hardware.radio.network.Domain.PS;
221 @Domain
303 private NetworkRegistrationInfo(@Domain int domain, @TransportType int transportType, in NetworkRegistrationInfo()
439 public @Domain int getDomain() { return mDomain; } in getDomain()
800 static @NonNull String domainToString(@Domain int domain) { in domainToString()
986 @Domain
1057 public @NonNull Builder setDomain(@Domain int domain) { in setDomain()
DEmergencyRegistrationResult.java53 private @NetworkRegistrationInfo.Domain int mDomain;
107 @NetworkRegistrationInfo.Domain int domain, in EmergencyRegistrationResult()
171 public @NetworkRegistrationInfo.Domain int getDomain() { in getDomain()
DWwanSelectorCallback.java61 void onDomainSelected(@NetworkRegistrationInfo.Domain int domain, boolean useEmergencyPdn); in onDomainSelected()
DNetworkService.java31 import android.telephony.NetworkRegistrationInfo.Domain;
115 public void requestNetworkRegistrationInfo(@Domain int domain, in requestNetworkRegistrationInfo()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreKey.java22 import android.system.keystore2.Domain;
74 descriptor.domain = Domain.KEY_ID; in getKeyIdDescriptor()
DAndroidKeyStoreSpi.java42 import android.system.keystore2.Domain;
156 private @Domain int getTargetDomain() { in getTargetDomain()
158 ? Domain.APP in getTargetDomain()
159 : Domain.SELINUX; in getTargetDomain()
450 @Domain int targetDomain = getTargetDomain(); in setPrivateKeyEntry()
667 private static void assertCanReplace(String alias, @Domain int targetDomain, in assertCanReplace()
681 || (descriptor.domain == Domain.SELINUX && descriptor.nspace != targetNamespace)) { in assertCanReplace()
685 + (targetDomain == Domain.SELINUX ? " in the same target namespace: " in assertCanReplace()
701 @Domain int targetDomain = (getTargetDomain()); in setSecretKeyEntry()
DAndroidKeyStoreProvider.java27 import android.system.keystore2.Domain;
357 descriptor.domain = Domain.APP; in loadAndroidKeyStoreKeyFromKeystore()
360 descriptor.domain = Domain.SELINUX; in loadAndroidKeyStoreKeyFromKeystore()
DAndroidKeyStoreKeyGeneratorSpi.java29 import android.system.keystore2.Domain;
394 ? Domain.APP in engineGenerateKey()
395 : Domain.SELINUX; in engineGenerateKey()
/frameworks/base/keystore/tests/src/android/security/keystore2/
DAndroidKeyStoreEdECPublicKeyTest.java24 import android.system.keystore2.Domain;
43 keyDescriptor.domain = Domain.APP; in descriptor()
/frameworks/base/keystore/java/android/security/
DAndroidKeyStoreMaintenance.java26 import android.system.keystore2.Domain;
163 public static int clearNamespace(@Domain int domain, long namespace) { in clearNamespace()
/frameworks/av/media/codec2/hal/common/include/codec2/common/
DParamTypes.h270 d->domain = ComponentTraits::Domain::VIDEO; in objcpy()
273 d->domain = ComponentTraits::Domain::AUDIO; in objcpy()
276 d->domain = ComponentTraits::Domain::IMAGE; in objcpy()
279 d->domain = ComponentTraits::Domain::OTHER; in objcpy()
325 case ComponentTraits::Domain::VIDEO: in objcpy()
328 case ComponentTraits::Domain::AUDIO: in objcpy()
331 case ComponentTraits::Domain::IMAGE: in objcpy()
334 case ComponentTraits::Domain::OTHER: in objcpy()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DApplicationKeyStorage.java27 import android.system.keystore2.Domain;
129 key.domain = Domain.APP; in makeKeystoreEngineGrantString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRegistrationFailedEvent.java34 @NetworkRegistrationInfo.Domain public final int domain;
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordCrypto.java23 import android.system.keystore2.Domain;
276 legacyKey.domain = Domain.APP; in migrateLockSettingsKey()
281 newKey.domain = Domain.SELINUX; in migrateLockSettingsKey()
/frameworks/opt/telephony/
DOWNERS20 # Domain Selection code is co-owned, adding additional owners for this code

123