/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/ |
D | MetricsTimeZoneDetectorStateTest.java | 76 ConfigurationInternal configurationInternal = in enhancedMetricsCollectionEnabled() local 81 MetricsTimeZoneDetectorState.create(mOrdinalGenerator, configurationInternal, in enhancedMetricsCollectionEnabled() 86 assertCommonConfiguration(configurationInternal, metricsTimeZoneDetectorState); in enhancedMetricsCollectionEnabled() 115 ConfigurationInternal configurationInternal = in enhancedMetricsCollectionDisabled() local 120 MetricsTimeZoneDetectorState.create(mOrdinalGenerator, configurationInternal, in enhancedMetricsCollectionDisabled() 125 assertCommonConfiguration(configurationInternal, metricsTimeZoneDetectorState); in enhancedMetricsCollectionDisabled() 153 private static void assertCommonConfiguration(ConfigurationInternal configurationInternal, in assertCommonConfiguration() argument 155 assertEquals(configurationInternal.isTelephonyDetectionSupported(), in assertCommonConfiguration() 157 assertEquals(configurationInternal.isGeoDetectionSupported(), in assertCommonConfiguration() 159 assertEquals(configurationInternal.isTelephonyFallbackSupported(), in assertCommonConfiguration() [all …]
|
D | FakeServiceConfigAccessor.java | 95 void initializeCurrentUserConfiguration(ConfigurationInternal configurationInternal) { in initializeCurrentUserConfiguration() argument 96 mCurrentUserConfigurationInternal = configurationInternal; in initializeCurrentUserConfiguration() 99 void initializeOtherUserConfiguration(ConfigurationInternal configurationInternal) { in initializeOtherUserConfiguration() argument 100 mOtherUserConfigurationInternal = configurationInternal; in initializeOtherUserConfiguration() 104 ConfigurationInternal configurationInternal) { in simulateCurrentUserConfigurationInternalChange() argument 105 mCurrentUserConfigurationInternal = configurationInternal; in simulateCurrentUserConfigurationInternalChange() 110 void simulateOtherUserConfigurationInternalChange(ConfigurationInternal configurationInternal) { in simulateOtherUserConfigurationInternalChange() argument 111 mOtherUserConfigurationInternal = configurationInternal; in simulateOtherUserConfigurationInternalChange()
|
D | FakeTimeZoneDetectorStrategy.java | 60 ConfigurationInternal configurationInternal = in getCapabilitiesAndConfig() local 63 configurationInternal.getUserId(), userId); in getCapabilitiesAndConfig() 66 configurationInternal.asCapabilities(bypassUserPolicyChecks), in getCapabilitiesAndConfig() 67 configurationInternal.asConfiguration()); in getCapabilitiesAndConfig()
|
D | TimeZoneDetectorStrategyImplTest.java | 1838 Script simulateConfigurationInternalChange(ConfigurationInternal configurationInternal) { in simulateConfigurationInternalChange() argument 1840 configurationInternal); in simulateConfigurationInternalChange()
|
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/ |
D | FakeServiceConfigAccessor.java | 87 void initializeCurrentUserConfiguration(ConfigurationInternal configurationInternal) { in initializeCurrentUserConfiguration() argument 88 mCurrentUserConfigurationInternal = configurationInternal; in initializeCurrentUserConfiguration() 92 ConfigurationInternal configurationInternal) { in simulateCurrentUserConfigurationInternalChange() argument 93 mCurrentUserConfigurationInternal = configurationInternal; in simulateCurrentUserConfigurationInternalChange()
|
D | FakeTimeDetectorStrategy.java | 73 ConfigurationInternal configurationInternal = in getCapabilitiesAndConfig() local 75 return configurationInternal.createCapabilitiesAndConfig(bypassUserPolicyChecks); in getCapabilitiesAndConfig()
|
D | TimeDetectorStrategyImplTest.java | 2197 Script simulateConfigurationInternalChange(ConfigurationInternal configurationInternal) { in simulateConfigurationInternalChange() argument 2199 configurationInternal); in simulateConfigurationInternalChange() 2243 ConfigurationInternal configurationInternal = in simulateAutoTimeDetectionToggle() local 2246 !configurationInternal.getAutoDetectionEnabledSetting(); in simulateAutoTimeDetectionToggle() 2248 new ConfigurationInternal.Builder(configurationInternal) in simulateAutoTimeDetectionToggle()
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
D | MetricsTimeZoneDetectorState.java | 68 @NonNull ConfigurationInternal configurationInternal, in MetricsTimeZoneDetectorState() 74 mConfigurationInternal = Objects.requireNonNull(configurationInternal); in MetricsTimeZoneDetectorState() 88 @NonNull ConfigurationInternal configurationInternal, in create() argument 94 boolean includeZoneIds = configurationInternal.isEnhancedMetricsCollectionEnabled(); in create() 113 configurationInternal, deviceTimeZoneIdOrdinal, metricDeviceTimeZoneId, in create()
|
D | TimeZoneDetectorStrategyImpl.java | 279 ConfigurationInternal configurationInternal; in getCapabilitiesAndConfig() local 282 configurationInternal = mCurrentConfigurationInternal; in getCapabilitiesAndConfig() 288 configurationInternal = mServiceConfigAccessor.getConfigurationInternal(userId); in getCapabilitiesAndConfig() 292 configurationInternal.asCapabilities(bypassUserPolicyChecks), in getCapabilitiesAndConfig() 293 configurationInternal.asConfiguration()); in getCapabilitiesAndConfig()
|
D | ServiceConfigAccessorImpl.java | 276 ConfigurationInternal configurationInternal = getConfigurationInternal(userId); in updateConfiguration() local 278 configurationInternal.asCapabilities(bypassUserPolicyChecks); in updateConfiguration() 279 TimeZoneConfiguration oldConfiguration = configurationInternal.asConfiguration(); in updateConfiguration()
|
/frameworks/base/services/core/java/com/android/server/timedetector/ |
D | TimeDetectorInternalImpl.java | 60 ConfigurationInternal configurationInternal = in getCapabilitiesAndConfigForDpm() local 62 return configurationInternal.createCapabilitiesAndConfig(bypassUserPolicyCheck); in getCapabilitiesAndConfigForDpm()
|
D | TimeDetectorStrategyImpl.java | 440 ConfigurationInternal configurationInternal; 443 configurationInternal = mCurrentConfigurationInternal; 449 configurationInternal = mServiceConfigAccessor.getConfigurationInternal(userId); 451 return configurationInternal.createCapabilitiesAndConfig(bypassUserPolicyChecks);
|
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/ |
D | LocationTimeZoneProviderControllerTest.java | 1662 ConfigurationInternal configurationInternal) { in TestEnvironment() argument 1665 mConfigurationInternal = Objects.requireNonNull(configurationInternal); in TestEnvironment()
|