• Home
  • Raw
  • Download

Lines Matching refs:dev

26     sp<acam::CameraDevice> dev = getDeviceSp();  in ~ACameraCaptureSession()  local
27 if (dev != nullptr && !dev->isClosed()) { in ~ACameraCaptureSession()
28 dev->lockDeviceForSessionOps(); in ~ACameraCaptureSession()
31 dev->notifySessionEndOfLifeLocked(this); in ~ACameraCaptureSession()
33 dev->unlockDevice(); in ~ACameraCaptureSession()
53 sp<acam::CameraDevice> dev = getDeviceSp(); in closeByApp() local
54 if (dev != nullptr) { in closeByApp()
55 dev->lockDeviceForSessionOps(); in closeByApp()
61 if (!mIsClosed && dev != nullptr) { in closeByApp()
62 camera_status_t ret = dev->stopRepeatingLocked(); in closeByApp()
70 if (dev != nullptr) { in closeByApp()
71 dev->unlockDevice(); in closeByApp()
78 sp<acam::CameraDevice> dev = getDeviceSp(); in stopRepeating() local
79 if (dev == nullptr) { in stopRepeating()
85 dev->lockDeviceForSessionOps(); in stopRepeating()
88 ret = dev->stopRepeatingLocked(); in stopRepeating()
90 dev->unlockDevice(); in stopRepeating()
96 sp<acam::CameraDevice> dev = getDeviceSp(); in abortCaptures() local
97 if (dev == nullptr) { in abortCaptures()
103 dev->lockDeviceForSessionOps(); in abortCaptures()
106 ret = dev->flushLocked(this); in abortCaptures()
108 dev->unlockDevice(); in abortCaptures()
113 sp<acam::CameraDevice> dev = getDeviceSp(); in updateOutputConfiguration() local
114 if (dev == nullptr) { in updateOutputConfiguration()
120 dev->lockDeviceForSessionOps(); in updateOutputConfiguration()
123 ret = dev->updateOutputConfigurationLocked(output); in updateOutputConfiguration()
125 dev->unlockDevice(); in updateOutputConfiguration()
132 sp<acam::CameraDevice> dev = getDeviceSp(); in getDevice() local
133 if (dev == nullptr) { in getDevice()
137 return dev->getWrapper(); in getDevice()