Home
last modified time | relevance | path

Searched refs:defaultConfig (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/libs/androidfw/tests/
DConfig_test.cpp132 ResTable_config defaultConfig; in TEST() local
133 memset(&defaultConfig, 0, sizeof(defaultConfig)); in TEST()
135 ResTable_config longConfig = defaultConfig; in TEST()
156 ResTable_config defaultConfig; in TEST() local
157 memset(&defaultConfig, 0, sizeof(defaultConfig)); in TEST()
159 ResTable_config roundConfig = defaultConfig; in TEST()
162 EXPECT_EQ(defaultConfig.diff(roundConfig), in TEST()
186 ResTable_config defaultConfig; in TEST() local
187 memset(&defaultConfig, 0, sizeof(defaultConfig)); in TEST()
189 ResTable_config wideGamutConfig = defaultConfig; in TEST()
[all …]
DSplit_test.cpp155 ResTable_config defaultConfig; in TEST_F() local
156 memset(&defaultConfig, 0, sizeof(defaultConfig)); in TEST_F()
/frameworks/base/tools/aapt/tests/
DResourceTable_test.cpp29 ConfigDescription defaultConfig = {}; in TEST() local
38 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
42 EXPECT_TRUE(ResourceTable::shouldGenerateVersionedResource(configs, defaultConfig, 17)); in TEST()
49 ConfigDescription defaultConfig = {}; in TEST() local
58 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
62 EXPECT_TRUE(ResourceTable::shouldGenerateVersionedResource(configs, defaultConfig, 17)); in TEST()
63 EXPECT_FALSE(ResourceTable::shouldGenerateVersionedResource(configs, defaultConfig, 22)); in TEST()
/frameworks/base/core/java/android/security/net/config/
DNetworkSecurityConfigProvider.java57 ApplicationConfig defaultConfig = ApplicationConfig.getDefaultInstance(); in handleNewApplication() local
59 if (defaultConfig != null) { in handleNewApplication()
60 if (defaultConfig.isCleartextTrafficPermitted() in handleNewApplication()
65 if (defaultConfig.hasPerDomainConfigs() in handleNewApplication()
69 config = defaultConfig.isCleartextTrafficPermitted() ? defaultConfig : config; in handleNewApplication()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h124 HwcConfigIndexType defaultConfig; member
140 Policy(HwcConfigIndexType defaultConfig, const Range& range) in Policy()
141 : Policy(defaultConfig, range, range) {} in Policy()
142 Policy(HwcConfigIndexType defaultConfig, const Range& primaryRange, in Policy()
144 : defaultConfig(defaultConfig), in Policy()
149 return defaultConfig == other.defaultConfig && primaryRange == other.primaryRange &&
DRefreshRateConfigs.cpp390 return *mRefreshRates.at(getCurrentPolicyLocked()->defaultConfig); in getCurrentRefreshRateByPolicyLocked()
419 mDisplayManagerPolicy.defaultConfig = currentConfigId; in RefreshRateConfigs()
427 auto iter = mRefreshRates.find(policy.defaultConfig); in isPolicyValid()
520 const auto& defaultConfig = mRefreshRates.at(policy->defaultConfig)->hwcConfig; in constructAvailableRefreshRates() local
523 policy->defaultConfig.value(), defaultConfig->getConfigGroup(), policy->primaryRange.min, in constructAvailableRefreshRates()
532 return hwcConfig->getHeight() == defaultConfig->getHeight() && in constructAvailableRefreshRates()
533 hwcConfig->getWidth() == defaultConfig->getWidth() && in constructAvailableRefreshRates()
534 hwcConfig->getDpiX() == defaultConfig->getDpiX() && in constructAvailableRefreshRates()
535 hwcConfig->getDpiY() == defaultConfig->getDpiY() && in constructAvailableRefreshRates()
537 hwcConfig->getConfigGroup() == defaultConfig->getConfigGroup()) && in constructAvailableRefreshRates()
/frameworks/native/services/surfaceflinger/tests/
DDisplayConfigs_test.cpp66 int defaultConfig; in TEST_F() local
71 res = SurfaceComposerClient::getDesiredDisplayConfigSpecs(mDisplayToken, &defaultConfig, in TEST_F()
77 ASSERT_EQ(defaultConfig, i); in TEST_F()
DCredentials_test.cpp217 int32_t defaultConfig; in TEST_F() local
223 SurfaceComposerClient::getDesiredDisplayConfigSpecs(display, &defaultConfig, in TEST_F()
229 return SurfaceComposerClient::setDesiredDisplayConfigSpecs(display, defaultConfig, in TEST_F()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DTestConfigSource.java27 NetworkSecurityConfig defaultConfig) { in TestConfigSource() argument
29 mDefaultConfig = defaultConfig; in TestConfigSource()
DNetworkSecurityConfigTests.java138 NetworkSecurityConfig defaultConfig = getSystemStoreConfig(); in testEmptyPerNetworkSecurityConfig() local
139 … SSLContext context = TestUtils.getSSLContext(new TestConfigSource(domainMap, defaultConfig)); in testEmptyPerNetworkSecurityConfig()
DXmlConfigTests.java506 NetworkSecurityConfig defaultConfig = appConfig.getConfigForHostname(""); in testDomainWhitespaceTrimming() local
507 …MoreAsserts.assertNotEqual(defaultConfig, appConfig.getConfigForHostname("developer.android.com")); in testDomainWhitespaceTrimming()
508 MoreAsserts.assertNotEqual(defaultConfig, appConfig.getConfigForHostname("android.com")); in testDomainWhitespaceTrimming()
/frameworks/base/tests/TouchLatency/app/
Dbuild.gradle7 defaultConfig {
/frameworks/base/tests/HierarchyViewerTest/
Dbuild.gradle17 defaultConfig {
/frameworks/libs/systemui/iconloaderlib/
Dbuild.gradle7 defaultConfig {
/frameworks/base/startop/apps/ColorChanging/app/
Dbuild.gradle6 defaultConfig {
/frameworks/base/tests/UiBench/
Dbuild.gradle16 defaultConfig {
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/
Dbuild.gradle25 defaultConfig {
/frameworks/base/packages/EasterEgg/
Dbuild.gradle32 defaultConfig {
/frameworks/base/core/java/android/view/
DSurfaceControl.java1592 public int defaultConfig; field in SurfaceControl.DesiredDisplayConfigSpecs
1617 public DesiredDisplayConfigSpecs(int defaultConfig, float primaryRefreshRateMin, in DesiredDisplayConfigSpecs() argument
1620 this.defaultConfig = defaultConfig; in DesiredDisplayConfigSpecs()
1636 return other != null && defaultConfig == other.defaultConfig in equals()
1652 defaultConfig = other.defaultConfig; in copyFrom()
1663 defaultConfig, primaryRefreshRateMin, primaryRefreshRateMax, in toString()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java343 PasspointConfiguration defaultConfig = new PasspointConfiguration(); in validateCopyConstructorWithNullSource() local
344 assertTrue(copyConfig.equals(defaultConfig)); in validateCopyConstructorWithNullSource()
/frameworks/multidex/instrumentation/
Dbuild.gradle26 defaultConfig {
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/
Dbuild.gradle31 defaultConfig {
/frameworks/opt/setupwizard/library/
Dself.gradle71 android.defaultConfig.testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
/frameworks/multidex/library/
Dbuild.gradle41 defaultConfig {
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp176 jfieldID defaultConfig; member
940 jint defaultConfig = env->GetIntField(desiredDisplayConfigSpecs, in nativeSetDesiredDisplayConfigSpecs() local
941 gDesiredDisplayConfigSpecsClassInfo.defaultConfig); in nativeSetDesiredDisplayConfigSpecs()
955 size_t result = SurfaceComposerClient::setDesiredDisplayConfigSpecs(token, defaultConfig, in nativeSetDesiredDisplayConfigSpecs()
967 int32_t defaultConfig; in nativeGetDesiredDisplayConfigSpecs() local
972 if (SurfaceComposerClient::getDesiredDisplayConfigSpecs(token, &defaultConfig, in nativeGetDesiredDisplayConfigSpecs()
982 gDesiredDisplayConfigSpecsClassInfo.ctor, defaultConfig, in nativeGetDesiredDisplayConfigSpecs()
1804 gDesiredDisplayConfigSpecsClassInfo.defaultConfig = in register_android_view_SurfaceControl()

12