Searched refs:mddFlags (Results 1 – 4 of 4) sorted by relevance
61 MddFlags mddFlags = new MddFlags(); in testMaintenanceGcmTaskPeriod() local62 assertThat(mddFlags.maintenanceGcmTaskPeriod()) in testMaintenanceGcmTaskPeriod()73 assertThat(mddFlags.maintenanceGcmTaskPeriod()).isEqualTo(phOverridingValue); in testMaintenanceGcmTaskPeriod()79 MddFlags mddFlags = new MddFlags(); in testChargingGcmTaskPeriod() local80 assertThat(mddFlags.chargingGcmTaskPeriod()) in testChargingGcmTaskPeriod()91 assertThat(mddFlags.chargingGcmTaskPeriod()).isEqualTo(phOverridingValue); in testChargingGcmTaskPeriod()97 MddFlags mddFlags = new MddFlags(); in testCellularChargingGcmTaskPeriod() local98 assertThat(mddFlags.cellularChargingGcmTaskPeriod()) in testCellularChargingGcmTaskPeriod()109 assertThat(mddFlags.cellularChargingGcmTaskPeriod()).isEqualTo(phOverridingValue); in testCellularChargingGcmTaskPeriod()115 MddFlags mddFlags = new MddFlags(); in testWifiChargingGcmTaskPeriod() local[all …]
31 OnDevicePersonalizationMddFlags mddFlags = new OnDevicePersonalizationMddFlags(); in testDownloaderEnforceHttps() local32 assertFalse(mddFlags.downloaderEnforceHttps()); in testDownloaderEnforceHttps()37 OnDevicePersonalizationMddFlags mddFlags = new OnDevicePersonalizationMddFlags(); in testEnableSideloading() local38 assertTrue(mddFlags.enableSideloading()); in testEnableSideloading()
165 Flags mddFlags = new Flags() {}; in scheduleAllMddJobs() local171 scheduleMaintenanceJob(scheduler, mddFlags); in scheduleAllMddJobs()172 scheduleChargingJob(scheduler, mddFlags); in scheduleAllMddJobs()173 scheduleCellularChargingJob(scheduler, mddFlags); in scheduleAllMddJobs()174 scheduleWifiChargingJob(scheduler, mddFlags); in scheduleAllMddJobs()
313 MddFlags mddFlags = MddFlags.getInstance(); in scheduleIfNeededMddSingleTask() local317 mddFlags.maintenanceGcmTaskPeriod() * MILLISECONDS_IN_SECOND; in scheduleIfNeededMddSingleTask()321 mddFlags.chargingGcmTaskPeriod() * MILLISECONDS_IN_SECOND; in scheduleIfNeededMddSingleTask()325 mddFlags.cellularChargingGcmTaskPeriod() * MILLISECONDS_IN_SECOND; in scheduleIfNeededMddSingleTask()329 mddFlags.wifiChargingGcmTaskPeriod() * MILLISECONDS_IN_SECOND; in scheduleIfNeededMddSingleTask()