Home
last modified time | relevance | path

Searched refs:mNetworkPolicyEditor (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DAppDataUsageFragmentTest.java65 private NetworkPolicyEditor mNetworkPolicyEditor; field in AppDataUsageFragmentTest
95 when(mNetworkPolicyEditor.getPolicy(any())).thenReturn(mNetworkPolicy); in onActivityCreated_iteratorIsEmpty_startAndEndDateShouldHaveFourWeeksDifference()
112 when(mNetworkPolicyEditor.getPolicy(any())).thenReturn(mNetworkPolicy); in onActivityCreated_iteratorIsNotEmpty_startAndEndDateShouldBeLastOneInIterator()
142 TestAppDataUsageFragment.newInstance(mNetworkPolicyEditor, mIterator), in setUpFragment()
153 private NetworkPolicyEditor mNetworkPolicyEditor; field in AppDataUsageFragmentTest.TestAppDataUsageFragment
159 fragment.mNetworkPolicyEditor = networkPolicyEditor; in newInstance()
166 return mNetworkPolicyEditor; in getNetworkPolicyEditor()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DBillingCycleSettingsTest.java73 private NetworkPolicyEditor mNetworkPolicyEditor; field in BillingCycleSettingsTest
132 billingCycleSettings.setUpForTest(mNetworkPolicyEditor, mBillingCycle, in testDataUsageSummary_shouldBeNull()
136 when(mNetworkPolicyEditor.getPolicyCycleDay(anyObject())).thenReturn(CYCLE_NONE + 1); in testDataUsageSummary_shouldBeNull()
137 when(mNetworkPolicyEditor.getPolicyLimitBytes(anyObject())).thenReturn(2000L); in testDataUsageSummary_shouldBeNull()
138 when(mNetworkPolicyEditor.getPolicyWarningBytes(anyObject())).thenReturn(1000L); in testDataUsageSummary_shouldBeNull()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataWarningAndLimitBasePreferenceController.java39 private NetworkPolicyEditor mNetworkPolicyEditor; field in DataWarningAndLimitBasePreferenceController
49 return mNetworkPolicyEditor; in getNetworkPolicyEditor()
54 mNetworkPolicyEditor = networkPolicyEditor; in setNetworkPolicyEditor()