Home
last modified time | relevance | path

Searched refs:ref_count (Results 1 – 25 of 37) sorted by relevance

12

/hardware/qcom/sm7250/display/gralloc/
Dgr_buf_mgr.h80 int ref_count = 1; member
90 void IncRef() { ++ref_count; } in IncRef()
91 bool DecRef() { return --ref_count == 0; } in DecRef()
/hardware/qcom/sm8150/display/gralloc/
Dgr_buf_mgr.h79 int ref_count = 1; member
89 void IncRef() { ++ref_count; } in IncRef()
90 bool DecRef() { return --ref_count == 0; } in DecRef()
/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_reference.cpp45 uint64_t ref_count = 0; member
220 if (data.ref_count == 0) { in get_validated_data_locked()
274 } else if (it->second->ref_count == 0) { in retain()
279 data.ref_count++; in retain()
301 if (data.ref_count == 0) { in release()
306 data.ref_count--; in release()
307 if (data.ref_count == 0) { in release()
/hardware/qcom/display/msm8909/gralloc/
Dgr_buf_mgr.h98 int ref_count = 1; member
111 void IncRef() { ++ref_count; } in IncRef()
112 bool DecRef() { return --ref_count == 0; } in DecRef()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_buf_mgr.h98 int ref_count = 1; member
111 void IncRef() { ++ref_count; } in IncRef()
112 bool DecRef() { return --ref_count == 0; } in DecRef()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_buf_mgr.h98 int ref_count = 1; member
111 void IncRef() { ++ref_count; } in IncRef()
112 bool DecRef() { return --ref_count == 0; } in DecRef()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_buf_mgr.h98 int ref_count = 1; member
111 void IncRef() { ++ref_count; } in IncRef()
112 bool DecRef() { return --ref_count == 0; } in DecRef()
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dbt_vendor_qcom.c225 char ref_count[PROPERTY_VALUE_MAX]; in can_perform_action() local
228 property_get("wc_transport.ref_count", ref_count, "0"); in can_perform_action()
230 value = atoi(ref_count); in can_perform_action()
231 ALOGV("%s: ref_count: %s\n",__func__, ref_count); in can_perform_action()
258 snprintf(ref_count, 3, "%d", value); in can_perform_action()
259 ALOGV("%s: updated ref_count is: %s", __func__, ref_count); in can_perform_action()
261 ret = property_set("wc_transport.ref_count", ref_count); in can_perform_action()
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dbt_vendor_qcom.c247 char ref_count[PROPERTY_VALUE_MAX]; in can_perform_action() local
251 property_get("wc_transport.ref_count", ref_count, "0"); in can_perform_action()
253 value = atoi(ref_count); in can_perform_action()
254 ALOGV("%s: ref_count: %s\n",__func__, ref_count); in can_perform_action()
286 snprintf(ref_count, 3, "%d", value); in can_perform_action()
287 ALOGV("%s: updated ref_count is: %s", __func__, ref_count); in can_perform_action()
289 ret = property_set("wc_transport.ref_count", ref_count); in can_perform_action()
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dbt_vendor_qcom.c231 char ref_count[PROPERTY_VALUE_MAX]; in can_perform_action() local
235 property_get("wc_transport.ref_count", ref_count, "0"); in can_perform_action()
237 value = atoi(ref_count); in can_perform_action()
238 ALOGV("%s: ref_count: %s\n",__func__, ref_count); in can_perform_action()
270 snprintf(ref_count, 3, "%d", value); in can_perform_action()
271 ALOGV("%s: updated ref_count is: %s", __func__, ref_count); in can_perform_action()
273 ret = property_set("wc_transport.ref_count", ref_count); in can_perform_action()
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
Dbt_vendor_qcom.c225 char ref_count[PROPERTY_VALUE_MAX]; in can_perform_action() local
229 property_get("wc_transport.ref_count", ref_count, "0"); in can_perform_action()
231 value = atoi(ref_count); in can_perform_action()
232 ALOGV("%s: ref_count: %s\n",__func__, ref_count); in can_perform_action()
265 snprintf(ref_count, 3, "%d", value); in can_perform_action()
266 ALOGV("%s: updated ref_count is: %s", __func__, ref_count); in can_perform_action()
268 ret = property_set("wc_transport.ref_count", ref_count); in can_perform_action()
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dbt_vendor_qcom.c229 char ref_count[PROPERTY_VALUE_MAX]; in can_perform_action() local
233 property_get("wc_transport.ref_count", ref_count, "0"); in can_perform_action()
235 value = atoi(ref_count); in can_perform_action()
236 ALOGV("%s: ref_count: %s\n",__func__, ref_count); in can_perform_action()
269 snprintf(ref_count, 3, "%d", value); in can_perform_action()
270 ALOGV("%s: updated ref_count is: %s", __func__, ref_count); in can_perform_action()
272 ret = property_set("wc_transport.ref_count", ref_count); in can_perform_action()
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp190 volatile int32_t ref_count; member
455 const_cast<struct submix_stream_in*>(in)->ref_count--; in submix_audio_device_destroy_pipe_l()
458 if (in->ref_count == 0) { in submix_audio_device_destroy_pipe_l()
462 ALOGV("submix_audio_device_destroy_pipe_l(): input ref_count %d", in->ref_count); in submix_audio_device_destroy_pipe_l()
1490 in->ref_count++; in adev_open_input_stream()
1497 in->ref_count); in adev_open_input_stream()
1500 ALOGD(" Non-NULL sink when opening input stream, refcount=%d", in->ref_count); in adev_open_input_stream()
1503 ALOGE("NULL sink when opening input stream, refcount=%d", in->ref_count); in adev_open_input_stream()
1514 in->ref_count = 1; in adev_open_input_stream()
1592 if (in->ref_count == 0) free(in); in adev_close_input_stream()
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dmm_jpeg_interface.h282 int32_t ref_count; member
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h130 unsigned int ref_count; ///< reference count member
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c628 my_obj->ref_count--; in mm_camera_intf_close()
629 if(my_obj->ref_count > 0) { in mm_camera_intf_close()
631 LOGD("ref_count=%d\n", my_obj->ref_count); in mm_camera_intf_close()
3184 g_cam_ctrl.cam_obj[cam_idx]->ref_count != 0) { in camera_open()
3201 cam_obj->ref_count++; in camera_open()
3230 g_cam_ctrl.cam_obj[aux_idx]->ref_count != 0) { in camera_open()
Dmm_camera_muxer.c264 my_obj->ref_count++; in mm_camera_muxer_camera_open()
382 my_obj->ref_count--; in mm_camera_muxer_close_camera()
383 if(my_obj->ref_count > 0) { in mm_camera_muxer_close_camera()
384 LOGD("ref_count=%d\n", my_obj->ref_count); in mm_camera_muxer_close_camera()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c688 p_encode_job->ref_count++; in mm_jpeg_get_mem()
691 p_encode_job->ref_count, p_out_buf); in mm_jpeg_get_mem()
730 p_encode_job->ref_count) { in mm_jpeg_put_mem()
734 p_encode_job->ref_count--; in mm_jpeg_put_mem()
736 } else if (p_encode_job->ref_count) { in mm_jpeg_put_mem()
737 p_encode_job->ref_count--; in mm_jpeg_put_mem()
739 LOGW("Buffer already released %d", p_encode_job->ref_count); in mm_jpeg_put_mem()
743 p_encode_job->ref_count, p_encode_job->alloc_out_buffer); in mm_jpeg_put_mem()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h135 int ref_count; ///< reference count member
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h135 int ref_count; ///< reference count member
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h123 int ref_count; ///< reference count member
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp2196 if (m_meta_buffer_array[ii].ref_count == 0) in fill_this_buffer()
4372 if (m_meta_buffer_array[index].ref_count == 0) in meta_buffer_ref_add()
4377 m_meta_buffer_array[index].ref_count++; in meta_buffer_ref_add()
4389 m_meta_buffer_array[index].ref_count--; in meta_buffer_ref_remove()
4391 if (m_meta_buffer_array[index].ref_count == 0) in meta_buffer_ref_remove()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp2216 if (m_meta_buffer_array[ii].ref_count == 0) in fill_this_buffer()
4488 if (m_meta_buffer_array[index].ref_count == 0) in meta_buffer_ref_add()
4493 m_meta_buffer_array[index].ref_count++; in meta_buffer_ref_add()
4505 m_meta_buffer_array[index].ref_count--; in meta_buffer_ref_remove()
4507 if (m_meta_buffer_array[index].ref_count == 0) in meta_buffer_ref_remove()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp2188 if (m_meta_buffer_array[ii].ref_count == 0) in fill_this_buffer()
4365 if (m_meta_buffer_array[index].ref_count == 0) in meta_buffer_ref_add()
4370 m_meta_buffer_array[index].ref_count++; in meta_buffer_ref_add()
4382 m_meta_buffer_array[index].ref_count--; in meta_buffer_ref_remove()
4384 if (m_meta_buffer_array[index].ref_count == 0) in meta_buffer_ref_remove()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h598 int ref_count; member

12