Home
last modified time | relevance | path

Searched refs:decltype (Results 1 – 25 of 72) sorted by relevance

123

/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/
Dtypes.h23 typedef decltype(nlmsghdr::nlmsg_type) nlmsgtype_t;
24 typedef decltype(nlattr::nla_type) nlattrtype_t;
/hardware/qcom/sm8150/display/libhistogram/
Dringbuffer.cpp61 std::unique_lock<decltype(mutex)> lk(mutex); in insert()
73 std::unique_lock<decltype(mutex)> lk(mutex); in resize()
83 std::unique_lock<decltype(mutex)> lk(mutex); in collect_cumulative()
90 std::unique_lock<decltype(mutex)> lk(mutex); in collect_ringbuffer_all()
96 std::unique_lock<decltype(mutex)> lk(mutex); in collect_after()
101 std::unique_lock<decltype(mutex)> lk(mutex); in collect_max()
107 std::unique_lock<decltype(mutex)> lk(mutex); in collect_max_after()
Dhistogram_collector.cpp146 std::unique_lock<decltype(mutex)> lk(mutex); in start()
157 std::unique_lock<decltype(mutex)> lk(mutex); in stop()
171 std::unique_lock<decltype(mutex)> lk(mutex); in notify_histogram_event()
188 std::unique_lock<decltype(mutex)> lk(mutex); in blob_processing_thread()
/hardware/qcom/sdm845/display/libhistogram/
Dringbuffer.cpp61 std::unique_lock<decltype(mutex)> lk(mutex); in insert()
73 std::unique_lock<decltype(mutex)> lk(mutex); in resize()
83 std::unique_lock<decltype(mutex)> lk(mutex); in collect_cumulative()
90 std::unique_lock<decltype(mutex)> lk(mutex); in collect_ringbuffer_all()
96 std::unique_lock<decltype(mutex)> lk(mutex); in collect_after()
101 std::unique_lock<decltype(mutex)> lk(mutex); in collect_max()
107 std::unique_lock<decltype(mutex)> lk(mutex); in collect_max_after()
/hardware/qcom/sm7250/display/libhistogram/
Dringbuffer.cpp68 std::unique_lock<decltype(mutex)> lk(mutex); in insert()
84 std::unique_lock<decltype(mutex)> lk(mutex); in resize()
94 std::unique_lock<decltype(mutex)> lk(mutex); in collect_cumulative()
101 std::unique_lock<decltype(mutex)> lk(mutex); in collect_ringbuffer_all()
106 std::unique_lock<decltype(mutex)> lk(mutex); in collect_after()
111 std::unique_lock<decltype(mutex)> lk(mutex); in collect_max()
117 std::unique_lock<decltype(mutex)> lk(mutex); in collect_max_after()
Dhistogram_collector.cpp141 std::unique_lock<decltype(mutex)> lk(mutex); in start()
153 std::unique_lock<decltype(mutex)> lk(mutex); in stop()
167 std::unique_lock<decltype(mutex)> lk(mutex); in notify_histogram_event()
184 std::unique_lock<decltype(mutex)> lk(mutex); in blob_processing_thread()
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dconfirmationui_utils.h123 static int* f(const U* u, decltype(u->data())) {
126 static constexpr bool value = std::is_pointer<decltype(f((T*)nullptr, ""))>::value;
131 ByteBufferProxy(const T& buffer, decltype(buffer.data()) = nullptr)
133 static_assert(sizeof(decltype(*buffer.data())) == 1, "elements to large");
140 std::enable_if_t<!has_data<T>::value, decltype(buffer.c_str())> = nullptr)
142 static_assert(sizeof(decltype(*buffer.c_str())) == 1, "elements to large");
Dcbor.h111 auto getData(const T& v) -> decltype(v.data()) {
116 auto getData(const T& v) -> decltype(v.c_str()) {
121 auto text(const T& str) -> StringBuffer<std::decay_t<decltype(*getData(str))>, TextStr> {
122 return StringBuffer<std::decay_t<decltype(*getData(str))>, TextStr>(getData(str), str.size());
140 auto bytes(const T& str) -> StringBuffer<std::decay_t<decltype(*getData(str))>, ByteStr> {
141 return StringBuffer<std::decay_t<decltype(*getData(str))>, ByteStr>(getData(str), str.size());
/hardware/interfaces/health/utils/libhealth2impl/
DBinderHealth.cpp62 std::lock_guard<decltype(callbacks_lock_)> lock(callbacks_lock_); in registerCallback()
82 std::lock_guard<decltype(callbacks_lock_)> lock(callbacks_lock_); in registerCallback()
101 std::lock_guard<decltype(callbacks_lock_)> lock(callbacks_lock_); in unregisterCallbackInternal()
133 std::unique_lock<decltype(callbacks_lock_)> lock(callbacks_lock_); in OnHealthInfoChanged()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_tags.h182 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \
186 ->const decltype(param.field_name)& { \
191 ->decltype(param.field_name)& { \
205 template <> struct TypedTag2ValueType<decltype(typed_tag)> { \ in MAKE_TAG_VALUE_ACCESSOR()
206 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \ in MAKE_TAG_VALUE_ACCESSOR()
208 inline auto accessTagValue(decltype(typed_tag), const KeyParameter& param) \
209 ->const decltype(param.field_name)& { \
212 inline auto accessTagValue(decltype(typed_tag), KeyParameter& param) \
213 ->decltype(param.field_name)& { \
/hardware/interfaces/security/keymint/support/include/keymint_support/
Dkeymint_tags.h169 decltype(static_cast<KeyParameterValue*>(nullptr) \
213 struct TypedTag2ValueType<decltype(typed_tag)> { \ in MAKE_TAG_VALUE_ACCESSOR()
215 decltype(static_cast<KeyParameterValue*>(nullptr) \ in MAKE_TAG_VALUE_ACCESSOR()
220 std::reference_wrapper<const typename TypedTag2ValueType<decltype(typed_tag)>::type>> \
221 accessTagValue(decltype(typed_tag), const KeyParameter& param) { \
230 std::reference_wrapper<typename TypedTag2ValueType<decltype(typed_tag)>::type>> \
231 accessTagValue(decltype(typed_tag), KeyParameter& param) { \
257 retval.value = KeyParameterValue::make<TypedTag2ValueType<decltype(ttag)>::unionTag>(
/hardware/interfaces/wifi/hostapd/1.0/vts/functional/
Dhostapd_hidl_call_util.h131 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \
132 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
138 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dkeymaster_tags.h189 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \
193 ->const decltype(param.field_name)& { \
198 ->decltype(param.field_name)& { \
213 struct TypedTag2ValueType<decltype(typed_tag)> { \ in MAKE_TAG_VALUE_ACCESSOR()
214 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \ in MAKE_TAG_VALUE_ACCESSOR()
216 inline auto accessTagValue(decltype(typed_tag), const KeyParameter& param) \
217 ->const decltype(param.field_name)& { \
220 inline auto accessTagValue(decltype(typed_tag), KeyParameter& param) \
221 ->decltype(param.field_name)& { \
/hardware/google/graphics/gs101/libhwc2.1/libmaindisplay/
DDisplayColorLoader.h35 get_version = (decltype(get_version)) in DisplayColorLoader()
45 (decltype(get_display_color_gs101))dlsym(lib_handle, in DisplayColorLoader()
/hardware/interfaces/vibrator/1.3/example/
DVibrator.cpp68 return perform<decltype(effect)>(effect, strength, _hidl_cb); in perform()
75 return perform<decltype(effect)>(effect, strength, _hidl_cb); in perform_1_1()
82 return perform<decltype(effect)>(effect, strength, _hidl_cb); in perform_1_2()
104 return perform<decltype(effect)>(effect, strength, _hidl_cb); in perform_1_3()
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_hidl_call_util.h120 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \
121 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_hidl_call_util.h123 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \
124 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
/hardware/interfaces/wifi/offload/1.0/vts/functional/
Dhidl_call_util.h119 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \
120 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
/hardware/interfaces/health/2.0/default/
DHealth.cpp53 std::lock_guard<decltype(callbacks_lock_)> lock(callbacks_lock_); in registerCallback()
72 std::lock_guard<decltype(callbacks_lock_)> lock(callbacks_lock_); in unregisterCallbackInternal()
173 std::lock_guard<decltype(callbacks_lock_)> lock(callbacks_lock_); in updateAndNotify()
203 std::lock_guard<decltype(callbacks_lock_)> lock(callbacks_lock_); in notifyListeners()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp162 displayHook<decltype(&Display::acceptChanges), in doGetFunction()
166 displayHook<decltype(&Display::createLayer), in doGetFunction()
170 displayHook<decltype(&Display::destroyLayer), in doGetFunction()
174 displayHook<decltype(&Display::getActiveConfig), in doGetFunction()
178 displayHook<decltype(&Display::getChangedCompositionTypes), in doGetFunction()
183 displayHook<decltype(&Display::getColorModes), in doGetFunction()
190 displayHook<decltype(&Display::getConfigs), in doGetFunction()
194 displayHook<decltype(&Display::getName), in doGetFunction()
198 displayHook<decltype(&Display::getRequests), in doGetFunction()
203 displayHook<decltype(&Display::getType), in doGetFunction()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp200 displayHook<decltype(&Display::acceptChanges), in doGetFunction()
204 displayHook<decltype(&Display::createLayer), in doGetFunction()
208 displayHook<decltype(&Display::destroyLayer), in doGetFunction()
212 displayHook<decltype(&Display::getActiveConfig), in doGetFunction()
216 displayHook<decltype(&Display::getChangedCompositionTypes), in doGetFunction()
221 displayHook<decltype(&Display::getColorModes), in doGetFunction()
228 displayHook<decltype(&Display::getConfigs), in doGetFunction()
232 displayHook<decltype(&Display::getName), in doGetFunction()
236 displayHook<decltype(&Display::getRequests), in doGetFunction()
241 displayHook<decltype(&Display::getType), in doGetFunction()
[all …]
/hardware/libhardware/tests/input/evdev/
DTestHelpers.h34 decltype(auto) delay_async(Duration&& delay, Function&& task) in decltype() function
/hardware/interfaces/tests/multithread/1.0/default/
DMultithread.cpp56 decltype(Multithread::kTimeoutDuration) Multithread::kTimeoutDuration;
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DUtils.h65 -> decltype(convert(nn::convert(nonCanonicalObject).value())) {
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DUtils.h63 -> decltype(convert(nn::convert(nonCanonicalObject).value())) {

123