Searched refs:expectedConfig (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiApConfigStoreTest.java | 130 WifiConfiguration expectedConfig = setupApConfig( in initWithExistingConfiguration() local 136 writeApConfigFile(expectedConfig); in initWithExistingConfiguration() 139 verifyApConfig(expectedConfig, store.getApConfiguration()); in initWithExistingConfiguration() 150 WifiConfiguration expectedConfig = setupApConfig( in setNullApConfiguration() local 156 writeApConfigFile(expectedConfig); in setNullApConfiguration() 159 verifyApConfig(expectedConfig, store.getApConfiguration()); in setNullApConfiguration() 177 WifiConfiguration expectedConfig = setupApConfig( in updateApConfiguration() local 183 store.setApConfiguration(expectedConfig); in updateApConfiguration() 184 verifyApConfig(expectedConfig, store.getApConfiguration()); in updateApConfiguration()
|
D | WifiConfigManagerTest.java | 262 private void verifyNetworkConfig(WifiConfiguration expectedConfig, in verifyNetworkConfig() argument 265 assertEquals(expectedConfig.SSID, actualConfig.SSID); in verifyNetworkConfig() 266 assertEquals(expectedConfig.FQDN, actualConfig.FQDN); in verifyNetworkConfig() 267 assertEquals(expectedConfig.providerFriendlyName, in verifyNetworkConfig() 269 assertEquals(expectedConfig.configKey(), actualConfig.configKey(false)); in verifyNetworkConfig() 275 for (WifiConfiguration expectedConfig : expectedConfigs) { in verifyNetworkConfigs() 280 if (candidate.networkId == expectedConfig.networkId) { in verifyNetworkConfigs() 285 verifyNetworkConfig(expectedConfig, actualConfig); in verifyNetworkConfigs() 325 for (WifiConfiguration expectedConfig: CONFIGS) { in testGetWifiConfigurationByNetworkId() 327 mWifiConfigManager.getWifiConfiguration(expectedConfig.networkId); in testGetWifiConfigurationByNetworkId() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | Split_test.cpp | 79 ResTable_config expectedConfig; in TEST() local 80 memset(&expectedConfig, 0, sizeof(expectedConfig)); in TEST() 90 EXPECT_EQ(0, expectedConfig.compare(config)); in TEST() 96 ResTable_config expectedConfig; in TEST() local 97 makeConfigFrench(&expectedConfig); in TEST() 100 table.setParameters(&expectedConfig); in TEST() 111 EXPECT_EQ(0, expectedConfig.compare(config)); in TEST() 117 ResTable_config expectedConfig; in TEST() local 118 makeConfigFrench(&expectedConfig); in TEST() 121 table.setParameters(&expectedConfig); in TEST()
|
/frameworks/base/tools/aapt/tests/ |
D | ResourceFilter_test.cpp | 175 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/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 149 final Configuration expectedConfig = new Configuration(); in testUpdateConfigurationUpdatesAllAssetManagers() local 150 expectedConfig.setLocales(LocaleList.getAdjustedDefault()); in testUpdateConfigurationUpdatesAllAssetManagers() 151 expectedConfig.densityDpi = mDisplayMetrics.densityDpi; in testUpdateConfigurationUpdatesAllAssetManagers() 152 expectedConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers() 154 assertEquals(expectedConfig, resources1.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers() 155 assertEquals(expectedConfig, resources2.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers() 156 assertEquals(expectedConfig, resources3.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
|
/frameworks/base/tools/aapt2/flatten/ |
D | TableFlattener_test.cpp | 71 const ConfigDescription& expectedConfig, in exists() argument 76 table->setParameters(&expectedConfig); in exists() 132 if (expectedConfig != config) { in exists() 134 << "expected config '" << expectedConfig << "' but got '" in exists()
|