/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 | 75 final Configuration config2 = new Configuration(); in testDiff() local 76 final WindowConfiguration winConfig2 = config2.windowConfiguration; in testDiff() 87 assertEquals(CONFIG_WINDOW_CONFIGURATION, config1.diff(config2)); in testDiff() 88 assertEquals(0, config1.diffPublicOnly(config2)); in testDiff() 119 final Configuration config2 = new Configuration(config1); in testConfigurationCompareTo() local 120 final WindowConfiguration winConfig2 = config2.windowConfiguration; in testConfigurationCompareTo() 122 assertEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo() 127 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo() 133 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo() 139 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo() [all …]
|
/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/wifi/tests/src/android/net/wifi/hotspot2/ |
D | PasspointConfigurationTest.java | 380 PasspointConfiguration config2 = PasspointTestUtils.createConfig(); in validateUniqueId() local 382 assertEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueId() 396 PasspointConfiguration config2 = PasspointTestUtils.createConfig(); in validateUniqueIdDifferentHomeSp() local 397 HomeSp homeSp = config2.getHomeSp(); in validateUniqueIdDifferentHomeSp() 399 config2.setHomeSp(homeSp); in validateUniqueIdDifferentHomeSp() 401 assertNotEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueIdDifferentHomeSp() 415 PasspointConfiguration config2 = PasspointTestUtils.createConfig(); in validateUniqueIdDifferentCredential() local 416 Credential credential = config2.getCredential(); in validateUniqueIdDifferentCredential() 419 config2.setCredential(credential); in validateUniqueIdDifferentCredential() 421 assertNotEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueIdDifferentCredential()
|
/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 | 226 Configuration config2 = new Configuration(); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates() local 227 config2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates() 229 activity1, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ConfigurationMapTest.java | 246 final WifiConfiguration config2 = CONFIGS.get(1); in testPutRemoveClear() local 247 config2.networkId = config1.networkId; in testPutRemoveClear() 248 assertEquals(config1, mConfigs.put(config2)); in testPutRemoveClear() 251 configs.add(config2); in testPutRemoveClear() 262 assertEquals(config2, mConfigs.remove(config2.networkId)); in testPutRemoveClear() 264 configs.remove(config2); in testPutRemoveClear()
|
D | WifiApConfigStoreTest.java | 161 private void verifyApConfig(SoftApConfiguration config1, SoftApConfiguration config2) { in verifyApConfig() argument 162 assertEquals(config1.getSsid(), config2.getSsid()); in verifyApConfig() 163 assertEquals(config1.getPassphrase(), config2.getPassphrase()); in verifyApConfig() 164 assertEquals(config1.getSecurityType(), config2.getSecurityType()); in verifyApConfig() 165 assertEquals(config1.getBand(), config2.getBand()); in verifyApConfig() 166 assertEquals(config1.getChannel(), config2.getChannel()); in verifyApConfig() 167 assertEquals(config1.isHiddenSsid(), config2.isHiddenSsid()); in verifyApConfig()
|
/frameworks/base/tests/net/java/android/net/ |
D | IpSecTransformTest.java | 58 IpSecTransform config2 = new IpSecTransform(null, config); in testCreateTransformsWithSameConfigEqual() local 60 assertEquals(config1, config2); in testCreateTransformsWithSameConfigEqual()
|
/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/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | StandardWifiEntryTest.java | 283 final WifiConfiguration config2 = new WifiConfiguration(config); in testUpdateConfig_mismatchedSsids_throwsException() local 284 config2.SSID = "\"ssid2\""; in testUpdateConfig_mismatchedSsids_throwsException() 286 entry.updateConfig(config2); in testUpdateConfig_mismatchedSsids_throwsException() 302 final WifiConfiguration config2 = new WifiConfiguration(config); in testUpdateConfig_mismatchedSecurity_throwsException() local 303 config2.setSecurityParams(WifiConfiguration.SECURITY_TYPE_EAP); in testUpdateConfig_mismatchedSecurity_throwsException() 305 entry.updateConfig(config2); in testUpdateConfig_mismatchedSecurity_throwsException()
|
/frameworks/base/cmds/statsd/tests/ |
D | UidMap_test.cpp | 291 ConfigKey config2(1, StringToId("config2")); in TEST() local 325 m.OnConfigUpdated(config2); in TEST() 348 m.appendUidMap(9, config2, nullptr, true, true, &proto); in TEST()
|
D | StatsLogProcessor_test.cpp | 387 StatsdConfig config2; in TEST() local 389 config2.set_id(cfgId2); in TEST() 390 config2.add_allowed_log_source("AID_ROOT"); // LogEvent defaults to UID of root. in TEST() 391 *config2.add_atom_matcher() = wakelockAcquireMatcher; in TEST() 396 auto countMetric3 = config2.add_count_metric(); in TEST() 401 auto countMetric4 = config2.add_count_metric(); in TEST() 406 auto metric3Activation = config2.add_metric_activation(); in TEST() 472 processor.OnConfigUpdated(2, cfgKey2, config2); in TEST() 594 processor2->OnConfigUpdated(timeBase2, cfgKey2, config2); in TEST()
|
/frameworks/native/include/android/ |
D | configuration.h | 737 int32_t AConfiguration_diff(AConfiguration* config1, AConfiguration* config2);
|
/frameworks/base/tools/aapt2/ |
D | readme.md | 158 `--split path/to/split.apk:<config1>[,<config2>,...]`.
|