Searched refs:getFlashNotificationsState (Results 1 – 5 of 5) sorted by relevance
27 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()
52 protected static int getFlashNotificationsState(Context context) { in getFlashNotificationsState() method in ShadowFlashNotificationsUtils
45 switch (FlashNotificationsUtil.getFlashNotificationsState(mContext)) { in getSummary()
113 static int getFlashNotificationsState(Context context) { in getFlashNotificationsState() method in FlashNotificationsUtil
113 preference.setEnabled(FlashNotificationsUtil.getFlashNotificationsState(mContext) in updateState()