Home
last modified time | relevance | path

Searched refs:NetworkStatsRepository (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageListViewModel.kt24 import com.android.settings.datausage.lib.NetworkStatsRepository in <lambda>()
25 import com.android.settings.datausage.lib.NetworkStatsRepository.Companion.Bucket in <lambda>()
26 import com.android.settings.datausage.lib.NetworkStatsRepository.Companion.filterTime in <lambda>()
49 NetworkStatsRepository(getApplication(), template).queryDetailsForDevice() in <lambda>()
DDataPlanRepository.kt23 import com.android.settings.datausage.lib.NetworkStatsRepository in <lambda>()
53 cycle ?: NetworkStatsRepository.AllTimeRange in getDataPlanInfo()
/packages/apps/Settings/src/com/android/settings/datausage/lib/
DAppDataUsageSummaryRepository.kt22 import com.android.settings.datausage.lib.NetworkStatsRepository.Companion.AllTimeRange
32 private val networkStatsRepository: NetworkStatsRepository = in querySummary()
33 NetworkStatsRepository(context, template), in querySummary()
DNetworkCycleBucketRepository.kt25 import com.android.settings.datausage.lib.NetworkStatsRepository.Companion.Bucket
26 import com.android.settings.datausage.lib.NetworkStatsRepository.Companion.aggregate
27 import com.android.settings.datausage.lib.NetworkStatsRepository.Companion.filterTime
DAppDataUsageDetailsRepository.kt37 private val networkStatsRepository: NetworkStatsRepository =
38 NetworkStatsRepository(context, template),
DNetworkCycleDataRepository.kt36 private val networkStatsRepository: NetworkStatsRepository =
37 NetworkStatsRepository(context, networkTemplate),
DAppDataUsageRepository.kt32 import com.android.settings.datausage.lib.NetworkStatsRepository.Companion.Bucket in <lambda>()
43 private val networkStatsRepository = NetworkStatsRepository(context, template) in <lambda>()
DNetworkStatsRepository.kt26 class NetworkStatsRepository(context: Context, private val template: NetworkTemplate) { class
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/lib/
DAppDataUsageSummaryRepositoryTest.kt37 private val networkStatsRepository = mock<NetworkStatsRepository> { in <lambda>()
39 queryAggregateForUid(range = NetworkStatsRepository.AllTimeRange, uid = APP_UID) in <lambda>()
43 queryAggregateForUid(range = NetworkStatsRepository.AllTimeRange, uid = SDK_SANDBOX_UID) in <lambda>()
DAppDataUsageDetailsRepositoryTest.kt32 import com.android.settings.datausage.lib.NetworkStatsRepository.Companion.Bucket
44 private val networkStatsRepository = mock<NetworkStatsRepository>()
DNetworkStatsRepositoryTest.kt44 private val repository = NetworkStatsRepository(context, template)
DNetworkCycleDataRepositoryTest.kt40 private val mockNetworkStatsRepository = mock<NetworkStatsRepository> { in <lambda>()
DAppDataUsageRepositoryTest.kt29 import com.android.settings.datausage.lib.NetworkStatsRepository.Companion.Bucket
DNetworkCycleBucketRepositoryTest.kt26 import com.android.settings.datausage.lib.NetworkStatsRepository.Companion.Bucket
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDataUsagePreferenceController.kt36 import com.android.settings.datausage.lib.NetworkStatsRepository.Companion.AllTimeRange in <lambda>()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/
DDataUsagePreferenceControllerTest.kt36 import com.android.settings.datausage.lib.NetworkStatsRepository.Companion.AllTimeRange