Home
last modified time | relevance | path

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

12

/hardware/qcom/sm8150/display/gralloc/
Dgr_buf_mgr.h70 int ref_count = 1; member
80 void IncRef() { ++ref_count; } in IncRef()
81 bool DecRef() { return --ref_count == 0; } in DecRef()
/hardware/qcom/sdm845/display/gralloc/
Dgr_buf_mgr.h71 int ref_count = 1; member
81 void IncRef() { ++ref_count; } in IncRef()
82 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/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/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/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/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/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/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/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/qcom/sdm845/bt/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.cpp202 volatile int32_t ref_count; member
493 const_cast<struct submix_stream_in*>(in)->ref_count--; in audio_config_compare()
496 if (in->ref_count == 0) { in audio_config_compare()
500 ALOGV("submix_audio_device_destroy_pipe_l(): input ref_count %d", in->ref_count); in audio_config_compare()
1617 in->ref_count++; in audio_config_compare()
1624 in->ref_count); in audio_config_compare()
1627 ALOGD(" Non-NULL sink when opening input stream, refcount=%d", in->ref_count); in audio_config_compare()
1630 ALOGE("NULL sink when opening input stream, refcount=%d", in->ref_count); in audio_config_compare()
1641 in->ref_count = 1; in audio_config_compare()
1715 if (in->ref_count == 0) free(in); in audio_config_compare()
/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/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h123 int ref_count; ///< reference count member
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h130 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/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.cpp2232 if (m_meta_buffer_array[ii].ref_count == 0) in fill_this_buffer()
4503 if (m_meta_buffer_array[index].ref_count == 0) in meta_buffer_ref_add()
4508 m_meta_buffer_array[index].ref_count++; in meta_buffer_ref_add()
4520 m_meta_buffer_array[index].ref_count--; in meta_buffer_ref_remove()
4522 if (m_meta_buffer_array[index].ref_count == 0) in meta_buffer_ref_remove()
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp2216 if (m_meta_buffer_array[ii].ref_count == 0) in fill_this_buffer()
4478 if (m_meta_buffer_array[index].ref_count == 0) in meta_buffer_ref_add()
4483 m_meta_buffer_array[index].ref_count++; in meta_buffer_ref_add()
4495 m_meta_buffer_array[index].ref_count--; in meta_buffer_ref_remove()
4497 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