Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraFunctionalTest.java159 List<String> supportedFlashModes = params.getSupportedFlashModes(); in testFunctionalCameraFlashModes() local
160 assertNotNull("No flash modes supported", supportedFlashModes); in testFunctionalCameraFlashModes()
162 for (int i = 0; i < supportedFlashModes.size(); i++) { in testFunctionalCameraFlashModes()
169 Log.v(TAG, "Setting flash mode to " + supportedFlashModes.get(i)); in testFunctionalCameraFlashModes()
170 params.setFlashMode(supportedFlashModes.get(i)); in testFunctionalCameraFlashModes()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraCapabilities.java172 List<String> supportedFlashModes = p.getSupportedFlashModes(); in buildFlashModes() local
173 if (supportedFlashModes == null) { in buildFlashModes()
177 for (String flash : supportedFlashModes) { in buildFlashModes()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrCamera.java177 final List<String> supportedFlashModes = mParameters.getSupportedFlashModes(); in setCameraParameter() local
178 if (supportedFlashModes != null && in setCameraParameter()
179 supportedFlashModes.contains(Camera.Parameters.FLASH_MODE_OFF)) { in setCameraParameter()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp699 String8 supportedFlashModes(CameraParameters::FLASH_MODE_OFF); in initialize() local
700 supportedFlashModes = supportedFlashModes + in initialize()
707 supportedFlashModes = supportedFlashModes + "," + in initialize()
713 supportedFlashModes); in initialize()