Home
last modified time | relevance | path

Searched refs:config2 (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DConfigLocale_test.cpp485 ResTable_config config1, config2, request; in TEST() local
489 fillIn("fr", "CA", NULL, NULL, &config2); in TEST()
490 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
491 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
495 fillIn(NULL, NULL, NULL, NULL, &config2); in TEST()
496 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
497 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
501 fillIn(NULL, NULL, NULL, NULL, &config2); in TEST()
502 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
503 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowConfigurationTests.java76 final Configuration config2 = new Configuration(); in testDiff() local
77 final WindowConfiguration winConfig2 = config2.windowConfiguration; in testDiff()
91 assertEquals(CONFIG_WINDOW_CONFIGURATION, config1.diff(config2)); in testDiff()
92 assertEquals(0, config1.diffPublicOnly(config2)); in testDiff()
131 final Configuration config2 = new Configuration(config1); in testConfigurationCompareTo() local
132 final WindowConfiguration winConfig2 = config2.windowConfiguration; in testConfigurationCompareTo()
134 assertEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
139 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
145 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
151 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
[all …]
DWindowContextListenerControllerTests.java112 final Configuration config2 = container.getConfiguration(); in testRegisterWindowContextListenerClientConfigPropagation() local
114 config2.windowConfiguration.setBounds(bounds2); in testRegisterWindowContextListenerClientConfigPropagation()
115 config2.densityDpi = 200; in testRegisterWindowContextListenerClientConfigPropagation()
116 container.onRequestedOverrideConfigurationChanged(config2); in testRegisterWindowContextListenerClientConfigPropagation()
122 assertEquals(config2.densityDpi, clientToken.mConfiguration.densityDpi); in testRegisterWindowContextListenerClientConfigPropagation()
/frameworks/compile/mclinker/unittests/
DLinkerTest.cpp189 LinkerConfig config2("armv7-none-linux-gnueabi"); in TEST_F() local
197 linker.emulate(script2, config2); in TEST_F()
199 config2.setCodeGenType(LinkerConfig::DynObj); ///< --shared in TEST_F()
200 config2.options().setSOName( in TEST_F()
202 config2.options().setBsymbolic(); ///< -Bsymbolic in TEST_F()
205 IRBuilder builder2(module2, config2); in TEST_F()
292 LinkerConfig config2("armv7-none-linux-gnueabi"); in TEST_F() local
300 linker.emulate(script2, config2); in TEST_F()
302 config2.setCodeGenType(LinkerConfig::DynObj); ///< --shared in TEST_F()
303 config2.options().setSOName( in TEST_F()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationTest.java65 Configuration config2 = new Configuration(); in testUpdateFromPreservesRoundBit() local
67 config.updateFrom(config2); in testUpdateFromPreservesRoundBit()
75 Configuration config2 = new Configuration(); in testUpdateFromPreservesCompatNeededBit() local
76 config.updateFrom(config2); in testUpdateFromPreservesCompatNeededBit()
79 config2.updateFrom(config); in testUpdateFromPreservesCompatNeededBit()
80 assertEquals(config2.screenLayout, Configuration.SCREENLAYOUT_COMPAT_NEEDED); in testUpdateFromPreservesCompatNeededBit()
DResourcesManagerTest.java245 Configuration config2 = new Configuration(); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates() local
246 config2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
248 activity1, APP_ONE_RES_DIR, null, null, null, null, null, config2, in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
/frameworks/base/core/tests/privacytests/src/android/privacy/
DRapporEncoderTest.java101 final RapporConfig config2 = new RapporConfig( in testRapporEncoder_IRRWithPRR() local
110 final RapporEncoder encoder2 = RapporEncoder.createInsecureEncoderForTest(config2); in testRapporEncoder_IRRWithPRR()
151 final RapporConfig config2 = new RapporConfig( in testRapporEncoder_ensureSecureEncoderIsSecure() local
159 final RapporEncoder encoder2 = RapporEncoder.createEncoder(config2, in testRapporEncoder_ensureSecureEncoderIsSecure()
DLongitudinalReportingEncoderTest.java98 final LongitudinalReportingConfig config2 = new LongitudinalReportingConfig( in testLongitudinalReportingEncoder_basicIRRTest() local
105 config2, makeTestingUserSecret("secret2")); in testLongitudinalReportingEncoder_basicIRRTest()
184 final LongitudinalReportingConfig config2 = new LongitudinalReportingConfig( in testLongitudinalReportingEncoder_basicPRRTest() local
191 config2, makeTestingUserSecret("encoder" + j)); in testLongitudinalReportingEncoder_basicPRRTest()
373 final LongitudinalReportingConfig config2 = new LongitudinalReportingConfig( in testLongitudinalReportingEncoder_basicIRRwithPRRTest() local
380 config2, makeTestingUserSecret("encoder" + i)); in testLongitudinalReportingEncoder_basicIRRwithPRRTest()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DIntervalStatsTests.java117 final Configuration config2 = new Configuration(); in populateIntervalStats() local
118 config2.mnc = 5; in populateIntervalStats()
119 config2.setLocale(new Locale("en", "US")); in populateIntervalStats()
120 intervalStats.getOrCreateConfigurationStats(config2); in populateIntervalStats()
122 intervalStats.activeConfiguration = config2; in populateIntervalStats()
DUsageStatsDatabaseTest.java199 Configuration config2 = new Configuration(); in populateIntervalStats() local
200 config2.mnc = 5; in populateIntervalStats()
201 config2.setLocale(new Locale("en", "US")); in populateIntervalStats()
202 mIntervalStats.getOrCreateConfigurationStats(config2); in populateIntervalStats()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java239 NetworkSecurityConfig.Builder config2 = new NetworkSecurityConfig.Builder(); in testConfigBuilderParentLoop() local
240 config1.setParent(config2); in testConfigBuilderParentLoop()
242 config2.setParent(config1); in testConfigBuilderParentLoop()
/frameworks/base/native/android/
Dconfiguration.cpp239 int32_t AConfiguration_diff(AConfiguration* config1, AConfiguration* config2) { in AConfiguration_diff() argument
240 return (config1->diff(*config2)); in AConfiguration_diff()
/frameworks/native/include/android/
Dconfiguration.h733 int32_t AConfiguration_diff(AConfiguration* config1, AConfiguration* config2);
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardWifiEntryTest.java293 final WifiConfiguration config2 = new WifiConfiguration(config); in testUpdateConfig_mismatchedSsids_throwsException() local
294 config2.SSID = "\"ssid2\""; in testUpdateConfig_mismatchedSsids_throwsException()
296 entry.updateConfig(Collections.singletonList(config2)); in testUpdateConfig_mismatchedSsids_throwsException()
313 final WifiConfiguration config2 = new WifiConfiguration(config); in testUpdateConfig_mismatchedSecurity_throwsException() local
314 config2.setSecurityParams(WifiConfiguration.SECURITY_TYPE_EAP); in testUpdateConfig_mismatchedSecurity_throwsException()
316 entry.updateConfig(Collections.singletonList(config2)); in testUpdateConfig_mismatchedSecurity_throwsException()
/frameworks/base/tools/aapt2/
Dreadme.md158 `--split path/to/split.apk:<config1>[,<config2>,...]`.