Home
last modified time | relevance | path

Searched refs:configurationInternal (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DMetricsTimeZoneDetectorStateTest.java76 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 …]
DFakeServiceConfigAccessor.java95 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()
DFakeTimeZoneDetectorStrategy.java60 ConfigurationInternal configurationInternal = in getCapabilitiesAndConfig() local
63 configurationInternal.getUserId(), userId); in getCapabilitiesAndConfig()
66 configurationInternal.asCapabilities(bypassUserPolicyChecks), in getCapabilitiesAndConfig()
67 configurationInternal.asConfiguration()); in getCapabilitiesAndConfig()
DTimeZoneDetectorStrategyImplTest.java1838 Script simulateConfigurationInternalChange(ConfigurationInternal configurationInternal) { in simulateConfigurationInternalChange() argument
1840 configurationInternal); in simulateConfigurationInternalChange()
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DFakeServiceConfigAccessor.java87 void initializeCurrentUserConfiguration(ConfigurationInternal configurationInternal) { in initializeCurrentUserConfiguration() argument
88 mCurrentUserConfigurationInternal = configurationInternal; in initializeCurrentUserConfiguration()
92 ConfigurationInternal configurationInternal) { in simulateCurrentUserConfigurationInternalChange() argument
93 mCurrentUserConfigurationInternal = configurationInternal; in simulateCurrentUserConfigurationInternalChange()
DFakeTimeDetectorStrategy.java73 ConfigurationInternal configurationInternal = in getCapabilitiesAndConfig() local
75 return configurationInternal.createCapabilitiesAndConfig(bypassUserPolicyChecks); in getCapabilitiesAndConfig()
DTimeDetectorStrategyImplTest.java2197 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/
DMetricsTimeZoneDetectorState.java68 @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()
DTimeZoneDetectorStrategyImpl.java279 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()
DServiceConfigAccessorImpl.java276 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/
DTimeDetectorInternalImpl.java60 ConfigurationInternal configurationInternal = in getCapabilitiesAndConfigForDpm() local
62 return configurationInternal.createCapabilitiesAndConfig(bypassUserPolicyCheck); in getCapabilitiesAndConfigForDpm()
DTimeDetectorStrategyImpl.java440 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/
DLocationTimeZoneProviderControllerTest.java1662 ConfigurationInternal configurationInternal) { in TestEnvironment() argument
1665 mConfigurationInternal = Objects.requireNonNull(configurationInternal); in TestEnvironment()