Searched refs:getCycles (Results 1 – 7 of 7) sorted by relevance
28 fun getCycles(): List<Range<Long>> in <lambda>() method42 fun loadFirstCycle(): NetworkUsageData? = getCycles().firstOrNull()?.let { queryUsage(it) } in <lambda>()44 override fun getCycles(): List<Range<Long>> = in getCycles() method45 getPolicy()?.getCycles().orEmpty().ifEmpty { queryCyclesAsFourWeeks() } in getCycles()63 fun NetworkPolicy.getCycles() = cycleIterator().asSequence().map { in queryUsage() method
24 import com.android.settings.datausage.lib.NetworkCycleDataRepository.Companion.getCycles38 getCycles().map { aggregateUsage(it) }.filter { it.usage > 0 } in loadCycles()40 private fun getCycles(): List<Range<Long>> = in getCycles() method41 networkCycleDataRepository.getPolicy()?.getCycles().orEmpty() in getCycles()
43 getCycles().asyncMap { queryDetails(it) }.filter { it.totalUsage > 0 } in queryDetailsForCycles()45 private fun getCycles(): List<Range<Long>> = in getCycles() method47 ?: networkCycleDataRepository.getCycles()
22 import com.android.settings.datausage.lib.NetworkCycleDataRepository.Companion.getCycles in <lambda>()51 val cycle = policy.getCycles().firstOrNull() in getDataPlanInfo()
36 override fun getCycles(): List<Range<Long>> = emptyList() in getCycles() method
80 override fun getCycles(): List<Range<Long>> = emptyList() in getCycles() method in com.android.settings.datausage.DataUsageSummaryPreferenceControllerTest
41 on { getCycles() } doReturn listOf(Range(CYCLE1_END_TIME, CYCLE2_END_TIME)) in <lambda>()