Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiApConfigStoreTest.java226 WifiConfiguration expectedConfig = setupApConfig( in initWithExistingConfiguration() local
233 writeApConfigFile(expectedConfig); in initWithExistingConfiguration()
237 verifyApConfig(expectedConfig, store.getApConfiguration()); in initWithExistingConfiguration()
248 WifiConfiguration expectedConfig = setupApConfig( in setNullApConfiguration() local
255 writeApConfigFile(expectedConfig); in setNullApConfiguration()
259 verifyApConfig(expectedConfig, store.getApConfiguration()); in setNullApConfiguration()
278 WifiConfiguration expectedConfig = setupApConfig( in updateApConfiguration() local
285 store.setApConfiguration(expectedConfig); in updateApConfiguration()
286 verifyApConfig(expectedConfig, store.getApConfiguration()); in updateApConfiguration()
312 WifiConfiguration expectedConfig = setupApConfig( in convertSingleModeDeviceAnyTo5Ghz() local
[all …]
DSoftApManagerTest.java1123 WifiConfiguration expectedConfig; in startSoftApAndVerifyEnabled() local
1130 expectedConfig = new WifiConfiguration(mDefaultApConfig); in startSoftApAndVerifyEnabled()
1132 expectedConfig = new WifiConfiguration(config); in startSoftApAndVerifyEnabled()
1151 WifiConfigurationTestUtil.assertConfigurationEqual(expectedConfig, configCaptor.getValue()); in startSoftApAndVerifyEnabled()
/frameworks/base/tools/aapt/tests/
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()
/frameworks/base/libs/androidfw/tests/
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()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java151 final Configuration expectedConfig = new Configuration(); in testUpdateConfigurationUpdatesAllAssetManagers() local
152 expectedConfig.setToDefaults(); in testUpdateConfigurationUpdatesAllAssetManagers()
153 expectedConfig.setLocales(LocaleList.getAdjustedDefault()); in testUpdateConfigurationUpdatesAllAssetManagers()
154 expectedConfig.densityDpi = mDisplayMetrics.densityDpi; in testUpdateConfigurationUpdatesAllAssetManagers()
155 expectedConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers()
157 assertEquals(expectedConfig, resources1.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
158 assertEquals(expectedConfig, resources2.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
159 assertEquals(expectedConfig, resources3.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiUtilsTest.java140 List<DeviceConfig> expectedConfig = new ArrayList<>(); in parseSampleXML() local
141 expectedConfig.add(expectedDevice1); in parseSampleXML()
142 expectedConfig.add(expectedDevice2); in parseSampleXML()
144 assertThat(config).isEqualTo(expectedConfig); in parseSampleXML()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DIpConfigStoreTest.java55 IpConfiguration expectedConfig = new IpConfiguration(IpAssignment.DHCP, in backwardCompatibility2to3() local
59 writeDhcpConfigV2(outputStream, KEY_CONFIG, expectedConfig); in backwardCompatibility2to3()
68 assertEquals(expectedConfig, actualConfig); in backwardCompatibility2to3()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DConfigParserTest.java125 PasspointConfiguration expectedConfig = generateConfigurationFromProfile(); in parseConfigFile() local
129 assertTrue(actualConfig.equals(expectedConfig)); in parseConfigFile()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java210 PasspointConfiguration expectedConfig = generateConfigurationFromPPSMOTree(); in parseValidPPSMOTree() local
212 assertTrue(actualConfig.equals(expectedConfig)); in parseValidPPSMOTree()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java139 private void verifyInstalledConfig(PasspointConfiguration expectedConfig, boolean equals) { in verifyInstalledConfig() argument
142 assertTrue(actualConfig.equals(expectedConfig)); in verifyInstalledConfig()
144 assertFalse(actualConfig.equals(expectedConfig)); in verifyInstalledConfig()
DPasspointManagerTest.java270 private void verifyInstalledConfig(PasspointConfiguration expectedConfig) { in verifyInstalledConfig() argument
274 assertEquals(expectedConfig, installedConfigs.get(0)); in verifyInstalledConfig()