Home
last modified time | relevance | path

Searched refs:flash (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_lights_LightsService.cpp44 static bool validate(jint light, jint flash, jint brightness) { in validate() argument
52 if (flash != static_cast<jint>(Flash::NONE) && in validate()
53 flash != static_cast<jint>(Flash::TIMED) && in validate()
54 flash != static_cast<jint>(Flash::HARDWARE)) { in validate()
55 ALOGE("Invalid flash parameter %d.", flash); in validate()
81 Flash flash = static_cast<Flash>(flashMode); in constructState() local
90 state.flashMode = flash; in constructState()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraCapabilities.java177 for (String flash : supportedFlashModes) { in buildFlashModes()
178 if (Camera.Parameters.FLASH_MODE_AUTO.equals(flash)) { in buildFlashModes()
180 } else if (Camera.Parameters.FLASH_MODE_OFF.equals(flash)) { in buildFlashModes()
182 } else if (Camera.Parameters.FLASH_MODE_ON.equals(flash)) { in buildFlashModes()
184 } else if (Camera.Parameters.FLASH_MODE_RED_EYE.equals(flash)) { in buildFlashModes()
186 } else if (Camera.Parameters.FLASH_MODE_TORCH.equals(flash)) { in buildFlashModes()
DCameraCapabilities.java377 public String stringify(FlashMode flash) { in stringify() argument
378 return toApiCase(flash.name()); in stringify()
591 public final boolean supports(FlashMode flash) { in supports() argument
592 return (flash != null && mSupportedFlashModes.contains(flash)); in supports()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DFlashlightControllerImplTest.kt103 injectCamera(flash = false) in testNoCallbackIfNoFlashCamera()
132 flash: Boolean = true, in injectCamera()
137 set(CameraCharacteristics.FLASH_INFO_AVAILABLE, flash) in injectCamera()
/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.cpp415 uint16_t flash = 0x20; in setFlash() local
418 flash = 0x00; in setFlash()
421 flash |= 0x1; in setFlash()
424 flash |= 0x40; in setFlash()
445 flash |= (flashMode << 3); in setFlash()
447 SET_SHORT(EXIF_IFD_EXIF, EXIF_TAG_FLASH, flash); in setFlash()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java103 public final float flash; field in ExifInterfaceTest.ExpectedValue
146 flash = typedArray.getFloat(12, 0f); in ExpectedValue()
293 assertDoubleTag(exifInterface, ExifInterface.TAG_FLASH, expectedValue.flash); in compareWithExpectedValue()
/frameworks/native/data/etc/
DAndroid.bp56 name: "android.hardware.camera.flash-autofocus.prebuilt.xml",
57 src: "android.hardware.camera.flash-autofocus.xml",
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraPairwiseTest.java380 private void genericPairwiseTestCase(Flash flash, Exposure exposure, WhiteBalance whitebalance, in genericPairwiseTestCase() argument
394 switch (flash) { in genericPairwiseTestCase()
/frameworks/hardware/interfaces/stats/1.0/
Dtypes.hal144 /** Represents slow I/O operations on the primary flash storage, aggregated. */
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java2133 String flash = exif.getAttribute(ExifInterface.TAG_FLASH); in verifyJpegExifExtraTags() local
2134 collector.expectNotNull("Exif TAG_FLASH shouldn't be null", flash); in verifyJpegExifExtraTags()
/frameworks/proto_logging/stats/
Datoms.proto7104 // The update was implicitly cancelled, either by a rollback or a flash
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8787 … field public static final java.lang.String FEATURE_CAMERA_FLASH = "android.hardware.camera.flash";
/frameworks/base/core/api/
Dcurrent.txt11914 field public static final String FEATURE_CAMERA_FLASH = "android.hardware.camera.flash";