/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
D | data_ability_operation_builder.cpp | 25 type_ = type; in DataAbilityOperationBuilder() 42 …if (type_ != DataAbilityOperation::TYPE_UPDATE || (valuesBucket_ != nullptr && !valuesBucket_->IsE… in Build() 55 if (type_ != DataAbilityOperation::TYPE_INSERT && type_ != DataAbilityOperation::TYPE_UPDATE && in WithValuesBucket() 56 type_ != DataAbilityOperation::TYPE_ASSERT) { in WithValuesBucket() 58 " type=%{public}d", type_); in WithValuesBucket() 71 if (type_ != DataAbilityOperation::TYPE_DELETE && type_ != DataAbilityOperation::TYPE_UPDATE && in WithPredicates() 72 type_ != DataAbilityOperation::TYPE_ASSERT) { in WithPredicates() 75 " type=%{public}d", type_); in WithPredicates() 86 if (type_ != DataAbilityOperation::TYPE_UPDATE && type_ != DataAbilityOperation::TYPE_DELETE && in WithExpectedCount() 87 type_ != DataAbilityOperation::TYPE_ASSERT) { in WithExpectedCount() [all …]
|
D | data_ability_operation.cpp | 29 type_ = dataAbilityOperation->type_; in DataAbilityOperation() 37 type_ = 0; in DataAbilityOperation() 53 type_ = builder->type_; in DataAbilityOperation() 66 type_ = 0; in DataAbilityOperation() 83 if (type_ != other.type_) { in operator ==() 129 type_ = other.type_; in operator =() 196 return type_; in GetType() 235 HILOG_DEBUG("DataAbilityOperation::IsInsertOperation: %{public}d", type_ == TYPE_INSERT); in IsInsertOperation() 236 return type_ == TYPE_INSERT; in IsInsertOperation() 240 HILOG_DEBUG("DataAbilityOperation::IsUpdateOperation: %{public}d", type_ == TYPE_UPDATE); in IsUpdateOperation() [all …]
|
/foundation/filemanagement/dfs_service/adapter/cloud_adapter_example/src/ |
D | dk_record_field.cpp | 19 DKRecordField::DKRecordField() : type_(DKRecordFieldType::FIELD_TYPE_NULL) {} in DKRecordField() 25 type_ = DKRecordFieldType(value_.index()); in DKRecordField() 33 type_ = recordField.type_; in DKRecordField() 35 recordField.type_ = DKRecordFieldType::FIELD_TYPE_NULL; in DKRecordField() 43 type_ = recordField.type_; in DKRecordField() 47 DKRecordField::DKRecordField(int val) : type_(DKRecordFieldType::FIELD_TYPE_INT) in DKRecordField() 51 DKRecordField::DKRecordField(int64_t val) : type_(DKRecordFieldType::FIELD_TYPE_INT) in DKRecordField() 55 DKRecordField::DKRecordField(double val) : type_(DKRecordFieldType::FIELD_TYPE_DOUBLE) in DKRecordField() 59 DKRecordField::DKRecordField(bool val) : type_(DKRecordFieldType::FIELD_TYPE_BOOL) in DKRecordField() 63 DKRecordField::DKRecordField(const char *val) : type_(DKRecordFieldType::FIELD_TYPE_STRING) in DKRecordField() [all …]
|
/foundation/multimedia/image_framework/plugins/manager/src/common/ |
D | attr_data.cpp | 47 AttrData::AttrData() : type_(AttrDataType::ATTR_DATA_NULL) in AttrData() 50 AttrData::AttrData(bool value) : type_(AttrDataType::ATTR_DATA_BOOL) in AttrData() 55 AttrData::AttrData(uint32_t value) : type_(AttrDataType::ATTR_DATA_UINT32) in AttrData() 60 AttrData::AttrData(const string &value) : type_(AttrDataType::ATTR_DATA_STRING) in AttrData() 65 type_ = AttrDataType::ATTR_DATA_NULL; in AttrData() 69 AttrData::AttrData(string &&value) : type_(AttrDataType::ATTR_DATA_STRING) in AttrData() 74 type_ = AttrDataType::ATTR_DATA_NULL; in AttrData() 78 AttrData::AttrData(uint32_t lowerBound, uint32_t upperBound) : type_(AttrDataType::ATTR_DATA_UINT32… in AttrData() 81 type_ = AttrDataType::ATTR_DATA_NULL; in AttrData() 90 switch (data.type_) { in AttrData() [all …]
|
/foundation/arkui/ace_engine/frameworks/bridge/codec/ |
D | codec_data.h | 55 …explicit CodecData(bool val) : type_(val ? BufferDataType::TYPE_TRUE : BufferDataType::TYPE_FALSE)… in CodecData() 56 explicit CodecData(int32_t val) : type_(BufferDataType::TYPE_INT), data_(val) {} in CodecData() 57 explicit CodecData(int32_t val, BufferDataType type) : type_(type), data_(val) {} in CodecData() 58 explicit CodecData(int64_t val) : type_(BufferDataType::TYPE_LONG), data_(val) {} in CodecData() 59 explicit CodecData(double val) : type_(BufferDataType::TYPE_DOUBLE), data_(val) {} in CodecData() 61 explicit CodecData(const std::string& val) : type_(BufferDataType::TYPE_STRING), data_(val) {} in CodecData() 62 explicit CodecData(const std::string& val, BufferDataType type) : type_(type), data_(val) {} in CodecData() 63 …explicit CodecData(const std::map<std::string, std::string>& val) : type_(BufferDataType::TYPE_MAP… in CodecData() 64 …explicit CodecData(const std::set<std::string>& val) : type_(BufferDataType::TYPE_SET), data_(val)… in CodecData() 65 …explicit CodecData(const std::vector<int8_t>& val) : type_(BufferDataType::TYPE_INT8_ARRAY), data_… in CodecData() [all …]
|
/foundation/window/window_manager/utils/include/ |
D | xml_config_base.h | 40 ValueType type_ = ValueType::UNDIFINED; member 64 switch (type_) { in ClearValue() 95 switch (value.type_) { 117 type_ = value.type_; 130 switch (value.type_) { 156 type_ = value.type_; 158 value.type_ = ValueType::UNDIFINED; 173 type_ = ValueType::MAP; in SetValue() 180 type_ = ValueType::BOOL; in SetValue() 187 type_ = ValueType::STRING; in SetValue() [all …]
|
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/ |
D | get_object_prop_value_data.cpp | 67 if ((type_ == MTP_TYPE_INT8_CODE) || (type_ == MTP_TYPE_UINT8_CODE)) { in Maker() 69 } else if ((type_ == MTP_TYPE_INT16_CODE) || (type_ == MTP_TYPE_UINT16_CODE)) { in Maker() 71 } else if ((type_ == MTP_TYPE_INT32_CODE) || (type_ == MTP_TYPE_UINT32_CODE)) { in Maker() 73 } else if ((type_ == MTP_TYPE_INT64_CODE) || (type_ == MTP_TYPE_UINT64_CODE)) { in Maker() 75 } else if ((type_ == MTP_TYPE_INT128_CODE) || (type_ == MTP_TYPE_UINT128_CODE)) { in Maker() 77 } else if (type_ == MTP_TYPE_STRING_CODE) { in Maker() 104 type_ = type; in SetPropValue()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
D | data_value.cpp | 90 DataValue::DataValue() : type_(StorageType::STORAGE_TYPE_NULL) in DataValue() 116 switch (dataValue.type_) { in operator =() 130 type_ = dataValue.type_; in operator =() 140 this->type_ = dataValue.type_; in operator =() 142 switch (type_) { in operator =() 156 type_ = StorageType::STORAGE_TYPE_INTEGER; in operator =() 164 type_ = StorageType::STORAGE_TYPE_REAL; in operator =() 182 type_ = StorageType::STORAGE_TYPE_BLOB; in Set() 196 if (dataValue.type_ != type_) { in operator ==() 199 switch (type_) { in operator ==() [all …]
|
/foundation/multimedia/media_utils_lite/src/ |
D | format.cpp | 68 FormatData::FormatData() : type_(FORMAT_TYPE_NONE), val_({ 0 }) in FormatData() 71 FormatData::FormatData(FormatDataType type) : type_(type), val_({ 0 }) in FormatData() 76 if (type_ == FORMAT_TYPE_STRING) { in ~FormatData() 85 if (type_ != FORMAT_TYPE_INT32) { in SetValue() 86 MEDIA_ERR_LOG("FormatData set int32 value error, current type is %u", type_); in SetValue() 95 if (type_ != FORMAT_TYPE_INT64) { in SetValue() 96 MEDIA_ERR_LOG("FormatData set int64 value error, current type is %u", type_); in SetValue() 105 if (type_ != FORMAT_TYPE_FLOAT) { in SetValue() 106 MEDIA_ERR_LOG("FormatData set float value error, current type is %u", type_); in SetValue() 115 if (type_ != FORMAT_TYPE_DOUBLE) { in SetValue() [all …]
|
/foundation/arkui/ace_engine/frameworks/core/components/page_transition/ |
D | page_transition_info.h | 36 if (pageTransition->type_ == PageTransitionType::ENTER) { in ProcessPageTransitionType() 39 pageTransition->type_ = PageTransitionType::ENTER_POP; in ProcessPageTransitionType() 42 pageTransition->type_ = PageTransitionType::ENTER_PUSH; in ProcessPageTransitionType() 48 } else if (pageTransition->type_ == PageTransitionType::EXIT) { in ProcessPageTransitionType() 51 pageTransition->type_ = PageTransitionType::EXIT_POP; in ProcessPageTransitionType() 54 pageTransition->type_ = PageTransitionType::EXIT_PUSH; in ProcessPageTransitionType() 63 PageTransition(PageTransitionType type = PageTransitionType::ENTER) : type_(type) {} in type_() function 93 return type_; in GetType() 139 init.type_ = TransformOperationType::TRANSLATE; in AddTranslateAnimation() 142 target.type_ = TransformOperationType::TRANSLATE; in AddTranslateAnimation() [all …]
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/include/ |
D | cov_util.h | 63 …OHOS::DistributedKv::DataQuery *dataQuery, QueryType type) : dataQuery_(dataQuery), type_(type) {}; in Querys() 67 if (type_ == QueryType::EQUAL) { in operator() 69 } else if (type_ == QueryType::NOT_EQUAL) { in operator() 71 } else if (type_ == QueryType::GREATER) { in operator() 73 } else if (type_ == QueryType::LESS) { in operator() 75 } else if (type_ == QueryType::GREATER_OR_EQUAL) { in operator() 77 } else if (type_ == QueryType::LESS_OR_EQUAL) { in operator() 90 QueryType type_; variable 95 …HOS::DistributedKv::DataQuery *dataQuery, QueryType type) : dataQuery_(dataQuery), type_(type) {}; in InOrNotIn() 99 if (type_ == QueryType::IN) { in operator() [all …]
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/ |
D | hfp_hf_profile_event_sender.cpp | 42 event.type_ = HFP_HF_TYPE_NETWORK_STATE; in NetworkStateChanged() 50 event.type_ = HFP_HF_TYPE_NETWORK_ROAM; in NetworkRoamingChanged() 58 event.type_ = HFP_HF_TYPE_NETWORK_SIGNAL; in NetworkSignalChanged() 66 event.type_ = HFP_HF_TYPE_BATTERY_LEVEL; in BatteryLevelChanged() 75 event.type_ = HFP_HF_TYPE_CURRENT_OPERATOR; in CurrentOperatorReply() 83 event.type_ = HFP_HF_TYPE_CALL_STATE; in CallStateNotify() 91 event.type_ = HFP_HF_TYPE_CALL_SETUP_STATE; in CallSetupStateNotify() 99 event.type_ = HFP_HF_TYPE_CALL_HELD_STATE; in CallHeldStateNotify() 107 event.type_ = HFP_HF_TYPE_HOLD_RESULT; in HoldResultReply() 116 event.type_ = HFP_HF_TYPE_CALLING_LINE_IDENTIFICATION; in Callinglineidentification() [all …]
|
/foundation/communication/netstack/utils/napi_utils/src/ |
D | event_listener.cpp | 25 type_(std::move(type)), in EventListener() 35 type_ = listener.type_; in EventListener() 58 type_ = listener.type_; in operator =() 77 if (type_ != eventType) { in Emit() 92 if (type_ != type) { in Match() 104 if (type_ != type) { in MatchOnce() 112 return type_ == type; in MatchType() 122 if (type_ != type) { in EmitByUv()
|
/foundation/communication/netmanager_base/utils/napi_utils/src/ |
D | event_listener.cpp | 26 type_(std::move(type)), in EventListener() 36 type_ = listener.type_; in EventListener() 60 type_ = listener.type_; in operator =() 75 if (type_ != eventType || callbackRef_ == nullptr) { in Emit() 87 if (type_ != type) { in Match() 99 return (type_ == type) ? once_ : false; in MatchOnce() 104 return type_ == type; in MatchType() 116 if (type_ != type || callbackRef_ == nullptr) { in EmitByUv()
|
/foundation/multimedia/image_framework/plugins/manager/include/ |
D | priority_scheme.h | 31 PriorityScheme() : type_(PriorityType::PRIORITY_TYPE_NULL) {} in PriorityScheme() 32 … PriorityScheme(PriorityType type, const std::string &attrKey) : type_(type), attrKey_(attrKey) {} in PriorityScheme() 33 …PriorityScheme(PriorityType type, std::string &&attrKey) : type_(type), attrKey_(std::move(attrKey… in PriorityScheme() 38 return type_; in GetPriorityType() 47 PriorityType type_;
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
D | hfp_ag_profile_event_sender.cpp | 41 msg.type_ = HFP_AG_MSG_TYPE_ANSWER_CALL; in AnswerCall() 49 msg.type_ = HFP_AG_MSG_TYPE_HANGUP_CALL; in HangupCall() 58 msg.type_ = HFP_AG_MSG_TYPE_VOLUME_CHANGED; in HfVolumeChanged() 67 msg.type_ = HFP_AG_MSG_TYPE_DIAL_CALL; in DialOutCall() 76 msg.type_ = HFP_AG_MSG_TYPE_SEND_DTMF; in SendDtmf() 85 msg.type_ = HFP_AG_MSG_TYPE_NOISE_REDUCTION; in EnableNoiseReduction() 94 msg.type_ = HFP_AG_MSG_TYPE_VR_CHANGED; in VoiceRecognitionStateChanged() 103 msg.type_ = HFP_AG_MSG_TYPE_AT_CHLD; in HoldCall() 111 msg.type_ = HFP_AG_MSG_TYPE_SUBSCRIBER_NUMBER_REQUEST; in GetSubscriberNumber() 119 msg.type_ = HFP_AG_MSG_TYPE_AT_CIND; in GetAgIndicator() [all …]
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/ |
D | progress_layout_algorithm.cpp | 52 type_ = progressLayoutProperty->GetType().value_or(ProgressType::LINEAR); in MeasureContent() 67 … if (type_ == ProgressType::RING || type_ == ProgressType::SCALE || type_ == ProgressType::MOON) { in MeasureContent() 83 if (type_ == ProgressType::CAPSULE) { in MeasureContent() 93 if (type_ == ProgressType::LINEAR) { in MeasureContent() 100 …LayoutAlgorithm::Type:%{public}d MeasureContent: width_: %{public}fl ,height_: %{public}fl", type_, in MeasureContent() 113 type_ = progressLayoutProperty->GetType().value_or(ProgressType::LINEAR); in MeasureContentForApiNine() 115 … value_or(progressTheme ? (type_ == ProgressType::SCALE ? progressTheme->GetScaleLength() : in MeasureContentForApiNine() 127 … if (type_ == ProgressType::RING || type_ == ProgressType::SCALE || type_ == ProgressType::MOON) { in MeasureContentForApiNine() 139 if (type_ == ProgressType::CAPSULE) { in MeasureContentForApiNine() 149 if (type_ == ProgressType::LINEAR) { in MeasureContentForApiNine() [all …]
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
D | dom_progress.cpp | 107 progress.type_ = ProgressType::CIRCLE; in SetSpecializedAttr() 109 progress.type_ = ProgressType::RING; in SetSpecializedAttr() 111 progress.type_ = ProgressType::LINEAR; in SetSpecializedAttr() 113 progress.type_ = ProgressType::SCALE; in SetSpecializedAttr() 115 progress.type_ = ProgressType::MOON; in SetSpecializedAttr() 117 progress.type_ = ProgressType::ARC; in SetSpecializedAttr() 119 progress.type_ = ProgressType::BUBBLE; in SetSpecializedAttr() 121 progress.type_ = ProgressType::LINEAR; in SetSpecializedAttr() 214 if (type_ == ProgressType::CIRCLE) { in PrepareSpecializedComponent() 218 if (type_ == ProgressType::BUBBLE) { in PrepareSpecializedComponent() [all …]
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/ |
D | path_effect.cpp | 27 type_ = t; in PathEffect() 34 type_ = t; in PathEffect() 40 type_ = t; in PathEffect() 46 type_ = t; in PathEffect() 47 if (type_ == PathEffect::PathEffectType::SUM) { in PathEffect() 49 } else if (type_ == PathEffect::PathEffectType::COMPOSE) { in PathEffect() 55 : type_(PathEffect::PathEffectType::NO_TYPE), impl_(ImplFactory::CreatePathEffectImpl()) in PathEffect() 60 return type_; in GetType()
|
D | color_space.cpp | 25 type_ = t; in ColorSpace() 26 switch (type_) { in ColorSpace() 40 type_ = t; in ColorSpace() 47 type_ = t; in ColorSpace() 52 : type_(ColorSpace::ColorSpaceType::NO_TYPE), impl_(ImplFactory::CreateColorSpaceImpl()) in ColorSpace() 57 return type_; in GetType()
|
D | color_filter.cpp | 27 type_ = t; in ColorFilter() 33 type_ = t; in ColorFilter() 39 type_ = t; in ColorFilter() 45 type_ = t; in ColorFilter() 46 switch (type_) { in ColorFilter() 62 : type_(ColorFilter::FilterType::NO_TYPE), impl_(ImplFactory::CreateColorFilterImpl()) in ColorFilter() 67 return type_; in GetType()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/ |
D | page_transition_effect.h | 33 : animationOption_(option), type_(type) in PageTransitionEffect() 92 … return type_ == PageTransitionType::ENTER && animationOption_.routeType != RouteType::POP; in CanFit() 94 … return type_ == PageTransitionType::ENTER && animationOption_.routeType != RouteType::PUSH; in CanFit() 96 … return type_ == PageTransitionType::EXIT && animationOption_.routeType != RouteType::POP; in CanFit() 98 … return type_ == PageTransitionType::EXIT && animationOption_.routeType != RouteType::PUSH; in CanFit() 126 return type_; in GetPageTransitionType() 142 PageTransitionType type_ = PageTransitionType::ENTER; variable
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/ |
D | menu_pattern.h | 59 : targetId_(targetId), targetTag_(std::move(tag)), type_(type) in MenuPattern() 97 return type_; in GetMenuType() 102 return type_ == MenuType::CONTEXT_MENU; in IsContextMenu() 107 return type_ == MenuType::NAVIGATION_MENU; in IsNavigationMenu() 112 return type_ == MenuType::MULTI_MENU; in IsMultiMenu() 117 return type_ == MenuType::MENU; in IsMenu() 122 return type_ == MenuType::SUB_MENU; in IsSubMenu() 127 return type_ == MenuType::SELECT_OVERLAY_EXTENSION_MENU; in IsSelectOverlayExtensionMenu() 132 return type_ == MenuType::SELECT_OVERLAY_CUSTOM_MENU; in IsSelectOverlayCustomMenu() 137 return type_ == MenuType::SELECT_OVERLAY_SUB_MENU; in IsSelectOverlaySubMenu() [all …]
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
D | sys_info.h | 88 OnFPSChangedListener() : type_(FPS_CT_FIXED_TIME) {} in OnFPSChangedListener() 116 return type_; in GetFPSCalculateType() 128 type_ = type; in SetFPSCalculateType() 132 FPSCalculateType type_;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
D | grid_property.h | 36 …GridTypedProperty(GridSizeType type, uint32_t span, int32_t offset) : type_(type), span_(span), of… in GridTypedProperty() 40 …if ((type_ != GridSizeType::UNDEFINED) && (other.type_ != GridSizeType::UNDEFINED) && (type_ != ot… 46 GridSizeType type_ = GridSizeType::UNDEFINED; member 91 if (item.type_ == type) { in GetTypedProperty()
|