Lines Matching refs:device

40     ALOGV("%s: Created device for camera %d", __FUNCTION__, id);
53 ALOGV("%s: Initializing device for camera %d", __FUNCTION__, mId);
63 camera2_device_t *device;
66 reinterpret_cast<hw_device_t**>(&device));
74 if (device->common.version != CAMERA_DEVICE_API_VERSION_2_0) {
76 "Camera device is not version %x, reports %x instead",
78 device->common.version);
79 device->common.close(&device->common);
87 if (info.device_version != device->common.version) {
89 " and device version (%x).", __FUNCTION__,
90 device->common.version, info.device_version);
91 device->common.close(&device->common);
95 res = mRequestQueue.setConsumerDevice(device);
97 ALOGE("%s: Camera %d: Unable to connect request queue to device: %s (%d)",
99 device->common.close(&device->common);
102 res = mFrameQueue.setProducerDevice(device);
104 ALOGE("%s: Camera %d: Unable to connect frame queue to device: %s (%d)",
106 device->common.close(&device->common);
110 res = device->ops->get_metadata_vendor_tag_ops(device, &mVendorTagOps);
112 ALOGE("%s: Camera %d: Unable to retrieve tag ops from device: %s (%d)",
114 device->common.close(&device->common);
121 device->common.close(&device->common);
124 res = device->ops->set_notify_callback(device, notificationCallback,
129 device->common.close(&device->common);
134 mDevice = device;
143 ALOGV("%s: Closing device for camera %d", __FUNCTION__, mId);
147 ALOGW("%s: Closing camera device %d with %d requests in flight!",
196 result = " HAL device dump:\n";
353 ALOGE("%s: Unable to release stream %d from HAL device: "
380 "HAL device: %s (%d)", __FUNCTION__, id,
987 // Allocate device-side stream interface
1091 // Register allocated buffers with HAL device
1114 ALOGE("%s: Unable to register buffers with HAL device for stream %d",
1361 // Allocate device-side stream interface