Home
last modified time | relevance | path

Searched refs:type_ (Results 1 - 25 of 164) sorted by relevance

1234567

/base/accesscontrol/sandbox_manager/services/common/database/src/
H A 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/security/access_token/services/common/database/src/
H A 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/location/interfaces/inner_api/include/
H A Dlocating_required_data_config.h28 type_ = 0; in LocatingRequiredDataConfig()
47 return type_; in GetType()
52 type_ = type; in SetType()
97 type_ = parcel.ReadInt32(); in ReadFromParcel()
106 return parcel.WriteInt32(type_) &&
122 std::string str = "type_ : " + std::to_string(type_) + in ToString()
131 int type_; member in OHOS::Location::LocatingRequiredDataConfig
H A Dlocating_required_data.h28 type_ = 0; in LocatingRequiredData()
37 return type_; in GetType()
42 type_ = type; in SetType()
67 type_ = parcel.ReadInt32(); in ReadFromParcel()
74 return parcel.WriteInt32(type_) &&
88 std::string str = "type_ : " + std::to_string(type_); in ToString()
93 int type_; member in OHOS::Location::LocatingRequiredData
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/tasks/
H A Dtask.cpp23 Task::Task(TaskType type) : type_(type), seqId_(GetNextSeqId()) { } in Task()
25 Task::Task(TaskType type, uint64_t seqId) : type_(type), seqId_(seqId) { } in Task()
81 return type_; in GetType()
86 if (type_ >= TASK_TYPE_AMS_BEGIN && type_ <= TASK_TYPE_AMS_END) { in GetSourceType()
89 if (type_ >= TASK_TYPE_IMA_BEGIN && type_ <= TASK_TYPE_IMA_END) { in GetSourceType()
92 if (type_ >= TASK_TYPE_IMSA_BEGIN && type_ <= TASK_TYPE_IMSA_END) { in GetSourceType()
/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_value.h64 explicit NWebValue(Type type) : type_(type) {} in NWebValue()
66 explicit NWebValue(const int& value) : type_(Type::INTEGER), data_(value) {} in NWebValue()
68 explicit NWebValue(const double& value) : type_(Type::DOUBLE), data_(value) {} in NWebValue()
70 explicit NWebValue(const bool& value) : type_(Type::BOOLEAN), data_(value) {} in NWebValue()
72 explicit NWebValue(const std::string& value) : type_(Type::STRING), str_(value) {} in NWebValue()
74 NWebValue(const char* data, size_t len) : type_(Type::BINARY), str_(data, len) {} in NWebValue()
76 explicit NWebValue(const std::vector<NWebValue>& value) : type_(Type::LIST), list_value_(value.begin(), value.end()) in NWebValue()
80 : type_(Type::DICTIONARY), dictionary_value_(value) in NWebValue()
83 explicit NWebValue(const NWebValue& value) : type_(value.type_) in NWebValue()
456 Type type_ = Type::NONE; global() member in OHOS::NWeb::NWebValue
[all...]
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dhap_parser_test.cpp71 kp->type_ = LANGUAGES; in HWTEST_F()
76 kp->type_ = REGION; in HWTEST_F()
81 kp->type_ = SCREEN_DENSITY; in HWTEST_F()
86 kp->type_ = DEVICETYPE; in HWTEST_F()
91 kp->type_ = DIRECTION; in HWTEST_F()
154 kp->type_ = LANGUAGES; in HWTEST_F()
159 kp->type_ = REGION; in HWTEST_F()
164 kp->type_ = SCREEN_DENSITY; in HWTEST_F()
169 kp->type_ = DEVICETYPE; in HWTEST_F()
174 kp->type_ in HWTEST_F()
[all...]
/base/global/resource_management/frameworks/resmgr/src/
H A Dres_desc.cpp40 if (type_ == KeyType::SCREEN_DENSITY) { in GetScreenDensityStr()
69 if (type_ == KeyType::DEVICETYPE) { in GetDeviceTypeStr()
102 if (type_ == KeyType::COLORMODE) { in GetColorModeStr()
120 if (type_ == KeyType::INPUTDEVICE) { in GetInputDeviceStr()
131 if (type_ == KeyType::MCC) { in GetMccStr()
140 if (type_ == KeyType::MNC) { in GetMncStr()
148 if ((type_ == KeyType::LANGUAGES) || (type_ == KeyType::REGION) || (type_ == KeyType::SCRIPT)) { in ConvertToStr()
165 if (type_ in ConvertToStr()
[all...]
/base/account/os_account/frameworks/ohosaccount/native/src/
H A Ddistributed_account_subscribe_callback.cpp28 if (!parcel.WriteInt32(static_cast<int32_t>(type_))) { in Marshalling()
50 return (this->id_ == eventData.id_) && (this->type_ == eventData.type_); in operator ==()
66 type_ = static_cast<DISTRIBUTED_ACCOUNT_SUBSCRIBE_TYPE>(type); in ReadFromParcel()
/base/powermgr/thermal_manager/frameworks/native/
H A Dthermal_srv_sensor_info.cpp23 ThermalSrvSensorInfo::ThermalSrvSensorInfo(std::string &type, int32_t &temp): type_(type), temp_(temp) in ThermalSrvSensorInfo()
34 type_ = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
63 return (parcel.WriteString16(Str8ToStr16(type_)) && parcel.WriteInt32(temp_)); in Marshalling()
/base/powermgr/battery_statistics/frameworks/native/src/
H A Dbattery_stats_info.cpp26 STATS_RETURN_IF_WRITE_PARCEL_FAILED_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_, totalPowerMah_); 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_, totalPowerMah_); 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/account/os_account/interfaces/innerkits/ohosaccount/native/include/
H A Ddevice_account_info.h79 DeviceAccountType type_; member in OHOS::AccountSA::DeviceAccountInfo
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/msdp/device_status/intention/stationary/data/src/
H A Dstationary_params.cpp24 : type_(type), event_(event), latency_(latency), callback_(callback) in SubscribeStationaryParam()
30 parcel.WriteInt32(type_) && in Marshalling()
50 type_ = static_cast<Type>(type); in Unmarshalling()
62 : type_(type) {} in GetStaionaryDataParam()
66 return parcel.WriteInt32(type_); in Marshalling()
76 type_ = static_cast<Type>(type); in Unmarshalling()
/base/powermgr/thermal_manager/interfaces/inner_api/native/include/
H A Dthermal_srv_sensor_info.h34 return type_; in GetType()
44 type_ = type; in SetType()
74 std::string type_; member in OHOS::PowerMgr::ThermalSrvSensorInfo
/base/security/access_token/test/fuzztest/innerkits/privacy/registerpermactivestatuscallback_fuzzer/
H A Dregisterpermactivestatuscallback_fuzzer.cpp41 type_ = result.type; in ActiveStatusChangeCallback()
45 ActiveChangeType type_ = PERM_INACTIVE; member in RegisterActiveFuzzTest
59 callback->type_ = PERM_INACTIVE; in RegisterPermActiveStatusCallbackFuzzTest()
/base/security/access_token/test/fuzztest/innerkits/privacy/unregisterpermactivestatuscallback_fuzzer/
H A Dunregisterpermactivestatuscallback_fuzzer.cpp41 type_ = result.type; in ActiveStatusChangeCallback()
45 ActiveChangeType type_ = PERM_INACTIVE; member in UnRegisterActiveFuzzTest
59 callback->type_ = PERM_INACTIVE; in UnRegisterPermActiveStatusCallbackFuzzTest()
/base/msdp/device_status/intention/cooperate/plugin/src/
H A Dhot_area.cpp81 CheckPointerToEdge(type_); in ProcessData()
91 type_ = HotAreaType::AREA_LEFT; in CheckInHotArea()
94 type_ = HotAreaType::AREA_RIGHT; in CheckInHotArea()
97 type_ = HotAreaType::AREA_TOP; in CheckInHotArea()
100 type_ = HotAreaType::AREA_BOTTOM; in CheckInHotArea()
102 type_ = HotAreaType::AREA_NONE; in CheckInHotArea()
125 OnHotAreaMessage(type_, isEdge_); in NotifyMessage()
/base/telephony/sms_mms/services/sms/cdma/
H A Dcdma_sms_transport_message.cpp45 if (!pdu.WriteByte(type_)) { in Encode()
70 if (!pdu.ReadByte(type_)) { in Decode()
74 if (type_ != P2P && type_ != BROADCAST && type_ != ACK) { in Decode()
75 TELEPHONY_LOGE("type[%{public}d] is invalid", type_); in Decode()
141 type_ = P2P; in CdmaSmsP2pMessage()
170 type_ = P2P; in CdmaSmsP2pMessage()
199 type_ = BROADCAST; in CdmaSmsBroadcastMessage()
213 type_ in CdmaSmsBroadcastMessage()
[all...]
H A Dcdma_sms_teleservice_message.cpp101 type_ = SUBMIT; in CdmaSmsSubmitMessage()
103 parameter_.push_back(std::make_unique<CdmaSmsMessageId>(msg.msgId, type_)); in CdmaSmsSubmitMessage()
135 type_ = SUBMIT; in CdmaSmsSubmitMessage()
141 parameter_.push_back(std::make_unique<CdmaSmsMessageId>(msg.msgId, type_)); in CdmaSmsSubmitMessage()
180 type_ = CANCELLATION; in CdmaSmsCancelMessage()
182 parameter_.push_back(std::make_unique<CdmaSmsMessageId>(msg.msgId, type_)); in CdmaSmsCancelMessage()
187 type_ = DELIVER_REPORT; in CdmaSmsDeliverReport()
189 parameter_.push_back(std::make_unique<CdmaSmsMessageId>(msg.msgId, type_)); in CdmaSmsDeliverReport()
205 type_ = DELIVER; in CdmaSmsDeliverMessage()
221 parameter_.push_back(std::make_unique<CdmaSmsMessageId>(msg.msgId, type_)); in PushParameter()
[all...]
/base/web/webview/ohos_adapter/net_connect_adapter/src/
H A Dnet_capabilities_adapter_impl.cpp27 return type_; in GetConnectType()
42 type_ = type; in SetConnectType()
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/
H A Dfaultlog_info.cpp50 return type_; in GetFaultType()
85 type_ = faultType; in SetFaultType()
115 switch (type_) { in GetStringFaultType()
/base/powermgr/power_manager/utils/vibrator/include/
H A Dvibrator_source_parser.h29 VibratorSource(std::string scene, bool enable, std::string type) : scene_(scene), enable_(enable), type_(type) {}; in VibratorSource()
38 return type_; in GetType()
47 std::string type_; member in OHOS::PowerMgr::VibratorSource
/base/security/access_token/test/fuzztest/services/privacy/registerpermactivestatuscallbackstub_fuzzer/
H A Dregisterpermactivestatuscallbackstub_fuzzer.cpp43 type_ = result.type; in ActiveStatusChangeCallback()
47 ActiveChangeType type_ = PERM_INACTIVE; member in RegisterActiveFuzzTest
61 callback->type_ = PERM_INACTIVE; in RegisterPermActiveStatusCallbackStubFuzzTest()
/base/security/access_token/test/fuzztest/services/privacy/unregisterpermactivestatuscallbackstub_fuzzer/
H A Dunregisterpermactivestatuscallbackstub_fuzzer.cpp43 type_ = result.type; in ActiveStatusChangeCallback()
47 ActiveChangeType type_ = PERM_INACTIVE; member in RegisterActiveFuzzTest
64 callback->type_ = PERM_INACTIVE; in UnRegisterPermActiveStatusCallbackStubFuzzTest()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_local_live_view_content.cpp40 type_ = type; in SetType()
45 return type_; in GetType()
106 ", type = " + std::to_string(type_) + in Dump()
145 jsonObject["type"] = type_; in ToJson()
172 pContent->type_ = jsonObject.at("typeCode").get<int32_t>(); in FromJson()
233 if (!parcel.WriteInt32(type_)) { in Marshalling()
284 if (!parcel.ReadInt32(type_)) { in ReadFromParcel()

Completed in 13 milliseconds

1234567