/hardware/qcom/media/msm8974/mm-core/omxcore/src/common/ |
D | qc_omx_core.c | 168 unsigned i = 0,j=0; in clear_cmp_handle() local 175 for(j=0; j< OMX_COMP_MAX_INST; j++) in clear_cmp_handle() 177 if(inst == core[i].inst[j]) in clear_cmp_handle() 179 core[i].inst[j] = NULL; in clear_cmp_handle() 202 unsigned i=0,j=0; in is_cmp_handle_exists() local 210 for(j=0; j< OMX_COMP_MAX_INST; j++) in is_cmp_handle_exists() 212 if(inst == core[i].inst[j]) in is_cmp_handle_exists() 237 unsigned i=0,j=0; in get_comp_handle_index() local 243 for(j=0; j< OMX_COMP_MAX_INST; j++) in get_comp_handle_index() 245 if(NULL == core[i].inst[j]) in get_comp_handle_index() [all …]
|
/hardware/qcom/media/msm8974/mm-core/src/common/ |
D | qc_omx_core.c | 165 unsigned i = 0,j=0; in clear_cmp_handle() local 172 for(j=0; j< OMX_COMP_MAX_INST; j++) in clear_cmp_handle() 174 if(inst == core[i].inst[j]) in clear_cmp_handle() 176 core[i].inst[j] = NULL; in clear_cmp_handle() 199 unsigned i=0,j=0; in is_cmp_handle_exists() local 208 for(j=0; j< OMX_COMP_MAX_INST; j++) in is_cmp_handle_exists() 210 if(inst == core[i].inst[j]) in is_cmp_handle_exists() 237 unsigned i=0,j=0; in get_comp_handle_index() local 243 for(j=0; j< OMX_COMP_MAX_INST; j++) in get_comp_handle_index() 245 if(NULL == core[i].inst[j]) in get_comp_handle_index() [all …]
|
/hardware/google/pixel/thermal/utils/ |
D | config_parser.cpp | 127 for (Json::Value::ArrayIndex j = 0; j < kThrottlingSeverityCount; ++j) { in ParseSensorInfo() local 128 hot_thresholds[j] = getFloatFromValue(values[j]); in ParseSensorInfo() 129 if (!std::isnan(hot_thresholds[j])) { in ParseSensorInfo() 130 if (hot_thresholds[j] < min) { in ParseSensorInfo() 132 << "Sensor[" << name << "]'s HotThreshold[j" << j in ParseSensorInfo() 133 << "]: " << hot_thresholds[j] << " < " << min; in ParseSensorInfo() 137 min = hot_thresholds[j]; in ParseSensorInfo() 139 LOG(INFO) << "Sensor[" << name << "]'s HotThreshold[" << j in ParseSensorInfo() 140 << "]: " << hot_thresholds[j]; in ParseSensorInfo() 149 for (Json::Value::ArrayIndex j = 0; j < kThrottlingSeverityCount; ++j) { in ParseSensorInfo() local [all …]
|
/hardware/qcom/media/msm8996/mm-core/src/common/ |
D | qc_omx_core.c | 169 unsigned i = 0,j=0; in clear_cmp_handle() local 176 for(j=0; j< OMX_COMP_MAX_INST; j++) in clear_cmp_handle() 178 if(inst == core[i].inst[j]) in clear_cmp_handle() 180 core[i].inst[j] = NULL; in clear_cmp_handle() 203 unsigned i=0,j=0; in is_cmp_handle_exists() local 212 for(j=0; j< OMX_COMP_MAX_INST; j++) in is_cmp_handle_exists() 214 if(inst == core[i].inst[j]) in is_cmp_handle_exists() 241 unsigned i=0,j=0; in get_comp_handle_index() local 247 for(j=0; j< OMX_COMP_MAX_INST; j++) in get_comp_handle_index() 249 if(NULL == core[i].inst[j]) in get_comp_handle_index() [all …]
|
/hardware/qcom/media/msm8998/mm-core/src/common/ |
D | qc_omx_core.c | 169 unsigned i = 0,j=0; in clear_cmp_handle() local 176 for(j=0; j< OMX_COMP_MAX_INST; j++) in clear_cmp_handle() 178 if(inst == core[i].inst[j]) in clear_cmp_handle() 180 core[i].inst[j] = NULL; in clear_cmp_handle() 203 unsigned i=0,j=0; in is_cmp_handle_exists() local 212 for(j=0; j< OMX_COMP_MAX_INST; j++) in is_cmp_handle_exists() 214 if(inst == core[i].inst[j]) in is_cmp_handle_exists() 241 unsigned i=0,j=0; in get_comp_handle_index() local 247 for(j=0; j< OMX_COMP_MAX_INST; j++) in get_comp_handle_index() 249 if(NULL == core[i].inst[j]) in get_comp_handle_index() [all …]
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | ALSAMixer.cpp | 209 for (int j = 0; mixerProp[j][i].device; j++) { in ALSAMixer() local 211 mixer_info_t *info = mixerProp[j][i].mInfo = new mixer_info_t; in ALSAMixer() 213 property_get (mixerProp[j][i].propName, in ALSAMixer() 215 mixerProp[j][i].propDefault); in ALSAMixer() 257 for (int j = 0; mixerProp[j][i].device; j++) { in ~ALSAMixer() local 258 if (mixerProp[j][i].mInfo) { in ~ALSAMixer() 259 delete mixerProp[j][i].mInfo; in ~ALSAMixer() 260 mixerProp[j][i].mInfo = NULL; in ~ALSAMixer() 307 for (int j = 0; mixerProp[j][SND_PCM_STREAM_PLAYBACK].device; j++) in setVolume() local 308 if (mixerProp[j][SND_PCM_STREAM_PLAYBACK].device & device) { in setVolume() [all …]
|
/hardware/qcom/sm8150/media/mm-core/src/common/ |
D | qc_omx_core.c | 175 unsigned i = 0,j=0; in clear_cmp_handle() local 182 for(j=0; j< OMX_COMP_MAX_INST; j++) in clear_cmp_handle() 184 if(inst == core[i].inst[j]) in clear_cmp_handle() 186 core[i].inst[j] = NULL; in clear_cmp_handle() 209 unsigned i=0,j=0; in is_cmp_handle_exists() local 218 for(j=0; j< OMX_COMP_MAX_INST; j++) in is_cmp_handle_exists() 220 if(inst == core[i].inst[j]) in is_cmp_handle_exists() 247 unsigned i=0,j=0; in get_comp_handle_index() local 253 for(j=0; j< OMX_COMP_MAX_INST; j++) in get_comp_handle_index() 255 if(NULL == core[i].inst[j]) in get_comp_handle_index() [all …]
|
/hardware/qcom/sdm845/media/mm-core/src/common/ |
D | qc_omx_core.c | 169 unsigned i = 0,j=0; in clear_cmp_handle() local 176 for(j=0; j< OMX_COMP_MAX_INST; j++) in clear_cmp_handle() 178 if(inst == core[i].inst[j]) in clear_cmp_handle() 180 core[i].inst[j] = NULL; in clear_cmp_handle() 203 unsigned i=0,j=0; in is_cmp_handle_exists() local 212 for(j=0; j< OMX_COMP_MAX_INST; j++) in is_cmp_handle_exists() 214 if(inst == core[i].inst[j]) in is_cmp_handle_exists() 241 unsigned i=0,j=0; in get_comp_handle_index() local 247 for(j=0; j< OMX_COMP_MAX_INST; j++) in get_comp_handle_index() 249 if(NULL == core[i].inst[j]) in get_comp_handle_index() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
D | hw_scale.cpp | 108 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 110 j, scale->init_phase_x[j], scale->phase_step_x[j], scale->init_phase_y[j], in DumpScaleData() 111 scale->phase_step_y[j], scale->num_ext_pxls_left[j], scale->num_ext_pxls_top[j], in DumpScaleData() 112 scale->num_ext_pxls_right[j], scale->num_ext_pxls_btm[j]); in DumpScaleData() 114 scale->left_ftch[j], scale->top_ftch[j], scale->right_ftch[j], scale->btm_ftch[j], in DumpScaleData() 115 scale->left_rpt[j], scale->top_rpt[j], scale->right_rpt[j], scale->btm_rpt[j], in DumpScaleData() 116 scale->roi_w[j]); in DumpScaleData() 277 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 279 j, scale->init_phase_x[j], scale->init_phase_y[j], scale->phase_step_x[j], in DumpScaleData() 280 scale->phase_step_y[j]); in DumpScaleData() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_scale.cpp | 108 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 110 j, scale->init_phase_x[j], scale->phase_step_x[j], scale->init_phase_y[j], in DumpScaleData() 111 scale->phase_step_y[j], scale->num_ext_pxls_left[j], scale->num_ext_pxls_top[j], in DumpScaleData() 112 scale->num_ext_pxls_right[j], scale->num_ext_pxls_btm[j]); in DumpScaleData() 114 scale->left_ftch[j], scale->top_ftch[j], scale->right_ftch[j], scale->btm_ftch[j], in DumpScaleData() 115 scale->left_rpt[j], scale->top_rpt[j], scale->right_rpt[j], scale->btm_rpt[j], in DumpScaleData() 116 scale->roi_w[j]); in DumpScaleData() 277 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 279 j, scale->init_phase_x[j], scale->init_phase_y[j], scale->phase_step_x[j], in DumpScaleData() 280 scale->phase_step_y[j]); in DumpScaleData() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_scale.cpp | 108 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 110 j, scale->init_phase_x[j], scale->phase_step_x[j], scale->init_phase_y[j], in DumpScaleData() 111 scale->phase_step_y[j], scale->num_ext_pxls_left[j], scale->num_ext_pxls_top[j], in DumpScaleData() 112 scale->num_ext_pxls_right[j], scale->num_ext_pxls_btm[j]); in DumpScaleData() 114 scale->left_ftch[j], scale->top_ftch[j], scale->right_ftch[j], scale->btm_ftch[j], in DumpScaleData() 115 scale->left_rpt[j], scale->top_rpt[j], scale->right_rpt[j], scale->btm_rpt[j], in DumpScaleData() 116 scale->roi_w[j]); in DumpScaleData() 280 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 282 j, scale->init_phase_x[j], scale->init_phase_y[j], scale->phase_step_x[j], in DumpScaleData() 283 scale->phase_step_y[j]); in DumpScaleData() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/core/fb/ |
D | hw_scale.cpp | 108 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 110 j, scale->init_phase_x[j], scale->phase_step_x[j], scale->init_phase_y[j], in DumpScaleData() 111 scale->phase_step_y[j], scale->num_ext_pxls_left[j], scale->num_ext_pxls_top[j], in DumpScaleData() 112 scale->num_ext_pxls_right[j], scale->num_ext_pxls_btm[j]); in DumpScaleData() 114 scale->left_ftch[j], scale->top_ftch[j], scale->right_ftch[j], scale->btm_ftch[j], in DumpScaleData() 115 scale->left_rpt[j], scale->top_rpt[j], scale->right_rpt[j], scale->btm_rpt[j], in DumpScaleData() 116 scale->roi_w[j]); in DumpScaleData() 277 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 279 j, scale->init_phase_x[j], scale->init_phase_y[j], scale->phase_step_x[j], in DumpScaleData() 280 scale->phase_step_y[j]); in DumpScaleData() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_scale.cpp | 108 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 110 j, scale->init_phase_x[j], scale->phase_step_x[j], scale->init_phase_y[j], in DumpScaleData() 111 scale->phase_step_y[j], scale->num_ext_pxls_left[j], scale->num_ext_pxls_top[j], in DumpScaleData() 112 scale->num_ext_pxls_right[j], scale->num_ext_pxls_btm[j]); in DumpScaleData() 114 scale->left_ftch[j], scale->top_ftch[j], scale->right_ftch[j], scale->btm_ftch[j], in DumpScaleData() 115 scale->left_rpt[j], scale->top_rpt[j], scale->right_rpt[j], scale->btm_rpt[j], in DumpScaleData() 116 scale->roi_w[j]); in DumpScaleData() 277 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 279 j, scale->init_phase_x[j], scale->init_phase_y[j], scale->phase_step_x[j], in DumpScaleData() 280 scale->phase_step_y[j]); in DumpScaleData() [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/core/fb/ |
D | hw_scale.cpp | 108 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 110 j, scale->init_phase_x[j], scale->phase_step_x[j], scale->init_phase_y[j], in DumpScaleData() 111 scale->phase_step_y[j], scale->num_ext_pxls_left[j], scale->num_ext_pxls_top[j], in DumpScaleData() 112 scale->num_ext_pxls_right[j], scale->num_ext_pxls_btm[j]); in DumpScaleData() 114 scale->left_ftch[j], scale->top_ftch[j], scale->right_ftch[j], scale->btm_ftch[j], in DumpScaleData() 115 scale->left_rpt[j], scale->top_rpt[j], scale->right_rpt[j], scale->btm_rpt[j], in DumpScaleData() 116 scale->roi_w[j]); in DumpScaleData() 277 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 279 j, scale->init_phase_x[j], scale->init_phase_y[j], scale->phase_step_x[j], in DumpScaleData() 280 scale->phase_step_y[j]); in DumpScaleData() [all …]
|
/hardware/qcom/sdm845/gps/sdm845/utils/ |
D | loc_cfg.cpp | 533 unsigned int j=0; in loc_read_process_conf() local 774 for(j=0; j<proc_list_length; j++) { in loc_read_process_conf() 776 child_proc[j].proc_status = DISABLED; in loc_read_process_conf() 777 memset(child_proc[j].group_list, 0, sizeof(child_proc[j].group_list)); in loc_read_process_conf() 803 child_proc[j].proc_status = DISABLED_FROM_CONF; in loc_read_process_conf() 817 strlcpy(child_proc[j].name[0], conf.proc_name, sizeof (child_proc[j].name[0])); in loc_read_process_conf() 819 child_proc[j].num_groups = 0; in loc_read_process_conf() 825 child_proc[j].group_list[i] = pwd->pw_gid; in loc_read_process_conf() 826 child_proc[j].num_groups++; in loc_read_process_conf() 829 pwd->pw_gid,child_proc[j].group_list[i]); in loc_read_process_conf() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_unit_test.c | 78 int i, j; in mm_app_tc_start_stop_preview() local 91 for (j = 0; j < MM_QCAMERA_APP_UTEST_INNER_LOOP; j++) { in mm_app_tc_start_stop_preview() 126 int i, j; in mm_app_tc_start_stop_zsl() local 139 for (j = 0; j < 1; j++) { in mm_app_tc_start_stop_zsl() 174 int i, j; in mm_app_tc_start_stop_video_preview() local 189 for (j = 0; j < MM_QCAMERA_APP_UTEST_INNER_LOOP; j++) { in mm_app_tc_start_stop_video_preview() 224 int i, j; in mm_app_tc_start_stop_video_record() local 249 for (j = 0; j < MM_QCAMERA_APP_UTEST_INNER_LOOP; j++) { in mm_app_tc_start_stop_video_record() 301 int i, j; in mm_app_tc_start_stop_live_snapshot() local 337 for (j = 0; j < MM_QCAMERA_APP_UTEST_INNER_LOOP; j++) { in mm_app_tc_start_stop_live_snapshot() [all …]
|
/hardware/qcom/display/msm8084/libqdutils/ |
D | qd_utils.cpp | 40 int j = 0; in getHDMINode() local 42 for(j = 0; j < HWC_NUM_DISPLAY_TYPES; j++) { in getHDMINode() 44 "/sys/class/graphics/fb%d/msm_fb_type", j); in getHDMINode() 50 ALOGD("%s: HDMI is at fb%d", __func__, j); in getHDMINode() 56 ALOGE("%s: Failed to open fb node %d", __func__, j); in getHDMINode() 60 if (j < HWC_NUM_DISPLAY_TYPES) in getHDMINode() 61 return j; in getHDMINode()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.c | 117 int i, j, result, find_flag; in parsing_proc_input() local 145 j = 0; in parsing_proc_input() 148 while(j < CHIP_NUM){ in parsing_proc_input() 149 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){ in parsing_proc_input() 151 chip_ind = j; in parsing_proc_input() 153 j++; in parsing_proc_input() 168 j = 0; in parsing_proc_input() 170 tmp[j] = line[i]; in parsing_proc_input() 171 i ++; j++; in parsing_proc_input() 196 j = 0; in parsing_proc_input() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.c | 125 int i, j, result, find_flag; in parsing_proc_input() local 153 j = 0; in parsing_proc_input() 156 while(j < CHIP_NUM){ in parsing_proc_input() 157 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){ in parsing_proc_input() 159 chip_ind = j; in parsing_proc_input() 161 j++; in parsing_proc_input() 176 j = 0; in parsing_proc_input() 178 tmp[j] = line[i]; in parsing_proc_input() 179 i ++; j++; in parsing_proc_input() 204 j = 0; in parsing_proc_input() [all …]
|
/hardware/qcom/sm8150/gps/utils/ |
D | loc_cfg.cpp | 557 unsigned int j=0; in loc_read_process_conf() local 733 for(j=0; j<proc_list_length; j++) { in loc_read_process_conf() 735 child_proc[j].proc_status = DISABLED; in loc_read_process_conf() 736 memset(child_proc[j].group_list, 0, sizeof(child_proc[j].group_list)); in loc_read_process_conf() 762 child_proc[j].proc_status = DISABLED_VIA_VENDOR_ENHANCED_CHECK; in loc_read_process_conf() 769 child_proc[j].proc_status = DISABLED_FROM_CONF; in loc_read_process_conf() 783 strlcpy(child_proc[j].name[0], conf.proc_name, sizeof (child_proc[j].name[0])); in loc_read_process_conf() 785 child_proc[j].num_groups = 0; in loc_read_process_conf() 790 child_proc[j].group_list[child_proc[j].num_groups] = grp->gr_gid; in loc_read_process_conf() 791 child_proc[j].num_groups++; in loc_read_process_conf() [all …]
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | qd_utils.cpp | 40 int j = 0; in getHDMINode() local 42 for(j = 0; j < HWC_NUM_DISPLAY_TYPES; j++) { in getHDMINode() 44 "/sys/class/graphics/fb%d/msm_fb_type", j); in getHDMINode() 50 ALOGD("%s: HDMI is at fb%d", __func__, j); in getHDMINode() 56 ALOGD("%s: fb node %d not present", __func__, j); in getHDMINode() 60 if (j < HWC_NUM_DISPLAY_TYPES) in getHDMINode() 61 return j; in getHDMINode()
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | qd_utils.cpp | 41 int j = 0; in getHDMINode() local 43 for(j = 0; j < HWC_NUM_DISPLAY_TYPES; j++) { in getHDMINode() 45 "/sys/class/graphics/fb%d/msm_fb_type", j); in getHDMINode() 51 ALOGD("%s: HDMI is at fb%d", __func__, j); in getHDMINode() 57 ALOGE("%s: Failed to open fb node %d", __func__, j); in getHDMINode() 61 if (j < HWC_NUM_DISPLAY_TYPES) in getHDMINode() 62 return j; in getHDMINode()
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
D | main.c | 470 int j; in fifo_callback() local 473 for (j = 0; j < 4; j++) in fifo_callback() 474 quat[j] = (float)temp[j] / (1 << 30); in fifo_callback() 648 int j; in components_parser() local 651 for (j = 0; j < NUM_OF_IDS; j++) in components_parser() 652 components[j].order = -1; in components_parser() 655 for (j = 0; j < length; j++) { in components_parser() 656 switch (requested[j]) { in components_parser() 658 components[TEMPERATURE].order = j; in components_parser() 661 components[CALIBRATED_GYROSCOPE].order = j; in components_parser() [all …]
|
/hardware/interfaces/tests/foo/1.0/default/ |
D | Foo.cpp | 253 for (size_t j = 0; j < 3; ++j) { in transposeMe() local 254 out[i][j] = in[j][i]; in transposeMe() 271 for (size_t j = 0; j < 3; ++j) { in callingDrWho() local 272 out.quuxMatrix[i][j].first = in.quuxMatrix[4 - i][2 - j].last; in callingDrWho() 273 out.quuxMatrix[i][j].last = in.quuxMatrix[4 - i][2 - j].first; in callingDrWho() 287 for (size_t j = 0; j < 5; ++j) { in transpose() local 288 out.s[i][j] = in.s[j][i]; in transpose() 303 for (size_t j = 0; j < 5; ++j) { in transpose2() local 304 out[i][j] = in[j][i]; in transpose2()
|
/hardware/qcom/display/msm8996/libqdutils/ |
D | qd_utils.cpp | 109 int j = 0; in getHDMINode() local 111 for(j = 0; j < HWC_NUM_DISPLAY_TYPES; j++) { in getHDMINode() 113 "/sys/class/graphics/fb%d/msm_fb_type", j); in getHDMINode() 119 ALOGD("%s: HDMI is at fb%d", __func__, j); in getHDMINode() 125 ALOGE("%s: Failed to open fb node %d", __func__, j); in getHDMINode() 129 if (j < HWC_NUM_DISPLAY_TYPES) in getHDMINode() 130 return j; in getHDMINode()
|