Home
last modified time | relevance | path

Searched refs:hasFlash (Results 1 – 7 of 7) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DFlashlightTest.java73 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
DStillCaptureTest.java914 if (mStaticInfo.hasFlash()) { in takePictureTestByCamera()
DCameraExtensionSessionTest.java2681 if (!staticMeta.hasFlash()) { in testFlash()
DCaptureRequestTest.java550 if (!mAllStaticInfo.get(cameraIdsUnderTest[i]).hasFlash()) { in testFlashTurnOff()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java466 public boolean hasFlash() { in hasFlash() method in StaticMetadata
616 Boolean hasFlash = getValueFromKeyNonNull(key); in getFlashInfoChecked() local
619 if (hasFlash == null) { in getFlashInfoChecked()
623 return hasFlash; in getFlashInfoChecked()
629 Boolean hasFlash = getValueFromKeyNonNull(key); in isManualFlashStrengthControlSupported() local
634 if (hasFlash && (singleMaxLevel > 1) && (torchMaxLevel > 1)) { in isManualFlashStrengthControlSupported()
1378 Boolean hasFlash = getValueFromKeyNonNull(flashKey); in getAeAvailableModesChecked() local
1379 if (hasFlash == null) { in getAeAvailableModesChecked()
1380 hasFlash = false; in getAeAvailableModesChecked()
1382 if (hasFlash) { in getAeAvailableModesChecked()
/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java170 boolean hasFlash = false; in checkCamera2Features()
203 hasFlash = true; in checkCamera2Features()
230 assertFeature(hasFlash, PackageManager.FEATURE_CAMERA_FLASH); in checkCamera2Features()
/cts/tests/camera/utils/src/android/hardware/cts/helpers/
DCameraUtils.java127 if (staticMeta.hasFlash() != legacyHasFlash) { in matchParametersToCharacteristics()