Searched refs:getModes (Results 1 – 5 of 5) sorted by relevance
107 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()
159 List<ZenMode> modes = mBackend.getModes(); in getModes_containsManualDndAndZenRules()
85 List<ZenMode> modes = mBackend.getModes(); in updateState()120 for (ZenMode mode : mBackend.getModes()) { in updateDynamicRawDataToIndex()
78 List<ZenMode> getModes() { in getModes() method in ZenModesBackend
152 bundle.putParcelableList(KEY_ENERGY_MODES, getModes(energyModesHelper)); in getEnergyModes()184 private List<Bundle> getModes(@NonNull EnergyModesHelper helper) { in getModes() method in EnergyModesContentProvider