Searched defs:hasFlash (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/services/camera/libcameraservice/
H A DCameraFlashlight.cpp144 bool hasFlash = false; local
150 res = mFlashControl->hasFlashUnit(id, &hasFlash);
164 mHasFlashlightMap.add(id, hasFlash);
296 status_t ProviderFlashControl::hasFlashUnit(const String8& cameraId, bool *hasFlash) { argument
297 if (!hasFlash) {
300 *hasFlash = mProviderManager->hasFlashUnit(cameraId.string());
349 bool hasFlash = false; local
351 res = hasFlashUnitLocked(cameraId, &hasFlash, /*keepDeviceOpen*/true);
359 if (!hasFlash) {
386 const String8& cameraId, bool *hasFlash) {
385 hasFlashUnit( const String8& cameraId, bool *hasFlash) argument
392 hasFlashUnitLocked( const String8& cameraId, bool *hasFlash, bool keepDeviceOpen) argument
[all...]
/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;
1161 Boolean hasFlash = getValueFromKeyNonNull(flashKey);
1162 if (hasFlash == null) {
1163 hasFlash = false;
1165 if (hasFlash) {

Completed in 73 milliseconds