/base/global/resource_management_lite/frameworks/resmgr_lite/include/utils/ |
H A D | locale_data.h | 23 static_cast<uint16_t>(0x6977), /* iw */ 24 static_cast<uint16_t>(0x746c), /* tl */ 25 static_cast<uint16_t>(0x6a69), /* ji */ 26 static_cast<uint16_t>(0x6a77), /* jw */ 27 static_cast<uint16_t>(0x696e), /* in */ 30 static_cast<uint16_t>(0x6865), /* he */ 31 static_cast<uint16_t>(0x950b), /* fil */ 32 static_cast<uint16_t>(0x7969), /* yi */ 33 static_cast<uint16_t>(0x6a76), /* jv */ 34 static_cast<uint16_ [all...] |
/base/telephony/core_service/utils/common/include/ |
H A D | enum_convert.h | 351 { static_cast<int32_t>(TelephonySimIccState::ICC_CONTENT_UNKNOWN), "ICC_CONTENT_UNKNOWN" }, 352 { static_cast<int32_t>(TelephonySimIccState::ICC_CARD_ABSENT), "ICC_CARD_ABSENT" }, 353 { static_cast<int32_t>(TelephonySimIccState::ICC_CONTENT_READY), "ICC_CONTENT_READY" }, 354 { static_cast<int32_t>(TelephonySimIccState::ICC_CONTENT_PIN), "ICC_CONTENT_PIN" }, 355 { static_cast<int32_t>(TelephonySimIccState::ICC_CONTENT_PUK), "ICC_CONTENT_PUK" }, 359 { static_cast<int32_t>(TelephonyRegServiceState::REG_STATE_UNKNOWN), "REG_STATE_UNKNOWN" }, 360 { static_cast<int32_t>(TelephonyRegServiceState::REG_STATE_IN_SERVICE), "REG_STATE_IN_SERVICE" }, 361 { static_cast<int32_t>(TelephonyRegServiceState::REG_STATE_NO_SERVICE), "REG_STATE_NO_SERVICE" }, 362 { static_cast<int32_t>(TelephonyRegServiceState::REG_STATE_EMERGENCY_ONLY), "REG_STATE_EMERGENCY_ONLY" }, 363 { static_cast<int32_ [all...] |
/base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/inc/ |
H A D | common_dummy.h | 96 static_cast<void>(scheduleId); in BeginExecute() 97 static_cast<void>(publicKey); in BeginExecute() 98 static_cast<void>(command); in BeginExecute() 105 static_cast<void>(scheduleId); in EndExecute() 106 static_cast<void>(command); in EndExecute() 113 static_cast<void>(properties); in SetProperty() 120 static_cast<void>(condition); in GetProperty() 121 static_cast<void>(values); in GetProperty() 128 static_cast<void>(scheduleId); in SendData() 129 static_cast<voi in SendData() [all...] |
/base/inputmethod/imf/services/include/ |
H A D | input_method_system_ability_stub.h | 113 static inline constexpr RequestHandler HANDLERS[static_cast<uint32_t>(InputMethodInterfaceCode::IMS_CMD_END)] = { 115 [static_cast<uint32_t>(InputMethodInterfaceCode::START_INPUT)] = 117 [static_cast<uint32_t>(InputMethodInterfaceCode::SHOW_CURRENT_INPUT)] = 119 [static_cast<uint32_t>(InputMethodInterfaceCode::HIDE_CURRENT_INPUT)] = 121 [static_cast<uint32_t>(InputMethodInterfaceCode::SHOW_INPUT)] = 123 [static_cast<uint32_t>(InputMethodInterfaceCode::HIDE_INPUT)] = 125 [static_cast<uint32_t>(InputMethodInterfaceCode::STOP_INPUT_SESSION)] = 127 [static_cast<uint32_t>(InputMethodInterfaceCode::RELEASE_INPUT)] = 129 [static_cast<uint32_t>(InputMethodInterfaceCode::REQUEST_SHOW_INPUT)] = 131 [static_cast<uint32_ [all...] |
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dwarf_op.h | 73 StackPush(static_cast<AddressType>(value)); in OpPush() 79 auto addr = static_cast<uintptr_t>(StackPop()); in OpDeref() 82 StackPush(static_cast<AddressType>(val)); in OpDeref() 88 auto addr = static_cast<uintptr_t>(StackPop()); in OpDerefSize() 96 value = static_cast<AddressType>(u8); in OpDerefSize() 102 value = static_cast<AddressType>(u16); in OpDerefSize() 109 value = static_cast<AddressType>(u32); in OpDerefSize() 118 value = static_cast<AddressType>(u64); in OpDerefSize() 124 StackPush(static_cast<UnsignedType>(value)); in OpDerefSize() 177 SignedType signedValue = static_cast<SignedTyp in OpAbs() [all...] |
/base/security/security_guard/interfaces/inner_api/common/include/ |
H A D | i_data_collect_manager.h | 37 CMD_DATA_COLLECT = static_cast<uint32_t>(InterfaceCode::CMD_DATA_COLLECT),
38 CMD_DATA_REQUEST = static_cast<uint32_t>(InterfaceCode::CMD_DATA_REQUEST),
39 CMD_DATA_SUBSCRIBE = static_cast<uint32_t>(InterfaceCode::CMD_DATA_SUBSCRIBE),
40 CMD_DATA_UNSUBSCRIBE = static_cast<uint32_t>(InterfaceCode::CMD_DATA_UNSUBSCRIBE),
41 CMD_SECURITY_EVENT_QUERY = static_cast<uint32_t>(InterfaceCode::CMD_SECURITY_EVENT_QUERY),
42 CMD_SECURITY_COLLECTOR_START = static_cast<uint32_t>(InterfaceCode::CMD_SECURITY_COLLECTOR_START),
43 CMD_SECURITY_COLLECTOR_STOP = static_cast<uint32_t>(InterfaceCode::CMD_SECURITY_COLLECTOR_STOP),
44 CMD_SECURITY_CONFIG_UPDATE = static_cast<uint32_t>(InterfaceCode::CMD_SECURITY_CONFIG_UPDATE),
45 CMD_SECURITY_EVENT_CONFIG_QUERY = static_cast<uint32_t>(InterfaceCode::CMD_SECURITY_EVENT_CONFIG_QUERY),
70 CMD_SET_REQUEST_DATA = static_cast<uint32_ [all...] |
H A D | i_security_collector_manager.h | 38 CMD_COLLECTOR_SUBCRIBE = static_cast<uint32_t>(InterfaceCode::CMD_COLLECTOR_SUBCRIBE), 39 CMD_COLLECTOR_UNSUBCRIBE = static_cast<uint32_t>(InterfaceCode::CMD_COLLECTOR_UNSUBCRIBE), 40 CMD_COLLECTOR_START = static_cast<uint32_t>(InterfaceCode::CMD_COLLECTOR_START), 41 CMD_COLLECTOR_STOP = static_cast<uint32_t>(InterfaceCode::CMD_COLLECTOR_STOP), 42 CMD_SECURITY_EVENT_QUERY = static_cast<uint32_t>(InterfaceCode::CMD_SECURITY_EVENT_QUERY), 61 CMD_COLLECTOR_NOTIFY = static_cast<uint32_t>(InterfaceCode::CMD_COLLECTOR_CALLBACK)
|
H A D | i_risk_analysis_manager.h | 35 CMD_GET_SECURITY_MODEL_RESULT = static_cast<uint32_t>(InterfaceCode::CMD_GET_SECURITY_MODEL_RESULT),
36 CMD_SET_MODEL_STATE = static_cast<uint32_t>(InterfaceCode::CMD_SET_MODEL_STATE),
49 CMD_SET_SECURITY_MODEL_RESULT = static_cast<uint32_t>(InterfaceCode::CMD_SET_SECURITY_MODEL_RESULT),
|
/base/telephony/core_service/interfaces/innerkits/include/ |
H A D | network_search_types.h | 282 RADIO_PROTOCOL_TECH_UNKNOWN = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_UNKNOWN), 283 RADIO_PROTOCOL_TECH_GSM = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_GSM), 284 RADIO_PROTOCOL_TECH_1XRTT = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_1XRTT), 285 RADIO_PROTOCOL_TECH_WCDMA = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_WCDMA), 286 RADIO_PROTOCOL_TECH_HSPA = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_HSPA), 287 RADIO_PROTOCOL_TECH_HSPAP = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_HSPAP), 288 RADIO_PROTOCOL_TECH_TD_SCDMA = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_TD_SCDMA), 289 RADIO_PROTOCOL_TECH_EVDO = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_EVDO), 290 RADIO_PROTOCOL_TECH_EHRPD = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_EHRPD), 291 RADIO_PROTOCOL_TECH_LTE = 1 << static_cast<int32_ [all...] |
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/ |
H A D | input_data_channel_stub.h | 84 [static_cast<uint32_t>(INSERT_TEXT)] = &InputDataChannelStub::InsertTextOnRemote, 85 [static_cast<uint32_t>(DELETE_FORWARD)] = &InputDataChannelStub::DeleteForwardOnRemote, 86 [static_cast<uint32_t>(DELETE_BACKWARD)] = &InputDataChannelStub::DeleteBackwardOnRemote, 87 [static_cast<uint32_t>(GET_TEXT_BEFORE_CURSOR)] = &InputDataChannelStub::GetTextBeforeCursorOnRemote, 88 [static_cast<uint32_t>(GET_TEXT_AFTER_CURSOR)] = &InputDataChannelStub::GetTextAfterCursorOnRemote, 89 [static_cast<uint32_t>(GET_ENTER_KEY_TYPE)] = &InputDataChannelStub::GetEnterKeyTypeOnRemote, 90 [static_cast<uint32_t>(GET_INPUT_PATTERN)] = &InputDataChannelStub::GetInputPatternOnRemote, 91 [static_cast<uint32_t>(SEND_KEYBOARD_STATUS)] = &InputDataChannelStub::SendKeyboardStatusOnRemote, 92 [static_cast<uint32_t>(SEND_FUNCTION_KEY)] = &InputDataChannelStub::SendFunctionKeyOnRemote, 93 [static_cast<uint32_ [all...] |
/base/usb/usb_manager/interfaces/innerkits/native/include/ |
H A D | usb_endpoint.h | 33 this->interval_ = static_cast<int32_t>(interval); in USBEndpoint() 34 this->maxPacketSize_ = static_cast<int32_t>(maxPacketSize); in USBEndpoint() 42 address_ = static_cast<uint32_t>(GetIntValue(endpoint, "address")); in USBEndpoint() 43 attributes_ = static_cast<uint32_t>(GetIntValue(endpoint, "attributes")); in USBEndpoint() 171 cJSON_AddNumberToObject(endPointJson, "address", static_cast<double>(address_)); in getJsonString() 172 cJSON_AddNumberToObject(endPointJson, "attributes", static_cast<double>(attributes_)); in getJsonString() 173 cJSON_AddNumberToObject(endPointJson, "interval", static_cast<double>(interval_)); in getJsonString() 174 cJSON_AddNumberToObject(endPointJson, "maxPacketSize", static_cast<double>(maxPacketSize_)); in getJsonString() 175 cJSON_AddNumberToObject(endPointJson, "direction", static_cast<double>(GetDirection())); in getJsonString() 176 cJSON_AddNumberToObject(endPointJson, "number", static_cast<doubl in getJsonString() [all...] |
/base/hiviewdfx/hiview/plugins/performance/ |
H A D | EvtParser.h | 242 evt.versionCode = static_cast<int32_t>(sysEvent.GetEventIntValue(KEY_VERSION_CODE)); in ConvertToXperfEvent() 243 evt.appPid = static_cast<int32_t>(sysEvent.GetEventIntValue(KEY_APP_PID)); in ConvertToXperfEvent() 247 evt.eventTime = static_cast<uint64_t>(sysEvent.GetEventIntValue(TIMER)); in ConvertToXperfEvent() 248 evt.inputTime = static_cast<uint64_t>(sysEvent.GetEventIntValue(INPUT_TIME)); in ConvertToXperfEvent() 249 evt.renderTime = static_cast<uint64_t>(sysEvent.GetEventIntValue(RENDER_TIME)); in ConvertToXperfEvent() 250 evt.responseLatency = static_cast<uint64_t>(sysEvent.GetEventIntValue(RESPONSE_LATENCY)); in ConvertToXperfEvent() 251 evt.e2eLatency = static_cast<uint64_t>(sysEvent.GetEventIntValue(E2E_LATENCY)); in ConvertToXperfEvent() 253 evt.bundleType = static_cast<int32_t>(sysEvent.GetEventIntValue(KEY_BUNDLE_TYPE)); in ConvertToXperfEvent() 258 evt.startType = static_cast<int32_t>(sysEvent.GetEventIntValue(KEY_START_TYPE)); in ConvertToXperfEvent() 259 evt.startupTime = static_cast<uint64_ in ConvertToXperfEvent() [all...] |
/base/telephony/cellular_data/services/include/common/ |
H A D | cellular_data_constant.h | 86 return static_cast<int32_t>(DataConnectionStatus::DATA_STATE_CONNECTING); in CellularDataStateAdapter() 90 return static_cast<int32_t>(DataConnectionStatus::DATA_STATE_CONNECTED); in CellularDataStateAdapter() 96 return static_cast<int32_t>(DataConnectionStatus::DATA_STATE_DISCONNECTED); in CellularDataStateAdapter() 98 return static_cast<int32_t>(DataConnectionStatus::DATA_STATE_DISCONNECTED); in CellularDataStateAdapter() 105 case static_cast<int32_t>(DataConnectionStatus::DATA_STATE_DISCONNECTED): { in WrapCellularDataState() function 106 return static_cast<int32_t>(DataConnectState::DATA_STATE_DISCONNECTED); in WrapCellularDataState() 108 case static_cast<int32_t>(DataConnectionStatus::DATA_STATE_CONNECTING): { in WrapCellularDataState() function 109 return static_cast<int32_t>(DataConnectState::DATA_STATE_CONNECTING); in WrapCellularDataState() 111 case static_cast<int32_t>(DataConnectionStatus::DATA_STATE_CONNECTED): { in WrapCellularDataState() function 112 return static_cast<int32_ in WrapCellularDataState() 114 case static_cast<int32_t>(DataConnectionStatus::DATA_STATE_SUSPENDED): { WrapCellularDataState() function [all...] |
/base/hiviewdfx/hiview/base/event_raw/include/encoded/ |
H A D | raw_data_encoder.h | 42 uint8_t cpyVal = EncodedTag(static_cast<uint8_t>(type)) | ((val < TAG_BYTE_BOUND) ? 0 : TAG_BYTE_BOUND) | in UnsignedVarintEncoded() 43 static_cast<uint8_t>(val & TAG_BYTE_MASK); in UnsignedVarintEncoded() 50 static_cast<uint8_t>(val & NON_TAG_BYTE_MASK); in UnsignedVarintEncoded() 63 int64_t valInt64 = static_cast<int64_t>(val); in SignedVarintEncoded() 65 uint64_t uValInt64 = static_cast<uint64_t>((valInt64 << 1) ^ (valInt64 >> ((sizeof(valInt64) << 3) - 1))); in SignedVarintEncoded() 73 T valFdl = static_cast<T>(val); in FloatingNumberEncoded()
|
H A D | raw_data_builder.h | 96 return AppendValue(std::make_shared<FloatingNumberEncodedParam<double>>(key, static_cast<double>(val))); in AppendValue() 99 return AppendValue(std::make_shared<SignedVarintEncodedParam<int64_t>>(key, static_cast<int64_t>(val))); in AppendValue() 103 static_cast<uint64_t>(val))); in AppendValue() 113 return AppendType(static_cast<int>(val)); in UpdateType() 122 return AppendUid(static_cast<uint32_t>(val)); in UpdateUid() 131 return AppendLog(static_cast<uint8_t>(val)); in UpdateLog() 140 return AppendPid(static_cast<uint32_t>(val)); in UpdatePid() 149 return AppendTid(static_cast<uint32_t>(val)); in UpdateTid() 161 return AppendId(static_cast<uint64_t>(val)); in UpdateId() 183 return AppendTraceId(static_cast<uint64_ in UpdateTraceId() [all...] |
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include/ |
H A D | raw_data_encoder.h | 53 uint8_t cpyVal = EncodedTag(static_cast<uint8_t>(type)) | ((val < TAG_BYTE_BOUND) ? 0 : TAG_BYTE_BOUND) | in UnsignedVarintEncoded() 54 static_cast<uint8_t>(val & TAG_BYTE_MASK); in UnsignedVarintEncoded() 61 static_cast<uint8_t>(val & NON_TAG_BYTE_MASK); in UnsignedVarintEncoded() 74 int64_t valInt64 = static_cast<int64_t>(val); in SignedVarintEncoded() 76 uint64_t uValInt64 = static_cast<uint64_t>((valInt64 << 1) ^ (valInt64 >> ((sizeof(valInt64) << 3) - 1))); in SignedVarintEncoded() 84 T valFdl = static_cast<T>(val); in FloatingNumberEncoded()
|
/base/telephony/sms_mms/services/sms/include/ |
H A D | sms_cb_data.h | 35 uint16_t category = static_cast<uint16_t>(SmsCmaeCategory::RESERVED); 38 uint8_t cmasClass = static_cast<uint8_t>(SmsCmaeAlertHandle::RESERVED); 39 uint8_t cmasCate = static_cast<uint8_t>(SmsCmaeCategory::RESERVED); 40 uint8_t severity = static_cast<uint8_t>(SmsCmaeSeverity::RESERVED); 41 uint8_t urgency = static_cast<uint8_t>(SmsCmaeUrgency::IMMEDIATE); 42 uint8_t certainty = static_cast<uint8_t>(SmsCmaeCertainty::RESERVED); 47 int8_t priority = static_cast<int8_t>(SmsPriorityIndicator::NORMAL); 49 uint8_t cmasRes = static_cast<uint8_t>(SmsCmaeResponseType::RESERVED);
|
/base/update/updateservice/foundations/ability/define/include/ |
H A D | update_define.h | 23 #define CAST_INT(enumClass) (static_cast<int32_t>(enumClass)) 24 #define CAST_UINT(enumClass) (static_cast<uint32_t>(enumClass)) 25 #define CAST_UINT64(enumClass) (static_cast<uint64_t>(enumClass))
|
/base/telephony/sms_mms/services/sms/include/cdma/ |
H A D | cdma_sms_message.h | 84 int8_t category_ = static_cast<int8_t>(SmsCmaeCategory::RESERVED); 85 int8_t responseType_ = static_cast<int8_t>(SmsCmaeResponseType::RESERVED); 86 int8_t severity_ = static_cast<int8_t>(SmsCmaeSeverity::RESERVED); 87 int8_t urgency_ = static_cast<int8_t>(SmsCmaeUrgency::IMMEDIATE); 88 int8_t certainty_ = static_cast<int8_t>(SmsCmaeCertainty::RESERVED); 89 int8_t messageClass_ = static_cast<int8_t>(SmsCmaeAlertHandle::RESERVED); 90 int8_t priority_ = static_cast<int8_t>(SmsPriorityIndicator::NORMAL);
|
/base/hiviewdfx/faultloggerd/interfaces/common/ |
H A D | dfx_errors.h | 99 addr_ = static_cast<uint64_t>(addr); in SetAddrAndCode() 100 code_ = static_cast<uint16_t>(code); in SetAddrAndCode() 108 code_ = static_cast<uint16_t>(code); in SetCode() 116 addr_ = static_cast<uint64_t>(addr); in SetAddr()
|
/base/hiviewdfx/hilog/frameworks/libhilog/utils/include/ |
H A D | log_timestamp.h | 33 tv_sec = static_cast<uint32_t>(time.tv_sec); in LogTimeStamp() 34 tv_nsec = static_cast<uint32_t>(time.tv_nsec); in LogTimeStamp() 38 : tv_sec(static_cast<uint32_t>(time.tv_sec)), in LogTimeStamp() 39 tv_nsec(static_cast<uint32_t>(time.tv_nsec)) {} in LogTimeStamp() 110 return static_cast<float>(tv_sec) + static_cast<float>(tv_nsec) / NS_PER_SEC; in FloatSecs()
|
/base/update/updater/services/ptable_parse/ |
H A D | ptable.h | 120 uint32_t res = static_cast<unsigned int>(*x) | in GET_LWORD_FROM_BYTE() 121 (static_cast<unsigned int>(*(x + 1)) << 8) | in GET_LWORD_FROM_BYTE() 122 (static_cast<unsigned int>(*(x + 2)) << 16) | in GET_LWORD_FROM_BYTE() 123 (static_cast<unsigned int>(*(x + 3)) << 24); in GET_LWORD_FROM_BYTE() 130 uint64_t res = static_cast<unsigned long long>(*x) | in GET_LLWORD_FROM_BYTE() 131 (static_cast<unsigned long long>(*(x + 1)) << 8) | in GET_LLWORD_FROM_BYTE() 132 (static_cast<unsigned long long>(*(x + 2)) << 16) | in GET_LLWORD_FROM_BYTE() 133 (static_cast<unsigned long long>(*(x + 3)) << 24) | in GET_LLWORD_FROM_BYTE() 134 (static_cast<unsigned long long>(*(x + 4)) << 32) | in GET_LLWORD_FROM_BYTE() 135 (static_cast<unsigne in GET_LLWORD_FROM_BYTE() [all...] |
/base/hiviewdfx/faultloggerd/common/dfxutil/ |
H A D | stack_util.h | 52 g_stackMapStart = static_cast<uintptr_t>(begin); in ParseSelfMaps() 53 g_stackMapEnd = static_cast<uintptr_t>(end); in ParseSelfMaps() 62 g_arkMapStart = static_cast<uintptr_t>(begin); in ParseSelfMaps() 63 g_arkMapEnd = static_cast<uintptr_t>(end); in ParseSelfMaps() 115 if ((static_cast<uint32_t>(altStack.ss_flags) & SS_ONSTACK) != 0) { in GetSigAltStackRange()
|
/base/security/device_security_level/common/include/ |
H A D | idevice_security_level.h | 36 CMD_GET_DEVICE_SECURITY_LEVEL = static_cast<uint32_t>(InterfaceCode::CMD_GET_DEVICE_SECURITY_LEVEL), 45 CMD_SET_DEVICE_SECURITY_LEVEL = static_cast<uint32_t>(InterfaceCode::CMD_SET_DEVICE_SECURITY_LEVEL),
|
/base/hiviewdfx/hilog/services/hilogd/include/ |
H A D | log_filter.h | 47 std::cout << " domainCount: " << static_cast<int>(domainCount) << std::endl; in Print() 52 std::cout << " tagCount: " << static_cast<int>(tagCount) << std::endl; in Print() 58 for (int i = 0; i < static_cast<int>(pidCount); i++) { in Print()
|