/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 | 69 final Configuration config2 = new Configuration(); in testDiff() local 70 final WindowConfiguration winConfig2 = config2.windowConfiguration; in testDiff() 81 assertEquals(CONFIG_WINDOW_CONFIGURATION, config1.diff(config2)); in testDiff() 82 assertEquals(0, config1.diffPublicOnly(config2)); in testDiff() 113 final Configuration config2 = new Configuration(config1); in testConfigurationCompareTo() local 114 final WindowConfiguration winConfig2 = config2.windowConfiguration; in testConfigurationCompareTo() 116 assertEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo() 121 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo() 127 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo() 133 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/core/tests/coretests/src/android/content/res/ |
D | ConfigurationTest.java | 53 Configuration config2 = new Configuration(); in testUpdateFromPreservesRoundBit() local 55 config.updateFrom(config2); in testUpdateFromPreservesRoundBit() 63 Configuration config2 = new Configuration(); in testUpdateFromPreservesCompatNeededBit() local 64 config.updateFrom(config2); in testUpdateFromPreservesCompatNeededBit() 67 config2.updateFrom(config); in testUpdateFromPreservesCompatNeededBit() 68 assertEquals(config2.screenLayout, Configuration.SCREENLAYOUT_COMPAT_NEEDED); in testUpdateFromPreservesCompatNeededBit()
|
D | ResourcesManagerTest.java | 225 Configuration config2 = new Configuration(); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates() local 226 config2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates() 228 activity1, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, config2, in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ConfigurationMapTest.java | 241 final WifiConfiguration config2 = CONFIGS.get(1); in testPutRemoveClear() local 242 config2.networkId = config1.networkId; in testPutRemoveClear() 243 assertEquals(config1, mConfigs.put(config2)); in testPutRemoveClear() 246 configs.add(config2); in testPutRemoveClear() 257 assertEquals(config2, mConfigs.remove(config2.networkId)); in testPutRemoveClear() 259 configs.remove(config2); in testPutRemoveClear()
|
D | WifiApConfigStoreTest.java | 176 private void verifyApConfig(WifiConfiguration config1, WifiConfiguration config2) { in verifyApConfig() argument 177 assertEquals(config1.SSID, config2.SSID); in verifyApConfig() 178 assertEquals(config1.preSharedKey, config2.preSharedKey); in verifyApConfig() 179 assertEquals(config1.getAuthType(), config2.getAuthType()); in verifyApConfig() 180 assertEquals(config1.apBand, config2.apBand); in verifyApConfig() 181 assertEquals(config1.apChannel, config2.apChannel); in verifyApConfig() 182 assertEquals(config1.hiddenSSID, config2.hiddenSSID); in verifyApConfig()
|
D | CarrierNetworkEvaluatorTest.java | 249 WifiConfiguration config2 = mWifiConfigCaptor.getAllValues().get(1); in testSelectOneFromMultiple() local 250 assertEquals(CARRIER2_SSID, config2.SSID); in testSelectOneFromMultiple() 251 assertTrue(config2.isEphemeral()); in testSelectOneFromMultiple() 252 assertTrue(config2.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)); in testSelectOneFromMultiple() 263 assertEquals(config2.configKey(), selected.configKey()); // SSID2 has the highest RSSI in testSelectOneFromMultiple()
|
D | ActiveModeWardenTest.java | 585 WifiConfiguration config2 = new WifiConfiguration(); in testStartSoftApModeTwiceWithTwoConfigs() local 586 config2.SSID = "ThisIsASecondConfig"; in testStartSoftApModeTwiceWithTwoConfigs() 588 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config2); in testStartSoftApModeTwiceWithTwoConfigs()
|
D | ClientModeImplTest.java | 870 WifiConfiguration config2 = configs.get(0); in addNetworkAndVerifySuccess() local 871 assertEquals("\"GoogleGuest\"", config2.SSID); in addNetworkAndVerifySuccess() 872 assertTrue(config2.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in addNetworkAndVerifySuccess()
|
/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/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/services/tests/servicestests/src/com/android/server/usage/ |
D | UsageStatsDatabaseTest.java | 186 Configuration config2 = new Configuration(); in populateIntervalStats() local 187 config2.mnc = 5; in populateIntervalStats() 188 config2.setLocale(new Locale("en", "US")); in populateIntervalStats() 189 mIntervalStats.getOrCreateConfigurationStats(config2); in populateIntervalStats()
|
/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/base/cmds/statsd/tests/ |
D | UidMap_test.cpp | 297 ConfigKey config2(1, StringToId("config2")); in TEST() local 331 m.OnConfigUpdated(config2); in TEST() 354 m.appendUidMap(9, config2, nullptr, true, true, &proto); in TEST()
|
D | StatsLogProcessor_test.cpp | 324 StatsdConfig config2; in TEST() local 326 config2.set_id(cfgId2); in TEST() 327 config2.add_allowed_log_source("AID_ROOT"); // LogEvent defaults to UID of root. in TEST() 328 *config2.add_atom_matcher() = wakelockAcquireMatcher; in TEST() 333 auto countMetric3 = config2.add_count_metric(); in TEST() 338 auto countMetric4 = config2.add_count_metric(); in TEST() 343 auto metric3Activation = config2.add_metric_activation(); in TEST() 408 processor.OnConfigUpdated(2, cfgKey2, config2); in TEST() 528 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>,...]`.
|