Home
last modified time | relevance | path

Searched refs:U (Results 1 – 25 of 37) sorted by relevance

12

/hardware/google/pixel/vibrator/common/
Dutils.h35 template <typename U>
36 static std::true_type test(typename U::iterator *u);
38 template <typename U>
39 static std::false_type test(U *u);
48 template <typename T, typename U = void>
49 using Enable_If_Signed = std::enable_if_t<std::is_signed_v<T>, U>;
51 template <typename T, typename U = void>
52 using Enable_If_Unsigned = std::enable_if_t<std::is_unsigned_v<T>, U>;
/hardware/interfaces/automotive/evs/common/utils/default/
DFormatConvert.cpp53 float U = Uin - 128.0f; in yuvToRgbx() local
57 float Gf = Y - 0.395f*U - 0.581f*V; in yuvToRgbx()
58 float Bf = Y + 2.032f*U; in yuvToRgbx()
160 uint8_t U = (srcPixel >> 8) & 0xFF; in copyYUYVtoRGB32() local
165 *(dst+0) = yuvToRgbx(Y1, U, V, bgrxFormat); in copyYUYVtoRGB32()
166 *(dst+1) = yuvToRgbx(Y2, U, V, bgrxFormat); in copyYUYVtoRGB32()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleUtils.h38 template<typename ENUM, typename U = typename std::underlying_type<ENUM>::type>
39 inline constexpr U toInt(ENUM const value) { in toInt()
40 return static_cast<U>(value); in toInt()
/hardware/libhardware/modules/input/evdev/
DInputDeviceManager.h51 template<class T, class U>
52 using DeviceMap = std::unordered_map<std::shared_ptr<T>, std::shared_ptr<U>>;
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dconfirmationui_utils.h118 template <typename U>
119 static int f(const U*, const void*) { in f()
122 template <typename U>
123 static int* f(const U* u, decltype(u->data())) {
/hardware/google/pixel/thermal/
DThermal.cpp41 template <typename T, typename U>
42 Return<void> setFailureAndCallback(T _hidl_cb, hidl_vec<U> data, std::string_view debug_msg) { in setFailureAndCallback()
50 template <typename T, typename U>
51 Return<void> setInitFailureAndCallback(T _hidl_cb, hidl_vec<U> data) { in setInitFailureAndCallback()
/hardware/google/pixel/perfstatsd/include/
Dperfstats_buffer.h73 size_t mBufferSize = 0U;
/hardware/nxp/nfc/halimpl/dnld/
DphDnldNfc.h79 phDnldNfc_ClkFreq_13Mhz = 0U, /* 13Mhz Clk Frequency */
/hardware/interfaces/audio/core/all-versions/vts/functional/
DAudioPrimaryHidlHalTest.h1049 ASSERT_GT(extract(stream->getFrameSize()), 0U))
1070 ASSERT_NE(0U, capabilities.size()) << name << " must not return an empty list";
1138 ASSERT_EQ(0U, parameter.value.size()) << toString(parameter); in checkGetNoParameter()
1304 ASSERT_EQ(0U, framesLost); in TEST_P()
1316 ASSERT_EQ(0U, frames); in TEST_P()
1317 ASSERT_LE(0U, time); in TEST_P()
1329 ASSERT_GT(result, 0U); in TEST_P()
1387 expectValueOrFailure(res, 0U, dspFrames, Result::INVALID_STATE); in TEST_P()
1503 ASSERT_EQ(0U, frames); in TEST_P()
/hardware/google/camera/common/hal/hidl_service/
Dhidl_camera_device_session.h156 template <class T, class U>
Dhidl_camera_device_session.cc248 template <class T, class U>
251 U mapper_error; in ImportBufferHandle()
259 if (!hidl_res.isOk() || mapper_error != U::NONE) { in ImportBufferHandle()
/hardware/google/pixel/vibrator/cs40l25/tests/
Dtest-vibrator.cpp61 template <typename T, typename U, typename... Args>
62 static EffectQueue Queue(const T &first, const U &second, Args... rest);
127 template <typename T, typename U, typename... Args>
128 EffectQueue Queue(const T &first, const U &second, Args... rest) { in Queue()
/hardware/google/camera/common/hal/google_camera_hal/
Dcamera_device_session.h181 template <class T, class U>
Dcamera_device_session.cc836 template <class T, class U>
840 U mapper_error; in ImportBufferHandleLocked()
849 if (!hidl_res.isOk() || mapper_error != U::NONE) { in ImportBufferHandleLocked()
/hardware/interfaces/tests/foo/1.0/
DIFoo.hal103 union U {
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedScene.cpp47 #define U (EmulatedScene::SUN * EmulatedScene::NUM_CHANNELS) macro
85 #undef U
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.h429 videoWidth(0U), videoHeight(0U) {}; in StreamValidateStatus()
/hardware/qcom/msm8998/kernel-headers/linux/
Dipa_qmi_service_v01.h31 #define IPA_INT_MAX ((int) (~0U >> 1))
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dipa_qmi_service_v01.h51 #define IPA_INT_MAX ((int)(~0U>>1))
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp655 if (img.mPlane[img.U].mHorizSubsampling == 2 && in isColorFormatFlexibleYUV()
656 img.mPlane[img.U].mVertSubsampling == 2 && in isColorFormatFlexibleYUV()
674 if (img.mPlane[img.U].mHorizSubsampling == 2 && in isColorFormatFlexibleYUV()
675 img.mPlane[img.U].mVertSubsampling == 2 && in isColorFormatFlexibleYUV()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp3197 p_img->mPlane[MediaImage::U].mOffset = stride * scanlines; in describe_color_format()
3198 p_img->mPlane[MediaImage::U].mColInc = 2; in describe_color_format()
3199 p_img->mPlane[MediaImage::U].mRowInc = stride; in describe_color_format()
3200 p_img->mPlane[MediaImage::U].mHorizSubsampling = 2; in describe_color_format()
3201 p_img->mPlane[MediaImage::U].mVertSubsampling = 2; in describe_color_format()
/hardware/qcom/msm8x26/kernel-headers/sound/
Dasound.h961 #define SNDRV_CTL_EVENT_MASK_REMOVE (~0U)
/hardware/qcom/msm8994/original-kernel-headers/sound/
Dasound.h944 #define SNDRV_CTL_EVENT_MASK_REMOVE (~0U) /* element was removed */
/hardware/qcom/msm8x09/kernel-headers/sound/
Dasound.h969 #define SNDRV_CTL_EVENT_MASK_REMOVE (~0U)
/hardware/qcom/msm8x84/kernel-headers/sound/
Dasound.h961 #define SNDRV_CTL_EVENT_MASK_REMOVE (~0U)

12