Searched refs:networkStatsRepository (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/lib/ |
D | AppDataUsageDetailsRepositoryTest.kt | 44 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>()
|
D | AppDataUsageSummaryRepositoryTest.kt | 37 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/ |
D | NetworkCycleDataRepository.kt | 36 private val networkStatsRepository: NetworkStatsRepository = constant 48 networkStatsRepository.getTimeRange().asFourWeeks() in queryCyclesAsFourWeeks() 59 usage = networkStatsRepository.querySummaryForDevice(range.lower, range.upper), in queryUsage()
|
D | AppDataUsageSummaryRepository.kt | 32 private val networkStatsRepository: NetworkStatsRepository = in querySummary() constant 38 networkStatsRepository.queryAggregateForUid(range = AllTimeRange, uid = it) in querySummary()
|
D | AppDataUsageDetailsRepository.kt | 37 private val networkStatsRepository: NetworkStatsRepository = constant 50 val buckets = networkStatsRepository.queryBuckets(range.lower, range.upper) in queryDetails()
|
D | AppDataUsageRepository.kt | 43 private val networkStatsRepository = NetworkStatsRepository(context, template) in <lambda>() constant 46 val buckets = networkStatsRepository.queryBuckets(startTime, endTime) in <lambda>()
|