Home
last modified time | relevance | path

Searched refs:type_ (Results 1 – 25 of 89) sorted by relevance

1234

/base/security/access_token/services/common/database/src/
Dvariant_value.cpp21 VariantValue::VariantValue() : type_(ValueType::TYPE_NULL) in VariantValue()
27 VariantValue::VariantValue(int32_t value) : type_(ValueType::TYPE_INT) in VariantValue()
32 VariantValue::VariantValue(int64_t value) : type_(ValueType::TYPE_INT64) in VariantValue()
37 VariantValue::VariantValue(const std::string& value) : type_(ValueType::TYPE_STRING) in VariantValue()
44 return type_; in GetType()
49 if (type_ != ValueType::TYPE_INT) { in GetInt()
58 if (type_ != ValueType::TYPE_INT64) { in GetInt64()
67 if (type_ != ValueType::TYPE_STRING) { in GetString()
/base/web/webview/ohos_nweb/include/
Dnweb_hit_testresult.h26 HitTestResult() : type_(UNKNOWN_TYPE) { in HitTestResult()
73 type_ = type; in SetType()
81 return type_; in GetType()
89 int type_;
Dnweb_value.h43 explicit NWebValue(Type type) : type_(type) {} in NWebValue()
67 Type GetType() { return type_; } in GetType()
69 void SetType(Type type) { type_ = type; } in SetType()
74 Type type_ = Type::NONE;
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dhap_parser_test.cpp72 kp->type_ = LANGUAGES;
77 kp->type_ = REGION;
82 kp->type_ = SCREEN_DENSITY;
87 kp->type_ = DEVICETYPE;
92 kp->type_ = DIRECTION;
97 kp->type_ = COLORMODE;
162 kp->type_ = LANGUAGES;
167 kp->type_ = REGION;
172 kp->type_ = SCREEN_DENSITY;
177 kp->type_ = DEVICETYPE;
[all …]
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
Dhap_parser_test.cpp71 kp->type_ = LANGUAGES;
76 kp->type_ = REGION;
81 kp->type_ = SCREEN_DENSITY;
86 kp->type_ = DEVICETYPE;
91 kp->type_ = DIRECTION;
154 kp->type_ = LANGUAGES;
159 kp->type_ = REGION;
164 kp->type_ = SCREEN_DENSITY;
169 kp->type_ = DEVICETYPE;
174 kp->type_ = DIRECTION;
/base/global/resource_management/frameworks/resmgr/src/
Dres_desc.cpp34 if (type_ == KeyType::SCREEN_DENSITY) { in GetScreenDensityStr()
63 if (type_ == KeyType::DEVICETYPE) { in GetDeviceTypeStr()
93 if (type_ == KeyType::COLORMODE) { in GetColorModeStr()
111 if (type_ == KeyType::INPUTDEVICE) { in GetInputDeviceStr()
122 if (type_ == KeyType::MCC) { in GetMccStr()
131 if (type_ == KeyType::MNC) { in GetMncStr()
139 if ((type_ == KeyType::LANGUAGES) || (type_ == KeyType::REGION) || (type_ == KeyType::SCRIPT)) { in ConvertToStr()
157 if (type_ == KeyType::DIRECTION) { in ConvertToStr()
160 if (type_ == KeyType::DEVICETYPE) { in ConvertToStr()
163 if (type_ == KeyType::COLORMODE) { in ConvertToStr()
[all …]
/base/account/os_account/interfaces/innerkits/ohosaccount/native/include/
Ddevice_account_info.h79 DeviceAccountType type_; variable
122 type_ = DeviceAccountType::DEVICE_ACCOUNT_TYPE_INVALID; in DeviceAccountInfo()
136 : id_(accountId), type_(accountType), name_(accountName) in DeviceAccountInfo()
151 : id_(accountId), type_(accountType), name_(accountName), iconPath_(path) in DeviceAccountInfo()
186 if (!data.WriteInt32(static_cast<std::int32_t>(type_))) { in WriteDataToParcel()
208 type_ = static_cast<DeviceAccountType>(data.ReadInt32()); in ReadDataFromParcel()
/base/powermgr/battery_statistics/frameworks/native/src/
Dbattery_stats_info.cpp26 STATS_WRITE_PARCEL_WITH_RET(COMP_FWK, parcel, Int32, static_cast<int32_t>(type_), false); in Marshalling()
28 …STATS_HILOGD(COMP_FWK, "uid: %{public}d, type: %{public}d, power: %{public}lf", uid_, type_, total… in Marshalling()
51 type_ = static_cast<ConsumptionType>(type); in ReadFromParcel()
53 …STATS_HILOGD(COMP_FWK, "uid: %{public}d, type: %{public}d, power: %{public}lf", uid_, type_, total… in ReadFromParcel()
75 type_ = type; in SetConsumptioType()
84 ConvertConsumptionType(type_).c_str()); in SetPower()
101 return type_; in GetConsumptionType()
110 ConvertConsumptionType(type_).c_str()); in GetPower()
/base/powermgr/thermal_manager/frameworks/native/
Dthermal_srv_sensor_info.cpp23 ThermalSrvSensorInfo::ThermalSrvSensorInfo(std::string &type, int32_t &temp): type_(type), temp_(te… in ThermalSrvSensorInfo()
34 type_ = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
63 return (parcel.WriteString16(Str8ToStr16(type_)) && parcel.WriteInt32(temp_)); in Marshalling()
/base/hiviewdfx/hiview/plugins/eventservice/store/
Dsys_event_db_backup.cpp33 : type_(type) in SysEventDbBackup()
52 if (SysEventDao::BackupDB(type_) < 0) { in BackupOnline()
72 if (SysEventDao::DeleteDB(type_) < 0) { in RecoverFromBackup()
87 if (SysEventDao::CloseDB(type_) < 0) { in RecoverByRebuild()
/base/web/webview/test/ohos_nweb/
Dnweb_js_dialog_impl_test.cpp30 type_ == Type::CONFIRM ? result->Confirm() : result->Cancel(); in OnAlertDialogByJS()
39 type_ == Type::CONFIRM ? result->Confirm() : result->Cancel(); in OnBeforeUnloadByJS()
50 type_ == Type::CONFIRM ? result->Confirm("my input") : result->Cancel(); in OnPromptDialogByJS()
59 type_ == Type::CONFIRM ? result->Confirm() : result->Cancel(); in OnConfirmDialogByJS()
Dnweb_js_dialog_impl_test.h29 explicit NWebJSDialogImplTest(Type type) : type_(type) {} in NWebJSDialogImplTest()
48 Type type_; variable
/base/powermgr/thermal_manager/interfaces/innerkits/native/include/
Dthermal_srv_sensor_info.h34 return type_; in GetType()
44 type_ = type; in SetType()
74 std::string type_;
/base/security/access_token/test/fuzztest/access_token/unregisterpermactivestatuscallback_fuzzer/
Dunregisterpermactivestatuscallback_fuzzer.cpp39 type_ = result.type; in ActiveStatusChangeCallback()
43 ActiveChangeType type_ = PERM_INACTIVE; member in UnRegisterActiveFuzzTest
57 callback->type_ = PERM_INACTIVE; in UnRegisterPermActiveStatusCallbackFuzzTest()
/base/security/access_token/test/fuzztest/access_token/registerpermactivestatuscallback_fuzzer/
Dregisterpermactivestatuscallback_fuzzer.cpp39 type_ = result.type; in ActiveStatusChangeCallback()
43 ActiveChangeType type_ = PERM_INACTIVE; member in RegisterActiveFuzzTest
57 callback->type_ = PERM_INACTIVE; in RegisterPermActiveStatusCallbackFuzzTest()
/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_content_param.cpp33 TELEPHONY_LOGI("Param Type: %{public}s", type_.c_str()); in DumpContentParam()
43 type_ = srcContentParam.type_; in operator =()
56 type_ = type; in SetType()
66 return type_; in GetType()
/base/update/updater/services/diffpatch/diff/
Dupdate_diff.cpp76 type_ = PKG_PACK_TYPE_ZIP; in Parse()
77 ret = pkgManager_->ParsePackage(stream_, fileIds_, type_); in Parse()
81 type_ = PKG_PACK_TYPE_LZ4; in Parse()
82 ret = pkgManager_->ParsePackage(stream_, fileIds_, type_); in Parse()
86 type_ = PKG_PACK_TYPE_GZIP; in Parse()
87 ret = pkgManager_->ParsePackage(stream_, fileIds_, type_); in Parse()
91 type_ = PKG_PACK_TYPE_NONE; in Parse()
/base/update/updater/services/script/script_interpreter/
Dscript_statement.h40 …UScriptStatementResult(StatementResultType type, UScriptValuePtr value) : type_(type), value_(valu… in UScriptStatementResult()
44 return type_; in GetResultType()
49 type_ = type; in SetResultType()
76 StatementResultType type_ = STATEMENT_RESULT_TYPE_NORMAL;
93 explicit UScriptStatement(UScriptStatement::StatementType type) : type_(type) {} in UScriptStatement()
117 return type_; in GetType()
121 enum StatementType type_; variable
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dres_desc.cpp27 if (type_ == KeyType::SCREEN_DENSITY) { in GetScreenDensityStr()
56 if (type_ == KeyType::DEVICETYPE) { in GetDeviceTypeStr()
84 if ((type_ == KeyType::LANGUAGES) || (type_ == KeyType::REGION) || (type_ == KeyType::SCRIPT)) { in ConvertToStr()
102 if (type_ == KeyType::DIRECTION) { in ConvertToStr()
105 if (type_ == KeyType::DEVICETYPE) { in ConvertToStr()
108 if (type_ == KeyType::SCREEN_DENSITY) { in ConvertToStr()
116 std::string ret = FormatString("[type:%d, value:%u", type_, value_); in ToString()
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/
Dfaultlog_info.cpp50 return type_; in GetFaultType()
85 type_ = faultType; in SetFaultType()
115 switch (type_) { in GetStringFaultType()
/base/security/access_token/services/tokensyncmanager/include/remote/
Dsoft_bus_channel.h293 : type_(type), id_(id), commandName_(commandName), jsonPayload_(jsonPayload) in SoftBusMessage()
299 if (this->type_.empty()) { in IsValid()
319 json["type"] = this->type_; in ToJson()
328 return type_; in GetType()
345 std::string type_;
/base/update/updateservice/test/unittest/update_client/
Dclient_stub.h37 return type_; in GetType()
40 int type_;
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_slot.cpp89 return type_; in GetType()
94 type_ = NotificationConstant::SlotType::CUSTOM; in SetType()
129 type_ = type; in SetType()
209 ", type = " + std::to_string(static_cast<int32_t>(type_)) + in Dump()
270 if (!parcel.WriteInt32(static_cast<int32_t>(type_))) { in Marshalling()
320 type_ = static_cast<NotificationConstant::SlotType>(parcel.ReadInt32()); in ReadFromParcel()
/base/update/updater/services/applypatch/
Dcommand.cpp28 type_ = ParseCommandType(tokens_[H_ZERO_NUMBER]); in Init()
39 return type_; in GetCommandType()
/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_dump_request.cpp48 type_ = DUMP_TYPE_PROCESS; in ProcessDumpRequest()
53 return type_; in GetType()
58 type_ = type; in SetType()

1234