Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.h180 enum DeviceMode { enum
187 DeviceMode mDeviceMode;
763 const char* modeToString(DeviceMode deviceMode);
DTouchInputMapper.cpp324 const char* TouchInputMapper::modeToString(DeviceMode deviceMode) { in modeToString()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h153 enum class DeviceMode { enum
280 void saveRef(DeviceMode usageType, const std::string &cameraId,
286 void removeRef(DeviceMode usageType, const std::string &cameraId);
DCameraProviderManager.cpp337 saveRef(DeviceMode::TORCH, deviceInfo->mId, interface); in setTorchMode()
394 saveRef(DeviceMode::CAMERA, id, provider); in openSession()
412 removeRef(DeviceMode::CAMERA, id); in openSession()
440 saveRef(DeviceMode::CAMERA, id, provider); in openSession()
449 removeRef(DeviceMode::CAMERA, id); in openSession()
460 void CameraProviderManager::saveRef(DeviceMode usageType, const std::string &cameraId, in saveRef()
468 if (usageType == DeviceMode::TORCH) { in saveRef()
485 void CameraProviderManager::removeRef(DeviceMode usageType, const std::string &cameraId) { in removeRef()
491 if (usageType == DeviceMode::TORCH) { in removeRef()
1850 mManager->removeRef(DeviceMode::TORCH, id); in torchModeStatusChange()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2829 sCameraService->mCameraProviderManager->removeRef(CameraProviderManager::DeviceMode::CAMERA, in disconnect()