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

/frameworks/av/services/camera/libcameraservice/
H A DCameraFlashlight.cpp166 bool hasFlash = false; local
174 res = mFlashControl->hasFlashUnit(id, &hasFlash);
188 mHasFlashlightMap.add(id, hasFlash);
310 status_t ModuleFlashControl::hasFlashUnit(const String8& cameraId, bool *hasFlash) { argument
311 if (!hasFlash) {
315 *hasFlash = false;
330 *hasFlash = true;
519 bool *hasFlash) {
524 return hasFlashUnitLocked(cameraId, hasFlash);
529 const String8& cameraId, bool *hasFlash) {
518 hasFlashUnit(const String8& cameraId, bool *hasFlash) argument
528 hasFlashUnitLocked( const String8& cameraId, bool *hasFlash) argument
592 bool hasFlash = false; local
681 bool hasFlash = false; local
719 hasFlashUnit( const String8& cameraId, bool *hasFlash) argument
726 hasFlashUnitLocked( const String8& cameraId, bool *hasFlash, bool keepDeviceOpen) argument
[all...]
H A 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/
H A DStaticMetadata.java380 public boolean hasFlash() { method in class:StaticMetadata
520 Boolean hasFlash = getValueFromKeyNonNull(key);
523 if (hasFlash == null) {
527 return hasFlash;
1152 Boolean hasFlash = getValueFromKeyNonNull(flashKey);
1153 if (hasFlash == null) {
1154 hasFlash = false;
1156 if (hasFlash) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2StillCaptureTest.java217 if (mStaticInfo.hasFlash()) {

Completed in 256 milliseconds