/hardware/google/easel/amber/camera/libhdrplusclient/ |
D | HdrPlusClientUtils.cpp | 181 diff += abs(static_cast<int32_t>(c) - r); in comparePpm() 183 diff += abs(static_cast<int32_t>(c) - g); in comparePpm() 185 diff += abs(static_cast<int32_t>(c) - b); in comparePpm()
|
/hardware/qcom/audio/hal/audio_extn/ |
D | cirrus_playback.c | 714 zL / r_scale_factor, abs(zL) % r_scale_factor); in audio_extn_cirrus_failure_detect_thread() 721 zR / r_scale_factor, abs(zR) % r_scale_factor); in audio_extn_cirrus_failure_detect_thread() 762 rdL = abs(zL - rL); in audio_extn_cirrus_failure_detect_thread() 763 rdR = abs(zR - rR); in audio_extn_cirrus_failure_detect_thread() 768 abs(rL % r_scale_factor)); in audio_extn_cirrus_failure_detect_thread() 773 abs(rR % r_scale_factor)); in audio_extn_cirrus_failure_detect_thread() 778 abs(tL % t_scale_factor)); in audio_extn_cirrus_failure_detect_thread() 783 abs(tR % t_scale_factor)); in audio_extn_cirrus_failure_detect_thread()
|
/hardware/google/av/media/codecs/g711/ |
D | C2SoftG711Dec.cpp | 273 int32_t abs = (0x80l << exponent) + step * mantissa + step / 2 - 4 * 33; in DecodeMLaw() local 275 *out++ = (x < 0x80) ? -abs : abs; in DecodeMLaw()
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | HidRawSensor.cpp | 189 range = std::max(std::max(std::abs((digest.maxRaw + digest.b) * digest.a), in HidRawSensor() 190 std::abs((digest.minRaw + digest.b) * digest.a)), in HidRawSensor() 348 std::abs((reportX.maxRaw + reportX.b) * reportX.a), in processTriAxisUsage() 349 std::abs((reportX.minRaw + reportX.b) * reportX.a)); in processTriAxisUsage()
|
/hardware/interfaces/thermal/1.0/vts/functional/ |
D | VtsHalThermalV1_0TargetTest.cpp | 129 std::abs(temperature.currentValue) < MAX_DEVICE_TEMPERATURE || in checkDeviceTemperature()
|
/hardware/interfaces/sensors/common/vts/utils/ |
D | SensorsHidlTestBase.cpp | 511 EXPECT_LT(std::abs(minDelayAverageInterval - minSamplingPeriodInNs), in testSamplingRateHotSwitchOperation() 515 EXPECT_LT(std::abs(maxDelayAverageInterval - maxSamplingPeriodInNs), in testSamplingRateHotSwitchOperation()
|
/hardware/interfaces/health/2.0/vts/functional/ |
D | VtsHalHealthV2_0TargetTest.cpp | 412 auto difference = abs(dividend - divisor); in IsValueSimilar() 413 if (difference > factor * abs(divisor)) { in IsValueSimilar()
|
/hardware/interfaces/audio/core/all-versions/default/include/core/default/ |
D | Stream.h | 171 halInfo.buffer_size_frames = abs(halInfo.buffer_size_frames); in createMmapBuffer()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/test/ |
D | qcamera_test.cpp | 1986 delta = abs((currentVideoSize.width *currentVideoSize.height)- in getPreviewSizeFromVideoSizes() 1990 if(abs(currentVideoSize.width * currentVideoSize.height) - in getPreviewSizeFromVideoSizes() 1994 delta = abs((currentVideoSize.width * in getPreviewSizeFromVideoSizes() 2004 delta = abs( in getPreviewSizeFromVideoSizes() 2009 if(abs( in getPreviewSizeFromVideoSizes() 2014 delta = abs( in getPreviewSizeFromVideoSizes()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | VehicleHalManager.cpp | 259 if (std::abs(sampleRate) > std::numeric_limits<float>::epsilon()) { in checkSampleRate()
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | common.cpp | 231 return abs((int)rssi_wo_noise_floor - 96); in get_rssi()
|
/hardware/interfaces/camera/device/3.4/default/ |
D | ExternalCameraUtils.cpp | 146 return (std::abs(ar1 - ar2) < kAspectRatioMatchThres); in isAspectRatioClose()
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_hdmi.cpp | 856 if (abs(pre_refresh_rate_diff) > abs(cur_refresh_rate_diff)) { in GetDynamicFrameRateMode()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_hdmi.cpp | 868 if (abs(pre_refresh_rate_diff) > abs(cur_refresh_rate_diff)) { in GetDynamicFrameRateMode()
|
/hardware/qcom/sm8150/display/sdm/libs/core/fb/ |
D | hw_hdmi.cpp | 884 if (abs(pre_refresh_rate_diff) > abs(cur_refresh_rate_diff)) { in GetDynamicFrameRateMode()
|
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
D | hw_hdmi.cpp | 885 if (abs(pre_refresh_rate_diff) > abs(cur_refresh_rate_diff)) { in GetDynamicFrameRateMode()
|
/hardware/qcom/sdm845/display/sdm/libs/core/fb/ |
D | hw_hdmi.cpp | 877 if (abs(pre_refresh_rate_diff) > abs(cur_refresh_rate_diff)) { in GetDynamicFrameRateMode()
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 568 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects() 569 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
|
/hardware/google/av/media/eco/ |
D | ECOSession.cpp | 330 abs(currAverageQp - mLastReportedQp) > mListenerQpCondition.mQpChangeThreshold; in processFrameStats()
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_session.cpp | 866 strerror(abs(err)), hwc_session->hotplug_pending_event_ == kHotPlugEvent ? "deferred" : in RegisterCallback() 2520 strerror(abs(err)), (hotplug_pending_event_ == kHotPlugEvent) ? in UEventHandler() 2752 DLOGE("All displays could not be connected. Error %d '%s'.", status, strerror(abs(status))); in HandlePluggableDisplays() 2848 strerror(abs(err))); in HandleConnectedDisplays() 3221 strerror(abs(err))); in HandleHotplugPending()
|
/hardware/google/av/media/sfplugin/ |
D | Codec2Buffer.cpp | 281 planeSize += std::abs(plane.rowInc) * align(mHeight, 64) in GraphicView2MediaImageConverter()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.cpp | 491 if(abs((int)(stdRefreshRates[i] - refreshRate)) < 2) { in roundOff() 1263 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects() 1264 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 1058 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects() 1059 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 1045 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects() 1046 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
|
/hardware/qcom/sm8150/gps/gnss/ |
D | GnssAdapter.cpp | 4559 (abs(msInWeek - (int)reports.mTimeAndClock.back().mGpsTowMs) < 2000)) { in getAgcInformation() 4614 (abs(msInWeek - (int)reports.mTimeAndClock.back().mGpsTowMs) < 2000)) { in getDataInformation()
|