/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | AppSpecificDataUsageFragment.java | 55 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()
|
D | DataWarningAndLimitBasePreferenceController.java | 63 public void setNetworkTemplate(NetworkTemplate networkTemplate) { in setNetworkTemplate() argument 64 mNetworkTemplate = networkTemplate; in setNetworkTemplate()
|
D | DataUsageCycleManager.java | 57 DataUsageCycleManager(Context context, NetworkTemplate networkTemplate) { in DataUsageCycleManager() argument 59 mNetworkTemplate = networkTemplate; in DataUsageCycleManager()
|
D | AppSpecificDataUsageManager.java | 58 AppSpecificDataUsageManager(Context context, NetworkTemplate networkTemplate, int uid) { in AppSpecificDataUsageManager() argument 60 mNetworkTemplate = networkTemplate; in AppSpecificDataUsageManager()
|
D | AppDataUsagePreferenceController.java | 115 public void setNetworkTemplate(NetworkTemplate networkTemplate) { in setNetworkTemplate() argument 116 mNetworkTemplate = networkTemplate; in setNetworkTemplate()
|
/packages/apps/Settings/src/com/android/settings/network/policy/ |
D | NetworkPolicyRepository.kt | 31 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/ |
D | DataUsagePreferenceController.kt | 49 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/ |
D | AppDataUsagePreference.kt | 55 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/ |
D | NetworkCycleDataRepository.kt | 35 private val networkTemplate: NetworkTemplate, constant 37 NetworkStatsRepository(context, networkTemplate), 53 getPolicy(networkTemplate) in queryCyclesAsFourWeeks()
|
D | NetworkCycleBucketRepository.kt | 31 networkTemplate: NetworkTemplate, 34 NetworkCycleDataRepository(context, networkTemplate)
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceController.kt | 67 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/ |
D | DataUsagePreferenceControllerTest.kt | 68 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/ |
D | NetworkCycleBucketRepositoryTest.kt | 47 networkTemplate = template, in createRepository()
|