Searched refs:capabilitiesAndConfig (Results 1 – 8 of 8) sorted by relevance
86 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig(false, in testProviderStatus_primaryCertain() local89 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in testProviderStatus_primaryCertain()94 capabilitiesAndConfig = createCapabilitiesAndConfig(false, in testProviderStatus_primaryCertain()97 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in testProviderStatus_primaryCertain()102 capabilitiesAndConfig = createCapabilitiesAndConfig(false, in testProviderStatus_primaryCertain()105 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in testProviderStatus_primaryCertain()113 capabilitiesAndConfig = createCapabilitiesAndConfig(false, in testProviderStatus_primaryCertain()116 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in testProviderStatus_primaryCertain()121 capabilitiesAndConfig = createCapabilitiesAndConfig(false, in testProviderStatus_primaryCertain()124 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in testProviderStatus_primaryCertain()[all …]
84 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in isFromSUW_notAvailable() local86 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in isFromSUW_notAvailable()95 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in notFromSUW_isAvailable() local97 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in notFromSUW_isAvailable()106 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in autoTimeZoneNotSupported_notAvailable() local108 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in autoTimeZoneNotSupported_notAvailable()115 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in isFromSUW_notEnable() local117 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in isFromSUW_notEnable()126 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in isFromSUW_isEnable() local128 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in isFromSUW_isEnable()[all …]
70 TimeCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in autoTimeNotSupported_notAvailable() local72 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in autoTimeNotSupported_notAvailable()79 TimeCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in autoTimeNotSupported_notEnable() local81 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in autoTimeNotSupported_notEnable()89 TimeCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in isEnabled_autoEnabledIsFalse_shouldReadFromTimeManagerConfig() local91 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in isEnabled_autoEnabledIsFalse_shouldReadFromTimeManagerConfig()99 TimeCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in isEnabled_autoEnabledIsTrue_shouldReadFromTimeManagerConfig() local101 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in isEnabled_autoEnabledIsTrue_shouldReadFromTimeManagerConfig()108 TimeCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in updatePreferenceChange_prefIsChecked_shouldUpdatePreferenceAndNotifyCallback() local110 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in updatePreferenceChange_prefIsChecked_shouldUpdatePreferenceAndNotifyCallback()[all …]
84 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = in setChecked_withTrue_shouldUpdateSetting_whenLocationIsEnabled() local86 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in setChecked_withTrue_shouldUpdateSetting_whenLocationIsEnabled()106 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = in setChecked_withTrue_shouldDoNothing_whenLocationIsDisabled() local108 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in setChecked_withTrue_shouldDoNothing_whenLocationIsDisabled()120 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = in setChecked_withFalse_shouldUpdateSetting() local122 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in setChecked_withFalse_shouldUpdateSetting()137 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = in testLocationTimeZoneDetection_supported_shouldBeShown() local139 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in testLocationTimeZoneDetection_supported_shouldBeShown()147 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createTimeZoneCapabilitiesAndConfig( in testLocationTimeZoneDetection_unsupported_shouldNotBeShown() local149 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in testLocationTimeZoneDetection_unsupported_shouldNotBeShown()[all …]
66 TimeCapabilitiesAndConfig capabilitiesAndConfig = in updateState_dateEntryDisabled_shouldDisablePref() local69 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in updateState_dateEntryDisabled_shouldDisablePref()80 TimeCapabilitiesAndConfig capabilitiesAndConfig = in updateState_dateEntryEnabled_shouldEnablePref() local83 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in updateState_dateEntryEnabled_shouldEnablePref()
78 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in updateState_suggestManualNotAllowed_shouldDisablePref() local80 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in updateState_suggestManualNotAllowed_shouldDisablePref()92 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in updateState_suggestManualAllowed_shouldEnablePref() local94 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in updateState_suggestManualAllowed_shouldEnablePref()
92 TimeCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in updateState_autoTimeEnabled_shouldDisablePref() local94 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in updateState_autoTimeEnabled_shouldDisablePref()105 TimeCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in updateState_autoTimeDisabled_shouldEnablePref() local107 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in updateState_autoTimeDisabled_shouldEnablePref()
67 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = in isChecked() local69 TimeZoneConfiguration configuration = capabilitiesAndConfig.getConfiguration(); in isChecked()