Home
last modified time | relevance | path

Searched refs:ARRAY_SIZE (Results 1 – 25 of 65) 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/google/aemu/base/
DArraySize_unittest.cpp26 EXPECT_EQ(100U, ARRAY_SIZE(array1)); in TEST()
30 EXPECT_EQ(200U, ARRAY_SIZE(array2)); in TEST()
34 EXPECT_EQ(15U, ARRAY_SIZE(array3)); in TEST()
39 static_assert(ARRAY_SIZE(arr) == 20U, in TEST()
48 static_assert(arraySize(arr) == ARRAY_SIZE(arr2), in TEST()
/hardware/google/pixel/vibrator/cs40l26/
DStats.h34 #ifndef ARRAY_SIZE
35 #define ARRAY_SIZE(x) (sizeof((x)) / sizeof((x)[0])) macro
76 return kWaveformLookup[(index < ARRAY_SIZE(kWaveformLookup)) ? index in waveformToString()
77 : ARRAY_SIZE(kWaveformLookup) - 1]; in waveformToString()
81 return kLatencyLookup[(index < ARRAY_SIZE(kLatencyLookup)) ? index in latencyToString()
82 : ARRAY_SIZE(kLatencyLookup) - 1]; in latencyToString()
86 return kErrorLookup[(index < ARRAY_SIZE(kErrorLookup)) ? index : ARRAY_SIZE(kErrorLookup) - 1]; in errorToString()
/hardware/google/pixel/vibrator/cs40l25/
DStats.h33 #ifndef ARRAY_SIZE
34 #define ARRAY_SIZE(x) (sizeof((x)) / sizeof((x)[0])) macro
75 return kWaveformLookup[(index < ARRAY_SIZE(kWaveformLookup)) ? index in waveformToString()
76 : ARRAY_SIZE(kWaveformLookup) - 1]; in waveformToString()
80 return kLatencyLookup[(index < ARRAY_SIZE(kLatencyLookup)) ? index in latencyToString()
81 : ARRAY_SIZE(kLatencyLookup) - 1]; in latencyToString()
85 return kErrorLookup[(index < ARRAY_SIZE(kErrorLookup)) ? index : ARRAY_SIZE(kErrorLookup) - 1]; in errorToString()
/hardware/google/aemu/base/include/aemu/base/
DArraySize.h25 # define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
26 # define STRING_LITERAL_LENGTH(str) (ARRAY_SIZE(str) - 1))
54 #define ARRAY_SIZE(arr) (::android::base::arraySize(arr)) macro
/hardware/google/graphics/common/libmemtrack/
Dion.cpp28 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(ion_record_templates)); in ion_memtrack_get_memory()
53 *num_records = ARRAY_SIZE(ion_record_templates); in ion_memtrack_get_memory()
/hardware/qcom/sm7250/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/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/google/camera/devices/EmulatedCamera/hwl/utils/
DHWLUtils.h25 #ifndef ARRAY_SIZE
26 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
/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/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/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/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/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/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/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/invensense/65xx/libsensors_iio/
Dsensors.h34 #ifndef ARRAY_SIZE
35 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro

123