/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiApConfigStoreTest.java | 226 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 …]
|
D | SoftApManagerTest.java | 1123 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/ |
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/libs/androidfw/tests/ |
D | Split_test.cpp | 82 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/ |
D | ResourcesManagerTest.java | 151 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/ |
D | HdmiUtilsTest.java | 140 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/ |
D | IpConfigStoreTest.java | 55 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/ |
D | ConfigParserTest.java | 125 PasspointConfiguration expectedConfig = generateConfigurationFromProfile(); in parseConfigFile() local 129 assertTrue(actualConfig.equals(expectedConfig)); in parseConfigFile()
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/ |
D | PpsMoParserTest.java | 210 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/ |
D | PasspointProviderTest.java | 139 private void verifyInstalledConfig(PasspointConfiguration expectedConfig, boolean equals) { in verifyInstalledConfig() argument 142 assertTrue(actualConfig.equals(expectedConfig)); in verifyInstalledConfig() 144 assertFalse(actualConfig.equals(expectedConfig)); in verifyInstalledConfig()
|
D | PasspointManagerTest.java | 270 private void verifyInstalledConfig(PasspointConfiguration expectedConfig) { in verifyInstalledConfig() argument 274 assertEquals(expectedConfig, installedConfigs.get(0)); in verifyInstalledConfig()
|