Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.h242 enum DeviceMode { enum
249 DeviceMode mDeviceMode;
833 const char* modeToString(DeviceMode deviceMode);
DTouchInputMapper.cpp329 const char* TouchInputMapper::modeToString(DeviceMode deviceMode) { in modeToString()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h119 enum class DeviceMode { enum
235 void saveRef(DeviceMode usageType, const std::string &cameraId,
241 void removeRef(DeviceMode usageType, const std::string &cameraId);
DCameraProviderManager.cpp283 saveRef(DeviceMode::TORCH, deviceInfo->mId, interface); in setTorchMode()
337 saveRef(DeviceMode::CAMERA, id, provider); in openSession()
355 removeRef(DeviceMode::CAMERA, id); in openSession()
380 saveRef(DeviceMode::CAMERA, id, provider); in openSession()
389 removeRef(DeviceMode::CAMERA, id); in openSession()
400 void CameraProviderManager::saveRef(DeviceMode usageType, const std::string &cameraId, in saveRef()
408 if (usageType == DeviceMode::TORCH) { in saveRef()
425 void CameraProviderManager::removeRef(DeviceMode usageType, const std::string &cameraId) { in removeRef()
431 if (usageType == DeviceMode::TORCH) { in removeRef()
1592 mManager->removeRef(DeviceMode::TORCH, id); in torchModeStatusChange()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2431 sCameraService->mCameraProviderManager->removeRef(CameraProviderManager::DeviceMode::CAMERA, in disconnect()