Searched refs:isFlashlightAvailable (Results 1 – 3 of 3) sorted by relevance
77 assertThat(FlashlightSlice.isFlashlightAvailable(mContext)).isFalse(); in isFlashlightAvailable_nullSecureAttr_noFlashUnit_returnFalse()90 assertThat(FlashlightSlice.isFlashlightAvailable(mContext)).isTrue(); in isFlashlightAvailable_nullSecureAttr_hasFlashUnit_returnTrue()
69 if (!isFlashlightAvailable(mContext)) { in getSlice()140 static boolean isFlashlightAvailable(Context context) { in isFlashlightAvailable() method in FlashlightSlice
90 if (!FlashlightSlice.isFlashlightAvailable(context)) {