Home
last modified time | relevance | path

Searched refs:withPeriodInDays (Results 1 – 9 of 9) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/exportimport/
DExportImportJobsTest.java73 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(0)); in schedulePeriodicExportJob_withPeriodZero_doesNotScheduleExportJob()
82 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(1)); in schedulePeriodicExportJob_withPeriodGreaterThanZero_schedulesExportJob()
94 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(0)); in executePeriodicExportJob_withPeriodZero_doesNotRunExport()
104 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(0)); in executePeriodicExportJob_withPeriodZero_returnsTrue()
114 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(1)); in executePeriodicExportJob_withPeriodGreaterThanZero_runsExport()
124 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(1)); in executePeriodicExportJob_successfulExport_returnsTrue()
135 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(1)); in executePeriodicExportJob_failedExport_returnsFalse()
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/exportimport/
DScheduledExportSettingsTest.java51 ScheduledExportSettings settings = ScheduledExportSettings.withPeriodInDays(7); in testWithPeriodInDays()
78 ScheduledExportSettings settingsA = ScheduledExportSettings.withPeriodInDays(7); in testEquals_andHashCode_withPeriodInDays()
79 ScheduledExportSettings settingsB = ScheduledExportSettings.withPeriodInDays(7); in testEquals_andHashCode_withPeriodInDays()
87 ScheduledExportSettings settingsA = ScheduledExportSettings.withPeriodInDays(7); in testEquals_andHashCode_withDifferentPeriodInDays()
88 ScheduledExportSettings settingsB = ScheduledExportSettings.withPeriodInDays(8); in testEquals_andHashCode_withDifferentPeriodInDays()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/
DExportImportSettingsStorageTest.java69 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(7)); in testConfigure_uri_keepsOtherSettings()
79 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(7)); in testConfigure_periodInDays()
89 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(7)); in testConfigure_periodInDays_keepsOtherSettings()
98 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(7)); in testConfigure_clear()
108 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(1)); in testGetScheduledExportPeriodInDays()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/exportimport/
DScheduledExportFragmentTest.kt159 ScheduledExportSettings.withPeriodInDays( in <lambda>()
184 ScheduledExportSettings.withPeriodInDays( in <lambda>()
191 ScheduledExportSettings.withPeriodInDays( in <lambda>()
207 ScheduledExportSettings.withPeriodInDays( in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/exportimport/api/
DUpdateExportSettingsUseCaseTest.kt57 ScheduledExportSettings.withPeriodInDays( in <lambda>()
74 ScheduledExportSettings.withPeriodInDays( in <lambda>()
DLoadExportSettingsUseCaseTest.kt56 ScheduledExportSettings.withPeriodInDays( in <lambda>()
/packages/modules/HealthFitness/framework/java/android/health/connect/exportimport/
DScheduledExportSettings.java78 public static ScheduledExportSettings withPeriodInDays( in withPeriodInDays() method in ScheduledExportSettings
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/exportimport/api/
DExportSettingsViewModel.kt124 val settings = ScheduledExportSettings.withPeriodInDays(frequency.periodInDays) in updateExportFrequency()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/
DFakeComponents.kt462 ScheduledExportSettings.withPeriodInDays(EXPORT_FREQUENCY_NEVER.periodInDays)
473 ScheduledExportSettings.withPeriodInDays(EXPORT_FREQUENCY_NEVER.periodInDays) in reset()