Home
last modified time | relevance | path

Searched refs:expectedConfiguration (Results 1 – 4 of 4) sorted by relevance

/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/configuration/
DConfigurationManagerTest.kt67 val expectedConfiguration = PhotopickerConfiguration(action = "") in testEmitsConfiguration() constant
71 assertThat(reportedConfiguration).isEqualTo(expectedConfiguration) in testEmitsConfiguration()
92 val expectedConfiguration = PhotopickerConfiguration(action = "") in testConfigurationEmitsFlagChanges() constant
110 assertThat(emissions.first()).isEqualTo(expectedConfiguration) in testConfigurationEmitsFlagChanges()
113 expectedConfiguration.copy( in testConfigurationEmitsFlagChanges()
136 val expectedConfiguration = PhotopickerConfiguration(action = "") in testConfigurationChangesAreBatched() constant
165 assertThat(emissions.first()).isEqualTo(expectedConfiguration) in testConfigurationChangesAreBatched()
168 expectedConfiguration.copy( in testConfigurationChangesAreBatched()
196 val expectedConfiguration = PhotopickerConfiguration(action = "") in testSetIntentUpdatesConfiguration() constant
206 assertThat(emissions.first()).isEqualTo(expectedConfiguration) in testSetIntentUpdatesConfiguration()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/
DLocationTimeZoneDetectionPreferenceControllerTest.java92 TimeZoneConfiguration expectedConfiguration = new TimeZoneConfiguration.Builder() in setChecked_withTrue_shouldUpdateSetting_whenLocationIsEnabled() local
95 verify(mTimeManager).updateTimeZoneConfiguration(expectedConfiguration); in setChecked_withTrue_shouldUpdateSetting_whenLocationIsEnabled()
128 TimeZoneConfiguration expectedConfiguration = new TimeZoneConfiguration.Builder() in setChecked_withFalse_shouldUpdateSetting() local
131 verify(mTimeManager).updateTimeZoneConfiguration(expectedConfiguration); in setChecked_withFalse_shouldUpdateSetting()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java948 for (WifiConfiguration expectedConfiguration : expected) { in assertConfigurationsEqualForBackup()
949 String expectedConfigKey = expectedConfiguration.getProfileKey(); in assertConfigurationsEqualForBackup()
955 expectedConfiguration, actualConfiguration); in assertConfigurationsEqualForBackup()
971 for (WifiConfiguration expectedConfiguration : expected) { in assertConfigurationsEqualForConfigManagerAddOrUpdate()
972 String expectedConfigKey = expectedConfiguration.getProfileKey(); in assertConfigurationsEqualForConfigManagerAddOrUpdate()
978 expectedConfiguration, actualConfiguration); in assertConfigurationsEqualForConfigManagerAddOrUpdate()
993 for (WifiConfiguration expectedConfiguration : expected) { in assertConfigurationsEqualForConfigStore()
994 String expectedConfigKey = expectedConfiguration.getProfileKey(); in assertConfigurationsEqualForConfigStore()
1000 expectedConfiguration, actualConfiguration); in assertConfigurationsEqualForConfigStore()
DWifiBackupRestoreTest.java1123 final WifiConfiguration expectedConfiguration = new WifiConfiguration(); in testSingleNetworkSupplicantBackupRestoreWithUnknownEAPKey() local
1124 expectedConfiguration.SSID = "\"" + WifiConfigurationTestUtil.TEST_SSID + "\""; in testSingleNetworkSupplicantBackupRestoreWithUnknownEAPKey()
1125 expectedConfiguration.preSharedKey = WifiConfigurationTestUtil.TEST_PSK; in testSingleNetworkSupplicantBackupRestoreWithUnknownEAPKey()
1126 expectedConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testSingleNetworkSupplicantBackupRestoreWithUnknownEAPKey()
1128 List<WifiConfiguration> expectedConfigurations = List.of(expectedConfiguration); in testSingleNetworkSupplicantBackupRestoreWithUnknownEAPKey()