Home
last modified time | relevance | path

Searched refs:bypassUserPolicyChecks (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorInternalImpl.java53 final boolean bypassUserPolicyChecks = true; in getCapabilitiesAndConfigForDpm()
55 currentUserId, bypassUserPolicyChecks); in getCapabilitiesAndConfigForDpm()
63 final boolean bypassUserPolicyChecks = true; in updateConfigurationForDpm()
65 currentUserId, configuration, bypassUserPolicyChecks); in updateConfigurationForDpm()
73 final boolean bypassUserPolicyChecks = true; in setManualTimeZoneForDpm()
75 currentUserId, suggestion, bypassUserPolicyChecks); in setManualTimeZoneForDpm()
DTimeZoneDetectorStrategy.java123 @UserIdInt int userId, boolean bypassUserPolicyChecks); in getCapabilitiesAndConfig() argument
141 boolean bypassUserPolicyChecks); in updateConfiguration() argument
174 boolean bypassUserPolicyChecks); in suggestManualTimeZone() argument
DTimeZoneDetectorService.java174 final boolean bypassUserPolicyChecks = false; in getCapabilitiesAndConfig()
176 resolvedUserId, bypassUserPolicyChecks); in getCapabilitiesAndConfig()
199 final boolean bypassUserPolicyChecks = false; in updateConfiguration()
201 resolvedUserId, configuration, bypassUserPolicyChecks); in updateConfiguration()
354 final boolean bypassUserPolicyChecks = false; in setManualTimeZone()
356 userId, suggestion, bypassUserPolicyChecks); in setManualTimeZone()
370 final boolean bypassUserPolicyChecks = false; in suggestManualTimeZone()
372 userId, suggestion, bypassUserPolicyChecks); in suggestManualTimeZone()
DTimeZoneDetectorStrategyImpl.java278 @UserIdInt int userId, boolean bypassUserPolicyChecks) { in getCapabilitiesAndConfig() argument
292 configurationInternal.asCapabilities(bypassUserPolicyChecks), in getCapabilitiesAndConfig()
299 boolean bypassUserPolicyChecks) { in updateConfiguration() argument
303 userId, configuration, bypassUserPolicyChecks); in updateConfiguration()
313 + ", bypassUserPolicyChecks=" + bypassUserPolicyChecks; in updateConfiguration()
439 boolean bypassUserPolicyChecks) {
456 currentUserConfig.asCapabilities(bypassUserPolicyChecks);
908 final boolean bypassUserPolicyChecks = false; in dump()
910 + mCurrentConfigurationInternal.asCapabilities(bypassUserPolicyChecks) + "]"); in dump()
DServiceConfigAccessor.java90 boolean bypassUserPolicyChecks); in updateConfiguration() argument
DConfigurationInternal.java227 public TimeZoneCapabilities asCapabilities(boolean bypassUserPolicyChecks) { in asCapabilities() argument
231 boolean allowConfigDateTime = isUserConfigAllowed() || bypassUserPolicyChecks; in asCapabilities()
DServiceConfigAccessorImpl.java273 boolean bypassUserPolicyChecks) { in updateConfiguration() argument
278 configurationInternal.asCapabilities(bypassUserPolicyChecks); in updateConfiguration()
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DConfigurationInternalTest.java65 boolean userConfigAllowed, boolean bypassUserPolicyChecks) { in test_autoDetectionSupported_capabilitiesAndConfiguration() argument
77 boolean userRestrictionsExpected = !(userConfigAllowed || bypassUserPolicyChecks); in test_autoDetectionSupported_capabilitiesAndConfiguration()
86 autoOnConfig.createCapabilitiesAndConfig(bypassUserPolicyChecks); in test_autoDetectionSupported_capabilitiesAndConfiguration()
111 autoOffConfig.createCapabilitiesAndConfig(bypassUserPolicyChecks); in test_autoDetectionSupported_capabilitiesAndConfiguration()
136 boolean userConfigAllowed, boolean bypassUserPolicyChecks) { in test_autoDetectNotSupported_capabilitiesAndConfiguration() argument
147 boolean userRestrictionsExpected = !(userConfigAllowed || bypassUserPolicyChecks); in test_autoDetectNotSupported_capabilitiesAndConfiguration()
158 autoOnConfig.createCapabilitiesAndConfig(bypassUserPolicyChecks); in test_autoDetectNotSupported_capabilitiesAndConfiguration()
182 autoOffConfig.createCapabilitiesAndConfig(bypassUserPolicyChecks); in test_autoDetectNotSupported_capabilitiesAndConfiguration()
DFakeTimeDetectorStrategy.java72 boolean bypassUserPolicyChecks) { in getCapabilitiesAndConfig() argument
75 return configurationInternal.createCapabilitiesAndConfig(bypassUserPolicyChecks); in getCapabilitiesAndConfig()
80 boolean bypassUserPolicyChecks) { in updateConfiguration() argument
82 userId, configuration, bypassUserPolicyChecks); in updateConfiguration()
91 boolean bypassUserPolicyChecks) { in suggestManualTime() argument
DTimeDetectorStrategyImplTest.java150 boolean bypassUserPolicyChecks = false; in testChangeListenerBehavior()
175 ARBITRARY_USER_ID, requestedChanges, bypassUserPolicyChecks); in testChangeListenerBehavior()
187 final boolean bypassUserPolicyChecks = false; in testReadAndWriteConfiguration()
198 currentUserConfig.getUserId(), bypassUserPolicyChecks); in testReadAndWriteConfiguration()
203 currentUserConfig.createCapabilitiesAndConfig(bypassUserPolicyChecks); in testReadAndWriteConfiguration()
225 currentUserConfig.getUserId(), requestedChanges, bypassUserPolicyChecks); in testReadAndWriteConfiguration() local
227 currentUserConfig.getUserId(), requestedChanges, bypassUserPolicyChecks); in testReadAndWriteConfiguration() local
764 boolean bypassUserPolicyChecks = false; in testSuggestManualTime_autoTimeDisabled()
767 ARBITRARY_USER_ID, timeSuggestion, bypassUserPolicyChecks, expectedResult) in testSuggestManualTime_autoTimeDisabled()
776 boolean userConfigAllowed, boolean bypassUserPolicyChecks) { in testSuggestManualTime_autoTimeDisabled_userRestrictions() argument
[all …]
DFakeServiceConfigAccessor.java58 boolean bypassUserPolicyChecks) { in updateConfiguration() argument
68 toUpdate.createCapabilitiesAndConfig(bypassUserPolicyChecks); in updateConfiguration()
DTimeDetectorInternalImplTest.java100 final boolean bypassUserPolicyChecks = true; in testGetCapabilitiesAndConfigForDpm()
102 testConfig.createCapabilitiesAndConfig(bypassUserPolicyChecks); in testGetCapabilitiesAndConfigForDpm()
DTimeDetectorServiceTest.java142 boolean bypassUserPolicyChecks = false; in testGetCapabilitiesAndConfig()
144 configuration.createCapabilitiesAndConfig(bypassUserPolicyChecks); in testGetCapabilitiesAndConfig()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DConfigurationInternalTest.java60 boolean userConfigAllowed, boolean bypassUserPolicyChecks) { in test_telephonyAndGeoSupported_capabilitiesAndConfiguration() argument
74 boolean userRestrictionsExpected = !(userConfigAllowed || bypassUserPolicyChecks); in test_telephonyAndGeoSupported_capabilitiesAndConfiguration()
89 TimeZoneCapabilities capabilities = config.asCapabilities(bypassUserPolicyChecks); in test_telephonyAndGeoSupported_capabilitiesAndConfiguration()
123 TimeZoneCapabilities capabilities = config.asCapabilities(bypassUserPolicyChecks); in test_telephonyAndGeoSupported_capabilitiesAndConfiguration()
156 TimeZoneCapabilities capabilities = config.asCapabilities(bypassUserPolicyChecks); in test_telephonyAndGeoSupported_capabilitiesAndConfiguration()
185 boolean userConfigAllowed, boolean bypassUserPolicyChecks) { in test_autoDetectNotSupported_capabilitiesAndConfiguration() argument
199 boolean userRestrictionsExpected = !(userConfigAllowed || bypassUserPolicyChecks); in test_autoDetectNotSupported_capabilitiesAndConfiguration()
214 TimeZoneCapabilities capabilities = config.asCapabilities(bypassUserPolicyChecks); in test_autoDetectNotSupported_capabilitiesAndConfiguration()
243 TimeZoneCapabilities capabilities = config.asCapabilities(bypassUserPolicyChecks); in test_autoDetectNotSupported_capabilitiesAndConfiguration()
271 autoOffConfig.asCapabilities(bypassUserPolicyChecks); in test_autoDetectNotSupported_capabilitiesAndConfiguration()
[all …]
DFakeTimeZoneDetectorStrategy.java59 boolean bypassUserPolicyChecks) { in getCapabilitiesAndConfig() argument
66 configurationInternal.asCapabilities(bypassUserPolicyChecks), in getCapabilitiesAndConfig()
72 boolean bypassUserPolicyChecks) { in updateConfiguration() argument
74 userId, requestedChanges, bypassUserPolicyChecks); in updateConfiguration()
105 boolean bypassUserPolicyChecks) { in suggestManualTimeZone() argument
DTimeZoneDetectorStrategyImplTest.java234 boolean bypassUserPolicyChecks = false; in testChangeListenerBehavior_currentUser()
259 USER_ID, requestedChanges, bypassUserPolicyChecks); in testChangeListenerBehavior_currentUser()
276 boolean bypassUserPolicyChecks = false; in testChangeListenerBehavior_otherUser()
288 otherUserId, requestedChanges, bypassUserPolicyChecks); in testChangeListenerBehavior_otherUser()
309 final boolean bypassUserPolicyChecks = false; in testReadAndWriteConfiguration_currentUser()
320 currentUserConfig.getUserId(), bypassUserPolicyChecks); in testReadAndWriteConfiguration_currentUser()
324 assertEquals(currentUserConfig.asCapabilities(bypassUserPolicyChecks), in testReadAndWriteConfiguration_currentUser()
345 currentUserConfig.getUserId(), requestedChanges, bypassUserPolicyChecks); in testReadAndWriteConfiguration_currentUser() local
347 currentUserConfig.getUserId(), requestedChanges, bypassUserPolicyChecks); in testReadAndWriteConfiguration_currentUser() local
368 final boolean bypassUserPolicyChecks = false; in testReadAndWriteConfiguration_otherUser()
[all …]
DFakeServiceConfigAccessor.java63 boolean bypassUserPolicyChecks) { in updateConfiguration() argument
72 TimeZoneCapabilities capabilities = toUpdate.asCapabilities(bypassUserPolicyChecks); in updateConfiguration()
/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorService.java149 final boolean bypassUserPolicyChecks = false; in getTimeCapabilitiesAndConfig()
150 return mTimeDetectorStrategy.getCapabilitiesAndConfig(userId, bypassUserPolicyChecks); in getTimeCapabilitiesAndConfig()
175 final boolean bypassUserPolicyChecks = false; in updateConfiguration()
177 resolvedUserId, configuration, bypassUserPolicyChecks); in updateConfiguration()
326 final boolean bypassUserPolicyChecks = false; in setManualTime()
328 userId, suggestion, bypassUserPolicyChecks); in setManualTime()
350 final boolean bypassUserPolicyChecks = false; in suggestManualTime()
352 userId, timeSignal, bypassUserPolicyChecks); in suggestManualTime()
DTimeDetectorStrategy.java114 @UserIdInt int userId, boolean bypassUserPolicyChecks); in getCapabilitiesAndConfig() argument
132 @NonNull TimeConfiguration configuration, boolean bypassUserPolicyChecks); in updateConfiguration() argument
147 boolean bypassUserPolicyChecks); in suggestManualTime() argument
DConfigurationInternal.java175 public TimeCapabilitiesAndConfig createCapabilitiesAndConfig(boolean bypassUserPolicyChecks) { in createCapabilitiesAndConfig() argument
177 timeCapabilities(bypassUserPolicyChecks), timeConfiguration()); in createCapabilitiesAndConfig()
180 private TimeCapabilities timeCapabilities(boolean bypassUserPolicyChecks) { in timeCapabilities() argument
184 boolean allowConfigDateTime = isUserConfigAllowed() || bypassUserPolicyChecks; in timeCapabilities()
DTimeDetectorStrategyImpl.java261 boolean bypassUserPolicyChecks) { in suggestManualTime() argument
276 currentUserConfig.createCapabilitiesAndConfig(bypassUserPolicyChecks); in suggestManualTime()
439 boolean bypassUserPolicyChecks) {
451 return configurationInternal.createCapabilitiesAndConfig(bypassUserPolicyChecks);
456 @NonNull TimeConfiguration configuration, boolean bypassUserPolicyChecks) {
459 userId, configuration, bypassUserPolicyChecks);
469 + ", bypassUserPolicyChecks=" + bypassUserPolicyChecks;
562 final boolean bypassUserPolicyChecks = false;
564 + mCurrentConfigurationInternal.createCapabilitiesAndConfig(bypassUserPolicyChecks)
DServiceConfigAccessor.java64 boolean bypassUserPolicyChecks); in updateConfiguration() argument
DServiceConfigAccessorImpl.java225 @NonNull TimeConfiguration requestedConfiguration, boolean bypassUserPolicyChecks) { in updateConfiguration() argument
229 .createCapabilitiesAndConfig(bypassUserPolicyChecks); in updateConfiguration()