Home
last modified time | relevance | path

Searched refs:capabilitiesAndConfig (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/
DLocationProviderStatusPreferenceControllerTest.java86 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig(false, in testProviderStatus_primaryCertain() local
89 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 …]
DAutoTimeZonePreferenceControllerTest.java84 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in isFromSUW_notAvailable() local
86 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in isFromSUW_notAvailable()
95 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in notFromSUW_isAvailable() local
97 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in notFromSUW_isAvailable()
106 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in autoTimeZoneNotSupported_notAvailable() local
108 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in autoTimeZoneNotSupported_notAvailable()
115 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in isFromSUW_notEnable() local
117 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in isFromSUW_notEnable()
126 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in isFromSUW_isEnable() local
128 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in isFromSUW_isEnable()
[all …]
DAutoTimePreferenceControllerTest.java70 TimeCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in autoTimeNotSupported_notAvailable() local
72 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in autoTimeNotSupported_notAvailable()
79 TimeCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in autoTimeNotSupported_notEnable() local
81 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in autoTimeNotSupported_notEnable()
89 TimeCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in isEnabled_autoEnabledIsFalse_shouldReadFromTimeManagerConfig() local
91 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in isEnabled_autoEnabledIsFalse_shouldReadFromTimeManagerConfig()
99 TimeCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in isEnabled_autoEnabledIsTrue_shouldReadFromTimeManagerConfig() local
101 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in isEnabled_autoEnabledIsTrue_shouldReadFromTimeManagerConfig()
108 TimeCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in updatePreferenceChange_prefIsChecked_shouldUpdatePreferenceAndNotifyCallback() local
110 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in updatePreferenceChange_prefIsChecked_shouldUpdatePreferenceAndNotifyCallback()
[all …]
DLocationTimeZoneDetectionPreferenceControllerTest.java84 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = in setChecked_withTrue_shouldUpdateSetting_whenLocationIsEnabled() local
86 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in setChecked_withTrue_shouldUpdateSetting_whenLocationIsEnabled()
106 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = in setChecked_withTrue_shouldDoNothing_whenLocationIsDisabled() local
108 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in setChecked_withTrue_shouldDoNothing_whenLocationIsDisabled()
120 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = in setChecked_withFalse_shouldUpdateSetting() local
122 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in setChecked_withFalse_shouldUpdateSetting()
137 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = in testLocationTimeZoneDetection_supported_shouldBeShown() local
139 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in testLocationTimeZoneDetection_supported_shouldBeShown()
147 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createTimeZoneCapabilitiesAndConfig( in testLocationTimeZoneDetection_unsupported_shouldNotBeShown() local
149 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in testLocationTimeZoneDetection_unsupported_shouldNotBeShown()
[all …]
DTimePreferenceControllerTest.java66 TimeCapabilitiesAndConfig capabilitiesAndConfig = in updateState_dateEntryDisabled_shouldDisablePref() local
69 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in updateState_dateEntryDisabled_shouldDisablePref()
80 TimeCapabilitiesAndConfig capabilitiesAndConfig = in updateState_dateEntryEnabled_shouldEnablePref() local
83 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in updateState_dateEntryEnabled_shouldEnablePref()
DTimeZonePreferenceControllerTest.java78 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in updateState_suggestManualNotAllowed_shouldDisablePref() local
80 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in updateState_suggestManualNotAllowed_shouldDisablePref()
92 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in updateState_suggestManualAllowed_shouldEnablePref() local
94 when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in updateState_suggestManualAllowed_shouldEnablePref()
DDatePreferenceControllerTest.java92 TimeCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in updateState_autoTimeEnabled_shouldDisablePref() local
94 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in updateState_autoTimeEnabled_shouldDisablePref()
105 TimeCapabilitiesAndConfig capabilitiesAndConfig = createCapabilitiesAndConfig( in updateState_autoTimeDisabled_shouldEnablePref() local
107 when(mTimeManager.getTimeCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig); in updateState_autoTimeDisabled_shouldEnablePref()
/packages/apps/Settings/src/com/android/settings/datetime/
DLocationTimeZoneDetectionPreferenceController.java67 TimeZoneCapabilitiesAndConfig capabilitiesAndConfig = in isChecked() local
69 TimeZoneConfiguration configuration = capabilitiesAndConfig.getConfiguration(); in isChecked()