Loading services/tests/servicestests/src/com/android/server/timezonedetector/MetricsTimeZoneDetectorStateTest.java +3 −0 Original line number Diff line number Diff line Loading @@ -143,6 +143,8 @@ public class MetricsTimeZoneDetectorStateTest { metricsTimeZoneDetectorState.isTelephonyDetectionSupported()); assertEquals(configurationInternal.isGeoDetectionSupported(), metricsTimeZoneDetectorState.isGeoDetectionSupported()); assertEquals(configurationInternal.isTelephonyFallbackSupported(), metricsTimeZoneDetectorState.isTelephonyTimeZoneFallbackSupported()); assertEquals(configurationInternal.getGeoDetectionRunInBackgroundEnabled(), metricsTimeZoneDetectorState.getGeoDetectionRunInBackgroundEnabled()); assertEquals(configurationInternal.isEnhancedMetricsCollectionEnabled(), Loading @@ -163,6 +165,7 @@ public class MetricsTimeZoneDetectorStateTest { .setUserConfigAllowed(true) .setTelephonyDetectionFeatureSupported(true) .setGeoDetectionFeatureSupported(true) .setTelephonyFallbackSupported(false) .setGeoDetectionRunInBackgroundEnabled(false) .setEnhancedMetricsCollectionEnabled(enhancedMetricsCollectionEnabled) .setAutoDetectionEnabledSetting(true) Loading Loading
services/tests/servicestests/src/com/android/server/timezonedetector/MetricsTimeZoneDetectorStateTest.java +3 −0 Original line number Diff line number Diff line Loading @@ -143,6 +143,8 @@ public class MetricsTimeZoneDetectorStateTest { metricsTimeZoneDetectorState.isTelephonyDetectionSupported()); assertEquals(configurationInternal.isGeoDetectionSupported(), metricsTimeZoneDetectorState.isGeoDetectionSupported()); assertEquals(configurationInternal.isTelephonyFallbackSupported(), metricsTimeZoneDetectorState.isTelephonyTimeZoneFallbackSupported()); assertEquals(configurationInternal.getGeoDetectionRunInBackgroundEnabled(), metricsTimeZoneDetectorState.getGeoDetectionRunInBackgroundEnabled()); assertEquals(configurationInternal.isEnhancedMetricsCollectionEnabled(), Loading @@ -163,6 +165,7 @@ public class MetricsTimeZoneDetectorStateTest { .setUserConfigAllowed(true) .setTelephonyDetectionFeatureSupported(true) .setGeoDetectionFeatureSupported(true) .setTelephonyFallbackSupported(false) .setGeoDetectionRunInBackgroundEnabled(false) .setEnhancedMetricsCollectionEnabled(enhancedMetricsCollectionEnabled) .setAutoDetectionEnabledSetting(true) Loading