Home
last modified time | relevance | path

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

12

/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java125 ArraySet<Pair<Domain, NetworkSecurityConfig>> domainMap in testEmptyConfig()
126 = new ArraySet<Pair<Domain, NetworkSecurityConfig>>(); in testEmptyConfig()
134 ArraySet<Pair<Domain, NetworkSecurityConfig>> domainMap in testEmptyPerNetworkSecurityConfig()
135 = new ArraySet<Pair<Domain, NetworkSecurityConfig>>(); in testEmptyPerNetworkSecurityConfig()
136 domainMap.add(new Pair<Domain, NetworkSecurityConfig>( in testEmptyPerNetworkSecurityConfig()
137 new Domain("android.com", true), getEmptyConfig())); in testEmptyPerNetworkSecurityConfig()
152 ArraySet<Pair<Domain, NetworkSecurityConfig>> domainMap in testBadPin()
153 = new ArraySet<Pair<Domain, NetworkSecurityConfig>>(); in testBadPin()
154 domainMap.add(new Pair<Domain, NetworkSecurityConfig>( in testBadPin()
155 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.java37 private Set<Pair<Domain, NetworkSecurityConfig>> mConfigs;
88 Pair<Domain, NetworkSecurityConfig> bestMatch = null; in getConfigForHostname()
89 for (Pair<Domain, NetworkSecurityConfig> entry : mConfigs) { in getConfigForHostname()
90 Domain domain = entry.first; in getConfigForHostname()
132 for (Pair<Domain, NetworkSecurityConfig> entry : mConfigs) { in isCleartextTrafficPermitted()
161 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()
218 private List<Pair<NetworkSecurityConfig.Builder, Set<Domain>>> parseConfigEntry( in parseConfigEntry()
222 List<Pair<NetworkSecurityConfig.Builder, Set<Domain>>> builders = new ArrayList<>(); in parseConfigEntry()
225 Set<Domain> domains = new ArraySet<>(); in parseConfigEntry()
256 Domain domain = parseDomain(parser, seenDomains); in parseConfigEntry()
309 List<Pair<NetworkSecurityConfig.Builder, Set<Domain>>> builders = new ArrayList<>(); in parseNetworkSecurityConfig()
361 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
237 std::vector<std::unique_ptr<C2Param>> &configUpdate, Domain domain);
241 bool updateFormats(Domain domain);
252 const sp<AMessage> &sdkParams, Domain domain,
382 Domain domain) const;
391 const sp<AMessage> &config, Domain domain) const;
394 DEFINE_ENUM_OPERATORS(CCodecConfig::Domain)
DCCodecConfig.cpp86 typedef CCodecConfig::Domain Domain; typedef
89 : mDomain(Domain::ALL), mMediaKey(mediaKey), mStruct(c2struct), mField(c2field) { } in ConfigMapper()
93 C2_CHECK(domain & Domain::GUARD_BIT); in limitTo()
94 mDomain = Domain(mDomain & domain); in limitTo()
172 Domain domain() const { return mDomain; } in domain()
179 Domain mDomain; ///< parameter domain (mask) containing port, kind and config domains
233 typedef CCodecConfig::Domain Domain; typedef
265 ((cm.domain() & Domain::IS_INPUT) ? 'I' : ' '), in add()
266 ((cm.domain() & Domain::IS_OUTPUT) ? 'O' : ' '), in add()
267 ((cm.domain() & Domain::IS_CODED) ? 'C' : ' '), in add()
[all …]
/frameworks/base/telephony/java/android/telephony/
DNetworkRegistrationInfo.java48 public @interface Domain {} annotation in NetworkRegistrationInfo
53 public static final int DOMAIN_CS = android.hardware.radio.V1_5.Domain.CS;
55 public static final int DOMAIN_PS = android.hardware.radio.V1_5.Domain.PS;
180 @Domain
246 private NetworkRegistrationInfo(@Domain int domain, @TransportType int transportType, in NetworkRegistrationInfo()
369 public @Domain int getDomain() { return mDomain; } in getDomain()
616 static @NonNull String domainToString(@Domain int domain) { in domainToString()
782 @Domain
819 public @NonNull Builder setDomain(@Domain int domain) { in setDomain()
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;
68 descriptor.domain = Domain.KEY_ID; in getKeyIdDescriptor()
DAndroidKeyStoreSpi.java36 import android.system.keystore2.Domain;
143 private @Domain int getTargetDomain() { in getTargetDomain()
145 ? Domain.APP in getTargetDomain()
146 : Domain.SELINUX; in getTargetDomain()
427 @Domain int targetDomain = getTargetDomain(); in setPrivateKeyEntry()
570 private static void assertCanReplace(String alias, @Domain int targetDomain, in assertCanReplace()
584 || (descriptor.domain == Domain.SELINUX && descriptor.nspace != targetNamespace)) { in assertCanReplace()
588 + (targetDomain == Domain.SELINUX ? " in the same target namespace: " in assertCanReplace()
606 @Domain int targetDomain = (getTargetDomain()); in setSecretKeyEntry()
DAndroidKeyStoreProvider.java28 import android.system.keystore2.Domain;
331 descriptor.domain = Domain.APP; in loadAndroidKeyStoreKeyFromKeystore()
334 descriptor.domain = Domain.SELINUX; in loadAndroidKeyStoreKeyFromKeystore()
DAndroidKeyStoreKeyGeneratorSpi.java28 import android.system.keystore2.Domain;
392 ? Domain.APP in engineGenerateKey()
393 : Domain.SELINUX; in engineGenerateKey()
DAndroidKeyStoreKeyPairGeneratorSpi.java46 import android.system.keystore2.Domain;
324 attestKeyDescriptor.domain = Domain.APP; in buildAndCheckAttestKeyDescriptor()
578 ? Domain.APP in generateKeyPairHelper()
579 : Domain.SELINUX; in generateKeyPairHelper()
/frameworks/base/keystore/java/android/security/
DKeyStore.java23 import android.system.keystore2.Domain;
127 return AndroidKeyStoreMaintenance.clearNamespace(Domain.APP, uid) == 0; in clearUid()
DAndroidKeyStoreMaintenance.java24 import android.system.keystore2.Domain;
112 public static int clearNamespace(@Domain int domain, long namespace) { in clearNamespace()
DKeyStore2.java27 import android.system.keystore2.Domain;
199 key.domain = Domain.GRANT; in keystoreEngineGrantString2KeyDescriptor()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DApplicationKeyStorage.java26 import android.system.keystore2.Domain;
128 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;
245 legacyKey.domain = Domain.APP; in migrateLockSettingsKey()
250 newKey.domain = Domain.SELINUX; in migrateLockSettingsKey()
/frameworks/av/media/codec2/hidl/1.0/utils/
Dtypes.cpp294 d->domain = IComponentStore::ComponentTraits::Domain::VIDEO; in objcpy()
297 d->domain = IComponentStore::ComponentTraits::Domain::AUDIO; in objcpy()
300 d->domain = IComponentStore::ComponentTraits::Domain::IMAGE; in objcpy()
303 d->domain = IComponentStore::ComponentTraits::Domain::OTHER; in objcpy()
309 d->domain = static_cast<IComponentStore::ComponentTraits::Domain>( in objcpy()
350 case IComponentStore::ComponentTraits::Domain::VIDEO: in objcpy()
353 case IComponentStore::ComponentTraits::Domain::AUDIO: in objcpy()
356 case IComponentStore::ComponentTraits::Domain::IMAGE: in objcpy()
359 case IComponentStore::ComponentTraits::Domain::OTHER: in objcpy()
/frameworks/base/core/java/android/security/keystore/recovery/
DRecoveryController.java33 import android.system.keystore2.Domain;
725 result.domain = Domain.GRANT; in getGrantDescriptor()

12