Home
last modified time | relevance | path

Searched refs:getDetectionMode (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
H A DConfigurationInternalTest.java87 assertEquals(DETECTION_MODE_GEO, config.getDetectionMode()); in test_telephonyAndGeoSupported_capabilitiesAndConfiguration()
121 assertEquals(DETECTION_MODE_TELEPHONY, config.getDetectionMode()); in test_telephonyAndGeoSupported_capabilitiesAndConfiguration()
154 assertEquals(DETECTION_MODE_MANUAL, config.getDetectionMode()); in test_telephonyAndGeoSupported_capabilitiesAndConfiguration()
212 assertEquals(DETECTION_MODE_MANUAL, config.getDetectionMode()); in test_autoDetectNotSupported_capabilitiesAndConfiguration()
241 assertEquals(DETECTION_MODE_MANUAL, config.getDetectionMode()); in test_autoDetectNotSupported_capabilitiesAndConfiguration()
351 assertEquals(DETECTION_MODE_MANUAL, config.getDetectionMode()); in test_onlyTelephonySupported_capabilitiesAndConfiguration()
406 assertEquals(DETECTION_MODE_GEO, config.getDetectionMode()); in test_onlyGeoSupported_capabilitiesAndConfiguration()
440 assertEquals(DETECTION_MODE_UNKNOWN, config.getDetectionMode()); in test_onlyGeoSupported_capabilitiesAndConfiguration()
533 assertEquals(DETECTION_MODE_GEO, config.getDetectionMode()); in test_geoDetectionRunInBackgroundEnabled()
550 assertEquals(DETECTION_MODE_MANUAL, config.getDetectionMode()); in test_geoDetectionRunInBackgroundEnabled()
[all …]
H A DMetricsTimeZoneDetectorStateTest.java172 assertEquals(DETECTION_MODE_GEO, metricsTimeZoneDetectorState.getDetectionMode()); in assertCommonConfiguration()
H A DTimeZoneDetectorStrategyImplTest.java1645 assertEquals(expectedDetectionMode, actualState.getDetectionMode()); in assertFeatureStateMatchesConfig()
/aosp14/frameworks/base/services/core/java/com/android/server/timezonedetector/
H A DConfigurationInternal.java173 public @DetectionMode int getDetectionMode() { in getDetectionMode() method in ConfigurationInternal
215 return getDetectionMode() == DETECTION_MODE_GEO in isGeoDetectionExecutionEnabled()
H A DMetricsTimeZoneDetectorState.java166 public @DetectionMode int getDetectionMode() { in getDetectionMode() method in MetricsTimeZoneDetectorState
167 switch (mConfigurationInternal.getDetectionMode()) { in getDetectionMode()
H A DTimeZoneDetectorStrategyImpl.java607 @DetectionMode int detectionMode = currentUserConfig.getDetectionMode();
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/
H A DLocationTimeZoneProviderControllerTest.java1406 assertEquals(DETECTION_MODE_MANUAL, autoTimeZoneDisabledConfig.getDetectionMode()); in geoDetectionRunInBackground_obeysAutoDetectionDisabled()
1443 assertEquals(DETECTION_MODE_TELEPHONY, runInBackgroundEnabledConfig.getDetectionMode()); in geoDetectionRunInBackground()
/aosp14/frameworks/base/services/core/java/com/android/server/stats/pull/
H A DStatsPullAtomService.java3572 convertToMetricsDetectionMode(metricsState.getDetectionMode()),