Home
last modified time | relevance | path

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

123

/hardware/google/av/codec2/tests/
DC2_test.cpp33 static_assert(std::is_same<decltype(min_i32_i32), const int32_t>::value, "should be int32_t");
35 static_assert(std::is_same<decltype(min_i32_i64), const int64_t>::value, "should be int64_t");
37 static_assert(std::is_same<decltype(min_i8_i32), const int32_t>::value, "should be int32_t");
44 static_assert(std::is_same<decltype(min_u32_u32), const uint32_t>::value, "should be uint32_t");
46 static_assert(std::is_same<decltype(min_u32_u64), const uint32_t>::value, "should be uint32_t");
48 static_assert(std::is_same<decltype(min_u32_u8), const uint8_t>::value, "should be uint8_t");
55 static_assert(std::is_same<decltype(max_i32_i32), const int32_t>::value, "should be int32_t");
57 static_assert(std::is_same<decltype(max_i32_i64), const int64_t>::value, "should be int64_t");
59 static_assert(std::is_same<decltype(max_i8_i32), const int32_t>::value, "should be int32_t");
66 static_assert(std::is_same<decltype(max_u32_u32), const uint32_t>::value, "should be uint32_t");
[all …]
/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/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/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/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/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/4.0/support/include/keymasterV4_0/
Dkeymaster_tags.h186 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \
190 ->const decltype(param.field_name)& { \
195 ->decltype(param.field_name)& { \
210 struct TypedTag2ValueType<decltype(typed_tag)> { \ in MAKE_TAG_VALUE_ACCESSOR()
211 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \ in MAKE_TAG_VALUE_ACCESSOR()
213 inline auto accessTagValue(decltype(typed_tag), const KeyParameter& param) \
214 ->const decltype(param.field_name)& { \
217 inline auto accessTagValue(decltype(typed_tag), KeyParameter& param) \
218 ->decltype(param.field_name)& { \
/hardware/google/av/media/codecs/raw/
DC2SoftRawDec.cpp65 .withSetter((Setter<decltype(*mSampleRate)>::StrictValueWithNoDeps)) in IntfImpl()
72 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl()
79 .withSetter(Setter<decltype(*mBitrate)>::NonStrictValueWithNoDeps) in IntfImpl()
95 .withSetter((Setter<decltype(*mPcmEncodingInfo)>::StrictValueWithNoDeps)) in IntfImpl()
/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/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/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/1.0/vts/functional/
Dwifi_hidl_call_util.h121 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \
122 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
/hardware/interfaces/wifi/hostapd/1.0/vts/functional/
Dhostapd_hidl_call_util.h123 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \
124 &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/google/av/media/codecs/aac/
DC2SoftAacDec.cpp90 .withSetter(Setter<decltype(*mSampleRate)>::NonStrictValueWithNoDeps) in IntfImpl()
97 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl()
104 .withSetter(Setter<decltype(*mBitrate)>::NonStrictValueWithNoDeps) in IntfImpl()
118 .withSetter(Setter<decltype(*mAacFormat)>::StrictValueWithNoDeps) in IntfImpl()
151 .withSetter(Setter<decltype(*mDrcCompressMode)>::StrictValueWithNoDeps) in IntfImpl()
158 .withSetter(Setter<decltype(*mDrcTargetRefLevel)>::StrictValueWithNoDeps) in IntfImpl()
165 .withSetter(Setter<decltype(*mDrcEncTargetLevel)>::StrictValueWithNoDeps) in IntfImpl()
172 .withSetter(Setter<decltype(*mDrcBoostFactor)>::StrictValueWithNoDeps) in IntfImpl()
179 .withSetter(Setter<decltype(*mDrcAttenuationFactor)>::StrictValueWithNoDeps) in IntfImpl()
197 .withSetter(Setter<decltype(*mDrcEffectType)>::StrictValueWithNoDeps) in IntfImpl()
/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/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.cpp116 bufferHook<decltype(&Buffer::getBackingStore), in doGetFunction()
122 bufferHook<decltype(&Buffer::getDimensions), in doGetFunction()
126 bufferHook<decltype(&Buffer::getFormat), in doGetFunction()
130 bufferHook<decltype(&Buffer::getLayerCount), in doGetFunction()
136 bufferHook<decltype(&Buffer::getStride), in doGetFunction()
150 bufferHook<decltype(&Buffer::getNumFlexPlanes), in doGetFunction()
/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/google/av/media/codecs/vpx/
DC2SoftVpxEnc.h284 Setter<decltype(*mBitrateMode)>::StrictValueWithNoDeps) in IntfImpl()
293 Setter<decltype(*mFrameRate)>::StrictValueWithNoDeps) in IntfImpl()
311 .withSetter(Setter<decltype(*mSyncFramePeriod)>::StrictValueWithNoDeps) in IntfImpl()
345 .withSetter(Setter<decltype(*mRequestSync)>::NonStrictValueWithNoDeps) in IntfImpl()
/hardware/google/av/media/codecs/gsm/
DC2SoftGsmDec.cpp64 .withSetter((Setter<decltype(*mSampleRate)>::StrictValueWithNoDeps)) in IntfImpl()
71 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl()
78 .withSetter(Setter<decltype(*mBitrate)>::NonStrictValueWithNoDeps) in IntfImpl()
/hardware/google/av/media/codecs/g711/
DC2SoftG711Dec.cpp73 .withSetter((Setter<decltype(*mSampleRate)>::StrictValueWithNoDeps)) in IntfImpl()
80 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl()
87 .withSetter(Setter<decltype(*mBitrate)>::NonStrictValueWithNoDeps) in IntfImpl()

123