/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiApConfigStoreTest.java | 234 SoftApConfiguration expectedConfig = setupApConfig( in setNullApConfiguration() local 242 mDataStoreSource.fromDeserialized(expectedConfig); in setNullApConfiguration() 243 verifyApConfig(expectedConfig, store.getApConfiguration()); in setNullApConfiguration() 264 SoftApConfiguration expectedConfig = setupApConfig( in updateApConfiguration() local 271 store.setApConfiguration(expectedConfig); in updateApConfiguration() 272 verifyApConfig(expectedConfig, store.getApConfiguration()); in updateApConfiguration() 273 verifyApConfig(expectedConfig, mDataStoreSource.toSerialize()); in updateApConfiguration() 302 SoftApConfiguration expectedConfig = setupApConfig( in convertDevice5GhzToAny() local 311 verifyApConfig(expectedConfig, store.getApConfiguration()); in convertDevice5GhzToAny() 312 verifyApConfig(expectedConfig, mDataStoreSource.toSerialize()); in convertDevice5GhzToAny() [all …]
|
D | SoftApManagerTest.java | 1916 SoftApConfiguration expectedConfig = null; in startSoftApAndVerifyEnabled() local 1930 expectedConfig = new SoftApConfiguration.Builder(randomizedBssidConfig) in startSoftApAndVerifyEnabled() 1934 expectedConfig = new SoftApConfiguration.Builder(config) in startSoftApAndVerifyEnabled() 1957 assertThat(configCaptor.getValue()).isEqualTo(expectedConfig); in startSoftApAndVerifyEnabled()
|
/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/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 152 final Configuration expectedConfig = new Configuration(); in testUpdateConfigurationUpdatesAllAssetManagers() local 153 expectedConfig.setToDefaults(); in testUpdateConfigurationUpdatesAllAssetManagers() 154 expectedConfig.setLocales(LocaleList.getAdjustedDefault()); in testUpdateConfigurationUpdatesAllAssetManagers() 155 expectedConfig.densityDpi = mDisplayMetrics.densityDpi; in testUpdateConfigurationUpdatesAllAssetManagers() 156 expectedConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers() 158 assertEquals(expectedConfig, resources1.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers() 159 assertEquals(expectedConfig, resources2.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers() 160 assertEquals(expectedConfig, resources3.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
D | ConfigParserTest.java | 127 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()
|
/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/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowProcessControllerTests.java | 155 final Configuration expectedConfig = mService.mRootWindowContainer.getConfiguration(); in testConfigurationForSecondaryScreen() local 156 expectedConfig.updateFrom(display.getConfiguration()); in testConfigurationForSecondaryScreen() 157 assertEquals(expectedConfig, mWpc.getConfiguration()); in testConfigurationForSecondaryScreen()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | SoftApConfToXmlMigrationUtilTest.java | 177 SoftApConfiguration expectedConfig = setupApConfig( in testConversion() local 185 assertWifiConfigurationEqualSoftApConfiguration(backupConfig, expectedConfig); in testConversion()
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/ |
D | PpsMoParserTest.java | 213 PasspointConfiguration expectedConfig = generateConfigurationFromPPSMOTree(); in parseValidPPSMOTree() local 215 assertTrue(actualConfig.equals(expectedConfig)); in parseValidPPSMOTree()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 167 private void verifyInstalledConfig(PasspointConfiguration expectedConfig, boolean equals) { in verifyInstalledConfig() argument 170 assertTrue(actualConfig.equals(expectedConfig)); in verifyInstalledConfig() 172 assertFalse(actualConfig.equals(expectedConfig)); in verifyInstalledConfig()
|
D | PasspointManagerTest.java | 252 private void verifyInstalledConfig(PasspointConfiguration expectedConfig) { in verifyInstalledConfig() argument 256 assertEquals(expectedConfig, installedConfigs.get(0)); in verifyInstalledConfig()
|