/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | ans_log_test.cpp | 126 inType = NotificationContent::Type::LONG_TEXT; 129 inType = NotificationContent::Type::MULTILINE; 132 inType = NotificationContent::Type::PICTURE; 135 inType = NotificationContent::Type::CONVERSATION; 141 inType = NotificationContent::Type::LIVE_VIEW; 164 inType = NotificationNapi::SlotType::LIVE_VIEW; 176 inType = NotificationNapi::SlotType::OTHER_TYPES; 211 inType = NotificationConstant::SlotType::OTHER; 228 inType = NotificationNapi::SlotLevel::LEVEL_MIN; 231 inType = NotificationNapi::SlotLevel::LEVEL_LOW; [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/common/src/ |
H A D | ans_convert_enum.cpp | 23 switch (inType) { in ContentTypeJSToC() 54 switch (inType) { in ContentTypeCToJS() 85 switch (inType) { in SlotTypeJSToC() 117 switch (inType) { in SlotTypeCToJS() 178 switch (inType) { in LiveViewStatusJSToC() 227 switch (inType) { in ReasonCToJS() 331 switch (inType) { in DoNotDisturbTypeJSToC() 353 switch (inType) { in DoNotDisturbTypeCToJS() 375 switch (inType) { in DeviceRemindTypeCToJS() 397 switch (inType) { in SourceTypeCToJS() [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/common/include/ |
H A D | ans_convert_enum.h | 135 static bool ContentTypeJSToC(const ContentType &inType, NotificationContent::Type &outType); 144 static bool ContentTypeCToJS(const NotificationContent::Type &inType, ContentType &outType); 153 static bool SlotTypeJSToC(const SlotType &inType, NotificationConstant::SlotType &outType); 162 static bool SlotTypeCToJS(const NotificationConstant::SlotType &inType, SlotType &outType); 180 …static bool LiveViewStatusJSToC(const LiveViewStatus &inType, NotificationLiveViewContent::LiveVie… 198 static bool ReasonCToJS(const int32_t &inType, int32_t &outType); 207 …static bool DoNotDisturbTypeJSToC(const DoNotDisturbType &inType, NotificationConstant::DoNotDistu… 216 …static bool DoNotDisturbTypeCToJS(const NotificationConstant::DoNotDisturbType &inType, DoNotDistu… 225 …static bool DeviceRemindTypeCToJS(const NotificationConstant::RemindType &inType, DeviceRemindType… 234 … static bool SourceTypeCToJS(const NotificationConstant::SourceType &inType, SourceType &outType); [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | flatbuffer_schema.cpp | 93 return (inType >= reflection::BaseType::Bool) && (inType <= reflection::BaseType::ULong); in IsIntegerType() 98 return (inType >= reflection::BaseType::Float) && (inType <= reflection::BaseType::Double); in IsRealType() 103 return IsIntegerType(inType) || IsRealType(inType); in IsScalarType() 108 return inType == reflection::BaseType::String; in IsStringType() 113 return IsScalarType(inType) || IsStringType(inType); in IsIndexableType() 123 return IsStringType(inType) || IsVectorType(inType); in IsStringOrVectorType() 128 return inType == reflection::BaseType::Obj; in IsObjectType() 133 return IsIndexableType(inType) || IsVectorType(inType) || IsObjectType(inType); in IsSupportTypeAtRoot() 138 return IsStringOrVectorType(inType) || IsObjectType(inType); in IsRequiredSupportType() 268 return node.type == inType; in MapFieldType() [all …]
|
H A D | schema_object.cpp | 28 void DisplaySchemaLineByLine(SchemaType inType, const std::string &inSchema) in DisplaySchemaLineByLine() argument 582 FieldType inType, SchemaAttribute &outAttr) const in CheckSchemaDefineItemDecideAttribute() argument 593 if (inType == FieldType::LEAF_FIELD_STRING) { in CheckSchemaDefineItemDecideAttribute() 607 } else if (inType == FieldType::LEAF_FIELD_ARRAY) { in CheckSchemaDefineItemDecideAttribute() 619 } else if (inType == FieldType::LEAF_FIELD_OBJECT) { in CheckSchemaDefineItemDecideAttribute() 621 } else if (inType == FieldType::INTERNAL_FIELD_OBJECT) { in CheckSchemaDefineItemDecideAttribute() 1009 return (inType == FieldType::LEAF_FIELD_BOOL || in IsTypeMustBeExactlyEqualBetweenSchemaAndValue() 1010 inType == FieldType::LEAF_FIELD_STRING || in IsTypeMustBeExactlyEqualBetweenSchemaAndValue() 1011 inType == FieldType::LEAF_FIELD_ARRAY); in IsTypeMustBeExactlyEqualBetweenSchemaAndValue() 1014 inline bool IsObjectType(FieldType inType) in IsObjectType() argument [all …]
|
H A D | json_object.cpp | 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() 549 if (!InsertFieldCheckParameter(inPath, inType, inValue, maxNestDepth_)) { in InsertField() 565 LeafJsonNodeAppendValue(*nearest, inType, inValue); in InsertField() 567 LeafJsonNodeAssignValue(*nearest, inType, inValue); in InsertField() [all …]
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | subtitle_sink_filter.cpp | 191 Status SubtitleSinkFilter::OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, in OnLinked() argument 196 return Filter::OnLinked(inType, meta, callback); in OnLinked() 205 Status SubtitleSinkFilter::OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta, in OnUpdated() argument 208 return Filter::OnUpdated(inType, meta, callback); in OnUpdated() 211 Status SubtitleSinkFilter::OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>&… in OnUnLinked() argument 213 return Filter::OnUnLinked(inType, callback); in OnUnLinked()
|
H A D | audio_sink_filter.cpp | 209 Status AudioSinkFilter::OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, in OnLinked() argument 224 return Filter::OnLinked(inType, meta, callback); in OnLinked() 290 Status AudioSinkFilter::OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta, in OnUpdated() argument 293 return Filter::OnUpdated(inType, meta, callback); in OnUpdated() 296 Status AudioSinkFilter::OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& ca… in OnUnLinked() argument 298 return Filter::OnUnLinked(inType, callback); in OnUnLinked()
|
/ohos5.0/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);
|
/ohos5.0/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
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 | 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 | audio_sink_filter.h | 61 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, 88 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta, 91 …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_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_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 | 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 | 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 | audio_decoder_filter.h | 89 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta, 92 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta, 95 …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;
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/filter_test/ |
H A D | audio_sink_filter_unit_test.cpp | 140 StreamType inType = StreamType::STREAMTYPE_MAX; variable 145 audioSinkFilter_->OnLinked(inType, meta, callback); 147 audioSinkFilter_->OnLinked(inType, meta, callback);
|
H A D | audio_data_source_filter_unit_test.h | 168 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, in OnLinked() argument 171 (void)inType; in OnLinked()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_manager_impl.cpp | 301 static bool ContentTypeCJToC(const ContentType &inType, NotificationContent::Type &outType) in ContentTypeCJToC() argument 303 switch (inType) { in ContentTypeCJToC() 326 LOGE("ContentType %{public}d is an invalid value", inType); in ContentTypeCJToC() 332 static bool SlotTypeCJToC(const SlotType &inType, NotificationConstant::SlotType &outType) in SlotTypeCJToC() argument 334 switch (inType) { in SlotTypeCJToC() 355 LOGE("SlotType %{public}d is an invalid value", inType); in SlotTypeCJToC()
|