/base/hiviewdfx/hisysevent/frameworks/native/ |
H A D | hisysevent_json_decorator.cpp | 223 bool HiSysEventJsonDecorator::JudgeDataType(const std::string &dataType, const Json::Value &eventJson) in HiSysEventJsonDecorator() argument 225 if (dataType.compare("BOOL") == 0) { in HiSysEventJsonDecorator() 227 } else if ((dataType.compare("INT8") == 0) || (dataType.compare("INT16") == 0) || in HiSysEventJsonDecorator() 228 (dataType.compare("INT32") == 0)) { in HiSysEventJsonDecorator() 230 } else if (dataType.compare("INT64") == 0) { in HiSysEventJsonDecorator() 232 } else if ((dataType.compare("UINT8") == 0) || (dataType.compare("UINT16") == 0) || in HiSysEventJsonDecorator() 233 (dataType.compare("UINT32") == 0)) { in HiSysEventJsonDecorator() 235 } else if (dataType in HiSysEventJsonDecorator() [all...] |
/base/account/os_account/interfaces/innerkits/common/include/ |
H A D | iaccount_info.h | 43 template<typename T, typename dataType> 45 dataType &data, const JsonType jsonType) in GetDataByType() 59 data = static_cast<dataType>(jsonObject.at(key).get<T>()); in GetDataByType()
|
/base/telephony/core_service/test/fuzztest/satellitecore_fuzzer/ |
H A D | satellitecore_fuzzer.cpp | 80 int32_t dataType = static_cast<int32_t>(*data % SATELLITE_TYPE); in SetRadioStateResponse() local 81 dataMessageParcel.WriteInt32(dataType); in SetRadioStateResponse() 83 if (dataType == 1) { in SetRadioStateResponse() 95 } else if (dataType == RESPONSE_TYPE) { in SetRadioStateResponse() 121 int32_t dataType = static_cast<int32_t>(*data % SATELLITE_TYPE); in RadioStateChanged() local 122 dataMessageParcel.WriteInt32(dataType); in RadioStateChanged()
|
/base/security/access_token/frameworks/js/napi/el5filekeymanager/src/ |
H A D | el5_filekey_manager_napi.cpp | 166 napi_value dataType = nullptr; in Init() local 167 napi_create_object(env, &dataType); in Init() 171 napi_set_named_property(env, dataType, "MEDIA_DATA", prop); in Init() 175 napi_set_named_property(env, dataType, "ALL_DATA", prop); in Init() 200 DECLARE_NAPI_PROPERTY("DataType", dataType), in Init()
|
/base/startup/appspawn/interfaces/innerkits/client/ |
H A D | appspawn_msg.c | 105 static int AddAppDataToBlock(AppSpawnMsgBlock *block, const uint8_t *data, uint32_t dataLen, int32_t dataType) in AddAppDataToBlock() argument 110 uint32_t realDataLen = (dataType == DATA_TYPE_STRING) ? APPSPAWN_ALIGN(dataLen + 1) : APPSPAWN_ALIGN(dataLen); in AddAppDataToBlock() 114 if (dataType == DATA_TYPE_STRING) { in AddAppDataToBlock() 121 static int AddAppDataToTail(AppSpawnReqMsgNode *reqNode, const uint8_t *data, uint32_t dataLen, int32_t dataType) in AddAppDataToTail() argument 126 uint32_t realDataLen = (dataType == DATA_TYPE_STRING) ? dataLen + 1 : dataLen; in AddAppDataToTail() 153 if (data->dataType == DATA_TYPE_STRING) { in AddAppDataEx() 160 tlv.dataType = data->dataType; in AddAppDataEx() 173 ret = AddAppDataToBlock(block, data->data, data->dataLen, data->dataType); in AddAppDataEx() 179 ret = AddAppDataToTail(reqNode, data->data, data->dataLen, data->dataType); in AddAppDataEx() [all...] |
H A D | appspawn_client.h | 88 uint16_t dataType; member
|
/base/telephony/core_service/services/satellite_service_interaction/src/ |
H A D | satellite_core_callback_stub.cpp | 72 int32_t dataType = data.ReadInt32();
in OnSetRadioStateResponse() local 73 if (dataType == SatelliteRadioResponseType::DEFAULT_RADIO_RESPONSE) {
in OnSetRadioStateResponse() 95 if (dataType == SatelliteRadioResponseType::RADIO_STATE_INFO) {
in OnSetRadioStateResponse()
|
/base/web/webview/test/unittest/ohos_adapter/screen_capture_adapter_impl_test/ |
H A D | screen_capture_adapter_impl_test.cpp | 241 return dataType; 260 DataTypeAdapter dataType = DataTypeAdapter::INVAILD_DATA_TYPE; member in OHOS::NWeb::MockScreenCaptureConfigAdapter 365 g_screenCaptureConfig->dataType = DataTypeAdapter::ORIGINAL_STREAM_DATA_TYPE; in SetUpTestCase() 407 g_screenCaptureConfig->dataType = DataTypeAdapter::INVAILD_DATA_TYPE; in HWTEST_F() 421 g_screenCaptureConfig->dataType = DataTypeAdapter::ENCODED_STREAM_DATA_TYPE; in HWTEST_F() 429 g_screenCaptureConfig->dataType = DataTypeAdapter::CAPTURE_FILE_DATA_TYPE; in HWTEST_F() 437 g_screenCaptureConfig->dataType = DataTypeAdapter::ORIGINAL_STREAM_DATA_TYPE; in HWTEST_F() 573 g_screenCaptureConfig->dataType = DataTypeAdapter::ENCODED_STREAM_DATA_TYPE; in HWTEST_F() 576 g_screenCaptureConfig->dataType = DataTypeAdapter::CAPTURE_FILE_DATA_TYPE; in HWTEST_F()
|
/base/security/access_token/services/tokensyncmanager/test/mock/include/ |
H A D | socket.h | 82 TransDataType dataType; /**< Data type */ member 95 TransDataType dataType; /**< Data type of peer socket*/ member
|
/base/msdp/device_status/frameworks/js/napi/interaction/drag/src/ |
H A D | js_drag_manager.cpp | 63 napi_value dataType = nullptr; in GetDataSummary() local 64 CHKRP(napi_create_string_utf8(env, summary.first.c_str(), NAPI_AUTO_LENGTH, &dataType), CREATE_STRING_UTF8); in GetDataSummary() 69 CHKRP(napi_set_named_property(env, object, "dataType", dataType), SET_NAMED_PROPERTY); in GetDataSummary()
|
/base/hiviewdfx/hisysevent/frameworks/native/include/ |
H A D | hisysevent_json_decorator.h | 52 bool JudgeDataType(const std::string& dataType, const Json::Value& eventJson);
|
/base/startup/appspawn/modules/module_engine/include/ |
H A D | appspawn_msg.h | 88 uint16_t dataType; member
|
/base/telephony/call_manager/services/distributed_call/src/transmission/ |
H A D | client_session.cpp | 89 .dataType = DATA_TYPE_BYTES in CreateSocket()
|
H A D | server_session.cpp | 45 .dataType = DATA_TYPE_BYTES in Create()
|
H A D | session_adapter.cpp | 74 TELEPHONY_LOGI("session %{public}d bind, data type %{public}d", socket, info.dataType); in OnBind()
|
/base/telephony/call_manager/test/unittest/distributed_communication_test/src/ |
H A D | distributed_transmission_test.cpp | 122 .dataType = DATA_TYPE_RAW_STREAM_ENCRYPED in HWTEST_F()
|
/base/msdp/device_status/test/fuzztest/dsoftbusadapter_fuzzer/ |
H A D | dsoftbusadapter_fuzzer.cpp | 191 .dataType = DATA_TYPE_BYTES in InitSocketFuzzTest()
|
/base/msdp/device_status/test/unittest/intention/adapters/src/ |
H A D | dsoftbus_adapter_test.cpp | 325 .dataType = DATA_TYPE_BYTES in HWTEST_F() 507 .dataType = DATA_TYPE_BYTES in HWTEST_F()
|
/base/security/access_token/services/tokensyncmanager/src/remote/ |
H A D | soft_bus_manager.cpp | 178 .dataType = DATA_TYPE_BYTES
in ServiceSocketInit() 359 .dataType = DATA_TYPE_BYTES
in InitSocketAndListener()
|
/base/web/webview/ohos_adapter/pasteboard_adapter/src/ |
H A D | pasteboard_client_adapter_impl.cpp | 432 void ReportPasteboardErrorEvent(int32_t errorCode, int32_t recordSize, const std::string &dataType) in ReportPasteboardErrorEvent() argument 436 RECORD_SIZE, std::to_string(recordSize), DATA_TYPE, dataType }); in ReportPasteboardErrorEvent()
|
/base/notification/eventhandler/frameworks/napi/src/ |
H A D | events_emitter.cpp | 484 napi_valuetype dataType; in EmitWithEventData() local 485 napi_typeof(env, argv, &dataType); in EmitWithEventData() 486 if (dataType != napi_object) { in EmitWithEventData()
|
/base/update/updater/services/package/pkg_package/ |
H A D | pkg_upgradefile.cpp | 277 uint16_t dataType = ReadLE16(buffer.buffer);
in ReadSignData() local 279 if (dataType != TLV_TYPE_FOR_SIGN) {
in ReadSignData() 280 PKG_LOGE("Invalid tlv type: %hu length %u ", dataType, dataLen);
in ReadSignData() 281 UPDATER_LAST_WORD(ret, dataType);
in ReadSignData()
|
/base/print/print_fwk/frameworks/ohscan/src/ |
H A D | ohscan.cpp | 125 std::set<uint32_t> dataType = {SCAN_INT_TYPE, SCAN_STRING_TYPE}; in GetScanParaValues() local 135 if (!dataType.count(desc.GetOptionType())) { in GetScanParaValues()
|
/base/msdp/device_status/intention/adapters/dsoftbus_adapter/src/ |
H A D | dsoftbus_adapter_impl.cpp | 418 .dataType = DATA_TYPE_BYTES in SetupServer() 467 .dataType = DATA_TYPE_BYTES in OpenSessionLocked()
|
/base/security/device_security_level/baselib/msglib/src/standard/ |
H A D | messenger_device_socket_manager.c | 411 .dataType = DATA_TYPE_BYTES, in ProcessCreateServer() 674 .dataType = DATA_TYPE_BYTES, in PrepareBindSocket()
|