Searched refs:requestedChanges (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/app/time/ |
D | TimeZoneCapabilities.java | 161 @NonNull TimeZoneConfiguration requestedChanges) { in tryApplyConfigChanges() argument 163 if (requestedChanges.hasIsAutoDetectionEnabled()) { in tryApplyConfigChanges() 167 newConfigBuilder.setAutoDetectionEnabled(requestedChanges.isAutoDetectionEnabled()); in tryApplyConfigChanges() 170 if (requestedChanges.hasIsGeoDetectionEnabled()) { in tryApplyConfigChanges() 174 newConfigBuilder.setGeoDetectionEnabled(requestedChanges.isGeoDetectionEnabled()); in tryApplyConfigChanges()
|
D | TimeCapabilities.java | 118 @NonNull TimeConfiguration requestedChanges) { in tryApplyConfigChanges() argument 120 if (requestedChanges.hasIsAutoDetectionEnabled()) { in tryApplyConfigChanges() 124 newConfigBuilder.setAutoDetectionEnabled(requestedChanges.isAutoDetectionEnabled()); in tryApplyConfigChanges()
|
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/ |
D | FakeServiceConfigAccessor.java | 57 @UserIdInt int userId, @NonNull TimeConfiguration requestedChanges, in updateConfiguration() argument 60 assertNotNull(requestedChanges); in updateConfiguration() 72 capabilities.tryApplyConfigChanges(configuration, requestedChanges); in updateConfiguration()
|
D | TimeDetectorStrategyImplTest.java | 172 TimeConfiguration requestedChanges = in testChangeListenerBehavior() local 175 ARBITRARY_USER_ID, requestedChanges, bypassUserPolicyChecks); in testChangeListenerBehavior() 215 TimeConfiguration requestedChanges = new TimeConfiguration.Builder() in testReadAndWriteConfiguration() local 225 currentUserConfig.getUserId(), requestedChanges, bypassUserPolicyChecks); in testReadAndWriteConfiguration() local 227 currentUserConfig.getUserId(), requestedChanges, bypassUserPolicyChecks); in testReadAndWriteConfiguration() local
|
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/ |
D | FakeServiceConfigAccessor.java | 62 @UserIdInt int userId, @NonNull TimeZoneConfiguration requestedChanges, in updateConfiguration() argument 65 assertNotNull(requestedChanges); in updateConfiguration() 75 capabilities.tryApplyConfigChanges(configuration, requestedChanges); in updateConfiguration()
|
D | FakeTimeZoneDetectorStrategy.java | 71 public boolean updateConfiguration(int userId, TimeZoneConfiguration requestedChanges, in updateConfiguration() argument 74 userId, requestedChanges, bypassUserPolicyChecks); in updateConfiguration()
|
D | TimeZoneDetectorStrategyImplTest.java | 256 TimeZoneConfiguration requestedChanges = in testChangeListenerBehavior_currentUser() local 259 USER_ID, requestedChanges, bypassUserPolicyChecks); in testChangeListenerBehavior_currentUser() 285 TimeZoneConfiguration requestedChanges = in testChangeListenerBehavior_otherUser() local 288 otherUserId, requestedChanges, bypassUserPolicyChecks); in testChangeListenerBehavior_otherUser() 335 TimeZoneConfiguration requestedChanges = new TimeZoneConfiguration.Builder() in testReadAndWriteConfiguration_currentUser() local 345 currentUserConfig.getUserId(), requestedChanges, bypassUserPolicyChecks); in testReadAndWriteConfiguration_currentUser() local 347 currentUserConfig.getUserId(), requestedChanges, bypassUserPolicyChecks); in testReadAndWriteConfiguration_currentUser() local 391 TimeZoneConfiguration requestedChanges = new TimeZoneConfiguration.Builder() in testReadAndWriteConfiguration_otherUser() local 397 currentUserConfig.getUserId(), requestedChanges, bypassUserPolicyChecks); in testReadAndWriteConfiguration_otherUser() local 399 currentUserConfig.getUserId(), requestedChanges, bypassUserPolicyChecks); in testReadAndWriteConfiguration_otherUser() local
|