Home | History | Annotate | Download | only in ndk

Lines Matching refs:device

30 camera_status_t ACameraDevice_close(ACameraDevice* device) {
32 if (device == nullptr) {
33 ALOGE("%s: invalid argument! device is null", __FUNCTION__);
36 delete device;
41 const char* ACameraDevice_getId(const ACameraDevice* device) {
43 if (device == nullptr) {
44 ALOGE("%s: invalid argument! device is null", __FUNCTION__);
47 return device->getId();
52 const ACameraDevice* device,
56 if (device == nullptr || request == nullptr) {
57 ALOGE("%s: invalid argument! device %p request %p",
58 __FUNCTION__, device, request);
73 return device->createCaptureRequest(templateId, request);
150 ACameraDevice* device,
155 if (device == nullptr || outputs == nullptr || callbacks == nullptr || session == nullptr) {
156 ALOGE("%s: Error: invalid input: device %p, outputs %p, callbacks %p, session %p",
157 __FUNCTION__, device, outputs, callbacks, session);
160 return device->createCaptureSession(outputs, callbacks, session);