Home
last modified time | relevance | path

Searched refs:setTorchMode (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.h47 virtual status_t setTorchMode(const String8& cameraId,
70 status_t setTorchMode(const String8& cameraId, bool enabled);
119 status_t setTorchMode(const String8& cameraId, bool enabled);
138 status_t setTorchMode(const String8& cameraId, bool enabled);
DCameraFlashlight.cpp70 status_t CameraFlashlight::setTorchMode(const String8& cameraId, bool enabled) { in setTorchMode() function in android::CameraFlashlight
102 res = mFlashControl->setTorchMode(cameraId, enabled); in setTorchMode()
108 res = mFlashControl->setTorchMode(cameraId, enabled); in setTorchMode()
117 res = mFlashControl->setTorchMode(cameraId, enabled); in setTorchMode()
304 status_t ProviderFlashControl::setTorchMode(const String8& cameraId, bool enabled) { in setTorchMode() function in android::ProviderFlashControl
308 return mProviderManager->setTorchMode(cameraId.string(), enabled); in setTorchMode()
342 status_t CameraHardwareInterfaceFlashControl::setTorchMode( in setTorchMode() function in android::CameraHardwareInterfaceFlashControl
DCameraService.h151 virtual binder::Status setTorchMode(const String16& cameraId, bool enabled,
DCameraService.cpp1535 Status CameraService::setTorchMode(const String16& cameraId, bool enabled, in setTorchMode() function in android::CameraService
1611 status_t err = mFlashlight->setTorchMode(id, enabled); in setTorchMode()
3190 status_t res = mFlashlight->setTorchMode(cameraId, false); in handleTorchClientBinderDied()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightControllerImpl.java100 mCameraManager.setTorchMode(mCameraId, enabled); in setFlashlight()
228 setTorchMode(enabled);
249 private void setTorchMode(boolean enabled) {
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h200 status_t setTorchMode(const std::string &id, bool enabled);
388 virtual status_t setTorchMode(bool enabled) = 0;
428 static status_t setTorchMode(InterfaceT& interface, bool enabled);
435 return DeviceInfo::setTorchMode(interface, enabled); in setTorchModeForDevice()
453 virtual status_t setTorchMode(bool enabled) override;
474 virtual status_t setTorchMode(bool enabled) override;
DCameraProviderManager.cpp249 status_t CameraProviderManager::setTorchMode(const std::string &id, bool enabled) { in setTorchMode() function in android::CameraProviderManager
264 return deviceInfo->setTorchMode(enabled); in setTorchMode()
1766 status_t CameraProviderManager::ProviderInfo::DeviceInfo::setTorchMode(InterfaceT& interface, in setTorchMode() function in android::CameraProviderManager::ProviderInfo::DeviceInfo
1768 Status s = interface->setTorchMode(enabled ? TorchMode::ON : TorchMode::OFF); in setTorchMode()
1829 status_t CameraProviderManager::ProviderInfo::DeviceInfo1::setTorchMode(bool enabled) { in setTorchMode() function in android::CameraProviderManager::ProviderInfo::DeviceInfo1
2023 status_t CameraProviderManager::ProviderInfo::DeviceInfo3::setTorchMode(bool enabled) { in setTorchMode() function in android::CameraProviderManager::ProviderInfo::DeviceInfo3
/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl157 void setTorchMode(String cameraId, boolean enabled, IBinder clientBinder); in setTorchMode() method
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java630 public void setTorchMode(@NonNull String cameraId, boolean enabled) in setTorchMode() method in CameraManager
635 CameraManagerGlobal.get().setTorchMode(cameraId, enabled); in setTorchMode()
1060 public void setTorchMode(String cameraId, boolean enabled) throws CameraAccessException { in setTorchMode() method in CameraManager.CameraManagerGlobal
1074 cameraService.setTorchMode(cameraId, enabled, mTorchClientBinder); in setTorchMode()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp373 res = service->setTorchMode(cameraId, in TEST()
378 res = service->setTorchMode(cameraId, in TEST()
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp66 hardware::Return<hardware::camera::common::V1_0::Status> setTorchMode( in setTorchMode() function
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...