Searched refs:supportedFlashModes (Results 1 – 2 of 2) sorted by relevance
159 List<String> supportedFlashModes = params.getSupportedFlashModes(); in testFunctionalCameraFlashModes() local160 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()
177 final List<String> supportedFlashModes = mParameters.getSupportedFlashModes(); in setCameraParameter() local178 if (supportedFlashModes != null && in setCameraParameter()179 supportedFlashModes.contains(Camera.Parameters.FLASH_MODE_OFF)) { in setCameraParameter()