Home
last modified time | relevance | path

Searched refs:expectedConfig (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/tools/aapt/tests/
H A DResourceFilter_test.cpp175 ConfigDescription expectedConfig; in TEST() local
176 expectedConfig.density = 160; in TEST()
177 expectedConfig.version = 4; in TEST()
178 ASSERT_TRUE(filter.match(expectedConfig)); in TEST()
196 ConfigDescription expectedConfig; in TEST() local
197 expectedConfig.density = 160; in TEST()
198 expectedConfig.version = 4; in TEST()
199 ASSERT_TRUE(filter.match(expectedConfig)); in TEST()
/aosp14/frameworks/base/libs/androidfw/tests/
H A DSplit_test.cpp82 ResTable_config expectedConfig; in TEST_F() local
83 memset(&expectedConfig, 0, sizeof(expectedConfig)); in TEST_F()
96 EXPECT_EQ(0, expectedConfig.compare(config)); in TEST_F()
102 ResTable_config expectedConfig; in TEST_F() local
103 makeConfigFrench(&expectedConfig); in TEST_F()
106 table.setParameters(&expectedConfig); in TEST_F()
120 EXPECT_EQ(0, expectedConfig.compare(config)); in TEST_F()
126 ResTable_config expectedConfig; in TEST_F() local
127 makeConfigFrench(&expectedConfig); in TEST_F()
130 table.setParameters(&expectedConfig); in TEST_F()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/res/
H A DResourcesManagerTest.java173 final Configuration expectedConfig = new Configuration(); in testUpdateConfigurationUpdatesAllAssetManagers() local
174 expectedConfig.setToDefaults(); in testUpdateConfigurationUpdatesAllAssetManagers()
175 expectedConfig.setLocales(LocaleList.getAdjustedDefault()); in testUpdateConfigurationUpdatesAllAssetManagers()
176 expectedConfig.densityDpi = mDisplayMetricsMap.get(Display.DEFAULT_DISPLAY).densityDpi; in testUpdateConfigurationUpdatesAllAssetManagers()
177 expectedConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers()
179 assertEquals(expectedConfig, resources1.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
180 assertEquals(expectedConfig, resources2.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
181 assertEquals(expectedConfig, resources3.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
/aosp14/frameworks/base/wifi/tests/src/android/net/wifi/
H A DSoftApConfToXmlMigrationUtilTest.java177 SoftApConfiguration expectedConfig = setupApConfig( in testConversion() local
185 assertWifiConfigurationEqualSoftApConfiguration(backupConfig, expectedConfig); in testConversion()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityThreadTest.java260 final Configuration expectedConfig = new Configuration(origConfig); in assertScreenScale() local
261 CompatibilityInfo.scaleConfiguration(scale, expectedConfig); in assertScreenScale()
262 final Rect expectedBounds = expectedConfig.windowConfiguration.getBounds(); in assertScreenScale()
263 final Rect expectedAppBounds = expectedConfig.windowConfiguration.getAppBounds(); in assertScreenScale()
264 final Rect expectedMaxBounds = expectedConfig.windowConfiguration.getMaxBounds(); in assertScreenScale()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowProcessControllerTests.java225 final Configuration expectedConfig = mAtm.mRootWindowContainer.getConfiguration(); in testConfigurationForSecondaryScreenDisplayArea() local
226 expectedConfig.updateFrom(imeContainer.getConfiguration()); in testConfigurationForSecondaryScreenDisplayArea()
227 assertEquals(expectedConfig, mWpc.getConfiguration()); in testConfigurationForSecondaryScreenDisplayArea()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/
H A DLocationTimeZoneProviderControllerTest.java1760 @Nullable ConfigurationInternal expectedConfig) { in assertStateEnumAndConfigAndCommit() argument
1761 assertStateEnumAndConfig(expectedStateEnum, expectedConfig); in assertStateEnumAndConfigAndCommit()
1771 @Nullable ConfigurationInternal expectedConfig) { in assertStateEnumAndConfig() argument
1780 assertConfig(expectedConfig); in assertStateEnumAndConfig()
1783 private void assertConfig(@Nullable ConfigurationInternal expectedConfig) { in assertConfig() argument
1785 assertEquals(expectedConfig, currentState.currentUserConfiguration); in assertConfig()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
H A DHdmiUtilsTest.java195 List<DeviceConfig> expectedConfig = new ArrayList<>(); in parseSampleXML() local
196 expectedConfig.add(expectedDevice1); in parseSampleXML()
197 expectedConfig.add(expectedDevice2); in parseSampleXML()
199 assertThat(config).isEqualTo(expectedConfig); in parseSampleXML()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DMagnificationProcessorTest.java402 final MagnificationConfig expectedConfig = new MagnificationConfig.Builder() in setConfigWithDefaultMode_fullScreenMode_expectedConfig() local
407 assertConfigEquals(expectedConfig, in setConfigWithDefaultMode_fullScreenMode_expectedConfig()