Home
last modified time | relevance | path

Searched refs:networkStatsRepository (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/lib/
DAppDataUsageDetailsRepositoryTest.kt44 private val networkStatsRepository = mock<NetworkStatsRepository>() constant in com.android.settings.datausage.lib.AppDataUsageDetailsRepositoryTest
48 networkStatsRepository.stub { in <lambda>()
72 networkStatsRepository = networkStatsRepository, in <lambda>()
89 networkStatsRepository.stub { in <lambda>()
113 networkStatsRepository = networkStatsRepository, in <lambda>()
130 networkStatsRepository.stub { in <lambda>()
146 networkStatsRepository = networkStatsRepository, in <lambda>()
DAppDataUsageSummaryRepositoryTest.kt37 private val networkStatsRepository = mock<NetworkStatsRepository> { in <lambda>() constant in com.android.settings.datausage.lib.AppDataUsageSummaryRepositoryTest
48 AppDataUsageSummaryRepository(context, template, networkStatsRepository)
/packages/apps/Settings/src/com/android/settings/datausage/lib/
DNetworkCycleDataRepository.kt36 private val networkStatsRepository: NetworkStatsRepository = constant
48 networkStatsRepository.getTimeRange().asFourWeeks() in queryCyclesAsFourWeeks()
59 usage = networkStatsRepository.querySummaryForDevice(range.lower, range.upper), in queryUsage()
DAppDataUsageSummaryRepository.kt32 private val networkStatsRepository: NetworkStatsRepository = in querySummary() constant
38 networkStatsRepository.queryAggregateForUid(range = AllTimeRange, uid = it) in querySummary()
DAppDataUsageDetailsRepository.kt37 private val networkStatsRepository: NetworkStatsRepository = constant
50 val buckets = networkStatsRepository.queryBuckets(range.lower, range.upper) in queryDetails()
DAppDataUsageRepository.kt43 private val networkStatsRepository = NetworkStatsRepository(context, template) in <lambda>() constant
46 val buckets = networkStatsRepository.queryBuckets(startTime, endTime) in <lambda>()