/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/core/tests/GameManagerTests/src/android/app/ |
D | GameModeConfigurationTest.java | 47 GameModeConfiguration config2 = new GameModeConfiguration.Builder() in testEqualsAndHashCode() local 49 assertFalse(config.equals(config2)); in testEqualsAndHashCode() 50 assertNotEquals(config.hashCode(), config2.hashCode()); in testEqualsAndHashCode() 56 assertFalse(config2.equals(config3)); in testEqualsAndHashCode() 57 assertNotEquals(config2.hashCode(), config3.hashCode()); in testEqualsAndHashCode() 73 assertFalse(config2.equals(config6)); in testEqualsAndHashCode() 74 assertNotEquals(config2.hashCode(), config6.hashCode()); in testEqualsAndHashCode()
|
/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() 90 assertEquals(CONFIG_WINDOW_CONFIGURATION, config1.diff(config2)); in testDiff() 91 assertEquals(0, config1.diffPublicOnly(config2)); in testDiff() 130 final Configuration config2 = new Configuration(config1); in testConfigurationCompareTo() local 131 final WindowConfiguration winConfig2 = config2.windowConfiguration; in testConfigurationCompareTo() 133 assertEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo() 138 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo() 144 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo() 150 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo() [all …]
|
D | WindowContextListenerControllerTests.java | 175 final Configuration config2 = container.getConfiguration(); in testRegisterWindowContextListenerClientConfigPropagation() local 177 config2.windowConfiguration.setBounds(bounds2); in testRegisterWindowContextListenerClientConfigPropagation() 178 config2.densityDpi = 200; in testRegisterWindowContextListenerClientConfigPropagation() 179 container.onRequestedOverrideConfigurationChanged(config2); in testRegisterWindowContextListenerClientConfigPropagation() 185 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/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardQuickAffordanceRepositoryTest.kt | 64 private lateinit var config2: FakeKeyguardQuickAffordanceConfig in <lambda>() variable in com.android.systemui.keyguard.data.repository.KeyguardQuickAffordanceRepositoryTest 75 config2 = FakeKeyguardQuickAffordanceConfig(FakeCustomizationProviderClient.AFFORDANCE_2) in <lambda>() 135 configs = setOf(config1, config2), in <lambda>() 163 underTest.setSelections(slotId2, listOf(config2.key)) in <lambda>() 168 slotId2 to listOf(config2), in <lambda>() 195 id = config2.key, in <lambda>() 196 name = config2.pickerName(), in <lambda>() 197 iconResourceId = config2.pickerIconResourceId, in <lambda>() 306 config2, in <lambda>()
|
/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 | 282 Configuration config2 = new Configuration(); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates() local 283 config2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates() 285 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 | 131 final Configuration config2 = new Configuration(); in populateIntervalStats() local 132 config2.mnc = 5; in populateIntervalStats() 133 config2.setLocale(new Locale("en", "US")); in populateIntervalStats() 134 intervalStats.getOrCreateConfigurationStats(config2); in populateIntervalStats() 136 intervalStats.activeConfiguration = config2; in populateIntervalStats()
|
D | UsageStatsDatabaseTest.java | 214 Configuration config2 = new Configuration(); in populateIntervalStats() local 215 config2.mnc = 5; in populateIntervalStats() 216 config2.setLocale(new Locale("en", "US")); in populateIntervalStats() 217 mIntervalStats.getOrCreateConfigurationStats(config2); in populateIntervalStats()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ui/ |
D | MobileContextProviderTest.kt | 86 val config2 = ctx2.resources.configuration in test_twoSubscriptions_eachContextReflectsMccMnc() constant 87 assertThat(config2.mcc).isEqualTo(SUB_2_MCC) in test_twoSubscriptions_eachContextReflectsMccMnc() 88 assertThat(config2.mnc).isEqualTo(SUB_2_MNC) in test_twoSubscriptions_eachContextReflectsMccMnc()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | VirtualDisplayAdapterTest.java | 115 VirtualDisplayConfig config2 = new VirtualDisplayConfig.Builder("test2", /* width= */ 1, in testDoesNotCreateVirtualDisplayForSameCallback() local 123 /* uniqueId= */ "uniqueId2", /* surface= */ null, /* flags= */ 0, config2); in testDoesNotCreateVirtualDisplayForSameCallback()
|
/frameworks/base/core/tests/timetests/src/android/app/time/ |
D | TimeManagerTest.java | 164 TimeZoneConfiguration config2 = new TimeZoneConfiguration.Builder() in testTimeZoneEnabledDefaultFlagBehavior() local 167 mTimeManager.updateTimeZoneConfiguration(config2); in testTimeZoneEnabledDefaultFlagBehavior()
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | NetworkSecurityConfigTests.java | 233 NetworkSecurityConfig.Builder config2 = new NetworkSecurityConfig.Builder(); in testConfigBuilderParentLoop() local 234 config1.setParent(config2); in testConfigBuilderParentLoop() 236 config2.setParent(config1); in testConfigBuilderParentLoop()
|
/frameworks/base/native/android/ |
D | configuration.cpp | 247 int32_t AConfiguration_diff(AConfiguration* config1, AConfiguration* config2) { in AConfiguration_diff() argument 248 return (config1->diff(*config2)); in AConfiguration_diff()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/ |
D | HintManagerServiceTest.java | 352 SessionConfig config2 = new SessionConfig(); 354 SESSION_TIDS_B, DOUBLED_TARGET_DURATION, SessionTag.APP, config2); 356 assertEquals(SESSION_IDS[1], config2.id); 820 ChannelConfig config2 = service.getBinderServiceInstance().getSessionChannel(token); 824 assertEquals(config2.readFlagBitmask, mConfig.readFlagBitmask); 825 assertEquals(config2.writeFlagBitmask, mConfig.writeFlagBitmask);
|
/frameworks/native/include/android/ |
D | configuration.h | 777 int32_t AConfiguration_diff(AConfiguration* config1, AConfiguration* config2);
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | StandardWifiEntryTest.java | 308 final WifiConfiguration config2 = new WifiConfiguration(config); in testUpdateConfig_mismatchedSsids_throwsException() local 309 config2.SSID = "\"ssid2\""; in testUpdateConfig_mismatchedSsids_throwsException() 311 entry.updateConfig(Collections.singletonList(config2)); in testUpdateConfig_mismatchedSsids_throwsException() 329 final WifiConfiguration config2 = new WifiConfiguration(config); in testUpdateConfig_mismatchedSecurity_throwsException() local 330 config2.setSecurityParams(WifiConfiguration.SECURITY_TYPE_EAP); in testUpdateConfig_mismatchedSecurity_throwsException() 332 entry.updateConfig(Collections.singletonList(config2)); in testUpdateConfig_mismatchedSecurity_throwsException()
|
/frameworks/base/tools/aapt2/ |
D | readme.md | 158 `--split path/to/split.apk:<config1>[,<config2>,...]`.
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 99 bool equals(const audio_config_base_t& config1, const audio_config_base_t& config2) { in equals() argument 100 return config1.format == config2.format in equals() 101 && config1.sample_rate == config2.sample_rate in equals() 102 && config1.channel_mask == config2.channel_mask; in equals()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | VirtualDeviceManagerServiceTest.java | 1485 VirtualMouseConfig config2 = new VirtualMouseConfig.Builder() in setShowPointerIcon_setsValueForAllDisplays() local 1499 mDeviceImpl.createVirtualMouse(config2, BINDER); in setShowPointerIcon_setsValueForAllDisplays()
|