Searched refs:hasFlash (Results 1 – 7 of 7) sorted by relevance
73 if (info.hasFlash()) { in setUp()349 if (hasFlash(idToOpen)) { in testCameraDeviceOpenAfterTorchOn()382 if (!hasFlash(id)) { in testTorchModeExceptions()391 if ((hasFlash(id) && id.equals(idToOpen) && in testTorchModeExceptions()393 (hasFlash(id) && !id.equals(idToOpen) && in testTorchModeExceptions()399 if (hasFlash(id)) { in testTorchModeExceptions()410 private boolean hasFlash(String cameraId) { in hasFlash() method in FlashlightTest
914 if (mStaticInfo.hasFlash()) { in takePictureTestByCamera()
2681 if (!staticMeta.hasFlash()) { in testFlash()
550 if (!mAllStaticInfo.get(cameraIdsUnderTest[i]).hasFlash()) { in testFlashTurnOff()
466 public boolean hasFlash() { in hasFlash() method in StaticMetadata616 Boolean hasFlash = getValueFromKeyNonNull(key); in getFlashInfoChecked() local619 if (hasFlash == null) { in getFlashInfoChecked()623 return hasFlash; in getFlashInfoChecked()629 Boolean hasFlash = getValueFromKeyNonNull(key); in isManualFlashStrengthControlSupported() local634 if (hasFlash && (singleMaxLevel > 1) && (torchMaxLevel > 1)) { in isManualFlashStrengthControlSupported()1378 Boolean hasFlash = getValueFromKeyNonNull(flashKey); in getAeAvailableModesChecked() local1379 if (hasFlash == null) { in getAeAvailableModesChecked()1380 hasFlash = false; in getAeAvailableModesChecked()1382 if (hasFlash) { in getAeAvailableModesChecked()
170 boolean hasFlash = false; in checkCamera2Features()203 hasFlash = true; in checkCamera2Features()230 assertFeature(hasFlash, PackageManager.FEATURE_CAMERA_FLASH); in checkCamera2Features()
127 if (staticMeta.hasFlash() != legacyHasFlash) { in matchParametersToCharacteristics()