Searched refs:dataSaverBackend (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataSaverSummary.kt | 32 private lateinit var dataSaverBackend: DataSaverBackend in <lambda>() variable in com.android.settings.datausage.DataSaverSummary 45 dataSaverBackend = DataSaverBackend(requireContext()) in <lambda>() 59 dataSaverBackend.addListener(dataSaverBackendListener) in <lambda>() 64 dataSaverBackend.remListener(dataSaverBackendListener) in <lambda>() 71 dataSaverBackend.isDataSaverEnabled = isChecked in <lambda>()
|
D | UnrestrictedDataAccessPreference.java | 52 ApplicationsState applicationsState, DataSaverBackend dataSaverBackend, in UnrestrictedDataAccessPreference() argument 60 mDataSaverBackend = dataSaverBackend; in UnrestrictedDataAccessPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | UnrestrictedDataAccessPreferenceControllerTest.java | 126 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in onRebuildComplete_restricted_shouldBeDisabled() local 127 ReflectionHelpers.setField(mController, "mDataSaverBackend", dataSaverBackend); in onRebuildComplete_restricted_shouldBeDisabled() 178 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in onRebuildComplete_ecmRestricted_shouldBeDisabled() local 179 ReflectionHelpers.setField(mController, "mDataSaverBackend", dataSaverBackend); in onRebuildComplete_ecmRestricted_shouldBeDisabled() 217 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in onRebuildComplete_ecmNotRestricted_notDisabled() local 218 ReflectionHelpers.setField(mController, "mDataSaverBackend", dataSaverBackend); in onRebuildComplete_ecmNotRestricted_notDisabled()
|
D | AppDataUsageTest.java | 211 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in changePreference_backgroundData_shouldUpdateUI() local 214 ReflectionHelpers.setField(mFragment, "mDataSaverBackend", dataSaverBackend); in changePreference_backgroundData_shouldUpdateUI() 232 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in updatePrefs_restrictedByAdmin_shouldDisablePreference() local 237 ReflectionHelpers.setField(mFragment, "mDataSaverBackend", dataSaverBackend); in updatePrefs_restrictedByAdmin_shouldDisablePreference()
|