Home
last modified time | relevance | path

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

/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiApConfigStoreTest.java291 SoftApConfiguration expectedConfig = setupApConfig( in setNullApConfiguration() local
299 mDataStoreSource.fromDeserialized(expectedConfig); in setNullApConfiguration()
331 store.setApConfiguration(expectedConfig); in updateApConfiguration()
401 store.setApConfiguration(expectedConfig); in deviceAnyNotConverted()
430 store.setApConfiguration(expectedConfig); in deviceWithChannelNotConverted()
1109 assertEquals(expectedConfig.getChannel(), 0); in testForceApBaneChannel()
1112 expectedConfig = store.getApConfiguration(); in testForceApBaneChannel()
1114 assertEquals(expectedConfig.getChannel(), 0); in testForceApBaneChannel()
1118 expectedConfig = store.getApConfiguration(); in testForceApBaneChannel()
1123 expectedConfig = store.getApConfiguration(); in testForceApBaneChannel()
[all …]
H A DSoftApBackupRestoreTest.java329 retrieveVersion5BackupDataFromSoftApConfiguration(expectedConfig)); in testSoftApConfigRestoreFromVersion5()
330 assertEquals(expectedConfig, restoredConfig); in testSoftApConfigRestoreFromVersion5()
334 expectedConfig = configBuilder.setAutoShutdownEnabled(false).build(); in testSoftApConfigRestoreFromVersion5()
336 retrieveVersion5BackupDataFromSoftApConfiguration(expectedConfig)); in testSoftApConfigRestoreFromVersion5()
337 assertEquals(expectedConfig, restoredConfig); in testSoftApConfigRestoreFromVersion5()
385 SoftApConfiguration expectedConfig = configBuilder.build(); in testSoftApConfigRestoreFromVersion6() local
388 retrieveVersion6BackupDataFromSoftApConfiguration(expectedConfig)); in testSoftApConfigRestoreFromVersion6()
389 assertEquals(expectedConfig, restoredConfig); in testSoftApConfigRestoreFromVersion6()
411 SoftApConfiguration expectedConfig = configBuilder.build(); in testSoftApConfigRestoreFromVersion7() local
414 retrieveVersion7BackupDataFromSoftApConfiguration(expectedConfig)); in testSoftApConfigRestoreFromVersion7()
[all …]
H A DSoftApManagerTest.java1900 SoftApConfiguration expectedConfig) throws Exception { in startSoftApAndVerifyEnabled() argument
1906 if (expectedConfig == null) { in startSoftApAndVerifyEnabled()
1914 expectedConfig = new SoftApConfiguration.Builder(randomizedBssidConfig) in startSoftApAndVerifyEnabled()
1917 expectedConfig = new SoftApConfiguration.Builder(config) in startSoftApAndVerifyEnabled()
1925 if (expectedConfig.getChannel() == 0 && expectedConfig.getBands().length == 1) { in startSoftApAndVerifyEnabled()
1945 eq(expectedConfig.getBand()), eq(expectedConfig.getBands().length > 1)); in startSoftApAndVerifyEnabled()
1954 ? expectedConfigWithFrameworkACS : expectedConfig); in startSoftApAndVerifyEnabled()
1959 eq(mTestWifiClientsMap), eq(expectedConfig.getBands().length > 1)); in startSoftApAndVerifyEnabled()
1975 ? randomizedBssidConfig : expectedConfig, softApConfig.getTargetMode(), in startSoftApAndVerifyEnabled()
1976 expectedConfig.getBands().length > 1); in startSoftApAndVerifyEnabled()
[all …]
H A DClientModeImplTest.java4416 WifiConfiguration expectedConfig = new WifiConfiguration( in verifyNetworkCapabilitiesForSpecificRequest() local
4418 expectedConfig.BSSID = TEST_BSSID_STR; in verifyNetworkCapabilitiesForSpecificRequest()
4420 new WifiNetworkAgentSpecifier(expectedConfig, ScanResult.WIFI_BAND_24_GHZ, in verifyNetworkCapabilitiesForSpecificRequest()
/aosp12/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()
/aosp12/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()
/aosp12/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/
H A DConfigParserTest.java127 PasspointConfiguration expectedConfig = generateConfigurationFromProfile(); in parseConfigFile() local
131 assertTrue(actualConfig.equals(expectedConfig)); in parseConfigFile()
216 PasspointConfiguration expectedConfig = generateConfigurationFromProfile(); in parseConfigFileWithUpdateIdentifier() local
221 assertTrue(actualConfig.equals(expectedConfig)); in parseConfigFileWithUpdateIdentifier()
/aosp12/frameworks/base/core/tests/coretests/src/android/content/res/
H A DResourcesManagerTest.java171 final Configuration expectedConfig = new Configuration(); in testUpdateConfigurationUpdatesAllAssetManagers() local
172 expectedConfig.setToDefaults(); in testUpdateConfigurationUpdatesAllAssetManagers()
173 expectedConfig.setLocales(LocaleList.getAdjustedDefault()); in testUpdateConfigurationUpdatesAllAssetManagers()
174 expectedConfig.densityDpi = mDisplayMetricsMap.get(Display.DEFAULT_DISPLAY).densityDpi; in testUpdateConfigurationUpdatesAllAssetManagers()
175 expectedConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers()
177 assertEquals(expectedConfig, resources1.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
178 assertEquals(expectedConfig, resources2.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
179 assertEquals(expectedConfig, resources3.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DIpConfigStoreTest.java58 final IpConfiguration expectedConfig = in backwardCompatibility2to3() local
62 writeDhcpConfigV2(outputStream, KEY_CONFIG, expectedConfig); in backwardCompatibility2to3()
71 assertEquals(expectedConfig, actualConfig); in backwardCompatibility2to3()
/aosp12/frameworks/base/wifi/tests/src/android/net/wifi/
H A DSoftApConfToXmlMigrationUtilTest.java177 SoftApConfiguration expectedConfig = setupApConfig( in testConversion() local
185 assertWifiConfigurationEqualSoftApConfiguration(backupConfig, expectedConfig); in testConversion()
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/
H A DCarUxRestrictionsManagerServiceTest.java156 String expectedConfig = "{\"schema_version\":2,\"restrictions\":[{\"physical_port\":null," in testSaveConfig_WriteStagedFile() local
163 assertEquals(readFile(staged.toPath()), expectedConfig); in testSaveConfig_WriteStagedFile() local
225 CarUxRestrictionsConfiguration expectedConfig = new Builder() in testLoadConfig_SupportsLegacyV1() local
271 assertTrue(actual.equals(expectedConfig)); in testLoadConfig_SupportsLegacyV1()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/
H A DControllerImplTest.java1249 @Nullable ConfigurationInternal expectedConfig) { in assertStateEnumAndConfigAndCommit() argument
1250 assertStateEnumAndConfig(expectedStateEnum, expectedConfig); in assertStateEnumAndConfigAndCommit()
1260 @Nullable ConfigurationInternal expectedConfig) { in assertStateEnumAndConfig() argument
1269 assertConfig(expectedConfig); in assertStateEnumAndConfig()
1272 private void assertConfig(@Nullable ConfigurationInternal expectedConfig) { in assertConfig() argument
1274 assertEquals(expectedConfig, currentState.currentUserConfiguration); in assertConfig()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowProcessControllerTests.java201 final Configuration expectedConfig = mAtm.mRootWindowContainer.getConfiguration(); in testConfigurationForSecondaryScreenDisplayArea() local
202 expectedConfig.updateFrom(imeContainer.getConfiguration()); in testConfigurationForSecondaryScreenDisplayArea()
203 assertEquals(expectedConfig, mWpc.getConfiguration()); in testConfigurationForSecondaryScreenDisplayArea()
/aosp12/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/omadm/
H A DPpsMoParserTest.java223 PasspointConfiguration expectedConfig = generateConfigurationFromPPSMOTree(); in parseValidPPSMOTree() local
225 assertTrue(actualConfig.equals(expectedConfig)); in parseValidPPSMOTree()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
H A DTimeZoneDetectorStrategyImplTest.java247 ConfigurationInternal expectedConfig = new ConfigurationInternal.Builder( in testUpdateConfiguration_restricted() local
251 script.verifyConfigurationChangedAndReset(expectedConfig); in testUpdateConfiguration_restricted()
283 ConfigurationInternal expectedConfig = in testUpdateConfiguration_autoDetectSupportedGeoNotSupported() local
287 script.verifyConfigurationChangedAndReset(expectedConfig); in testUpdateConfiguration_autoDetectSupportedGeoNotSupported()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
H A DHdmiUtilsTest.java148 List<DeviceConfig> expectedConfig = new ArrayList<>(); in parseSampleXML() local
149 expectedConfig.add(expectedDevice1); in parseSampleXML()
150 expectedConfig.add(expectedDevice2); in parseSampleXML()
152 assertThat(config).isEqualTo(expectedConfig); in parseSampleXML()
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/
H A DAudioPrimaryHidlHalTest.h1407 static void testGetAudioProperties(IStream* stream, AudioConfig expectedConfig) {
1418 EXPECT_EQ(expectedConfig.sampleRateHz, sampleRateHz);
1419 EXPECT_EQ(expectedConfig.channelMask, mask);
1420 EXPECT_EQ(expectedConfig.format, format);
1427 EXPECT_EQ(expectedConfig.base.sampleRateHz, actualConfig.sampleRateHz);
1428 EXPECT_EQ(expectedConfig.base.channelMask, actualConfig.channelMask);
1429 EXPECT_EQ(expectedConfig.base.format, actualConfig.format);
/aosp12/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
H A DCarUxRestrictionsConfigurationTest.java409 CarUxRestrictionsConfiguration expectedConfig = new Builder() in testJsonSerialization_ReadsV1() local
450 assertThat(deserialized).isEqualTo(expectedConfig); in testJsonSerialization_ReadsV1()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DPasspointProviderTest.java190 private void verifyInstalledConfig(PasspointConfiguration expectedConfig, boolean equals) { in verifyInstalledConfig() argument
193 assertTrue(actualConfig.equals(expectedConfig)); in verifyInstalledConfig()
195 assertFalse(actualConfig.equals(expectedConfig)); in verifyInstalledConfig()
H A DPasspointManagerTest.java297 private void verifyInstalledConfig(PasspointConfiguration expectedConfig) { in verifyInstalledConfig() argument
301 assertEquals(expectedConfig, installedConfigs.get(0)); in verifyInstalledConfig()