Home
last modified time | relevance | path

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

/frameworks/av/camera/tests/
DCameraBinderTests.cpp71 std::map<String16, int32_t> mCameraTorchStatuses; member in TestCameraServiceListener
88 mCameraTorchStatuses[cameraId] = status; in onTorchStatusChanged()
116 const auto& iter = mCameraTorchStatuses.find(String16(String8::format("%d", cameraId))); in waitForTorchState()
117 if (iter != mCameraTorchStatuses.end() && iter->second == status) { in waitForTorchState()
127 mCameraTorchStatuses.find(String16(String8::format("%d", cameraId))); in waitForTorchState()
128 foundStatus = (iter != mCameraTorchStatuses.end() && iter->second == status); in waitForTorchState()
135 const auto& iter = mCameraTorchStatuses.find(String16(String8::format("%d", cameraId))); in getTorchStatus()
136 if (iter == mCameraTorchStatuses.end()) { in getTorchStatus()