Searched refs:hasFlash (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/services/camera/libcameraservice/ |
D | CameraFlashlight.cpp | 144 bool hasFlash = false; in findFlashUnits() local 150 res = mFlashControl->hasFlashUnit(id, &hasFlash); in findFlashUnits() 164 mHasFlashlightMap.add(id, hasFlash); in findFlashUnits() 296 status_t ProviderFlashControl::hasFlashUnit(const String8& cameraId, bool *hasFlash) { in hasFlashUnit() argument 297 if (!hasFlash) { in hasFlashUnit() 300 *hasFlash = mProviderManager->hasFlashUnit(cameraId.string()); in hasFlashUnit() 349 bool hasFlash = false; in setTorchMode() local 351 res = hasFlashUnitLocked(cameraId, &hasFlash, /*keepDeviceOpen*/true); in setTorchMode() 359 if (!hasFlash) { in setTorchMode() 386 const String8& cameraId, bool *hasFlash) { in hasFlashUnit() argument [all …]
|
D | CameraFlashlight.h | 44 bool *hasFlash) = 0; 118 status_t hasFlashUnit(const String8& cameraId, bool *hasFlash); 139 status_t hasFlashUnit(const String8& cameraId, bool *hasFlash); 163 status_t hasFlashUnitLocked(const String8& cameraId, bool *hasFlash, bool keepDeviceOpen);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | StaticMetadata.java | 380 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() 1161 Boolean hasFlash = getValueFromKeyNonNull(flashKey); in getAeAvailableModesChecked() local 1162 if (hasFlash == null) { in getAeAvailableModesChecked() 1163 hasFlash = false; in getAeAvailableModesChecked() 1165 if (hasFlash) { in getAeAvailableModesChecked()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2StillCaptureTest.java | 217 if (mStaticInfo.hasFlash()) { in takePictureTestByCamera()
|