Home
last modified time | relevance | path

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

/frameworks/av/camera/tests/
DCameraBinderTests.cpp73 std::map<std::string, int32_t> mCameraTorchStatuses; member in TestCameraServiceListener
100 mCameraTorchStatuses[cameraId] = status; in onTorchStatusChanged()
149 const auto& iter = mCameraTorchStatuses.find(std::to_string(cameraId)); in waitForTorchState()
150 if (iter != mCameraTorchStatuses.end() && iter->second == status) { in waitForTorchState()
160 mCameraTorchStatuses.find(std::to_string(cameraId)); in waitForTorchState()
161 foundStatus = (iter != mCameraTorchStatuses.end() && iter->second == status); in waitForTorchState()
168 const auto& iter = mCameraTorchStatuses.find(std::to_string(cameraId)); in getTorchStatus()
169 if (iter == mCameraTorchStatuses.end()) { in getTorchStatus()