Home
last modified time | relevance | path

Searched refs:getModes (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModesListPreferenceControllerTest.java107 when(mBackend.getModes()).thenReturn(modes); in updateState_addsPreferences()
128 when(mBackend.getModes()).thenReturn(modes); in updateState_secondTime_updatesPreferences()
137 when(mBackend.getModes()).thenReturn(updatedModes); in updateState_secondTime_updatesPreferences()
156 when(mBackend.getModes()).thenReturn(List.of(TEST_MANUAL_MODE, TEST_MODE)); in testModesUiOff_notAvailableAndNoSearchData()
168 when(mBackend.getModes()).thenReturn(new ArrayList<>()); in testUpdateDynamicRawDataToIndex_empty()
179 when(mBackend.getModes()).thenReturn(List.of(TEST_MODE)); in testUpdateDynamicRawDataToIndex_oneMode()
191 when(mBackend.getModes()).thenReturn(List.of(TEST_MANUAL_MODE)); in testUpdateDynamicRawDataToIndex_oneMode()
204 when(mBackend.getModes()).thenReturn(List.of(TEST_MANUAL_MODE, TEST_MODE)); in testUpdateDynamicRawDataToIndex_multipleModes()
DZenModesBackendTest.java159 List<ZenMode> modes = mBackend.getModes(); in getModes_containsManualDndAndZenRules()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModesListPreferenceController.java85 List<ZenMode> modes = mBackend.getModes(); in updateState()
120 for (ZenMode mode : mBackend.getModes()) { in updateDynamicRawDataToIndex()
DZenModesBackend.java78 List<ZenMode> getModes() { in getModes() method in ZenModesBackend
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/eco/
DEnergyModesContentProvider.java152 bundle.putParcelableList(KEY_ENERGY_MODES, getModes(energyModesHelper)); in getEnergyModes()
184 private List<Bundle> getModes(@NonNull EnergyModesHelper helper) { in getModes() method in EnergyModesContentProvider