/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
D | TimeZoneDetectorInternalImpl.java | 53 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()
|
D | TimeZoneDetectorStrategy.java | 123 @UserIdInt int userId, boolean bypassUserPolicyChecks); in getCapabilitiesAndConfig() argument 141 boolean bypassUserPolicyChecks); in updateConfiguration() argument 174 boolean bypassUserPolicyChecks); in suggestManualTimeZone() argument
|
D | TimeZoneDetectorService.java | 174 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()
|
D | TimeZoneDetectorStrategyImpl.java | 278 @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()
|
D | ServiceConfigAccessor.java | 90 boolean bypassUserPolicyChecks); in updateConfiguration() argument
|
D | ConfigurationInternal.java | 227 public TimeZoneCapabilities asCapabilities(boolean bypassUserPolicyChecks) { in asCapabilities() argument 231 boolean allowConfigDateTime = isUserConfigAllowed() || bypassUserPolicyChecks; in asCapabilities()
|
D | ServiceConfigAccessorImpl.java | 273 boolean bypassUserPolicyChecks) { in updateConfiguration() argument 278 configurationInternal.asCapabilities(bypassUserPolicyChecks); in updateConfiguration()
|
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/ |
D | ConfigurationInternalTest.java | 65 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()
|
D | FakeTimeDetectorStrategy.java | 72 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
|
D | TimeDetectorStrategyImplTest.java | 150 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 …]
|
D | FakeServiceConfigAccessor.java | 58 boolean bypassUserPolicyChecks) { in updateConfiguration() argument 68 toUpdate.createCapabilitiesAndConfig(bypassUserPolicyChecks); in updateConfiguration()
|
D | TimeDetectorInternalImplTest.java | 100 final boolean bypassUserPolicyChecks = true; in testGetCapabilitiesAndConfigForDpm() 102 testConfig.createCapabilitiesAndConfig(bypassUserPolicyChecks); in testGetCapabilitiesAndConfigForDpm()
|
D | TimeDetectorServiceTest.java | 142 boolean bypassUserPolicyChecks = false; in testGetCapabilitiesAndConfig() 144 configuration.createCapabilitiesAndConfig(bypassUserPolicyChecks); in testGetCapabilitiesAndConfig()
|
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/ |
D | ConfigurationInternalTest.java | 60 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 …]
|
D | FakeTimeZoneDetectorStrategy.java | 59 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
|
D | TimeZoneDetectorStrategyImplTest.java | 234 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 …]
|
D | FakeServiceConfigAccessor.java | 63 boolean bypassUserPolicyChecks) { in updateConfiguration() argument 72 TimeZoneCapabilities capabilities = toUpdate.asCapabilities(bypassUserPolicyChecks); in updateConfiguration()
|
/frameworks/base/services/core/java/com/android/server/timedetector/ |
D | TimeDetectorService.java | 149 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()
|
D | TimeDetectorStrategy.java | 114 @UserIdInt int userId, boolean bypassUserPolicyChecks); in getCapabilitiesAndConfig() argument 132 @NonNull TimeConfiguration configuration, boolean bypassUserPolicyChecks); in updateConfiguration() argument 147 boolean bypassUserPolicyChecks); in suggestManualTime() argument
|
D | ConfigurationInternal.java | 175 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()
|
D | TimeDetectorStrategyImpl.java | 261 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)
|
D | ServiceConfigAccessor.java | 64 boolean bypassUserPolicyChecks); in updateConfiguration() argument
|
D | ServiceConfigAccessorImpl.java | 225 @NonNull TimeConfiguration requestedConfiguration, boolean bypassUserPolicyChecks) { in updateConfiguration() argument 229 .createCapabilitiesAndConfig(bypassUserPolicyChecks); in updateConfiguration()
|