Tidy-ups and refactoring
Extracted changes to reduce the size of upcoming changes. These do not alter behavior. The biggest change is associated with async execution of logic in the time_detector. The time_zone_detector will need something similar soon and this new approach is easier to test. Changing the time_detector will ensure consistency. Other changes are renames of parameters, variables and javadoc improvements. Bug: 222295093 Test: atest services/tests/servicestests/src/com/android/server/timezonedetector/TimeZoneDetectorStrategyImplTest.java Change-Id: Ibedeafa10f7d73bbdaf6055073c7cf1a79026e83
Showing
- services/core/java/com/android/server/timedetector/GnssTimeUpdateService.java 4 additions, 4 deletions...om/android/server/timedetector/GnssTimeUpdateService.java
- services/core/java/com/android/server/timedetector/TimeDetectorInternal.java 14 additions, 6 deletions...com/android/server/timedetector/TimeDetectorInternal.java
- services/core/java/com/android/server/timedetector/TimeDetectorInternalImpl.java 9 additions, 9 deletions...android/server/timedetector/TimeDetectorInternalImpl.java
- services/core/java/com/android/server/timedetector/TimeDetectorService.java 6 additions, 6 deletions.../com/android/server/timedetector/TimeDetectorService.java
- services/core/java/com/android/server/timedetector/TimeDetectorStrategy.java 10 additions, 6 deletions...com/android/server/timedetector/TimeDetectorStrategy.java
- services/core/java/com/android/server/timedetector/TimeDetectorStrategyImpl.java 20 additions, 20 deletions...android/server/timedetector/TimeDetectorStrategyImpl.java
- services/core/java/com/android/server/timezonedetector/EnvironmentImpl.java 11 additions, 1 deletion.../com/android/server/timezonedetector/EnvironmentImpl.java
- services/core/java/com/android/server/timezonedetector/TimeZoneDetectorInternal.java 1 addition, 1 deletion...oid/server/timezonedetector/TimeZoneDetectorInternal.java
- services/core/java/com/android/server/timezonedetector/TimeZoneDetectorInternalImpl.java 3 additions, 3 deletions...server/timezonedetector/TimeZoneDetectorInternalImpl.java
- services/core/java/com/android/server/timezonedetector/TimeZoneDetectorService.java 8 additions, 8 deletions...roid/server/timezonedetector/TimeZoneDetectorService.java
- services/core/java/com/android/server/timezonedetector/TimeZoneDetectorStrategyImpl.java 10 additions, 10 deletions...server/timezonedetector/TimeZoneDetectorStrategyImpl.java
- services/tests/servicestests/src/com/android/server/timedetector/FakeTimeDetectorStrategy.java 5 additions, 5 deletions...android/server/timedetector/FakeTimeDetectorStrategy.java
- services/tests/servicestests/src/com/android/server/timezonedetector/TimeZoneDetectorStrategyImplTest.java 17 additions, 17 deletions...er/timezonedetector/TimeZoneDetectorStrategyImplTest.java
Loading
Please register or sign in to comment