Home
last modified time | relevance | path

Searched refs:ARRAY_SIZE (Results 1 – 25 of 54) sorted by relevance

123

/hardware/libhardware/modules/camera/3_0/
DExampleCamera.cpp30 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
53 ARRAY_SIZE(android_control_ae_available_target_fps_ranges), in initStaticInfo()
58 ARRAY_SIZE(android_control_ae_compensation_range), in initStaticInfo()
63 ARRAY_SIZE(android_control_ae_compensation_step), in initStaticInfo()
68 ARRAY_SIZE(android_control_max_regions), in initStaticInfo()
74 ARRAY_SIZE(android_jpeg_available_thumbnail_sizes), in initStaticInfo()
79 ARRAY_SIZE(android_jpeg_max_size), in initStaticInfo()
85 ARRAY_SIZE(android_lens_info_available_focal_lengths), in initStaticInfo()
91 ARRAY_SIZE(android_request_max_num_output_streams), in initStaticInfo()
105 ARRAY_SIZE(android_scaler_available_formats), in initStaticInfo()
[all …]
/hardware/libhardware/modules/usbcamera/
DUsbCamera.cpp32 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
57 ARRAY_SIZE(android_control_ae_available_target_fps_ranges), in initStaticInfo()
62 ARRAY_SIZE(android_control_ae_compensation_range), in initStaticInfo()
67 ARRAY_SIZE(android_control_ae_compensation_step), in initStaticInfo()
72 ARRAY_SIZE(android_control_max_regions), in initStaticInfo()
78 ARRAY_SIZE(android_jpeg_available_thumbnail_sizes), in initStaticInfo()
83 ARRAY_SIZE(android_jpeg_max_size), in initStaticInfo()
89 ARRAY_SIZE(android_lens_info_available_focal_lengths), in initStaticInfo()
95 ARRAY_SIZE(android_request_max_num_output_streams), in initStaticInfo()
109 ARRAY_SIZE(android_scaler_available_formats), in initStaticInfo()
[all …]
/hardware/qcom/sm8150/thermal/
Dthermal_target.c111 .sens_cnt = ARRAY_SIZE(cpu_sensors_talos),
160 .sens_cnt = ARRAY_SIZE(cpu_sensors_sdmmagpie),
197 .sens_cnt = ARRAY_SIZE(cpu_sensors_sdmmagpie),
246 .sens_cnt = ARRAY_SIZE(cpu_sensors_trinket),
295 .sens_cnt = ARRAY_SIZE(cpu_sensors_bengal),
344 .sens_cnt = ARRAY_SIZE(cpu_sensors_msmnile),
374 .sens_cnt = ARRAY_SIZE(cpu_sensors_msmnile),
423 .sens_cnt = ARRAY_SIZE(cpu_sensors_660),
465 .sens_cnt = ARRAY_SIZE(cpu_sensors_630),
514 .sens_cnt = ARRAY_SIZE(cpu_sensors_8953),
[all …]
Dthermal-8998.c50 .sens_cnt = ARRAY_SIZE(cpu_sensors_8998),
88 ARRAY_SIZE(sensor_cfg_8998)); in get_temperatures()
Dthermal-845.c50 .sens_cnt = ARRAY_SIZE(cpu_sensors_845),
88 ARRAY_SIZE(sensor_cfg_845)); in get_temperatures()
/hardware/qcom/sdm845/thermal/
Dthermal_target.c109 .sens_cnt = ARRAY_SIZE(cpu_sensors_talos),
158 .sens_cnt = ARRAY_SIZE(cpu_sensors_sdmmagpie),
195 .sens_cnt = ARRAY_SIZE(cpu_sensors_sdmmagpie),
244 .sens_cnt = ARRAY_SIZE(cpu_sensors_trinket),
293 .sens_cnt = ARRAY_SIZE(cpu_sensors_msmnile),
342 .sens_cnt = ARRAY_SIZE(cpu_sensors_660),
384 .sens_cnt = ARRAY_SIZE(cpu_sensors_630),
433 .sens_cnt = ARRAY_SIZE(cpu_sensors_8953),
483 .sens_cnt = ARRAY_SIZE(cpu_sensors_710),
532 .sens_cnt = ARRAY_SIZE(cpu_sensors_632),
[all …]
Dthermal-845.c50 .sens_cnt = ARRAY_SIZE(cpu_sensors_845),
88 ARRAY_SIZE(sensor_cfg_845)); in get_temperatures()
Dthermal-8998.c50 .sens_cnt = ARRAY_SIZE(cpu_sensors_8998),
88 ARRAY_SIZE(sensor_cfg_8998)); in get_temperatures()
/hardware/qcom/audio/hal/msm8974/
Dhw_info.c36 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
76 hw_info->num_snd_devices = ARRAY_SIZE(tasha_fluid_variant_devices); in update_hardware_info_8996()
79 hw_info->num_snd_devices = ARRAY_SIZE(tasha_liquid_variant_devices); in update_hardware_info_8996()
82 hw_info->num_snd_devices = ARRAY_SIZE(tasha_db_variant_devices); in update_hardware_info_8996()
/hardware/qcom/display/msm8960/libmemtrack/
Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in kgsl_memtrack_get_memory()
55 *num_records = ARRAY_SIZE(record_templates); in kgsl_memtrack_get_memory()
/hardware/qcom/sm8150/display/libmemtrack/
Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in kgsl_memtrack_get_memory()
54 *num_records = ARRAY_SIZE(record_templates); in kgsl_memtrack_get_memory()
/hardware/qcom/display/msm8994/libmemtrack/
Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in kgsl_memtrack_get_memory()
57 *num_records = ARRAY_SIZE(record_templates); in kgsl_memtrack_get_memory()
/hardware/qcom/display/msm8996/libmemtrack/
Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in kgsl_memtrack_get_memory()
55 *num_records = ARRAY_SIZE(record_templates); in kgsl_memtrack_get_memory()
/hardware/qcom/display/msm8084/libmemtrack/
Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in kgsl_memtrack_get_memory()
57 *num_records = ARRAY_SIZE(record_templates); in kgsl_memtrack_get_memory()
/hardware/qcom/display/msm8226/libmemtrack/
Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in kgsl_memtrack_get_memory()
57 *num_records = ARRAY_SIZE(record_templates); in kgsl_memtrack_get_memory()
/hardware/qcom/sdm845/display/libmemtrack/
Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in kgsl_memtrack_get_memory()
54 *num_records = ARRAY_SIZE(record_templates); in kgsl_memtrack_get_memory()
/hardware/qcom/display/msm8998/libmemtrack/
Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in kgsl_memtrack_get_memory()
54 *num_records = ARRAY_SIZE(record_templates); in kgsl_memtrack_get_memory()
/hardware/qcom/display/msm8909/libmemtrack/
Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in kgsl_memtrack_get_memory()
54 *num_records = ARRAY_SIZE(record_templates); in kgsl_memtrack_get_memory()
/hardware/qcom/display/msm8909w_3100/libmemtrack/
Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in kgsl_memtrack_get_memory()
54 *num_records = ARRAY_SIZE(record_templates); in kgsl_memtrack_get_memory()
/hardware/libhardware/modules/consumerir/
Dconsumerir.c29 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
58 return ARRAY_SIZE(consumerir_freqs); in consumerir_get_num_carrier_freqs()
64 size_t to_copy = ARRAY_SIZE(consumerir_freqs); in consumerir_get_carrier_freqs()
/hardware/interfaces/automotive/audiocontrol/1.0/default/
DAudioControl.cpp18 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*a)) // Would be nice if this were common... macro
30 static const unsigned sContextMapSize = ARRAY_SIZE(sContextToBusMap);
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DHWLUtils.h25 #ifndef ARRAY_SIZE
26 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDevice.cpp255 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
306 availableAberrationModes, ARRAY_SIZE(availableAberrationModes)); in initDefaultCharsKeys()
316 ARRAY_SIZE(controlMaxRegions)); in initDefaultCharsKeys()
335 ARRAY_SIZE(controlAvailableModes)); in initDefaultCharsKeys()
358 ARRAY_SIZE(jpegAvailableThumbnailSizes)); in initDefaultCharsKeys()
399 ARRAY_SIZE(requestMaxNumOutputStreams)); in initDefaultCharsKeys()
411 ARRAY_SIZE(scalerAvailableMaxDigitalZoom)); in initDefaultCharsKeys()
419 ARRAY_SIZE(testPatternModes)); in initDefaultCharsKeys()
496 ARRAY_SIZE(availableRequestKeys)); in initDefaultCharsKeys()
534 ARRAY_SIZE(availableResultKeys)); in initDefaultCharsKeys()
[all …]
/hardware/invensense/65xx/libsensors_iio/
Dsensors.h34 #ifndef ARRAY_SIZE
35 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dmltypes.h142 #ifndef ARRAY_SIZE
144 #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0])) macro

123