Home
last modified time | relevance | path

Searched refs:config1 (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DConfigLocale_test.cpp485 ResTable_config config1, config2, request; in TEST() local
488 fillIn("fr", "FR", NULL, NULL, &config1); in TEST()
490 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
491 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
494 fillIn(NULL, NULL, NULL, NULL, &config1); in TEST()
496 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
497 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
500 fillIn("fr", "FR", NULL, NULL, &config1); 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.java74 final Configuration config1 = new Configuration(); in testDiff() local
75 final WindowConfiguration winConfig1 = config1.windowConfiguration; in testDiff()
91 assertEquals(CONFIG_WINDOW_CONFIGURATION, config1.diff(config2)); in testDiff()
92 assertEquals(0, config1.diffPublicOnly(config2)); in testDiff()
108 assertEquals(0, config1.diff(config3)); in testDiff()
109 assertEquals(0, config1.diffPublicOnly(config3)); in testDiff()
116 assertEquals(CONFIG_WINDOW_CONFIGURATION, config1.diff(config5)); in testDiff()
117 assertEquals(0, config1.diffPublicOnly(config5)); in testDiff()
126 final Configuration config1 = new Configuration(); in testConfigurationCompareTo() local
127 final WindowConfiguration winConfig1 = config1.windowConfiguration; in testConfigurationCompareTo()
[all …]
DWindowContextListenerControllerTests.java118 final Configuration config1 = mContainer.getConfiguration(); in testRegisterWindowContextListenerClientConfigPropagation() local
120 config1.windowConfiguration.setBounds(bounds1); in testRegisterWindowContextListenerClientConfigPropagation()
121 config1.densityDpi = 100; in testRegisterWindowContextListenerClientConfigPropagation()
122 mContainer.onRequestedOverrideConfigurationChanged(config1); in testRegisterWindowContextListenerClientConfigPropagation()
128 assertEquals(config1.densityDpi, clientToken.mConfiguration.densityDpi); in testRegisterWindowContextListenerClientConfigPropagation()
148 container.onRequestedOverrideConfigurationChanged(config1); in testRegisterWindowContextListenerClientConfigPropagation()
151 assertEquals(config1.densityDpi, clientToken.mConfiguration.densityDpi); in testRegisterWindowContextListenerClientConfigPropagation()
255 final Configuration config1 = mContainer.getConfiguration(); in testConfigUpdateForSuspendedWindowContext() local
257 config1.windowConfiguration.setBounds(bounds1); in testConfigUpdateForSuspendedWindowContext()
258 config1.densityDpi = 100; in testConfigUpdateForSuspendedWindowContext()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyguardQuickAffordanceRepositoryTest.kt61 private lateinit var config1: FakeKeyguardQuickAffordanceConfig in <lambda>() variable in com.android.systemui.keyguard.data.repository.KeyguardQuickAffordanceRepositoryTest
70 config1 = FakeKeyguardQuickAffordanceConfig(FakeCustomizationProviderClient.AFFORDANCE_1) in <lambda>()
130 configs = setOf(config1, config2), in <lambda>()
143 underTest.setSelections(slotId1, listOf(config1.key)) in <lambda>()
147 slotId1 to listOf(config1), in <lambda>()
155 slotId1 to listOf(config1), in <lambda>()
161 underTest.setSelections(slotId2, listOf(config1.key)) in <lambda>()
166 slotId2 to listOf(config1), in <lambda>()
178 id = config1.key, in <lambda>()
179 name = config1.pickerName, in <lambda>()
[all …]
/frameworks/compile/mclinker/unittests/
DLinkerTest.cpp137 LinkerConfig config1("armv7-none-linux-gnueabi"); in TEST_F() local
147 linker.emulate(script1, config1); in TEST_F()
149 config1.setCodeGenType(LinkerConfig::DynObj); ///< --shared in TEST_F()
150 config1.options().setSOName( in TEST_F()
152 config1.options().setBsymbolic(false); ///< -Bsymbolic in TEST_F()
155 IRBuilder builder1(module1, config1); in TEST_F()
235 LinkerConfig config1("armv7-none-linux-gnueabi"); in TEST_F() local
245 linker.emulate(script1, config1); in TEST_F()
247 config1.setCodeGenType(LinkerConfig::DynObj); ///< --shared in TEST_F()
248 config1.options().setSOName( in TEST_F()
[all …]
/frameworks/base/core/tests/privacytests/src/android/privacy/
DRapporEncoderTest.java86 final RapporConfig config1 = new RapporConfig( in testRapporEncoder_IRRWithPRR() local
95 final RapporEncoder encoder1 = RapporEncoder.createInsecureEncoderForTest(config1); in testRapporEncoder_IRRWithPRR()
135 final RapporConfig config1 = new RapporConfig( in testRapporEncoder_ensureSecureEncoderIsSecure() local
143 final RapporEncoder encoder1 = RapporEncoder.createEncoder(config1, in testRapporEncoder_ensureSecureEncoderIsSecure()
DLongitudinalReportingEncoderTest.java160 final LongitudinalReportingConfig config1 = new LongitudinalReportingConfig( in testLongitudinalReportingEncoder_basicPRRTest() local
167 config1, makeTestingUserSecret("encoder" + j)); in testLongitudinalReportingEncoder_basicPRRTest()
352 final LongitudinalReportingConfig config1 = new LongitudinalReportingConfig( in testLongitudinalReportingEncoder_basicIRRwithPRRTest() local
359 config1, makeTestingUserSecret("encoder1")); in testLongitudinalReportingEncoder_basicIRRwithPRRTest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ui/
DMobileContextProviderTest.kt82 val config1 = ctx1.resources.configuration in test_twoSubscriptions_eachContextReflectsMccMnc() constant
83 assertThat(config1.mcc).isEqualTo(SUB_1_MCC) in test_twoSubscriptions_eachContextReflectsMccMnc()
84 assertThat(config1.mnc).isEqualTo(SUB_1_MNC) in test_twoSubscriptions_eachContextReflectsMccMnc()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DIntervalStatsTests.java112 final Configuration config1 = new Configuration(); in populateIntervalStats() local
113 config1.fontScale = 3.3f; in populateIntervalStats()
114 config1.mcc = 4; in populateIntervalStats()
115 intervalStats.getOrCreateConfigurationStats(config1); in populateIntervalStats()
DUsageStatsDatabaseTest.java196 Configuration config1 = new Configuration(); in populateIntervalStats() local
197 config1.fontScale = 3.3f; in populateIntervalStats()
198 config1.mcc = 4; in populateIntervalStats()
199 mIntervalStats.getOrCreateConfigurationStats(config1); in populateIntervalStats()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java239 Configuration config1 = new Configuration(); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates() local
240 config1.densityDpi = 280; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
243 config1, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
273 config1.orientation = Configuration.ORIENTATION_LANDSCAPE; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
274 mResourcesManager.updateResourcesForActivity(activity1, config1, Display.DEFAULT_DISPLAY); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java238 NetworkSecurityConfig.Builder config1 = 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/
DWifiPickerTrackerTest.java1669 final WifiConfiguration config1 = new WifiConfiguration(); in testGetConnectedEntry_roamedButDefaultRouteDidNotChange_entryIsDefaultNetwork() local
1670 config1.SSID = "\"ssid1\""; in testGetConnectedEntry_roamedButDefaultRouteDidNotChange_entryIsDefaultNetwork()
1671 config1.networkId = 1; in testGetConnectedEntry_roamedButDefaultRouteDidNotChange_entryIsDefaultNetwork()
1676 .thenReturn(Arrays.asList(config1, config2)); in testGetConnectedEntry_roamedButDefaultRouteDidNotChange_entryIsDefaultNetwork()
1694 assertThat(connectedEntry.getWifiConfiguration()).isEqualTo(config1); in testGetConnectedEntry_roamedButDefaultRouteDidNotChange_entryIsDefaultNetwork()
/frameworks/base/tools/aapt2/
Dreadme.md158 `--split path/to/split.apk:<config1>[,<config2>,...]`.