/frameworks/rs/cpp/util/ |
D | TypeHelpers.h | 42 struct traits { 62 traits<T>::has_trivial_ctor && traits<U>::has_trivial_ctor, 64 traits<T>::has_trivial_dtor && traits<U>::has_trivial_dtor, 66 traits<T>::has_trivial_copy && traits<U>::has_trivial_copy, 68 traits<T>::has_trivial_move && traits<U>::has_trivial_move 134 if (!traits<TYPE>::has_trivial_ctor) { 143 if (!traits<TYPE>::has_trivial_dtor) { 153 if (!traits<TYPE>::has_trivial_copy) { 165 if (!traits<TYPE>::has_trivial_copy) { 179 if ((traits<TYPE>::has_trivial_dtor && traits<TYPE>::has_trivial_copy) [all …]
|
/frameworks/hardware/interfaces/bufferhub/1.0/vts/functional/ |
D | VtsHalBufferHubV1_0TargetTest.cpp | 124 const auto& traits) { in TEST_F() argument 127 bufferTraits = std::move(traits); in TEST_F() 147 const auto& traits) { in TEST_F() argument 150 bufferTraits = std::move(traits); in TEST_F() 176 const auto& traits) { in TEST_F() argument 179 bufferTraits = std::move(traits); in TEST_F() 207 const auto& traits) { in TEST_F() argument 210 bufferTraits = std::move(traits); in TEST_F() 231 const auto& traits) { in TEST_F() argument 234 bufferTraits2 = std::move(traits); in TEST_F() [all …]
|
/frameworks/av/media/codec2/hidl/plugin/ |
D | FilterWrapper.cpp | 64 LOG(WARNING) << "WrappedDecoderInterface: " << mFilters.back().traits.name in takeFilters() 535 LOG(VERBOSE) << "filtering disabled for " << filter.traits.name; in start() 538 LOG(VERBOSE) << "filtering enabled for " << filter.traits.name; in start() 794 std::vector<std::shared_ptr<const C2Component::Traits>> traits = in FilterWrapper() local 797 traits.begin(), in FilterWrapper() 798 traits.end(), in FilterWrapper() 803 for (size_t i = 0; i < traits.size(); ++i) { in FilterWrapper() 804 const std::shared_ptr<const C2Component::Traits> &trait = traits[i]; in FilterWrapper() 835 if (C2_OK != mStore->createComponent(filter.traits.name, &comp)) { in createFilters() 838 filters.push_back({comp, comp->intf(), filter.traits, filter.desc}); in createFilters() [all …]
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | BinTree.h | 91 typedef Traits traits; typedef 92 typedef typename traits::pointer pointer; 93 typedef typename traits::reference reference; 98 typedef typename traits::nonconst_traits nonconst_traits; 99 typedef typename traits::const_traits const_traits; 183 typedef Traits traits; typedef 184 typedef typename traits::pointer pointer; 185 typedef typename traits::reference reference; 190 typedef typename traits::nonconst_traits nonconst_traits; 192 typedef typename traits::const_traits const_traits;
|
D | HashIterator.h | 246 typedef Traits traits; typedef 247 typedef typename traits::pointer pointer; 248 typedef typename traits::reference reference; 255 typedef typename traits::nonconst_traits nonconst_traits; 258 typedef typename traits::const_traits const_traits;
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | GCFactory.h | 60 typedef Traits traits; typedef 61 typedef typename traits::pointer pointer; 62 typedef typename traits::reference reference; 66 typedef typename traits::nonconst_traits nonconst_traits; 68 typedef typename traits::const_traits const_traits;
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/ |
D | media_c2_hidl_test_common.cpp | 194 for (C2Component::Traits traits : components) { in getTestParameters() local 195 if (instance.compare(traits.owner)) continue; in getTestParameters() 197 (traits.domain != domain || traits.kind != kind)) { in getTestParameters() 200 if (traits.name.rfind(sComponentNamePrefix, 0) != 0) { in getTestParameters() 201 ALOGD("Skipping tests for %s. Prefix specified is %s", traits.name.c_str(), in getTestParameters() 205 parameters.push_back(std::make_tuple(instance, traits.name)); in getTestParameters()
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2InterfaceUtils.cpp | 1311 C2Component::Traits *traits, in FillTraitsFromInterface() argument 1313 if (!traits) { in FillTraitsFromInterface() 1316 traits->name = intf->getName(); in FillTraitsFromInterface() 1323 traits->kind = kind.value; in FillTraitsFromInterface() 1324 traits->domain = domain.value; in FillTraitsFromInterface() 1329 traits->kind = in FillTraitsFromInterface() 1330 (traits->name.find("encoder") != std::string::npos) ? C2Component::KIND_ENCODER : in FillTraitsFromInterface() 1331 (traits->name.find("decoder") != std::string::npos) ? C2Component::KIND_DECODER : in FillTraitsFromInterface() 1335 uint32_t mediaTypeIndex = traits->kind == C2Component::KIND_ENCODER in FillTraitsFromInterface() 1353 traits->mediaType = in FillTraitsFromInterface() [all …]
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | ComponentStore.cpp | 254 hidl_vec<IComponentStore::ComponentTraits> traits(c2traits.size()); in listComponents() local 258 if (objcpy(&traits[ix], *c2trait)) { in listComponents() 265 traits.resize(ix); in listComponents() 266 _hidl_cb(Status::OK, traits); in listComponents() 456 for (const auto& traits : traitsList) { in debug() local 457 dump(out, traits) << std::endl; in debug()
|
/frameworks/av/media/codec2/hidl/1.1/utils/ |
D | ComponentStore.cpp | 253 hidl_vec<IComponentStore::ComponentTraits> traits(c2traits.size()); in listComponents() local 257 if (objcpy(&traits[ix], *c2trait)) { in listComponents() 264 traits.resize(ix); in listComponents() 265 _hidl_cb(Status::OK, traits); in listComponents() 491 for (const auto& traits : traitsList) { in debug() local 492 dump(out, traits) << std::endl; in debug()
|
/frameworks/av/media/codec2/hidl/1.2/utils/ |
D | ComponentStore.cpp | 253 hidl_vec<IComponentStore::ComponentTraits> traits(c2traits.size()); in listComponents() local 257 if (objcpy(&traits[ix], *c2trait)) { in listComponents() 264 traits.resize(ix); in listComponents() 265 _hidl_cb(Status::OK, traits); in listComponents() 527 for (const auto& traits : traitsList) { in debug() local 528 dump(out, traits) << std::endl; in debug()
|
/frameworks/av/media/codec2/vndk/ |
D | C2Store.cpp | 983 std::shared_ptr<C2Component::Traits> traits(new (std::nothrow) C2Component::Traits); in init() local 984 if (traits) { in init() 985 if (!C2InterfaceUtils::FillTraitsFromInterface(traits.get(), intf)) { in init() 991 switch (traits->domain) { in init() 993 traits->rank = 8; in init() 996 traits->rank = 512; in init() 999 mTraits = traits; in init() 1143 std::shared_ptr<const C2Component::Traits> traits = module->getTraits(); in visitComponents() local 1144 if (traits) { in visitComponents() 1145 mComponentList.push_back(traits); in visitComponents() [all …]
|
D | C2DmaBufAllocator.cpp | 296 Traits traits = {"android.allocator.dmabuf", id, LINEAR, minUsage, maxUsage}; in C2DmaBufAllocator() local 297 mTraits = std::make_shared<Traits>(traits); in C2DmaBufAllocator() 321 Traits traits = {mTraits->name, mTraits->id, LINEAR, C2MemoryUsage(minUsage), in setUsageMapper() local 323 mTraits = std::make_shared<Traits>(traits); in setUsageMapper()
|
D | C2AllocatorIon.cpp | 488 Traits traits = { "android.allocator.ion", id, LINEAR, minUsage, maxUsage }; in C2AllocatorIon() local 489 mTraits = std::make_shared<Traits>(traits); in C2AllocatorIon() 521 Traits traits = { in setUsageMapper() local 525 mTraits = std::make_shared<Traits>(traits); in setUsageMapper()
|
D | C2AllocatorBlob.cpp | 158 Traits traits = {"android.allocator.blob", id, LINEAR, minUsage, maxUsage}; in C2AllocatorBlob() local 159 mTraits = std::make_shared<C2Allocator::Traits>(traits); in C2AllocatorBlob()
|
D | C2AllocatorGralloc.cpp | 864 Traits traits = { "android.allocator.gralloc", id, C2Allocator::GRAPHIC, minUsage, maxUsage }; in Impl() local 865 mTraits = std::make_shared<C2Allocator::Traits>(traits); in Impl()
|
/frameworks/av/services/mediametrics/ |
D | AudioTypes.cpp | 461 std::string lookup<TRACK_TRAITS>(const std::string &traits) in lookup() argument 463 return validateStringFromMap(traits, getAudioTrackTraitsMap()); in lookup() 467 int32_t lookup<TRACK_TRAITS>(const std::string &traits) in lookup() argument 469 return flagsFromMap(traits, getAudioTrackTraitsMap()); in lookup()
|
D | AudioAnalytics.cpp | 695 std::string traits; in endAudioIntervalGroup() local 697 key, AMEDIAMETRICS_PROP_TRAITS, &traits); in endAudioIntervalGroup() 718 types::lookup<types::TRACK_TRAITS, short_enum_type_t>(traits); in endAudioIntervalGroup() 744 << ") traits:" << traits << "(" << traitsForStats in endAudioIntervalGroup()
|
/frameworks/av/services/audioflinger/ |
D | TrackMetrics.h | 71 const std::string& traits = {}, 82 .set(AMEDIAMETRICS_PROP_TRAITS, traits);
|
/frameworks/av/media/codec2/hidl/plugin/samples/ |
D | SampleFilterPlugin.cpp | 887 ComponentFactory(const std::shared_ptr<const C2Component::Traits> &traits) in ComponentFactory() argument 888 : mTraits(traits) { in ComponentFactory() 897 ComponentFactoryImpl(const std::shared_ptr<const C2Component::Traits> &traits) in ComponentFactoryImpl() 898 : ComponentFactory(traits) { in ComponentFactoryImpl() 918 std::shared_ptr<C2Component::Traits> traits(new (std::nothrow) C2Component::Traits); in AddFactory() local 919 CHECK(C2InterfaceUtils::FillTraitsFromInterface(traits.get(), intf)) in AddFactory() 921 factories->emplace(traits->name, new ComponentFactoryImpl<T>(traits)); in AddFactory()
|
/frameworks/native/libs/ftl/ |
D | README.md | 27 - Type traits, with standard `_t` and `_v` suffixes.
|
/frameworks/av/media/codec2/hidl/plugin/internal/ |
D | FilterWrapper.h | 55 const C2Component::Traits traits; member
|
/frameworks/av/media/codec2/hidl/client/ |
D | client.cpp | 805 std::vector<C2Component::Traits> traits; in _listComponents() local 808 [&traits, &serviceName](Status s, in _listComponents() 815 traits.resize(t.size()); in _listComponents() 817 if (!objcpy(&traits[i], t[i])) { in _listComponents() 821 traits[i].owner = serviceName; in _listComponents() 830 return traits; in _listComponents() 1148 std::vector<C2Component::Traits> const& traits = cache.getTraits(); in ListComponents() local 1149 list.insert(list.end(), traits.begin(), traits.end()); in ListComponents()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2InfoBuilder.cpp | 330 std::vector<Traits> traits = Codec2Client::ListComponents(); in buildMediaCodecList() local 413 for (const Traits& trait : traits) { in buildMediaCodecList()
|
/frameworks/av/media/codec2/vndk/include/util/ |
D | C2InterfaceUtils.h | 1143 C2Component::Traits *traits,
|