/frameworks/base/libs/androidfw/tests/ |
D | ConfigLocale_test.cpp | 485 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/ |
D | WindowConfigurationTests.java | 76 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 …]
|
D | WindowContextListenerControllerTests.java | 112 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/ |
D | LinkerTest.cpp | 189 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/ |
D | ConfigurationTest.java | 65 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()
|
D | ResourcesManagerTest.java | 245 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/ |
D | RapporEncoderTest.java | 101 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()
|
D | LongitudinalReportingEncoderTest.java | 98 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/ |
D | IntervalStatsTests.java | 117 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()
|
D | UsageStatsDatabaseTest.java | 199 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/ |
D | NetworkSecurityConfigTests.java | 239 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/ |
D | configuration.cpp | 239 int32_t AConfiguration_diff(AConfiguration* config1, AConfiguration* config2) { in AConfiguration_diff() argument 240 return (config1->diff(*config2)); in AConfiguration_diff()
|
/frameworks/native/include/android/ |
D | configuration.h | 733 int32_t AConfiguration_diff(AConfiguration* config1, AConfiguration* config2);
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | StandardWifiEntryTest.java | 293 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/ |
D | readme.md | 158 `--split path/to/split.apk:<config1>[,<config2>,...]`.
|