/base/security/access_token/services/common/database/src/ |
D | variant_value.cpp | 21 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/ |
D | nweb_hit_testresult.h | 26 HitTestResult() : type_(UNKNOWN_TYPE) { in HitTestResult() 73 type_ = type; in SetType() 81 return type_; in GetType() 89 int type_;
|
D | nweb_value.h | 43 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/ |
D | hap_parser_test.cpp | 72 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/ |
D | hap_parser_test.cpp | 71 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/ |
D | res_desc.cpp | 34 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/ |
D | device_account_info.h | 79 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/ |
D | battery_stats_info.cpp | 26 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/ |
D | thermal_srv_sensor_info.cpp | 23 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/ |
D | sys_event_db_backup.cpp | 33 : 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/ |
D | nweb_js_dialog_impl_test.cpp | 30 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()
|
D | nweb_js_dialog_impl_test.h | 29 explicit NWebJSDialogImplTest(Type type) : type_(type) {} in NWebJSDialogImplTest() 48 Type type_; variable
|
/base/powermgr/thermal_manager/interfaces/innerkits/native/include/ |
D | thermal_srv_sensor_info.h | 34 return type_; in GetType() 44 type_ = type; in SetType() 74 std::string type_;
|
/base/security/access_token/test/fuzztest/access_token/unregisterpermactivestatuscallback_fuzzer/ |
D | unregisterpermactivestatuscallback_fuzzer.cpp | 39 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/ |
D | registerpermactivestatuscallback_fuzzer.cpp | 39 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/ |
D | mms_content_param.cpp | 33 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/ |
D | update_diff.cpp | 76 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/ |
D | script_statement.h | 40 …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/ |
D | res_desc.cpp | 27 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/ |
D | faultlog_info.cpp | 50 return type_; in GetFaultType() 85 type_ = faultType; in SetFaultType() 115 switch (type_) { in GetStringFaultType()
|
/base/security/access_token/services/tokensyncmanager/include/remote/ |
D | soft_bus_channel.h | 293 : 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/ |
D | client_stub.h | 37 return type_; in GetType() 40 int type_;
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | notification_slot.cpp | 89 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/ |
D | command.cpp | 28 type_ = ParseCommandType(tokens_[H_ZERO_NUMBER]); in Init() 39 return type_; in GetCommandType()
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
D | dfx_dump_request.cpp | 48 type_ = DUMP_TYPE_PROCESS; in ProcessDumpRequest() 53 return type_; in GetType() 58 type_ = type; in SetType()
|