/frameworks/av/media/libmediahelper/include/media/ |
D | TypeConverter.h | 85 template <class Traits> 86 static void collectionFromString(const std::string &str, typename Traits::Collection &collection, 91 typename Traits::Type value; 92 if (utilities::convertTo<std::string, typename Traits::Type >(cstr, value)) { 93 Traits::add(collection, value); 99 template <class Traits> 103 static bool toString(const typename Traits::Type &value, std::string &str); 105 static bool fromString(const std::string &str, typename Traits::Type &result); 108 typename Traits::Collection &collection, 120 typename Traits::Type value; [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | remote_method_type.h | 19 typedef FunctionTraits<Signature_> Traits; typedef 23 typedef typename Traits::Signature Signature; 24 typedef typename Traits::Return Return; 25 typedef typename Traits::Args Args; 28 using RewriteArgs = typename Traits::template RewriteArgs<Params...>; 32 typename Traits::template RewriteSignature<ReturnType, Params...>; 37 typename Traits::template RewriteSignatureWrapReturn<Wrapper, ReturnType, 41 using RewriteReturn = typename Traits::template RewriteReturn<ReturnType>;
|
D | string_wrapper.h | 20 typename Traits = std::char_traits<CharT>> 24 typedef Traits traits_type; 25 typedef typename Traits::char_type value_type;
|
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/ |
D | broadcast_ring.h | 142 struct Traits : public BaseTraits { struct 161 static_assert(Traits::kMinRecordCount >= 1, "Min record count too small"); 162 static_assert(!Traits::kUseStaticRecordCount || 163 Traits::kStaticRecordCount >= Traits::kMinRecordCount, 165 static_assert(!Traits::kStaticRecordCount || 166 IsPowerOfTwo(Traits::kStaticRecordCount), 191 Traits::kUseStaticRecordCount in Create() 192 ? Traits::kStaticRecordCount in Create() 228 Traits::kUseStaticRecordCount, in MemorySize() 230 return MemorySize(Traits::kStaticRecordCount); in MemorySize() [all …]
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | Path.h | 108 template <class Char, class Traits> 109 inline std::basic_ostream<Char, Traits>& operator<<( 110 std::basic_ostream<Char, Traits>& pOS, 115 template <class Char, class Traits> 116 inline std::basic_istream<Char, Traits>& operator>>( 117 std::basic_istream<Char, Traits>& pOS,
|
D | GCFactory.h | 56 template <typename ChunkType, class Traits> 60 typedef Traits traits; 63 typedef DataIterator<ChunkType, Traits> Self;
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | BinTree.h | 87 template <class DataType, class Traits, class IteratorType> 91 typedef Traits traits; 95 typedef PolicyIteratorBase<value_type, Traits, IteratorType> Self; 134 template <class DataType, class Traits, class IteratorType> 136 : public PolicyIteratorBase<DataType, Traits, IteratorType> { 138 typedef PolicyIterator<DataType, Traits, IteratorType> Self; 139 typedef PolicyIteratorBase<DataType, Traits, IteratorType> Base; 141 typename Traits::nonconst_traits, 143 typedef PolicyIterator<DataType, typename Traits::const_traits, IteratorType> 179 template <class DataType, class Traits> [all …]
|
D | HashIterator.h | 243 template <typename IteratorBase, typename Traits> 246 typedef Traits traits; 253 typedef HashIterator<IteratorBase, Traits> Self;
|
/frameworks/native/libs/vr/libbroadcastring/ |
D | broadcast_ring_test.cc | 65 struct Traits { struct 77 : public Traits<Record, StaticSize, 0, MaxReserved, MinAvailable> { 85 : public Traits<Record, true, StaticCount, MaxReserved, MinAvailable> { 132 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() 133 EXPECT_EQ(Ring::Traits::MinCount(), ring.record_count()); in TYPED_TEST() 141 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() 173 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() 199 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() 293 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() 334 auto mmap = CreateRing(&original_ring, OriginalRing::Traits::MinCount()); in TEST() [all …]
|
/frameworks/base/core/jni/ |
D | scoped_nullable_primitive_array.h | 53 template<typename JavaArrayType, typename PrimitiveType, class Traits, size_t preallocSize = 10> in ARRAY_TRAITS() 63 Traits::getArrayRegion(mEnv, mJavaArray, 0, mSize, mBuffer); in ARRAY_TRAITS() 66 mRawArray = Traits::getArrayElements(mEnv, mJavaArray); in ARRAY_TRAITS() 73 Traits::releaseArrayElements(mEnv, mJavaArray, mRawArray, JNI_ABORT); in ARRAY_TRAITS()
|
/frameworks/base/libs/hwui/jni/ |
D | scoped_nullable_primitive_array.h | 53 template<typename JavaArrayType, typename PrimitiveType, class Traits, size_t preallocSize = 10> in ARRAY_TRAITS() 63 Traits::getArrayRegion(mEnv, mJavaArray, 0, mSize, mBuffer); in ARRAY_TRAITS() 66 mRawArray = Traits::getArrayElements(mEnv, mJavaArray); in ARRAY_TRAITS() 73 Traits::releaseArrayElements(mEnv, mJavaArray, mRawArray, JNI_ABORT); in ARRAY_TRAITS()
|
/frameworks/compile/mclinker/include/mcld/ |
D | InputTree.h | 25 template <typename Traits, typename IteratorType> 26 class PolicyIterator<mcld::Input, Traits, IteratorType> 27 : public PolicyIteratorBase<Input, Traits, IteratorType> { 29 typedef PolicyIterator<Input, Traits, IteratorType> Self; 30 typedef PolicyIteratorBase<Input, Traits, IteratorType> Base; 31 typedef PolicyIterator<Input, typename Traits::nonconst_traits, IteratorType> 33 typedef PolicyIterator<Input, typename Traits::const_traits, IteratorType>
|
/frameworks/av/services/mediametrics/ |
D | AudioTypes.cpp | 155 template <typename Traits> 161 typename Traits::Type value; in int32FromFlags() 162 if (!TypeConverter<Traits>::fromString(flag, value)) { in int32FromFlags() 170 template <typename Traits> 176 typename Traits::Type value; in stringFromFlags() 177 if (!TypeConverter<Traits>::fromString(flag, value)) { in stringFromFlags()
|
/frameworks/av/media/codec2/vndk/include/ |
D | C2AllocatorBlob.h | 33 virtual std::shared_ptr<const Traits> getTraits() const override; 50 std::shared_ptr<const Traits> mTraits;
|
D | C2AllocatorIon.h | 44 virtual std::shared_ptr<const Traits> getTraits() const override; 87 std::shared_ptr<const Traits> mTraits;
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/master/ |
D | VtsHalMediaC2V1_0TargetMasterTest.cpp | 48 void displayComponentInfo(const std::vector<C2Component::Traits>& compList) { in displayComponentInfo() 63 const std::vector<C2Component::Traits> listTraits = mClient->ListComponents(); in TEST_P()
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorBlob.cpp | 98 Traits traits = {"android.allocator.blob", id, LINEAR, minUsage, maxUsage}; in C2AllocatorBlob() 99 mTraits = std::make_shared<C2Allocator::Traits>(traits); in C2AllocatorBlob() 173 std::shared_ptr<const C2Allocator::Traits> C2AllocatorBlob::getTraits() const { in getTraits()
|
D | C2Store.cpp | 66 virtual std::vector<std::shared_ptr<const C2Allocator::Traits>> listAllocators_nb() in listAllocators_nb() 68 return std::vector<std::shared_ptr<const C2Allocator::Traits>>(); /// \todo in listAllocators_nb() 507 virtual std::vector<std::shared_ptr<const C2Component::Traits>> listComponents() override; 551 std::shared_ptr<const C2Component::Traits> getTraits(); 588 std::shared_ptr<C2Component::Traits> mTraits; ///< cached component traits 730 std::vector<std::shared_ptr<const C2Component::Traits>> mComponentList; 773 std::shared_ptr<C2Component::Traits> traits(new (std::nothrow) C2Component::Traits); in init() 907 std::shared_ptr<const C2Component::Traits> C2PlatformComponentStore::ComponentModule::getTraits() { in getTraits() 985 std::shared_ptr<const C2Component::Traits> traits = module->getTraits(); in visitComponents() 998 std::vector<std::shared_ptr<const C2Component::Traits>> C2PlatformComponentStore::listComponents() { in listComponents()
|
D | C2AllocatorIon.cpp | 462 Traits traits = { "android.allocator.ion", id, LINEAR, minUsage, maxUsage }; in C2AllocatorIon() 463 mTraits = std::make_shared<Traits>(traits); in C2AllocatorIon() 484 std::shared_ptr<const C2Allocator::Traits> C2AllocatorIon::getTraits() const { in getTraits() 495 Traits traits = { in setUsageMapper() 499 mTraits = std::make_shared<Traits>(traits); in setUsageMapper()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2InfoBuilder.cpp | 55 using Traits = C2Component::Traits; typedef 73 const Traits& trait, const std::string &mediaType) { in addSupportedProfileLevels() 191 const Traits& trait, const std::string &mediaType) { in addSupportedColorFormats() 320 std::vector<Traits> traits = Codec2Client::ListComponents(); in buildMediaCodecList() 350 for (const Traits& trait : traits) { in buildMediaCodecList()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Component.h | 405 struct Traits { struct 746 virtual std::vector<std::shared_ptr<const C2Allocator::Traits>> listAllocators_nb() const = 0; 838 virtual std::vector<std::shared_ptr<const C2Component::Traits>> listComponents() = 0;
|
/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/ |
D | client.h | 174 std::vector<C2Component::Traits> const& listComponents() const; 218 static std::vector<C2Component::Traits> const& ListComponents(); 254 mutable std::vector<C2Component::Traits> mTraitsList; 261 std::vector<C2Component::Traits> _listComponents(bool* success) const;
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | ComponentStore.cpp | 227 std::vector<std::shared_ptr<const C2Component::Traits>> c2traits = in listComponents() 231 for (const std::shared_ptr<const C2Component::Traits> &c2trait : c2traits) { in listComponents() 352 const std::shared_ptr<const C2Component::Traits>& comp) { in dump() 423 std::vector<std::shared_ptr<const C2Component::Traits>> traitsList = in debug()
|
/frameworks/av/media/codec2/hidl/client/ |
D | client.cpp | 154 virtual std::vector<std::shared_ptr<C2Component::Traits const>> listComponents() { in listComponents() 155 return std::vector<std::shared_ptr<C2Component::Traits const>>(); in listComponents() 171 std::vector<C2Component::Traits> mTraits; 212 std::vector<C2Component::Traits> const& getTraits() { in getTraits() 763 std::vector<C2Component::Traits> const& Codec2Client::listComponents() const { in listComponents() 767 std::vector<C2Component::Traits> Codec2Client::_listComponents( in _listComponents() 769 std::vector<C2Component::Traits> traits; in _listComponents() 1102 std::vector<C2Component::Traits> const& Codec2Client::ListComponents() { in ListComponents() 1103 static std::vector<C2Component::Traits> sList{[]() { in ListComponents() 1104 std::vector<C2Component::Traits> list; in ListComponents() [all …]
|
/frameworks/av/media/codec2/hidl/1.1/utils/ |
D | ComponentStore.cpp | 227 std::vector<std::shared_ptr<const C2Component::Traits>> c2traits = in listComponents() 231 for (const std::shared_ptr<const C2Component::Traits> &c2trait : c2traits) { in listComponents() 385 const std::shared_ptr<const C2Component::Traits>& comp) { in dump() 456 std::vector<std::shared_ptr<const C2Component::Traits>> traitsList = in debug()
|