Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.h52 int32_t torchStrength) = 0;
56 int32_t* torchStrength) = 0;
81 status_t turnOnTorchWithStrengthLevel(const std::string& cameraId, int32_t torchStrength);
84 status_t getTorchStrengthLevel(const std::string& cameraId, int32_t* torchStrength);
134 status_t turnOnTorchWithStrengthLevel(const std::string& cameraId, int32_t torchStrength);
135 status_t getTorchStrengthLevel(const std::string& cameraId, int32_t* torchStrength);
DCameraFlashlight.cpp121 int32_t torchStrength) { in turnOnTorchWithStrengthLevel() argument
129 cameraId.c_str(), torchStrength); in turnOnTorchWithStrengthLevel()
146 res = mFlashControl->turnOnTorchWithStrengthLevel(cameraId, torchStrength); in turnOnTorchWithStrengthLevel()
152 int32_t* torchStrength) { in getTorchStrengthLevel() argument
169 res = mFlashControl->getTorchStrengthLevel(cameraId, torchStrength); in getTorchStrengthLevel()
360 int32_t torchStrength) { in turnOnTorchWithStrengthLevel() argument
362 cameraId.c_str(), torchStrength); in turnOnTorchWithStrengthLevel()
364 return mProviderManager->turnOnTorchWithStrengthLevel(cameraId, torchStrength); in turnOnTorchWithStrengthLevel()
368 int32_t* torchStrength) { in getTorchStrengthLevel() argument
372 return mProviderManager->getTorchStrengthLevel(cameraId, torchStrength); in getTorchStrengthLevel()
DCameraService.cpp1343 int32_t devicePolicy, int32_t* torchStrength) { in getTorchStrengthLevel() argument
1362 if (torchStrength == NULL) { in getTorchStrengthLevel()
1367 status_t res = mCameraProviderManager->getTorchStrengthLevel(cameraId, torchStrength); in getTorchStrengthLevel()
1373 ALOGI("%s: Torch strength level is: %d", __FUNCTION__, *torchStrength); in getTorchStrengthLevel()
2828 int32_t torchStrength, const sp<IBinder>& clientBinder, int32_t deviceId, in turnOnTorchWithStrengthLevel() argument
2911 cameraId, torchStrength); in turnOnTorchWithStrengthLevel()
2913 status_t err = mFlashlight->turnOnTorchWithStrengthLevel(cameraId, torchStrength); in turnOnTorchWithStrengthLevel()
2931 "valid range.", torchStrength); in turnOnTorchWithStrengthLevel()
2958 __FUNCTION__, cameraId.c_str(), torchStrength, clientPid); in turnOnTorchWithStrengthLevel()
2960 broadcastTorchStrengthLevel(cameraId, torchStrength); in turnOnTorchWithStrengthLevel()
DCameraService.h211 int32_t torchStrength, const sp<IBinder>& clientBinder, int32_t deviceId,
215 int32_t devicePolicy, int32_t* torchStrength);
/frameworks/av/services/camera/libcameraservice/common/hidl/
DHidlProviderInfo.h101 virtual status_t turnOnTorchWithStrengthLevel(int32_t torchStrength) override;
102 virtual status_t getTorchStrengthLevel(int32_t *torchStrength) override;
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h352 bool shouldSkipTorchStrengthUpdate(const std::string &id, int32_t torchStrength) const;
378 status_t turnOnTorchWithStrengthLevel(const std::string &id, int32_t torchStrength);
383 status_t getTorchStrengthLevel(const std::string &id, int32_t* torchStrength);
628 virtual status_t turnOnTorchWithStrengthLevel(int32_t torchStrength) = 0;
629 virtual status_t getTorchStrengthLevel(int32_t *torchStrength) = 0;
708 virtual status_t turnOnTorchWithStrengthLevel(int32_t torchStrength) = 0;
709 virtual status_t getTorchStrengthLevel(int32_t *torchStrength) = 0;
DCameraProviderManager.cpp551 int32_t* torchStrength /*out*/) { in getTorchStrengthLevel() argument
557 return deviceInfo->getTorchStrengthLevel(torchStrength); in getTorchStrengthLevel()
561 int32_t torchStrength) { in turnOnTorchWithStrengthLevel() argument
567 return deviceInfo->turnOnTorchWithStrengthLevel(torchStrength); in turnOnTorchWithStrengthLevel()
571 int32_t torchStrength) const { in shouldSkipTorchStrengthUpdate()
577 if (deviceInfo->mTorchStrengthLevel == torchStrength) { in shouldSkipTorchStrengthUpdate()
579 __FUNCTION__, deviceInfo->mTorchStrengthLevel, torchStrength); in shouldSkipTorchStrengthUpdate()
/frameworks/av/services/camera/libcameraservice/common/aidl/
DAidlProviderInfo.h123 virtual status_t turnOnTorchWithStrengthLevel(int32_t torchStrength) override;
124 virtual status_t getTorchStrengthLevel(int32_t *torchStrength) override;
DAidlProviderInfo.cpp723 int32_t torchStrength) { in turnOnTorchWithStrengthLevel() argument
729 ::ndk::ScopedAStatus s = interface->turnOnTorchWithStrengthLevel(torchStrength); in turnOnTorchWithStrengthLevel()
731 ALOGE("%s Unable to set torch mode strength %d : %s", __FUNCTION__, torchStrength, in turnOnTorchWithStrengthLevel()
735 mTorchStrengthLevel = torchStrength; in turnOnTorchWithStrengthLevel()
739 status_t AidlProviderInfo::AidlDeviceInfo3::getTorchStrengthLevel(int32_t *torchStrength) { in getTorchStrengthLevel() argument
740 if (torchStrength == nullptr) { in getTorchStrengthLevel()
748 ::ndk::ScopedAStatus status = interface->getTorchStrengthLevel(torchStrength); in getTorchStrengthLevel()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java311 public void onTorchStrengthLevelChanged(String cameraId, int torchStrength, int deviceId) { in onTorchStrengthLevelChanged() argument
313 + torchStrength )); in onTorchStrengthLevelChanged()
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/
Dcamera_service_fuzzer.cpp332 int32_t torchStrength = rand() % 5 + 1; in invokeTorchAPIs() local
333 ALOGV("Changing torch strength level to %d", torchStrength); in invokeTorchAPIs()
334 mCameraService->turnOnTorchWithStrengthLevel(cameraIdStr, torchStrength, binder, in invokeTorchAPIs()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java1457 public void turnOnTorchWithStrengthLevel(@NonNull String cameraId, int torchStrength) in turnOnTorchWithStrengthLevel() argument
1462 CameraManagerGlobal.get().turnOnTorchWithStrengthLevel(cameraId, torchStrength, in turnOnTorchWithStrengthLevel()
2606 public void turnOnTorchWithStrengthLevel(String cameraId, int torchStrength, int deviceId, in turnOnTorchWithStrengthLevel() argument
2621 cameraService.turnOnTorchWithStrengthLevel(cameraId, torchStrength, in turnOnTorchWithStrengthLevel()
2634 int torchStrength; in getTorchStrengthLevel() local
2647 torchStrength = cameraService.getTorchStrengthLevel(cameraId, deviceId, in getTorchStrengthLevel()
2656 return torchStrength; in getTorchStrengthLevel()