Home
last modified time | relevance | path

Searched refs:TimeSource (Results 1 – 25 of 42) sorted by relevance

12

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DTestTimeSource.kt20 import com.android.healthconnect.controller.utils.TimeSource
32 object TestTimeSource : TimeSource {
64 @Provides @Singleton fun providesTestTimeSource(): TimeSource = TestTimeSource
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DSystemTimeSource.kt30 object SystemTimeSource : TimeSource {
55 fun providesSystemTimeSourceModule(): TimeSource { in providesSystemTimeSourceModule()
DTimeSource.kt23 interface TimeSource { interface
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/autodelete/
DAutoDeleteRange.kt18 import com.android.healthconnect.controller.utils.TimeSource in <lambda>()
56 fun autoDeleteRangeEnd(timeSource: TimeSource, range: AutoDeleteRange): Instant { in autoDeleteRangeEnd()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DLoadRecentAccessUseCase.kt24 import com.android.healthconnect.controller.utils.TimeSource in <lambda>()
39 private val timeSource: TimeSource in <lambda>()
DRecentAccessPreference.kt28 import com.android.healthconnect.controller.utils.TimeSource
41 private val timeSource: TimeSource,
DRecentAccessFragment.kt36 import com.android.healthconnect.controller.utils.TimeSource in <lambda>()
59 @Inject lateinit var timeSource: TimeSource in <lambda>()
DRecentAccessViewModel.kt30 import com.android.healthconnect.controller.utils.TimeSource in <lambda>()
45 private val timeSource: TimeSource in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/autodelete/
DAutoDeleteRangeTest.kt23 import com.android.healthconnect.controller.utils.TimeSource
30 private val timeSource: TimeSource = TestTimeSource
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionStorageTimeChangeReceiver.kt28 import com.android.permissioncontroller.permission.utils.TimeSource
44 private val timeSource: TimeSource = SystemTimeSource()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/mdd/
DMobileDataDownloadFactory.java29 import com.google.android.libraries.mobiledatadownload.TimeSource;
95 return new NetworkUsageMonitor(context, new TimeSource() { in getNetworkUsageMonitor()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/
DDateNavigationViewTest.kt28 import com.android.healthconnect.controller.utils.TimeSource
51 private val timeSource: TimeSource = TestTimeSource
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/api/
DLoadLastDateWithPriorityDataUseCase.kt27 import com.android.healthconnect.controller.utils.TimeSource in <lambda>()
45 private val timeSource: TimeSource, in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DTimeSource.kt20 interface TimeSource { interface
DSystemTimeSource.kt22 class SystemTimeSource : TimeSource {
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DDateNavigationView.kt31 import com.android.healthconnect.controller.utils.TimeSource in <lambda>()
50 private val timeSource: TimeSource = SystemTimeSource in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/service/
DUseCaseModule.kt79 import com.android.healthconnect.controller.utils.TimeSource
94 timeSource: TimeSource in providesLoadRecentAccessUseCase()
225 timeSource: TimeSource, in providesLoadLastDateWithPriorityDataUseCase()
/packages/services/Car/service/src/com/android/car/watchdog/
DTimeSource.java27 public abstract class TimeSource { class
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/datenavigation/
DDatePickerSpinnerAdapter.kt14 import com.android.healthconnect.controller.utils.TimeSource
27 private val timeSource: TimeSource = SystemTimeSource
DDateNavigationView.kt32 import com.android.healthconnect.controller.utils.TimeSource
52 private val timeSource: TimeSource = SystemTimeSource
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/
DPermissionStorageTimeChangeReceiverTest.kt36 import com.android.permissioncontroller.permission.utils.TimeSource
173 ) : TimeSource {
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/preference/
DAggregationDataCard.kt30 import com.android.healthconnect.controller.utils.TimeSource
43 private val timeSource: TimeSource = SystemTimeSource
/packages/services/Car/tests/carservice_test/src/com/android/car/os/
DCarPerformanceManagerTest.java42 import com.android.car.watchdog.TimeSource;
61 private static final class TestTimeSource extends TimeSource {
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/
DLoadEntriesHelper.kt37 import com.android.healthconnect.controller.utils.TimeSource in <lambda>()
60 private val timeSource: TimeSource = SystemTimeSource in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/datenavigation/
DDateNavigationViewTest.kt31 import com.android.healthconnect.controller.utils.TimeSource
54 private val timeSource: TimeSource = TestTimeSource

12