Home
last modified time | relevance | path

Searched refs:isLongPressPowerForAssistantEnabled (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DPowerMenuSettingsUtilsTest.java58 assertThat(PowerMenuSettingsUtils.isLongPressPowerForAssistantEnabled(mContext)).isTrue(); in isLongPressPowerForAssistantEnabled_valueSetToAssistant_returnsTrue()
65 assertThat(PowerMenuSettingsUtils.isLongPressPowerForAssistantEnabled(mContext)).isFalse(); in isLongPressPowerForAssistantEnabled_valueNotSetToAssistant_returnsFalse()
73 assertThat(PowerMenuSettingsUtils.isLongPressPowerForAssistantEnabled(mContext)).isTrue(); in isLongPressPowerForAssistantEnabled_valueNotSet_defaultToAssistant_returnsTrue()
81 assertThat(PowerMenuSettingsUtils.isLongPressPowerForAssistantEnabled(mContext)).isFalse(); in isLongPressPowerForAssistantEnabled_valueNotSet_defaultToPowerMenu_returnsFalse()
DLongPressPowerForAssistantPreferenceControllerTest.java108 assertThat(PowerMenuSettingsUtils.isLongPressPowerForAssistantEnabled(mContext)).isFalse(); in onClick_updatesSettingsValue_checksPreference()
113 assertThat(PowerMenuSettingsUtils.isLongPressPowerForAssistantEnabled(mContext)).isTrue(); in onClick_updatesSettingsValue_checksPreference()
DLongPressPowerForPowerMenuPreferenceControllerTest.java108 assertThat(PowerMenuSettingsUtils.isLongPressPowerForAssistantEnabled(mContext)).isTrue(); in onClick_updatesSettingsValue_checksPreference()
113 assertThat(PowerMenuSettingsUtils.isLongPressPowerForAssistantEnabled(mContext)).isFalse(); in onClick_updatesSettingsValue_checksPreference()
/packages/apps/Settings/src/com/android/settings/gestures/
DPowerMenuPreferenceController.java32 if (PowerMenuSettingsUtils.isLongPressPowerForAssistantEnabled(mContext)) { in getSummary()
DLongPressPowerIllustrationPreferenceController.java61 PowerMenuSettingsUtils.isLongPressPowerForAssistantEnabled(mContext) in updateState()
DLongPressPowerFooterPreferenceController.java71 preference.setVisible(PowerMenuSettingsUtils.isLongPressPowerForAssistantEnabled(mContext)); in updateState()
DLongPressPowerForAssistantPreferenceController.java70 PowerMenuSettingsUtils.isLongPressPowerForAssistantEnabled(mContext)); in updateState()
DLongPressPowerForPowerMenuPreferenceController.java71 !PowerMenuSettingsUtils.isLongPressPowerForAssistantEnabled(mContext)); in updateState()
DPowerMenuSettingsUtils.java66 public static boolean isLongPressPowerForAssistantEnabled(Context context) { in isLongPressPowerForAssistantEnabled() method in PowerMenuSettingsUtils
DLongPressPowerSensitivityPreferenceController.java82 PowerMenuSettingsUtils.isLongPressPowerForAssistantEnabled(mContext) in updateState()