Searched refs:mNetworkPolicyEditor (Results 1 – 3 of 3) sorted by relevance
65 private NetworkPolicyEditor mNetworkPolicyEditor; field in AppDataUsageFragmentTest95 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.TestAppDataUsageFragment159 fragment.mNetworkPolicyEditor = networkPolicyEditor; in newInstance()166 return mNetworkPolicyEditor; in getNetworkPolicyEditor()
73 private NetworkPolicyEditor mNetworkPolicyEditor; field in BillingCycleSettingsTest132 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()
39 private NetworkPolicyEditor mNetworkPolicyEditor; field in DataWarningAndLimitBasePreferenceController49 return mNetworkPolicyEditor; in getNetworkPolicyEditor()54 mNetworkPolicyEditor = networkPolicyEditor; in setNetworkPolicyEditor()