Home
last modified time | relevance | path

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

/aosp12/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp389 mTorchStatusMap.add(id, TorchModeStatus::AVAILABLE_OFF); in addStates()
402 mTorchStatusMap.removeItem(id); in removeStates()
2410 for (size_t i = 0; i < mTorchStatusMap.size(); i++ ) { in addListenerHelper()
2411 String16 id = String16(mTorchStatusMap.keyAt(i).string()); in addListenerHelper()
2415 listener->onTorchStatusChanged(mapToInterface(mTorchStatusMap.valueAt(i)), id); in addListenerHelper()
4318 ssize_t index = mTorchStatusMap.indexOfKey(cameraId); in getTorchStatusLocked()
4324 *status = mTorchStatusMap.valueAt(index); in getTorchStatusLocked()
4330 ssize_t index = mTorchStatusMap.indexOfKey(cameraId); in setTorchStatusLocked()
4334 mTorchStatusMap.editValueAt(index) = status; in setTorchStatusLocked()
H A DCameraService.h1056 mTorchStatusMap; variable