Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DConfigLocale_test.cpp410 ResTable_config config1, config2, request; in TEST() local
413 fillIn("fr", "FR", NULL, NULL, &config1); in TEST()
415 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
416 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
419 fillIn(NULL, NULL, NULL, NULL, &config1); in TEST()
421 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
422 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
425 fillIn("fr", "FR", NULL, NULL, &config1); in TEST()
427 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
428 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/base/services/tests/servicestests/src/com/android/server/wm/
DAppBoundsTests.java166 final Configuration config1 = new Configuration(); in testConfigurationCompareTo() local
167 config1.appBounds = new Rect(1, 2, 3, 4); in testConfigurationCompareTo()
169 final Configuration config2 = new Configuration(config1); in testConfigurationCompareTo()
171 assertEquals(config1.compareTo(config2), 0); in testConfigurationCompareTo()
176 assertNotEquals(config1.compareTo(config2), 0); in testConfigurationCompareTo()
179 assertEquals(config1.compareTo(blankConfig), -1); in testConfigurationCompareTo()
180 assertEquals(blankConfig.compareTo(config1), 1); in testConfigurationCompareTo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DConfigurationMapTest.java227 final WifiConfiguration config1 = CONFIGS.get(0); in testPutRemoveClear() local
230 switchUser(UserHandle.getUserId(config1.creatorUid)); in testPutRemoveClear()
234 assertNull(mConfigs.put(config1)); in testPutRemoveClear()
236 configs.add(config1); in testPutRemoveClear()
241 config2.networkId = config1.networkId; in testPutRemoveClear()
242 assertEquals(config1, mConfigs.put(config2)); in testPutRemoveClear()
DWifiApConfigStoreTest.java112 private void verifyApConfig(WifiConfiguration config1, WifiConfiguration config2) { in verifyApConfig() argument
113 assertEquals(config1.SSID, config2.SSID); in verifyApConfig()
114 assertEquals(config1.preSharedKey, config2.preSharedKey); in verifyApConfig()
115 assertEquals(config1.getAuthType(), config2.getAuthType()); in verifyApConfig()
116 assertEquals(config1.apBand, config2.apBand); in verifyApConfig()
117 assertEquals(config1.apChannel, config2.apChannel); in verifyApConfig()
DWifiStateMachinePrimeTest.java359 WifiConfiguration config1 = new WifiConfiguration(); in testStartSoftApModeTwiceWithTwoConfigs() local
360 config1.SSID = "ThisIsAConfig"; in testStartSoftApModeTwiceWithTwoConfigs()
367 eq(config1))) in testStartSoftApModeTwiceWithTwoConfigs()
376 mWifiStateMachinePrime.enterSoftAPMode(config1); in testStartSoftApModeTwiceWithTwoConfigs()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java447 public static boolean isSameNetwork(WifiConfiguration config, WifiConfiguration config1) { in isSameNetwork() argument
448 if (config == null && config1 == null) { in isSameNetwork()
451 if (config == null || config1 == null) { in isSameNetwork()
454 if (config.networkId != config1.networkId) { in isSameNetwork()
457 if (!Objects.equals(config.SSID, config1.SSID)) { in isSameNetwork()
462 String networkSelectionBSSID1 = config1.getNetworkSelectionStatus() in isSameNetwork()
467 if (WifiConfigurationUtil.hasCredentialChanged(config, config1)) { in isSameNetwork()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java215 Configuration config1 = new Configuration(); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates() local
216 config1.densityDpi = 280; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
218 activity1, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, config1, in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
249 config1.orientation = Configuration.ORIENTATION_LANDSCAPE; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
250 mResourcesManager.updateResourcesForActivity(activity1, config1, Display.DEFAULT_DISPLAY, 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.h727 int32_t AConfiguration_diff(AConfiguration* config1, AConfiguration* config2);
/frameworks/base/tools/aapt2/
Dreadme.md158 `--split path/to/split.apk:<config1>[,<config2>,...]`.