Home
last modified time | relevance | path

Searched refs:networkTemplate (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppSpecificDataUsageFragment.java55 NetworkTemplate networkTemplate) { in getInstance() argument
60 bundle.putParcelable(NetworkPolicyManager.EXTRA_NETWORK_TEMPLATE, networkTemplate); in getInstance()
76 NetworkTemplate networkTemplate = getArguments().getParcelable( in onAttach() local
78 if (networkTemplate == null) { in onAttach()
82 networkTemplate = DataUsageUtils.getMobileNetworkTemplate(telephonyManager, in onAttach()
86 mAppSpecificDataUsageManager = new AppSpecificDataUsageManager(context, networkTemplate, in onAttach()
103 .setDataUsageInfo(dataUsageController.getDataUsageInfo(networkTemplate)); in onAttach()
DDataWarningAndLimitBasePreferenceController.java63 public void setNetworkTemplate(NetworkTemplate networkTemplate) { in setNetworkTemplate() argument
64 mNetworkTemplate = networkTemplate; in setNetworkTemplate()
DDataUsageCycleManager.java57 DataUsageCycleManager(Context context, NetworkTemplate networkTemplate) { in DataUsageCycleManager() argument
59 mNetworkTemplate = networkTemplate; in DataUsageCycleManager()
DAppSpecificDataUsageManager.java58 AppSpecificDataUsageManager(Context context, NetworkTemplate networkTemplate, int uid) { in AppSpecificDataUsageManager() argument
60 mNetworkTemplate = networkTemplate; in AppSpecificDataUsageManager()
DAppDataUsagePreferenceController.java115 public void setNetworkTemplate(NetworkTemplate networkTemplate) { in setNetworkTemplate() argument
116 mNetworkTemplate = networkTemplate; in setNetworkTemplate()
/packages/apps/Settings/src/com/android/settings/network/policy/
DNetworkPolicyRepository.kt31 fun getNetworkPolicy(networkTemplate: NetworkTemplate): NetworkPolicy? = in <lambda>()
32 networkPolicyManager.networkPolicies.find { policy -> policy.template == networkTemplate } in <lambda>()
34 fun networkPolicyFlow(networkTemplate: NetworkTemplate): Flow<NetworkPolicy?> = flow { in <lambda>()
35 emit(getNetworkPolicy(networkTemplate)) in <lambda>()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDataUsagePreferenceController.kt49 private var networkTemplate: NetworkTemplate? = null in <lambda>() variable
77 if (preference.key != preferenceKey || networkTemplate == null) return false in <lambda>()
80 putExtra(Settings.EXTRA_NETWORK_TEMPLATE, networkTemplate) in <lambda>()
89 networkTemplate = getNetworkTemplate() in <lambda>()
106 networkTemplate?.let { NetworkCycleDataRepository(mContext, it) } in <lambda>()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppDataUsagePreference.kt55 networkTemplate: NetworkTemplate, in <lambda>()
56 ) -> IAppDataUsageSummaryRepository = { context, networkTemplate -> in <lambda>() method
57 AppDataUsageSummaryRepository(context, networkTemplate) in <lambda>()
89 networkTemplate: NetworkTemplate,
/packages/apps/Settings/src/com/android/settings/datausage/lib/
DNetworkCycleDataRepository.kt35 private val networkTemplate: NetworkTemplate, constant
37 NetworkStatsRepository(context, networkTemplate),
53 getPolicy(networkTemplate) in queryCyclesAsFourWeeks()
DNetworkCycleBucketRepository.kt31 networkTemplate: NetworkTemplate,
34 NetworkCycleDataRepository(context, networkTemplate)
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceController.kt67 private val networkTemplate by lazy { getMobileTemplate(mContext, mSubId) } in <lambda>() constant
70 networkCycleDataRepositoryFactory(networkTemplate) in <lambda>()
84 networkPolicyRepository.networkPolicyFlow(networkTemplate) in onViewCreated()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/
DDataUsagePreferenceControllerTest.kt68 private val networkTemplate = mock<NetworkTemplate>() constant in com.android.settings.network.telephony.DataUsagePreferenceControllerTest
87 ExtendedMockito.doReturn(networkTemplate).`when` { in setUp()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/lib/
DNetworkCycleBucketRepositoryTest.kt47 networkTemplate = template, in createRepository()