Searched refs:getDetectionMode (Results 1 – 8 of 8) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/ |
H A D | ConfigurationInternalTest.java | 87 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 D | MetricsTimeZoneDetectorStateTest.java | 172 assertEquals(DETECTION_MODE_GEO, metricsTimeZoneDetectorState.getDetectionMode()); in assertCommonConfiguration()
|
H A D | TimeZoneDetectorStrategyImplTest.java | 1645 assertEquals(expectedDetectionMode, actualState.getDetectionMode()); in assertFeatureStateMatchesConfig()
|
/aosp14/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
H A D | ConfigurationInternal.java | 173 public @DetectionMode int getDetectionMode() { in getDetectionMode() method in ConfigurationInternal 215 return getDetectionMode() == DETECTION_MODE_GEO in isGeoDetectionExecutionEnabled()
|
H A D | MetricsTimeZoneDetectorState.java | 166 public @DetectionMode int getDetectionMode() { in getDetectionMode() method in MetricsTimeZoneDetectorState 167 switch (mConfigurationInternal.getDetectionMode()) { in getDetectionMode()
|
H A D | TimeZoneDetectorStrategyImpl.java | 607 @DetectionMode int detectionMode = currentUserConfig.getDetectionMode();
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/ |
H A D | LocationTimeZoneProviderControllerTest.java | 1406 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 D | StatsPullAtomService.java | 3572 convertToMetricsDetectionMode(metricsState.getDetectionMode()),
|