/hardware/libhardware/modules/camera/3_0/ |
D | ExampleCamera.cpp | 30 #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/ |
D | UsbCamera.cpp | 32 #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/google/aemu/base/ |
D | ArraySize_unittest.cpp | 26 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()
|
D | Win32UnicodeString_unittest.cpp | 19 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) macro 41 const size_t kDataSize = ARRAY_SIZE(kData); in TEST() 83 const size_t kDataSize = ARRAY_SIZE(kData); in TEST() 142 const size_t kDataSize = ARRAY_SIZE(kData); in TEST() 146 int len = Win32UnicodeString::convertFromUtf8(out, ARRAY_SIZE(out), in TEST() 151 len = Win32UnicodeString::convertFromUtf8(out, ARRAY_SIZE(out), in TEST()
|
D | LayoutResolver_unittest.cpp | 42 const size_t kDataSize = ARRAY_SIZE(kData); in TEST() 70 const size_t kDataSize = ARRAY_SIZE(kData); in TEST()
|
/hardware/google/pixel/pixelstats/test/mm/ |
D | MmMetricsReporterTest.cpp | 27 #ifndef ARRAY_SIZE 28 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 62 ASSERT_EQ(ARRAY_SIZE(PixelMmMetricsPerHour_golden), in TEST() 63 ARRAY_SIZE(PixelMmMetricsPerHour_field_types)); in TEST() 92 EXPECT_EQ(values.size(), ARRAY_SIZE(PixelMmMetricsPerHour_field_types)); in TEST() 115 ASSERT_EQ(ARRAY_SIZE(PixelMmMetricsPerDay_golden), in TEST() 116 ARRAY_SIZE(PixelMmMetricsPerDay_field_types)); in TEST() 131 EXPECT_EQ(values.size(), ARRAY_SIZE(PixelMmMetricsPerDay_field_types)); in TEST() 134 EXPECT_LT(i, ARRAY_SIZE(PixelMmMetricsPerDay_field_types)); in TEST() 158 constexpr int kNumFields = ARRAY_SIZE(MmMetricsOomGroupMemUsage_field_types); in TEST() [all …]
|
/hardware/google/aemu/base/include/aemu/base/ |
D | ArraySize.h | 25 # 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/interfaces/automotive/audiocontrol/1.0/default/ |
D | AudioControl.cpp | 18 #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/ |
D | HWLUtils.h | 25 #ifndef ARRAY_SIZE 26 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
|
D | HWLUtils.cpp | 222 (entry.count != ARRAY_SIZE(sensor_chars->exposure_time_range))) { in GetSensorCharacteristics() 241 (entry.count != ARRAY_SIZE(sensor_chars->sensitivity_range))) { in GetSensorCharacteristics() 280 (entry.count != ARRAY_SIZE(sensor_chars->black_level_pattern))) { in GetSensorCharacteristics()
|
/hardware/libhardware/modules/consumerir/ |
D | consumerir.c | 29 #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/invensense/65xx/libsensors_iio/ |
D | sensors.h | 34 #ifndef ARRAY_SIZE 35 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
|
/hardware/interfaces/camera/device/3.4/default/ |
D | ExternalCameraDevice.cpp | 255 #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 …]
|
D | ExternalCameraUtils.cpp | 631 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro 676 UPDATE(md, ANDROID_SCALER_CROP_REGION, crop_region, ARRAY_SIZE(crop_region)); in fillCaptureResultCommon() 691 #undef ARRAY_SIZE
|
/hardware/interfaces/camera/device/default/ |
D | ExternalCameraDevice.cpp | 311 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 365 ARRAY_SIZE(availableAberrationModes)); in initDefaultCharsKeys() 372 UPDATE(ANDROID_CONTROL_MAX_REGIONS, controlMaxRegions, ARRAY_SIZE(controlMaxRegions)); in initDefaultCharsKeys() 388 ARRAY_SIZE(controlAvailableModes)); in initDefaultCharsKeys() 410 ARRAY_SIZE(jpegAvailableThumbnailSizes)); in initDefaultCharsKeys() 448 ARRAY_SIZE(requestMaxNumOutputStreams)); in initDefaultCharsKeys() 458 ARRAY_SIZE(scalerAvailableMaxDigitalZoom)); in initDefaultCharsKeys() 466 ARRAY_SIZE(testPatternModes)); in initDefaultCharsKeys() 540 ARRAY_SIZE(availableRequestKeys)); in initDefaultCharsKeys() 577 ARRAY_SIZE(availableResultKeys)); in initDefaultCharsKeys() [all …]
|
D | ExternalCameraUtils.cpp | 763 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 809 UPDATE(md, ANDROID_SCALER_CROP_REGION, crop_region, ARRAY_SIZE(crop_region)); in fillCaptureResultCommon() 824 #undef ARRAY_SIZE
|
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
D | mltypes.h | 142 #ifndef ARRAY_SIZE 144 #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0])) macro
|
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/ |
D | mltypes.h | 142 #ifndef ARRAY_SIZE 144 #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0])) macro
|
/hardware/google/camera/common/hal/tests/ |
D | hal_camera_metadata_tests.cc | 31 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro 134 ae_compensation_step, ARRAY_SIZE(ae_compensation_step)); in SetGetMetadata() 139 ASSERT_EQ(entry.count, ARRAY_SIZE(ae_compensation_step)) in SetGetMetadata() 162 hal_metadata->Set(ANDROID_SENSOR_NOISE_PROFILE, noise, ARRAY_SIZE(noise)); in SetGetMetadata() 167 ASSERT_EQ(entry.count, ARRAY_SIZE(noise)) << "Get double count failed."; in SetGetMetadata()
|
/hardware/google/camera/devices/EmulatedCamera/hwl/ |
D | EmulatedRequestState.cpp | 1009 ARRAY_SIZE(fps_range)); in InitializeResult() 1040 ARRAY_SIZE(info.ae_metering_region_)); in InitializeResult() 1045 ARRAY_SIZE(info.awb_metering_region_)); in InitializeResult() 1050 ARRAY_SIZE(info.af_metering_region_)); in InitializeResult() 1086 result->result_metadata->Set(ANDROID_LENS_FOCUS_RANGE, focus_range, ARRAY_SIZE(focus_range)); in InitializeResult() 1098 ARRAY_SIZE(info.pose_rotation_)); in InitializeResult() 1103 ARRAY_SIZE(info.pose_translation_)); in InitializeResult() 1108 ARRAY_SIZE(info.intrinsic_calibration_)); in InitializeResult() 1113 ARRAY_SIZE(info.intrinsic_calibration_)); in InitializeResult() 1117 ARRAY_SIZE(info.distortion_)); in InitializeResult() [all …]
|
D | EmulatedCameraDeviceInfo.cpp | 1129 ae_target_fps, ARRAY_SIZE(ae_target_fps)); in InitializeControlDefaults() 1151 ARRAY_SIZE(metering_area)); in InitializeControlDefaults() 1155 metering_area, ARRAY_SIZE(metering_area)); in InitializeControlDefaults() 1159 ARRAY_SIZE(metering_area)); in InitializeControlDefaults() 1250 ARRAY_SIZE(EmulatedSensor::kDefaultToneMapCurveRed)); in InitializeTonemapDefaults() 1253 ARRAY_SIZE(EmulatedSensor::kDefaultToneMapCurveGreen)); in InitializeTonemapDefaults() 1256 ARRAY_SIZE(EmulatedSensor::kDefaultToneMapCurveBlue)); in InitializeTonemapDefaults() 1379 ARRAY_SIZE(EmulatedSensor::kDefaultColorTransform)); in InitializeColorCorrectionDefaults() 1383 ARRAY_SIZE(EmulatedSensor::kDefaultColorCorrectionGains)); in InitializeColorCorrectionDefaults() 1484 ARRAY_SIZE(scaler_crop_region_default_)); in InitializeScalerDefaults() [all …]
|
/hardware/invensense/6515/libsensors_iio/ |
D | sensors.h | 34 #ifndef ARRAY_SIZE 35 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
D | stress_iio.c | 301 struct pollfd pfd[ARRAY_SIZE(event_file)]; in get_dmp_event() 305 for (i = 0; i < ARRAY_SIZE(event_file); i++) { in get_dmp_event() 313 poll(pfd, ARRAY_SIZE(event_file), -1); in get_dmp_event() 314 for (i = 0; i < ARRAY_SIZE(event_file); i++) { in get_dmp_event() 318 for (i=0; i< ARRAY_SIZE(pfd); i++) { in get_dmp_event()
|
/hardware/ti/am57x/libhwcomposer/ |
D | hwc.cpp | 47 #ifndef ARRAY_SIZE 48 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro 112 for (size_t i = 0; i < ARRAY_SIZE(connector_type_list); i++) { in display_get_connector_type() 340 int err = poll(pfds, ARRAY_SIZE(pfds), -1); in hwc_hdmi_thread()
|
/hardware/libhardware/modules/camera/3_4/ |
D | v4l2_camera.cpp | 36 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
|