Searched refs:hasFlash (Results 1 – 6 of 6) sorted by relevance
67 if (info.hasFlash()) { in setUp()228 if (hasFlash(idToOpen)) { in testCameraDeviceOpenAfterTorchOn()257 if (!hasFlash(id)) { in testTorchModeExceptions()266 if ((hasFlash(id) && id.equals(idToOpen) && in testTorchModeExceptions()268 (hasFlash(id) && !id.equals(idToOpen) && in testTorchModeExceptions()274 if (hasFlash(id)) { in testTorchModeExceptions()285 private boolean hasFlash(String cameraId) { in hasFlash() method in FlashlightTest
800 if (mStaticInfo.hasFlash()) { in takePictureTestByCamera()
521 if (!mAllStaticInfo.get(mCameraIdsUnderTest[i]).hasFlash()) { in testFlashTurnOff()
172 boolean hasFlash = false; in checkCamera2Features()204 hasFlash = true; in checkCamera2Features()226 assertFeature(hasFlash, PackageManager.FEATURE_CAMERA_FLASH); in checkCamera2Features()
454 public boolean hasFlash() { in hasFlash() method in StaticMetadata604 Boolean hasFlash = getValueFromKeyNonNull(key); in getFlashInfoChecked() local607 if (hasFlash == null) { in getFlashInfoChecked()611 return hasFlash; in getFlashInfoChecked()1289 Boolean hasFlash = getValueFromKeyNonNull(flashKey); in getAeAvailableModesChecked() local1290 if (hasFlash == null) { in getAeAvailableModesChecked()1291 hasFlash = false; in getAeAvailableModesChecked()1293 if (hasFlash) { in getAeAvailableModesChecked()
117 if (staticMeta.hasFlash() != legacyHasFlash) { in matchParametersToCharacteristics()