OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:setTorchMode
(Results
1 - 17
of
17
) sorted by null
/device/huawei/angler/camera/QCamera2/
QCamera2Factory.cpp
208
return gQCamera2Factory->
setTorchMode
(camera_id, on);
434
* FUNCTION :
setTorchMode
445
int QCamera2Factory::
setTorchMode
(const char* camera_id, bool on)
/device/lge/bullhead/camera/QCamera2/
QCamera2Factory.cpp
208
return gQCamera2Factory->
setTorchMode
(camera_id, on);
434
* FUNCTION :
setTorchMode
445
int QCamera2Factory::
setTorchMode
(const char* camera_id, bool on)
/device/google/marlin/camera/QCamera2/
QCamera2Factory.cpp
272
return gQCamera2Factory->
setTorchMode
(camera_id, on);
508
* FUNCTION :
setTorchMode
519
int QCamera2Factory::
setTorchMode
(const char* camera_id, bool on)
/hardware/interfaces/camera/device/3.2/default/
CameraDevice.cpp
160
Return<Status> CameraDevice::
setTorchMode
(TorchMode mode) {
168
status = getHidlStatus(mModule->
setTorchMode
(mCameraId.c_str(), enable));
/frameworks/base/core/java/android/hardware/camera2/
CameraManager.java
479
* <p> If {@link #
setTorchMode
} is called to turn on or off the torch mode successfully,
486
* other applications are free to call {@link #
setTorchMode
} to turn off the torch mode (
508
public void
setTorchMode
(@NonNull String cameraId, boolean enabled)
510
CameraManagerGlobal.get().
setTorchMode
(cameraId, enabled);
563
* busy. A camera's torch mode is turned off when an application calls {@link #
setTorchMode
} to
566
* enabled when it is turned on via {@link #
setTorchMode
}.</p>
568
* <p>The torch mode is available to set via {@link #
setTorchMode
} only when it's in a disabled
579
* A camera's torch mode has become unavailable to set via {@link #
setTorchMode
}.
581
* <p>If torch mode was previously turned on by calling {@link #
setTorchMode
}, it will be
583
* invoked. {@link #
setTorchMode
} will fail until the torch mode has entered a disabled o
[
all
...]
/cts/tests/camera/src/android/hardware/camera2/cts/
FlashlightTest.java
76
mCameraManager.
setTorchMode
(id, true); // should get ON
78
mCameraManager.
setTorchMode
(id, false); // should get OFF
104
mCameraManager.
setTorchMode
(id, true);
111
mCameraManager.
setTorchMode
(id, false);
175
mCameraManager.
setTorchMode
(id, true);
187
mCameraManager.
setTorchMode
(id, false);
229
mCameraManager.
setTorchMode
(id, true);
231
mCameraManager.
setTorchMode
(id, false);
268
mCameraManager.
setTorchMode
(cameraId, true);
269
mCameraManager.
setTorchMode
(cameraId, false)
[
all
...]
/frameworks/av/services/camera/libcameraservice/
CameraFlashlight.cpp
60
// Only HAL1 devices do not support
setTorchMode
68
status_t CameraFlashlight::
setTorchMode
(const String8& cameraId, bool enabled) {
83
// CameraService::
setTorchMode
for camera ID 0 begins, does torch status checks
85
// CameraService::
setTorchMode
for camera ID 0 continues, calls
86
// CameraFlashlight::
setTorchMode
100
res = mFlashControl->
setTorchMode
(cameraId, enabled);
106
res = mFlashControl->
setTorchMode
(cameraId, enabled);
115
res = mFlashControl->
setTorchMode
(cameraId, enabled);
303
status_t ProviderFlashControl::
setTorchMode
(const String8& cameraId, bool enabled) {
307
return mProviderManager->
setTorchMode
(cameraId.string(), enabled)
[
all
...]
CameraService.cpp
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
FlashlightControllerImpl.java
91
mCameraManager.
setTorchMode
(mCameraId, enabled);
216
setTorchMode
(enabled);
232
private void
setTorchMode
(boolean enabled) {
/hardware/interfaces/camera/common/1.0/default/
CameraModule.cpp
405
int CameraModule::
setTorchMode
(const char* camera_id, bool enable) {
/frameworks/av/services/camera/libcameraservice/common/
CameraProviderManager.cpp
216
status_t CameraProviderManager::
setTorchMode
(const std::string &id, bool enabled) {
222
return deviceInfo->
setTorchMode
(enabled);
812
status_t CameraProviderManager::ProviderInfo::DeviceInfo::
setTorchMode
(InterfaceT& interface,
814
Status s = interface->
setTorchMode
(enabled ? TorchMode::ON : TorchMode::OFF);
863
status_t CameraProviderManager::ProviderInfo::DeviceInfo1::
setTorchMode
(bool enabled) {
864
return DeviceInfo::
setTorchMode
(mInterface, enabled);
[
all
...]
/hardware/interfaces/camera/device/1.0/default/
CameraDevice.cpp
600
Return<Status> CameraDevice::
setTorchMode
(TorchMode mode) {
608
status = getHidlStatus(mModule->
setTorchMode
(mCameraId.c_str(), enable));
[
all
...]
/prebuilts/sdk/25/
android.jar
/prebuilts/sdk/26/
android.jar
/prebuilts/sdk/current/
android.jar
/prebuilts/sdk/system_23/
android.jar
/prebuilts/sdk/system_current/
android.jar
Completed in 473 milliseconds