/foundation/multimedia/image_framework/plugins/manager/src/common/ |
H A D | attr_data.cpp | 48 AttrData::AttrData() : type_(AttrDataType::ATTR_DATA_NULL) in AttrData() 51 AttrData::AttrData(bool value) : type_(AttrDataType::ATTR_DATA_BOOL) in AttrData() 56 AttrData::AttrData(uint32_t value) : type_(AttrDataType::ATTR_DATA_UINT32) in AttrData() 61 AttrData::AttrData(const string &value) : type_(AttrDataType::ATTR_DATA_STRING) in AttrData() 66 type_ = AttrDataType::ATTR_DATA_NULL; in AttrData() 70 AttrData::AttrData(string &&value) : type_(AttrDataType::ATTR_DATA_STRING) in AttrData() 75 type_ = AttrDataType::ATTR_DATA_NULL; in AttrData() 79 AttrData::AttrData(uint32_t lowerBound, uint32_t upperBound) : type_(AttrDataType::ATTR_DATA_UINT32_RANGE) in AttrData() 82 type_ = AttrDataType::ATTR_DATA_NULL; in AttrData() 91 switch (data.type_) { in AttrData() [all...] |
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | data_ability_operation_builder.cpp | 25 type_ = type; in DataAbilityOperationBuilder() 42 if (type_ != DataAbilityOperation::TYPE_UPDATE || (valuesBucket_ != nullptr && !valuesBucket_->IsEmpty())) { 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() 74 " type=%{public}d", type_); in WithPredicates() [all...] |
H A 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 =() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/codec/ |
H A 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), data_(val) {} 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_(BufferDataTyp in CodecData() 228 BufferDataType type_ = BufferDataType::TYPE_NULL; global() member in OHOS::Ace::Framework::final [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/PropertyTools/ |
H A D | property_value.h | 41 : type_(other.type_), // exchange(other.type_, PropertyType::INVALID)), 46 : type_(type), count_(cnt), data_(rawData), index_(0U) 55 return type_->type; in GetType() 59 return type_->type; in operator PropertyTypeDecl() 63 return type_->type.compareHash == other.compareHash; in operator ==() 68 if (type_) { in MetaData() 69 return type_->metaData.memberProperties; in MetaData() 75 if (type_) { in MetaData() [all...] |
/foundation/window/window_manager/utils/include/ |
H A D | xml_config_base.h | 40 ValueType type_ = ValueType::UNDIFINED; member 64 switch (type_) { in ClearValue() 95 switch (value.type_) { in operator =() 117 type_ = value.type_; in operator =() 130 switch (value.type_) { 156 type_ = value.type_; 158 value.type_ = ValueType::UNDIFINED; 173 type_ in SetValue() [all...] |
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | fscrypt_key_v1_ext.cpp | 74 uint32_t user = GetMappedUserId(userId_, type_); in ActiveKeyExt() 75 LOGI("type_ is %{public}u, map userId %{public}u to %{public}u", type_, userId_, user); in ActiveKeyExt() 77 if (FBEX::InstallKeyToKernel(user, type_, iv, size, static_cast<uint8_t>(flag)) != 0) { in ActiveKeyExt() 78 LOGE("InstallKeyToKernel failed, user %{public}d, type %{public}d, flag %{public}u", user, type_, flag); in ActiveKeyExt() 83 elType = type_; in ActiveKeyExt() 93 uint32_t user = GetMappedUserId(userId_, type_); in UnlockUserScreenExt() 94 LOGI("type_ is %{public}u, map userId %{public}u to %{public}u", type_, userId_, user); in UnlockUserScreenExt() 95 if (FBEX::UnlockScreenToKernel(user, type_, i in UnlockUserScreenExt() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/page_transition/ |
H A 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 PageTransition() 93 return type_; in GetType() 139 init.type_ = TransformOperationType::TRANSLATE; in AddTranslateAnimation() 142 target.type_ in AddTranslateAnimation() 193 PageTransitionType type_ = PageTransitionType::ENTER; global() member in OHOS::Ace::PageTransition [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | data_value.cpp | 92 DataValue::DataValue() : type_(StorageType::STORAGE_TYPE_NULL) in DataValue() 118 switch (dataValue.type_) { in operator =() 132 type_ = dataValue.type_; in operator =() 142 this->type_ = dataValue.type_; 144 switch (type_) { 158 type_ = StorageType::STORAGE_TYPE_INTEGER; in operator =() 166 type_ = StorageType::STORAGE_TYPE_REAL; in operator =() 184 type_ in Set() [all...] |
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/ |
H A 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_ in Maker() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/include/ |
H A D | cov_util.h | 63 Querys(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_; member in OHOS::DistributedKv::QueryType::Querys 95 InOrNotIn(OHOS::DistributedKv::DataQuery *dataQuery, QueryType type) : dataQuery_(dataQuery), type_(type) {}; in InOrNotIn() 99 if (type_ in operator ()() 114 QueryType type_; global() member in OHOS::DistributedKv::QueryType::InOrNotIn [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/ |
H A D | web_javascript_value.h | 55 explicit WebJavaScriptValue(Type type) : type_(type) {} in WebJavaScriptValue() 56 explicit WebJavaScriptValue(int value) : type_(Type::INTEGER), data_(value) {} in WebJavaScriptValue() 57 explicit WebJavaScriptValue(double value) : type_(Type::DOUBLE), data_(value) {} in WebJavaScriptValue() 58 explicit WebJavaScriptValue(bool value) : type_(Type::BOOLEAN), data_(value) {} in WebJavaScriptValue() 59 explicit WebJavaScriptValue(const std::string& value) : type_(Type::STRING), str_(value) {} in WebJavaScriptValue() 60 WebJavaScriptValue(const char* data, size_t len) : type_(Type::BINARY), str_(data, len) {} in WebJavaScriptValue() 62 : type_(Type::LIST), listValue_(value.begin(), value.end()) in WebJavaScriptValue() 65 : type_(Type::DICTIONARY), dictionaryValue_(value) in WebJavaScriptValue() 68 explicit WebJavaScriptValue(const WebJavaScriptValue& value) : type_(value.type_) in WebJavaScriptValue() 404 Type type_ = Type::NONE; global() member in OHOS::Ace::WebJavaScriptValue [all...] |
/foundation/multimedia/media_utils_lite/src/ |
H A 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_ ! in SetValue() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_frame_rate_range.h | 41 FrameRateRange() : min_(0), max_(0), preferred_(0), type_(0), isEnergyAssurance_(false), in FrameRateRange() 47 preferred_(preferred), type_(type) {} in FrameRateRange() 50 preferred_(preferred), type_(type), componentScene_(componentScene) {} in FrameRateRange() 73 this->type_ = 0; in Reset() 90 this->type_ = type; in Set() 96 this->Set(other.min_, other.max_, other.preferred_, other.type_); in Merge() 111 switch (type_ & ~ANIMATION_STATE_FIRST_FRAME) { in GetExtInfo() 130 if ((type_ & ANIMATION_STATE_FIRST_FRAME) != 0) { in GetExtInfo() 149 this->preferred_ == other.preferred_ && this->type_ == other.type_; in operator ==() 160 int type_ = 0; global() member in OHOS::Rosen::FrameRateRange [all...] |
/foundation/communication/netmanager_base/utils/napi_utils/src/ |
H A 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() 115 if (type_ ! in EmitByUvByModuleId() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/ |
H A 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_ in Callinglineidentification() [all...] |
/foundation/multimedia/media_library/frameworks/services/media_dfx/src/ |
H A D | dfx_timer.cpp | 28 type_ = type; in DfxTimer() 46 bundleName.c_str(), type_, object_, (int) (timeCost_)); in ~DfxTimer() 48 DfxManager::GetInstance()->HandleTimeOutOperation(bundleName, type_, object_, (int) (timeCost_)); in ~DfxTimer() 51 MEDIA_WARN_LOG("timeout! type: %{public}d, object: %{public}d, cost %{public}lld ms", type_, in ~DfxTimer() 57 type_); in ~DfxTimer() 65 MEDIA_WARN_LOG("timeout! type: %{public}d, object: %{public}d, cost %{public}d ms", type_, object_, in End()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/ |
H A D | locking.h | 29 explicit InterfaceLock(LockType type, const CORE_NS::IInterface* t) : type_(type), p_(interface_cast<ILockable>(t)) in InterfaceLock() 32 if (type_ == LockType::UNIQUE_LOCK) { in InterfaceLock() 34 } else if (type_ == LockType::SHARED_LOCK) { in InterfaceLock() 44 InterfaceLock(InterfaceLock&& l) noexcept : type_(l.type_), p_(l.p_) in p_() 51 type_ = l.type_; 60 if (type_ == LockType::UNIQUE_LOCK) { in ~InterfaceLock() 62 } else if (type_ == LockType::SHARED_LOCK) { in ~InterfaceLock() 74 LockType type_; member in InterfaceLock [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/ |
H A D | path_effect.cpp | 27 type_ = t; in PathEffect() 34 type_ = t; in PathEffect() 40 type_ = t; in PathEffect() 46 type_ = t; in PathEffect() 52 type_ = t; in PathEffect() 53 if (type_ == PathEffect::PathEffectType::SUM) { in PathEffect() 55 } else if (type_ == PathEffect::PathEffectType::COMPOSE) { in PathEffect() 61 : type_(PathEffect::PathEffectType::NO_TYPE), impl_(ImplFactory::CreatePathEffectImpl()) in CreatePathEffectImpl() 65 : type_(t), impl_(ImplFactory::CreatePathEffectImpl()) in CreatePathEffectImpl() 70 return type_; in GetType() [all...] |
H A D | color_filter.cpp | 27 type_ = t; in ColorFilter() 33 type_ = t; in ColorFilter() 39 type_ = t; in ColorFilter() 45 type_ = t; in ColorFilter() 52 type_ = t; in ColorFilter() 59 type_ = t; in ColorFilter() 65 type_ = ColorFilter::FilterType::COMPOSE; in InitWithCompose() 71 type_ = t; in ColorFilter() 72 switch (type_) { in ColorFilter() 88 : type_(ColorFilte [all...] |
H A D | color_space.cpp | 25 type_ = t; in ColorSpace() 26 switch (type_) { in ColorSpace() 39 : type_(ColorSpace::ColorSpaceType::NO_TYPE), impl_(impl) in impl_() 44 type_ = t; in ColorSpace() 51 type_ = t; in ColorSpace() 58 type_ = t; in ColorSpace() 63 : type_(ColorSpace::ColorSpaceType::NO_TYPE), impl_(ImplFactory::CreateColorSpaceImpl()) in CreateColorSpaceImpl() 68 return type_; in GetType()
|
/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | event_listener.cpp | 33 type_(std::move(type)), in EventListener() 44 type_ = listener.type_; in EventListener() 68 type_ = listener.type_; in operator =() 91 if (type_ != eventType) { in Emit() 109 if (type_ != type) { in Match() 121 if (type_ != type) { in MatchOnce() 129 return type_ == type; in MatchType() 139 if (type_ ! in EmitByUv() [all...] |
/foundation/multimedia/image_framework/plugins/manager/include/ |
H A 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_; member in OHOS::MultimediaPlugin::final
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/ |
H A D | progress_layout_algorithm.cpp | 58 type_ = progressLayoutProperty->GetType().value_or(ProgressType::LINEAR); in MeasureContent() 68 if (type_ == ProgressType::RING || type_ == ProgressType::SCALE || type_ == ProgressType::MOON) { in MeasureContent() 80 } else if (type_ == ProgressType::CAPSULE) { in MeasureContent() 87 } else if (type_ == ProgressType::LINEAR) { in MeasureContent() 105 type_ = progressLayoutProperty->GetType().value_or(ProgressType::LINEAR); in MeasureContentForApiNine() 107 value_or(progressTheme ? (type_ == ProgressType::SCALE ? progressTheme->GetScaleLength() : in MeasureContentForApiNine() 121 if (type_ == ProgressType::RING || type_ in MeasureContentForApiNine() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
H A 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_ in GetAgIndicator() [all...] |