Home
last modified time | relevance | path

Searched refs:TimeDetector (Results 1 – 19 of 19) sorted by relevance

/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DLeanbackPickerDialogFragment.java20 import android.app.timedetector.TimeDetector;
138 TimeDetector timeDetector = getContext().getSystemService(TimeDetector.class); in onCreateView()
139 ManualTimeSuggestion manualTimeSuggestion = TimeDetector.createManualTimeSuggestion( in onCreateView()
166 TimeDetector timeDetector = getContext().getSystemService(TimeDetector.class); in onCreateView()
167 ManualTimeSuggestion manualTimeSuggestion = TimeDetector.createManualTimeSuggestion( in onCreateView()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
H A DGnssTimeUpdateServiceTest.java30 import android.app.timedetector.TimeDetector;
59 @Mock private TimeDetector mMockTimeDetector;
73 when(mMockContext.getSystemServiceName(TimeDetector.class)) in setUp()
74 .thenReturn((TimeDetector.class).getSimpleName()); in setUp()
75 when(mMockContext.getSystemService(TimeDetector.class)) in setUp()
/aosp12/packages/apps/Settings/src/com/android/settings/datetime/
H A DTimePreferenceController.java22 import android.app.timedetector.TimeDetector;
121 TimeDetector timeDetector = mContext.getSystemService(TimeDetector.class); in setTime()
123 TimeDetector.createManualTimeSuggestion(when, "Settings: Set time"); in setTime()
H A DDatePreferenceController.java22 import android.app.timedetector.TimeDetector;
123 TimeDetector timeDetector = mContext.getSystemService(TimeDetector.class); in setDate()
125 TimeDetector.createManualTimeSuggestion(when, "Settings: Set date"); in setDate()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
H A DDatePickerFragment.java19 import android.app.timedetector.TimeDetector;
61 TimeDetector timeDetector = in onStop()
62 getContext().getSystemService(TimeDetector.class); in onStop()
64 TimeDetector.createManualTimeSuggestion(when, "Settings: Set date"); in onStop()
H A DTimePickerFragment.java20 import android.app.timedetector.TimeDetector;
64 TimeDetector timeDetector = in onStop()
65 getContext().getSystemService(TimeDetector.class); in onStop()
67 TimeDetector.createManualTimeSuggestion(when, "Settings: Set time"); in onStop()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/
H A DDatePreferenceControllerTest.java24 import android.app.timedetector.TimeDetector;
43 private TimeDetector mTimeDetector;
55 when(mContext.getSystemService(TimeDetector.class)).thenReturn(mTimeDetector); in setUp()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
H A DTimeServiceHelperImpl.java22 import android.app.timedetector.TimeDetector;
43 private final TimeDetector mTimeDetector;
60 mTimeDetector = Objects.requireNonNull(context.getSystemService(TimeDetector.class)); in TimeServiceHelperImpl()
/aosp12/frameworks/base/services/core/java/com/android/server/timedetector/
H A DGnssTimeUpdateService.java23 import android.app.timedetector.TimeDetector;
91 private final TimeDetector mTimeDetector;
103 mTimeDetector = mContext.getSystemService(TimeDetector.class); in GnssTimeUpdateService()
H A DTimeDetectorShellCommand.java18 import static android.app.timedetector.TimeDetector.SHELL_COMMAND_IS_AUTO_DETECTION_ENABLED;
19 import static android.app.timedetector.TimeDetector.SHELL_COMMAND_SERVICE_NAME;
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DNetworkTimeUpdateService.java22 import android.app.timedetector.TimeDetector;
77 private final TimeDetector mTimeDetector;
102 mTimeDetector = mContext.getSystemService(TimeDetector.class); in NetworkTimeUpdateService()
/aosp12/frameworks/base/core/java/android/app/timedetector/
H A DTimeDetector.java32 public interface TimeDetector { interface
H A DTimeDetectorImpl.java31 public final class TimeDetectorImpl implements TimeDetector {
/aosp12/frameworks/base/core/java/android/app/
H A DSystemServiceRegistry.java39 import android.app.timedetector.TimeDetector;
1286 registerService(Context.TIME_DETECTOR_SERVICE, TimeDetector.class, in registerService()
1287 new CachedServiceFetcher<TimeDetector>() { in registerService()
1289 public TimeDetector createService(ContextImpl ctx) in registerService()
/aosp12/frameworks/base/boot/
H A Dpreloaded-classes962 android.app.timedetector.TimeDetector
H A Dboot-image-profile.txt23783 Landroid/app/timedetector/TimeDetector;
/aosp12/frameworks/base/config/
H A Dpreloaded-classes959 android.app.timedetector.TimeDetector
H A Dboot-image-profile.txt33416 Landroid/app/timedetector/TimeDetector;
/aosp12/frameworks/base/services/
H A Dart-profile2305 …ang/StringBuilder;Ljava/lang/StringBuilder;]Landroid/app/timedetector/TimeDetector;Landroid/app/ti…