Home
last modified time | relevance | path

Searched refs:dataType (Results 1 - 25 of 31) sorted by relevance

12

/base/hiviewdfx/hisysevent/frameworks/native/
H A Dhisysevent_json_decorator.cpp223 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 Diaccount_info.h43 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 Dsatellitecore_fuzzer.cpp80 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 Del5_filekey_manager_napi.cpp166 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 Dappspawn_msg.c105 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 Dappspawn_client.h88 uint16_t dataType; member
/base/telephony/core_service/services/satellite_service_interaction/src/
H A Dsatellite_core_callback_stub.cpp72 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 Dscreen_capture_adapter_impl_test.cpp241 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 Dsocket.h82 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 Djs_drag_manager.cpp63 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 Dhisysevent_json_decorator.h52 bool JudgeDataType(const std::string& dataType, const Json::Value& eventJson);
/base/startup/appspawn/modules/module_engine/include/
H A Dappspawn_msg.h88 uint16_t dataType; member
/base/telephony/call_manager/services/distributed_call/src/transmission/
H A Dclient_session.cpp89 .dataType = DATA_TYPE_BYTES in CreateSocket()
H A Dserver_session.cpp45 .dataType = DATA_TYPE_BYTES in Create()
H A Dsession_adapter.cpp74 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 Ddistributed_transmission_test.cpp122 .dataType = DATA_TYPE_RAW_STREAM_ENCRYPED in HWTEST_F()
/base/msdp/device_status/test/fuzztest/dsoftbusadapter_fuzzer/
H A Ddsoftbusadapter_fuzzer.cpp191 .dataType = DATA_TYPE_BYTES in InitSocketFuzzTest()
/base/msdp/device_status/test/unittest/intention/adapters/src/
H A Ddsoftbus_adapter_test.cpp325 .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 Dsoft_bus_manager.cpp178 .dataType = DATA_TYPE_BYTES in ServiceSocketInit()
359 .dataType = DATA_TYPE_BYTES in InitSocketAndListener()
/base/web/webview/ohos_adapter/pasteboard_adapter/src/
H A Dpasteboard_client_adapter_impl.cpp432 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 Devents_emitter.cpp484 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 Dpkg_upgradefile.cpp277 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 Dohscan.cpp125 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 Ddsoftbus_adapter_impl.cpp418 .dataType = DATA_TYPE_BYTES in SetupServer()
467 .dataType = DATA_TYPE_BYTES in OpenSessionLocked()
/base/security/device_security_level/baselib/msglib/src/standard/
H A Dmessenger_device_socket_manager.c411 .dataType = DATA_TYPE_BYTES, in ProcessCreateServer()
674 .dataType = DATA_TYPE_BYTES, in PrepareBindSocket()

Completed in 27 milliseconds

12