/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/av/media/codec2/hidl/plugin/ |
D | FilterWrapper.cpp | 69 LOG(WARNING) << "WrappedDecoderInterface: " << mFilters.back().traits.name in takeFilters() 556 LOG(VERBOSE) << "filtering disabled for " << filter.traits.name; in start() 559 LOG(VERBOSE) << "filtering enabled for " << filter.traits.name; in start() 817 std::vector<std::shared_ptr<const C2Component::Traits>> traits = in FilterWrapper() local 820 traits.begin(), in FilterWrapper() 821 traits.end(), in FilterWrapper() 826 for (size_t i = 0; i < traits.size(); ++i) { in FilterWrapper() 827 const std::shared_ptr<const C2Component::Traits> &trait = traits[i]; in FilterWrapper() 858 if (C2_OK != mStore->createComponent(filter.traits.name, &comp)) { in createFilters() 861 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 | 995 std::shared_ptr<C2Component::Traits> traits(new (std::nothrow) C2Component::Traits); in init() local 996 if (traits) { in init() 997 if (!C2InterfaceUtils::FillTraitsFromInterface(traits.get(), intf)) { in init() 1003 switch (traits->domain) { in init() 1005 traits->rank = 8; in init() 1008 traits->rank = 512; in init() 1011 mTraits = traits; in init() 1155 std::shared_ptr<const C2Component::Traits> traits = module->getTraits(); in visitComponents() local 1156 if (traits) { in visitComponents() 1157 mComponentList.push_back(traits); in visitComponents() [all …]
|
D | C2DmaBufAllocator.cpp | 299 Traits traits = {"android.allocator.dmabuf", id, LINEAR, minUsage, maxUsage}; in C2DmaBufAllocator() local 300 mTraits = std::make_shared<Traits>(traits); in C2DmaBufAllocator() 324 Traits traits = {mTraits->name, mTraits->id, LINEAR, C2MemoryUsage(minUsage), in setUsageMapper() local 326 mTraits = std::make_shared<Traits>(traits); in setUsageMapper()
|
D | C2AllocatorIon.cpp | 492 Traits traits = { "android.allocator.ion", id, LINEAR, minUsage, maxUsage }; in C2AllocatorIon() local 493 mTraits = std::make_shared<Traits>(traits); in C2AllocatorIon() 525 Traits traits = { in setUsageMapper() local 529 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 | 960 Traits traits = { "android.allocator.gralloc", id, C2Allocator::GRAPHIC, minUsage, maxUsage }; in Impl() local 961 mTraits = std::make_shared<C2Allocator::Traits>(traits); in Impl()
|
/frameworks/av/media/codec2/hidl/plugin/samples/ |
D | SampleFilterPlugin.cpp | 888 ComponentFactory(const std::shared_ptr<const C2Component::Traits> &traits) in ComponentFactory() argument 889 : mTraits(traits) { in ComponentFactory() 898 ComponentFactoryImpl(const std::shared_ptr<const C2Component::Traits> &traits) in ComponentFactoryImpl() 899 : ComponentFactory(traits) { in ComponentFactoryImpl() 919 std::shared_ptr<C2Component::Traits> traits(new (std::nothrow) C2Component::Traits); in AddFactory() local 920 CHECK(C2InterfaceUtils::FillTraitsFromInterface(traits.get(), intf)) in AddFactory() 922 factories->emplace(traits->name, new ComponentFactoryImpl<T>(traits)); in AddFactory()
|
/frameworks/av/services/audioflinger/ |
D | TrackMetrics.h | 70 const std::string& traits = {}, 81 .set(AMEDIAMETRICS_PROP_TRAITS, traits);
|
D | Tracks.cpp | 734 const char * const traits = sharedBuffer == 0 ? "" : "static"; in Track() local 735 mTrackMetrics.logConstructor(creatorPid, uid, id(), traits, streamType); in Track()
|
/frameworks/av/services/mediametrics/ |
D | AudioTypes.cpp | 700 std::string lookup<TRACK_TRAITS>(const std::string &traits) in lookup() argument 702 return validateStringFromMap(traits, getAudioTrackTraitsMap()); in lookup() 706 int32_t lookup<TRACK_TRAITS>(const std::string &traits) in lookup() argument 708 return flagsFromMap(traits, getAudioTrackTraitsMap()); in lookup()
|
D | AudioAnalytics.cpp | 997 std::string traits; in endAudioIntervalGroup() local 999 key, AMEDIAMETRICS_PROP_TRAITS, &traits); in endAudioIntervalGroup() 1020 types::lookup<types::TRACK_TRAITS, short_enum_type_t>(traits); in endAudioIntervalGroup() 1046 << ") traits:" << traits << "(" << traitsForStats in endAudioIntervalGroup()
|
/frameworks/av/media/codec2/hidl/plugin/internal/ |
D | FilterWrapper.h | 55 const C2Component::Traits traits; member
|
/frameworks/native/libs/ftl/ |
D | README.md | 27 - Type traits, with standard `_t` and `_v` suffixes.
|
/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 | 428 std::vector<Traits> traits = Codec2Client::ListComponents(); in buildMediaCodecList() local 512 for (const Traits& trait : traits) { in buildMediaCodecList()
|
/frameworks/av/media/codec2/vndk/include/util/ |
D | C2InterfaceUtils.h | 1143 C2Component::Traits *traits,
|