Home
last modified time | relevance | path

Searched refs:getFlashNotificationsState (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DFlashNotificationsUtilTest.java27 import static com.android.settings.accessibility.FlashNotificationsUtil.getFlashNotificationsState;
162 assertThat(getFlashNotificationsState(mContext)) in getFlashNotificationsState_torchPresent_cameraOff_screenOff_assertOff()
172 assertThat(getFlashNotificationsState(mContext)) in getFlashNotificationsState_torchNotPresent_cameraOn_screenOff_assertOff()
182 assertThat(getFlashNotificationsState(mContext)) in getFlashNotificationsState_torchPresent_cameraOn_screenOff_assertCamera()
192 assertThat(getFlashNotificationsState(mContext)) in getFlashNotificationsState_torchPresent_cameraOff_screenOn_assertScreen()
202 assertThat(getFlashNotificationsState(mContext)) in testGetFlashNotificationsState_torchPresent_cameraOn_screenOn_assertCameraScreen()
DShadowFlashNotificationsUtils.java52 protected static int getFlashNotificationsState(Context context) { in getFlashNotificationsState() method in ShadowFlashNotificationsUtils
/packages/apps/Settings/src/com/android/settings/accessibility/
DFlashNotificationsPreferenceController.java45 switch (FlashNotificationsUtil.getFlashNotificationsState(mContext)) { in getSummary()
DFlashNotificationsUtil.java113 static int getFlashNotificationsState(Context context) { in getFlashNotificationsState() method in FlashNotificationsUtil
DFlashNotificationsPreviewPreferenceController.java113 preference.setEnabled(FlashNotificationsUtil.getFlashNotificationsState(mContext) in updateState()