Home
last modified time | relevance | path

Searched refs:Args (Results 1 – 24 of 24) sorted by relevance

/hardware/interfaces/wifi/1.3/default/
Dhidl_return_util.h42 template <typename ObjT, typename WorkFuncT, typename... Args>
45 const std::function<void(const WifiStatus&)>& hidl_cb, Args&&... args) { in validateAndCall()
48 hidl_cb((obj->*work)(std::forward<Args>(args)...)); in validateAndCall()
58 template <typename ObjT, typename WorkFuncT, typename... Args>
61 const std::function<void(const WifiStatus&)>& hidl_cb, Args&&... args) { in validateAndCallWithLock()
64 hidl_cb((obj->*work)(&lock, std::forward<Args>(args)...)); in validateAndCallWithLock()
73 template <typename ObjT, typename WorkFuncT, typename ReturnT, typename... Args>
77 Args&&... args) { in validateAndCall()
80 const auto& ret_pair = (obj->*work)(std::forward<Args>(args)...); in validateAndCall()
94 typename ReturnT2, typename... Args>
[all …]
Dwifi_legacy_hal_stubs.cpp29 template <typename R, typename... Args>
30 struct stubFunction<R (*)(Args...)> {
31 static constexpr R invoke(Args...) { return WIFI_ERROR_NOT_SUPPORTED; } in invoke()
33 template <typename... Args>
34 struct stubFunction<void (*)(Args...)> {
35 static constexpr void invoke(Args...) {} in invoke()
/hardware/google/av/codec2/include/
DC2ParamDef.h240 template<typename ...Args> \
241 inline static std::ptr##_ptr<_Type> Alloc##Ptr(size_t flexCount, const Args(&... args)) { \
244 template<typename ...Args, typename U=typename S::FlexType> \
246 const std::initializer_list<U> &init, const Args(&... args)) { \
249 template<typename ...Args, typename U=typename S::FlexType> \
251 const std::vector<U> &init, const Args(&... args)) { \
254 template<typename ...Args, typename U=typename S::FlexType, unsigned N> \
255 inline static std::ptr##_ptr<_Type> Alloc##Ptr(const U(&init)[N], const Args(&... args)) { \
319 template<typename ...Args>
320 … inline C2GlobalParam(const Args(&... args)) : T(sizeof(_Type), _Type::PARAM_TYPE), S(args...) { }
[all …]
DC2Param.h577 template<typename ...Args>
578 inline C2Setting(const Args(&... args)) : C2Param(args...) { } in C2Setting()
588 template<typename ...Args>
589 inline C2Tuning(const Args(&... args)) : C2Setting(args...) { } in C2Tuning()
599 template<typename ...Args>
600 inline C2Info(const Args(&... args)) : C2Param(args...) { } in C2Info()
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.h149 template <typename ...Args>
152 gralloc1_error_t (Descriptor::*member)(Args...), Args... args) { in callDescriptorFunction() argument
157 auto error = ((*descriptor).*member)(std::forward<Args>(args)...); in callDescriptorFunction()
273 template <typename ...Args>
276 gralloc1_error_t (Buffer::*member)(Args...) const, Args... args) { in callBufferFunction()
281 auto error = ((*buffer).*member)(std::forward<Args>(args)...); in callBufferFunction()
285 template <typename MF, MF memFunc, typename ...Args>
287 buffer_handle_t bufferHandle, Args... args) { in bufferHook()
289 memFunc, std::forward<Args>(args)...); in bufferHook()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_session.h48 template <typename... Args>
50 HWC2::Error (HWCDisplay::*member)(Args...), Args... args) { in CallDisplayFunction() argument
59 status = (hwc_display->*member)(std::forward<Args>(args)...); in CallDisplayFunction()
64 template <typename... Args>
66 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction() argument
67 Args... args) { in CallLayerFunction()
78 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_session.h47 template <typename... Args>
49 HWC2::Error (HWCDisplay::*member)(Args...), Args... args) { in CallDisplayFunction() argument
58 status = (hwc_display->*member)(std::forward<Args>(args)...); in CallDisplayFunction()
63 template <typename... Args>
65 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction() argument
66 Args... args) { in CallLayerFunction()
77 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_buf_mgr.h55 template <typename... Args>
57 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction() argument
58 Args... args) { in CallBufferDescriptorFunction()
65 (descriptor.get()->*member)(std::forward<Args>(args)...); in CallBufferDescriptorFunction()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_buf_mgr.h55 template <typename... Args>
57 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction() argument
58 Args... args) { in CallBufferDescriptorFunction()
65 (descriptor.get()->*member)(std::forward<Args>(args)...); in CallBufferDescriptorFunction()
/hardware/qcom/display/msm8909/gralloc/
Dgr_buf_mgr.h53 template <typename... Args>
55 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction() argument
56 Args... args) { in CallBufferDescriptorFunction()
63 (descriptor.get()->*member)(std::forward<Args>(args)...); in CallBufferDescriptorFunction()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_buf_mgr.h53 template <typename... Args>
55 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction() argument
56 Args... args) { in CallBufferDescriptorFunction()
63 (descriptor.get()->*member)(std::forward<Args>(args)...); in CallBufferDescriptorFunction()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_session.h86 template <typename... Args>
88 HWC2::Error (HWCDisplay::*member)(Args...), Args... args) { in CallDisplayFunction() argument
102 status = (hwc_display->*member)(std::forward<Args>(args)...); in CallDisplayFunction()
107 template <typename... Args>
109 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction() argument
110 Args... args) { in CallLayerFunction()
122 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_session.h77 template <typename... Args>
79 HWC2::Error (HWCDisplay::*member)(Args...), Args... args) { in CallDisplayFunction() argument
92 status = (hwc_display->*member)(std::forward<Args>(args)...); in CallDisplayFunction()
97 template <typename... Args>
99 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction() argument
100 Args... args) { in CallLayerFunction()
111 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h465 template <typename ...Args>
467 hwc2_display_t displayId, HWC2::Error (Display::*member)(Args...), in callDisplayFunction() argument
468 Args... args) { in callDisplayFunction()
473 auto error = ((*display).*member)(std::forward<Args>(args)...); in callDisplayFunction()
477 template <typename MF, MF memFunc, typename ...Args>
479 Args... args) { in displayHook()
481 std::forward<Args>(args)...); in displayHook()
614 template <typename ...Args>
617 HWC2::Error (Layer::*member)(Args...), Args... args) { in callLayerFunction() argument
622 error = ((*layer).*member)(std::forward<Args>(args)...); in callLayerFunction()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.h399 template <typename ...Args>
401 hwc2_display_t displayId, HWC2::Error (Display::*member)(Args...), in callDisplayFunction() argument
402 Args... args) { in callDisplayFunction()
407 auto error = ((*display).*member)(std::forward<Args>(args)...); in callDisplayFunction()
411 template <typename MF, MF memFunc, typename ...Args>
413 Args... args) { in displayHook()
415 std::forward<Args>(args)...); in displayHook()
581 template <typename ...Args>
584 HWC2::Error (Layer::*member)(Args...), Args... args) { in callLayerFunction() argument
589 error = ((*layer).*member)(std::forward<Args>(args)...); in callLayerFunction()
[all …]
/hardware/qcom/sdm845/display/gralloc/
Dgr_device_impl.h128 template <typename... Args>
130 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction() argument
131 Args... args) { in CallBufferDescriptorFunction()
138 (descriptor.get()->*member)(std::forward<Args>(args)...); in CallBufferDescriptorFunction()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_session.h98 template <typename... Args>
100 HWC2::Error (HWCDisplay::*member)(Args...), Args... args) { in CallDisplayFunction() argument
114 status = (hwc_display->*member)(std::forward<Args>(args)...); in CallDisplayFunction()
119 template <typename... Args>
121 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction() argument
122 Args... args) { in CallLayerFunction()
138 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
/hardware/libhardware/tests/input/evdev/
DSwitchInputMapper_test.cpp28 using ::testing::Args;
54 .With(Args<1,2>(UnorderedElementsAre(INPUT_USAGE_SWITCH_LID, in TEST_F()
DMouseInputMapper_test.cpp28 using ::testing::Args;
58 .With(Args<1,2>(UnorderedElementsAre( in TEST_F()
/hardware/google/av/media/codecs/base/include/
DSimpleC2Interface.h187 template<typename T, typename ...Args>
188 std::shared_ptr<T> AllocSharedString(const Args(&... args), const char *str) { in AllocSharedString()
195 template<typename T, typename ...Args>
196 std::shared_ptr<T> AllocSharedString(const Args(&... args), const std::string &str) { in AllocSharedString()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_tags.h253 template <TagType tag_type, Tag tag, typename... Args>
254 inline KeyParameter Authorization(TypedTag<tag_type, tag> ttag, Args&&... args) {
261 std::is_convertible<std::remove_cv_t<std::remove_reference_t<FirstOrNone<Args...>>>,
265 return makeKeyParameter(ttag, std::forward<Args>(args)...);
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dkeymaster_tags.h259 template <TagType tag_type, Tag tag, typename... Args>
260 inline KeyParameter Authorization(TypedTag<tag_type, tag> ttag, Args&&... args) {
267 std::is_convertible<std::remove_cv_t<std::remove_reference_t<FirstOrNone<Args...>>>,
271 return makeKeyParameter(ttag, std::forward<Args>(args)...);
/hardware/interfaces/compatibility_matrices/build/
Dvintf_compatibility_matrix.go111 Args: map[string]string{
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/
DHWC2OnFbAdapter.cpp503 template <typename... Args>
505 Args... /*args*/) { in setLayerStateHook() argument