Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp166 bool hasFlash = false; in findFlashUnits() local
174 res = mFlashControl->hasFlashUnit(id, &hasFlash); in findFlashUnits()
188 mHasFlashlightMap.add(id, hasFlash); in findFlashUnits()
310 status_t ModuleFlashControl::hasFlashUnit(const String8& cameraId, bool *hasFlash) { in hasFlashUnit() argument
311 if (!hasFlash) { in hasFlashUnit()
315 *hasFlash = false; in hasFlashUnit()
330 *hasFlash = true; in hasFlashUnit()
519 bool *hasFlash) { in hasFlashUnit() argument
524 return hasFlashUnitLocked(cameraId, hasFlash); in hasFlashUnit()
529 const String8& cameraId, bool *hasFlash) { in hasFlashUnitLocked() argument
[all …]
DCameraFlashlight.h43 bool *hasFlash) = 0;
112 status_t hasFlashUnit(const String8& cameraId, bool *hasFlash);
132 status_t hasFlashUnit(const String8& cameraId, bool *hasFlash);
152 status_t hasFlashUnitLocked(const String8& cameraId, bool *hasFlash);
186 status_t hasFlashUnit(const String8& cameraId, bool *hasFlash);
210 status_t hasFlashUnitLocked(const String8& cameraId, bool *hasFlash, bool keepDeviceOpen);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java380 public boolean hasFlash() { in hasFlash() method in StaticMetadata
520 Boolean hasFlash = getValueFromKeyNonNull(key); in getFlashInfoChecked() local
523 if (hasFlash == null) { in getFlashInfoChecked()
527 return hasFlash; in getFlashInfoChecked()
1152 Boolean hasFlash = getValueFromKeyNonNull(flashKey); in getAeAvailableModesChecked() local
1153 if (hasFlash == null) { in getAeAvailableModesChecked()
1154 hasFlash = false; in getAeAvailableModesChecked()
1156 if (hasFlash) { in getAeAvailableModesChecked()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2StillCaptureTest.java217 if (mStaticInfo.hasFlash()) { in takePictureTestByCamera()