Home
last modified time | relevance | path

Searched refs:C2String (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/av/media/codec2/vndk/util/
DC2ParamUtils.cpp41 static size_t countMatching(C2StringLiteral a, const C2String &b) { in countMatching()
62 C2String _C2EnumUtils::camelCaseToDashed(C2String name) { in camelCaseToDashed()
119 std::vector<C2String> _C2EnumUtils::sanitizeEnumValueNames( in sanitizeEnumValueNames()
122 std::vector<C2String> sanitizedNames; in sanitizeEnumValueNames()
123 C2String prefix; in sanitizeEnumValueNames()
165 C2String sanitized = C2String(s, underscores - extraUnderscores); in sanitizeEnumValueNames()
171 for (C2String s : sanitizedNames) { in sanitizeEnumValueNames()
179 std::vector<C2String> _C2EnumUtils::parseEnumValuesFromString(C2StringLiteral value) { in parseEnumValuesFromString()
180 std::vector<C2String> foundNames; in parseEnumValuesFromString()
DC2InterfaceHelper.cpp153 C2String name() const { in name()
242 C2String mName;
300 C2String C2InterfaceHelper::ParamHelper::name() const { in name()
/frameworks/av/media/codec2/core/include/
DC2Component.h92 virtual C2String getName() const = 0;
407 C2String name; ///< name of the component
411 C2String mediaType; ///< media type supported by the component
412 C2String owner; ///< name of the component store owning this component
418 std::vector<C2String> aliases; ///< name aliases for backward compatibility
736 virtual C2String getName() const = 0;
788 virtual C2String getName() const = 0;
807 C2String name, std::shared_ptr<C2Component>* const component) = 0;
829 C2String name, std::shared_ptr<C2ComponentInterface>* const interface) = 0;
DC2Enum.h62 static C2String camelCaseToDashed(C2String name);
64 static std::vector<C2String> sanitizeEnumValueNames(
72 static C2_HIDE std::vector<C2String> parseEnumValuesFromString(C2StringLiteral value);
80 std::vector<C2String> sanitizedNames = sanitizeEnumValueNames(names, prefix);
DC2Param.h988 typedef std::pair<C2String, C2Value::Primitive> NamedValueType;
1016 …inline C2FieldDescriptor(uint32_t type, uint32_t extent, C2String name, size_t offset, size_t size) in C2FieldDescriptor()
1043 inline C2String name() const { return _mName; } in name()
1066 C2String _mName;
1214 inline C2String name() const { return _mName; }
1255 C2Param::Index index, attrib_t attrib, C2String &&name,
1265 const C2String _mName;
DC2Buffer.h587 C2String name; ///< allocator name
602 virtual C2String getName() const = 0;
/frameworks/av/media/codec2/components/base/
DSimpleC2Interface.cpp32 C2String name, in BaseParams()
35 C2String mediaType, in BaseParams()
36 std::vector<C2String> aliases) in BaseParams()
46 C2String joined; in BaseParams()
47 for (const C2String &alias : aliases) { in BaseParams()
84 C2String rawMediaType; in BaseParams()
/frameworks/av/media/codec2/hidl/services/
Dvendor.cpp44 virtual C2String getName() const override { in getName()
49 C2String /*name*/, in createComponent() argument
55 C2String /* name */, in createInterface() argument
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Interface.h44 C2String getName() const override { return mName; } in getName()
72 C2String mName;
89 C2String name,
92 C2String mediaType,
93 std::vector<C2String> aliases = std::vector<C2String>());
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DConfigurable.h52 C2String getName() const { return mName; } in getName()
73 ConfigurableC2Intf(const C2String& name, uint32_t id) in ConfigurableC2Intf()
77 C2String mName; /* cached component name */
DComponentStore.h111 std::set<C2String> mLoadedInterfaces;
/frameworks/av/media/codec2/vndk/
DC2Store.cpp65 virtual C2String getName() const override { in getName()
456 virtual C2String getName() const override;
466 C2String name, std::shared_ptr<C2ComponentInterface> *const interface) override;
468 C2String name, std::shared_ptr<C2Component> *const component) override;
642 c2_status_t findComponent(C2String name, std::shared_ptr<ComponentModule> *module);
651 std::map<C2String, ComponentLoader> mComponents; ///< path -> component module
652 std::map<C2String, C2String> mComponentNameToPath; ///< name -> path
903 const C2String &path = pathAndLoader.first; in visitComponents()
911 for (const C2String &alias : traits->aliases) { in visitComponents()
927 C2String name, std::shared_ptr<ComponentModule> *module) { in findComponent()
[all …]
DC2AllocatorGralloc.cpp877 C2String getName() const { in getName()
1124 C2String C2AllocatorGralloc::getName() const { in getName()
/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/
Dclient.h97 const C2String& getName() const;
123 C2String mName;
151 C2String const& name,
156 C2String const& name,
/frameworks/av/media/codec2/vndk/include/
DC2AllocatorGralloc.h69 virtual C2String getName() const override;
DC2AllocatorIon.h42 virtual C2String getName() const override;
/frameworks/av/media/codec2/hidl/1.0/vts/functional/master/
DVtsHalMediaC2V1_0TargetMasterTest.cpp64 C2String name = mClient->getName(); in TEST_F()
/frameworks/av/media/codec2/tests/
DC2UtilTest.cpp77 std::vector<std::pair<C2String, Enum3>> pairs ( { { "value1", Enum3Value1 }, in TEST_F()
DC2Param_test.cpp2277 EXPECT_EQ(C2String("value"), fields.cbegin()->name()); in TEST_F()
2288 EXPECT_EQ(C2String("value"), fields.cbegin()->name()); in TEST_F()
2299 EXPECT_EQ(C2String("value"), fields.cbegin()->name()); in TEST_F()
2310 EXPECT_EQ(C2String("value"), fields.cbegin()->name()); in TEST_F()
2321 EXPECT_EQ(C2String("value"), fields.cbegin()->name()); in TEST_F()
2335 EXPECT_EQ(C2String("value"), fields.cbegin()->name()); in TEST_F()
2354 EXPECT_EQ(C2String("value"), fields.cbegin()->name()); in TEST_F()
DC2SampleComponent_test.cpp92 virtual C2String getName() const override { in getName()
/frameworks/av/media/codec2/sfplugin/
DReflectedParamUpdater.h114 std::shared_ptr<C2ParamDescriptor> paramDesc, C2String path, size_t offset,
DReflectedParamUpdater.cpp144 C2String path, in addParamStructDesc()
149 C2String fieldName = path + "." + it->name(); in addParamStructDesc()
206 C2String paramName = desc->name(); in addParamDesc()
DCCodecConfig.cpp64 ConfigMapper(std::string mediaKey, C2String c2struct, C2String c2field) in ConfigMapper()
174 C2String mStruct; ///< Codec 2.0 struct name
175 C2String mField; ///< Codec 2.0 field name
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp179 const C2String& Codec2ConfigurableClient::getName() const { in getName()
186 mName{[base]() -> C2String { in __anon1f4069ba0402()
187 C2String outName; in __anon1f4069ba0402()
545 const C2String& name, in createComponent()
592 const C2String& name, in createInterface()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp157 C2String name = mComponent->getName(); in TEST_F()

12