/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | ischema.h | 34 inline SchemaType ReadSchemaType(uint8_t inType) in ReadSchemaType() argument 36 if (inType >= static_cast<uint8_t>(SchemaType::UNRECOGNIZED)) { in ReadSchemaType() 39 return static_cast<SchemaType>(inType); in ReadSchemaType()
|
H A D | schema_utils.h | 48 static std::string FieldTypeString(FieldType inType); 49 static std::string SchemaTypeString(SchemaType inType);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | flatbuffer_schema.cpp | 91 inline bool IsIntegerType(reflection::BaseType inType) in IsIntegerType() argument 93 return (inType >= reflection::BaseType::Bool) && (inType <= reflection::BaseType::ULong); in IsIntegerType() 96 inline bool IsRealType(reflection::BaseType inType) in IsRealType() argument 98 return (inType >= reflection::BaseType::Float) && (inType <= reflection::BaseType::Double); in IsRealType() 101 inline bool IsScalarType(reflection::BaseType inType) in IsScalarType() argument 103 return IsIntegerType(inType) || IsRealType(inType); in IsScalarType() 106 inline bool IsStringType(reflection::BaseType inType) in IsStringType() argument 111 IsIndexableType(reflection::BaseType inType) IsIndexableType() argument 116 IsVectorType(reflection::BaseType inType) IsVectorType() argument 121 IsStringOrVectorType(reflection::BaseType inType) IsStringOrVectorType() argument 126 IsObjectType(reflection::BaseType inType) IsObjectType() argument 131 IsSupportTypeAtRoot(reflection::BaseType inType) IsSupportTypeAtRoot() argument 136 IsRequiredSupportType(reflection::BaseType inType) IsRequiredSupportType() argument 249 MapFieldType(reflection::BaseType inType) MapFieldType() argument 567 CheckFieldTypeSupport(const reflection::Type &inType, bool isRootField) CheckFieldTypeSupport() argument [all...] |
H A D | json_object.cpp | 449 bool InsertFieldCheckParameter(const FieldPath &inPath, FieldType inType, const FieldValue &inValue, in InsertFieldCheckParameter() argument 452 if (inPath.empty() || inPath.size() > maxNestDepth || inType == FieldType::LEAF_FIELD_ARRAY || in InsertFieldCheckParameter() 453 inType == FieldType::INTERNAL_FIELD_OBJECT) { in InsertFieldCheckParameter() 457 return !(inType == FieldType::LEAF_FIELD_DOUBLE && !std::isfinite(inValue.doubleValue)); in InsertFieldCheckParameter() 460 void LeafJsonNodeAppendValue(Json::Value &leafNode, FieldType inType, const FieldValue &inValue) in LeafJsonNodeAppendValue() argument 462 if (inType == FieldType::LEAF_FIELD_STRING) { in LeafJsonNodeAppendValue() 468 void LeafJsonNodeAssignValue(Json::Value &leafNode, FieldType inType, const FieldValue &inValue) in LeafJsonNodeAssignValue() argument 470 switch (inType) { in LeafJsonNodeAssignValue() 547 int JsonObject::InsertField(const FieldPath &inPath, FieldType inType, const FieldValue &inValue, bool isAppend) in InsertField() argument 549 if (!InsertFieldCheckParameter(inPath, inType, inValu in InsertField() [all...] |
H A D | schema_object.cpp | 28 void DisplaySchemaLineByLine(SchemaType inType, const std::string &inSchema) in DisplaySchemaLineByLine() argument 33 LOGD("[Schema][Display] IS %s, LENGTH=%zu.", SchemaUtils::SchemaTypeString(inType).c_str(), inSchema.size()); in DisplaySchemaLineByLine() 582 FieldType inType, SchemaAttribute &outAttr) const in CheckSchemaDefineItemDecideAttribute() 593 if (inType == FieldType::LEAF_FIELD_STRING) { in CheckSchemaDefineItemDecideAttribute() 607 } else if (inType == FieldType::LEAF_FIELD_ARRAY) { in CheckSchemaDefineItemDecideAttribute() 618 outAttr = SchemaAttribute{inType, false, false, false, FieldValue()}; in CheckSchemaDefineItemDecideAttribute() 619 } else if (inType == FieldType::LEAF_FIELD_OBJECT) { in CheckSchemaDefineItemDecideAttribute() 620 outAttr = SchemaAttribute{inType, false, false, false, FieldValue()}; in CheckSchemaDefineItemDecideAttribute() 621 } else if (inType == FieldType::INTERNAL_FIELD_OBJECT) { in CheckSchemaDefineItemDecideAttribute() 622 outAttr = SchemaAttribute{inType, fals in CheckSchemaDefineItemDecideAttribute() 581 CheckSchemaDefineItemDecideAttribute(const JsonObject& inJsonObject, const FieldPath &inPath, FieldType inType, SchemaAttribute &outAttr) const CheckSchemaDefineItemDecideAttribute() argument 1007 IsTypeMustBeExactlyEqualBetweenSchemaAndValue(FieldType inType) IsTypeMustBeExactlyEqualBetweenSchemaAndValue() argument 1014 IsObjectType(FieldType inType) IsObjectType() argument [all...] |
/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | subtitle_sink_filter.cpp | 187 Status SubtitleSinkFilter::OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, in OnLinked() argument 192 return Filter::OnLinked(inType, meta, callback); in OnLinked() 201 Status SubtitleSinkFilter::OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta, in OnUpdated() argument 204 return Filter::OnUpdated(inType, meta, callback); in OnUpdated() 207 Status SubtitleSinkFilter::OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) in OnUnLinked() argument 209 return Filter::OnUnLinked(inType, callback); in OnUnLinked()
|
H A D | audio_sink_filter.cpp | 220 Status AudioSinkFilter::OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, in OnLinked() argument 235 return Filter::OnLinked(inType, meta, callback); in OnLinked() 301 Status AudioSinkFilter::OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta, in OnUpdated() argument 304 return Filter::OnUpdated(inType, meta, callback); in OnUpdated() 307 Status AudioSinkFilter::OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) in OnUnLinked() argument 309 return Filter::OnUnLinked(inType, callback); in OnUnLinked()
|
/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | audio_sink_filter.h | 61 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, 86 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta, 89 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
|
H A D | audio_encoder_filter.h | 58 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
60 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
62 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
|
H A D | audio_capture_filter.h | 52 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta, 54 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta, 56 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback> &callback) override;
|
H A D | audio_data_source_filter.h | 50 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, 52 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta, 54 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
|
H A D | metadata_filter.h | 65 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta, 67 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta, 69 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
|
H A D | video_capture_filter.h | 65 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
67 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
69 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
|
H A D | subtitle_sink_filter.h | 58 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, 69 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta, 72 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
|
H A D | surface_decoder_filter.h | 64 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
66 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
68 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
|
H A D | audio_decoder_filter.h | 87 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta, 90 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta, 93 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
|
H A D | video_resize_filter.h | 66 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
68 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
70 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
|
H A D | surface_encoder_filter.h | 70 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
72 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
74 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
|
H A D | muxer_filter.h | 53 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
55 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
57 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
|
H A D | demuxer_filter.h | 109 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta, 112 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta, 115 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
|
/foundation/multimedia/av_codec/test/unittest/filter_test/ |
H A D | audio_sink_filter_unit_test.cpp | 140 StreamType inType = StreamType::STREAMTYPE_MAX;
in HWTEST_F() local 145 audioSinkFilter_->OnLinked(inType, meta, callback);
in HWTEST_F() 147 audioSinkFilter_->OnLinked(inType, meta, callback);
in HWTEST_F()
|
H A D | audio_data_source_filter_unit_test.cpp | 220 StreamType inType = StreamType::STREAMTYPE_RAW_AUDIO; in HWTEST_F() local 225 Status status = audioDataSourceFilter_->OnLinked(inType, meta, callback); in HWTEST_F() 240 StreamType inType = StreamType::STREAMTYPE_RAW_AUDIO; in HWTEST_F() local 245 Status status = audioDataSourceFilter_->OnUpdated(inType, meta, callback); in HWTEST_F() 260 StreamType inType = StreamType::STREAMTYPE_RAW_AUDIO; in HWTEST_F() local 264 Status status = audioDataSourceFilter_->OnUnLinked(inType, callback); in HWTEST_F()
|
H A D | audio_capture_filter_unit_test.cpp | 371 StreamType inType = StreamType::STREAMTYPE_PACKED; in HWTEST_F() local 372 Status result = audioCaptureFilter_->OnLinked(inType, nullptr, nullptr); in HWTEST_F() 383 StreamType inType = StreamType::STREAMTYPE_PACKED; in HWTEST_F() local 384 Status result = audioCaptureFilter_->OnUpdated(inType, nullptr, nullptr); in HWTEST_F() 395 StreamType inType = StreamType::STREAMTYPE_PACKED; in HWTEST_F() local 396 Status result = audioCaptureFilter_->OnUnLinked(inType, nullptr); in HWTEST_F()
|
H A D | audio_data_source_filter_unit_test.h | 188 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, in OnLinked() argument 191 (void)inType; in OnLinked()
|
H A D | muxer_filter_unit_test.h | 139 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, in OnLinked() argument 142 (void)inType; in OnLinked()
|