Searched refs:createDeviceStateForIdentifier (Results 1 – 1 of 1) sorted by relevance
123 mDeviceStateCallback.onDeviceStateChanged(createDeviceStateForIdentifier(1)); in whenNoSavedValueForDeviceState_assumeIgnored()127 mDeviceStateCallback.onDeviceStateChanged(createDeviceStateForIdentifier(2)); in whenNoSavedValueForDeviceState_assumeIgnored()138 mDeviceStateCallback.onDeviceStateChanged(createDeviceStateForIdentifier(0)); in whenDeviceStateSwitched_loadCorrectSetting()141 mDeviceStateCallback.onDeviceStateChanged(createDeviceStateForIdentifier(1)); in whenDeviceStateSwitched_loadCorrectSetting()151 mDeviceStateCallback.onDeviceStateChanged(createDeviceStateForIdentifier(2)); in whenDeviceStateSwitched_settingIsIgnored_loadsDefaultFallbackSetting()165 mDeviceStateCallback.onDeviceStateChanged(createDeviceStateForIdentifier(2)); in whenDeviceStateSwitched_ignoredSetting_fallbackValueChanges_usesFallbackValue()177 mDeviceStateCallback.onDeviceStateChanged(createDeviceStateForIdentifier(0)); in whenUserChangesSetting_saveSettingForCurrentState()193 mDeviceStateCallback.onDeviceStateChanged(createDeviceStateForIdentifier(0)); in whenDeviceStateSwitchedToIgnoredState_useFallbackSetting()196 mDeviceStateCallback.onDeviceStateChanged(createDeviceStateForIdentifier(2)); in whenDeviceStateSwitchedToIgnoredState_useFallbackSetting()206 mDeviceStateCallback.onDeviceStateChanged(createDeviceStateForIdentifier(1)); in whenDeviceStateSwitchedToIgnoredState_noFallback_newSettingsSaveForPreviousState()[all …]