Home
last modified time | relevance | path

Searched refs:config1 (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DConfigLocale_test.cpp388 ResTable_config config1, config2, request; in TEST() local
391 fillIn("fr", "FR", NULL, NULL, &config1); in TEST()
393 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
394 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
397 fillIn(NULL, NULL, NULL, NULL, &config1); in TEST()
399 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
400 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
403 fillIn("fr", "FR", NULL, NULL, &config1); in TEST()
405 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
406 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
[all …]
/frameworks/compile/mclinker/unittests/
DLinkerTest.cpp137 LinkerConfig config1("armv7-none-linux-gnueabi"); in TEST_F() local
147 linker.emulate(script1, config1); in TEST_F()
149 config1.setCodeGenType(LinkerConfig::DynObj); ///< --shared in TEST_F()
150 config1.options().setSOName( in TEST_F()
152 config1.options().setBsymbolic(false); ///< -Bsymbolic in TEST_F()
155 IRBuilder builder1(module1, config1); in TEST_F()
235 LinkerConfig config1("armv7-none-linux-gnueabi"); in TEST_F() local
245 linker.emulate(script1, config1); in TEST_F()
247 config1.setCodeGenType(LinkerConfig::DynObj); ///< --shared in TEST_F()
248 config1.options().setSOName( in TEST_F()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiApConfigStoreTest.java100 private void verifyApConfig(WifiConfiguration config1, WifiConfiguration config2) { in verifyApConfig() argument
101 assertEquals(config1.SSID, config2.SSID); in verifyApConfig()
102 assertEquals(config1.preSharedKey, config2.preSharedKey); in verifyApConfig()
103 assertEquals(config1.getAuthType(), config2.getAuthType()); in verifyApConfig()
104 assertEquals(config1.apBand, config2.apBand); in verifyApConfig()
105 assertEquals(config1.apChannel, config2.apChannel); in verifyApConfig()
DConfigurationMapTest.java200 final WifiConfiguration config1 = CONFIGS.get(0); in testPutRemoveClear() local
203 switchUser(UserHandle.getUserId(config1.creatorUid)); in testPutRemoveClear()
207 assertNull(mConfigs.put(config1)); in testPutRemoveClear()
209 configs.add(config1); in testPutRemoveClear()
214 config2.networkId = config1.networkId; in testPutRemoveClear()
215 assertEquals(config1, mConfigs.put(config2)); in testPutRemoveClear()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java213 Configuration config1 = new Configuration(); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates() local
214 config1.densityDpi = 280; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
216 activity1, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, config1, in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
245 config1.orientation = Configuration.ORIENTATION_LANDSCAPE; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
246 mResourcesManager.updateResourcesForActivity(activity1, config1); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java236 NetworkSecurityConfig.Builder config1 = new NetworkSecurityConfig.Builder(); in testConfigBuilderParentLoop() local
238 config1.setParent(config2); in testConfigBuilderParentLoop()
240 config2.setParent(config1); in testConfigBuilderParentLoop()
/frameworks/base/native/android/
Dconfiguration.cpp234 int32_t AConfiguration_diff(AConfiguration* config1, AConfiguration* config2) { in AConfiguration_diff() argument
235 return (config1->diff(*config2)); in AConfiguration_diff()
/frameworks/native/include/android/
Dconfiguration.h680 int32_t AConfiguration_diff(AConfiguration* config1, AConfiguration* config2);