Home
last modified time | relevance | path

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

123456

/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...]
/test/xts/acts/multimedia/image_effect/OHImageEffectNDK/entry/src/main/cpp/
H A DimageEffect.cpp219 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_INT32; in OHImageEffectConfigure()
224 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHImageEffectConfigure()
231 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHImageEffectConfigure()
237 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHImageEffectConfigure()
746 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHImageEffectSetInputNativeBuffer()
794 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_INT32; in SetInputUri1()
800 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in SetInputUri1()
806 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_DOUBLE; in SetInputUri1()
812 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_CHAR; in SetInputUri1()
829 value.dataType in SetInputUri2()
[all...]
/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/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...]
/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/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()
/test/xts/acts/ai/nncore/nncoretest/src/
H A DHdiTensorDescTest.cpp105 int dataType = static_cast<int>(OH_NN_FLOAT64)+1; in HWTEST_F() local
106 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNTensorDesc_SetDataType(tensorDesc, static_cast<OH_NN_DataType>(dataType))); in HWTEST_F()
107 dataType = static_cast<int>(OH_NN_UNKNOWN)-1; in HWTEST_F()
108 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNTensorDesc_SetDataType(tensorDesc, static_cast<OH_NN_DataType>(dataType))); in HWTEST_F()
119 OH_NN_DataType dataType; in HWTEST_F() local
120 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNTensorDesc_GetDataType(nullptr, &dataType)); in HWTEST_F()
132 OH_NN_DataType dataType = OH_NN_UNKNOWN; in HWTEST_F() local
133 ASSERT_EQ(OH_NN_SUCCESS, OH_NNTensorDesc_GetDataType(tensorDesc, &dataType)); in HWTEST_F()
134 ASSERT_EQ(OH_NN_UNKNOWN, dataType); in HWTEST_F()
/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()
/test/xts/dcts/communication/softbus_standard/socket_trans/server/
H A DSocketTestServer.cpp69 .dataType = DATA_TYPE_BYTES,
75 .dataType = DATA_TYPE_MESSAGE,
81 .dataType = DATA_TYPE_FILE,
87 .dataType = DATA_TYPE_VIDEO_STREAM,
93 LOG("[cb][data]OnBind success {socket:%d, name:%s, deviceId:%s, pkgName:%s, dataType:%d}", socket, in OnBind()
94 info.name, info.networkId, info.pkgName, info.dataType); in OnBind()
/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()
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/
H A DExecutorTest.cpp99 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
127 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
155 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
184 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), dimensions, quantParam, in HWTEST_F()
212 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
240 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
267 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
300 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), shape, in HWTEST_F()
335 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), shape, in HWTEST_F()
370 OH_NN_Tensor operand = {operandTem.dataType, (uint32_ in HWTEST_F()
[all...]
/test/xts/acts/ai/nncore/opstest/src/
H A Dconstant_of_shape_test.cpp36 OHNNOperandTest dataType = {OH_NN_INT64, OH_NN_CONSTANT_OF_SHAPE_DATA_TYPE, {1}, dataTypeValue, sizeof(int64_t)}; member
39 .operands = {input, output, dataType, value},
55 OHNNOperandTest dataType = {OH_NN_INT64, OH_NN_CONSTANT_OF_SHAPE_DATA_TYPE, {1}, dataTypeValue, sizeof(int64_t)}; member
58 .operands = {input, output, dataType, value},
135 constantOfShapeModel.dataType, constantOfShapeModel.value}; in HWTEST_F()
157 constantOfShapeModel.dataType, constantOfShapeModel.value}; in HWTEST_F()
181 graphArgs.operands = {constantOfShapeModel.input, constantOfShapeModel.output, constantOfShapeModel.dataType, in HWTEST_F()
261 operandTem.dataType, operandTem.format); in HWTEST_F()
298 operandTem.dataType, operandTem.format); in HWTEST_F()
334 operandTem.dataType, operandTe in HWTEST_F()
[all...]
H A Dnncore_utils.cpp28 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_NN_Format format) in createTensorDesc() argument
36 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetDataType(tensorDescTmp, dataType); in createTensorDesc()
100 operandTem.dataType, operandTem.format); in BuildSingleOpGraph()
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/
H A DExecutorTest.cpp99 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
127 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
155 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
184 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), dimensions, quantParam, in HWTEST_F()
212 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
240 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
267 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
300 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
340 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
380 OH_NN_Tensor operand = {operandTem.dataType, (uint32_ in HWTEST_F()
[all...]
/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/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
/kernel/liteos_a/fs/proc/include/
H A Dproc_fs.h116 int dataType; member
129 int dataType; member
/test/xts/acts/ai/nncore/opstest/include/
H A Dnncore_utils.h30 OH_NN_DataType dataType; member
70 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_NN_Format format);
/test/xts/dcts/communication/softbus_standard/transmission/sendstream/
H A Dtrans_stream_test.cpp87 attr.dataType = TYPE_STREAM; in HWTEST_F()
132 attr.dataType = TYPE_STREAM; in HWTEST_F()
/test/ostest/wukong/report/src/
H A Ddata_unit.cpp22 ErrCode DataUnit::AddData(std::string key, std::string value, DataType dataType) in AddData() argument
/test/ostest/wukong/report/include/
H A Ddata_unit.h32 ErrCode AddData(std::string key, std::string value, DataType dataType);
/test/xts/dcts/communication/softbus_standard/common/
H A Dnet_trans_common.c1217 g_sessionAttr4Data->dataType = TYPE_BYTES; in TestSetUp()
1221 g_sessionAttr4Ctl->dataType = TYPE_BYTES; in TestSetUp()
1225 g_sessionAttr4Pass->dataType = TYPE_BYTES; in TestSetUp()
1229 g_sessionAttr4Perf->dataType = TYPE_BYTES; in TestSetUp()
1233 g_sessionAttr4Proxy->dataType = TYPE_MESSAGE; in TestSetUp()
1237 g_p2pattribute->dataType = TYPE_BYTES; in TestSetUp()
1243 g_p2pattributeProxy->dataType = TYPE_MESSAGE; in TestSetUp()
/test/xts/hats/ai/nnrt/hdi/v1_0/common/
H A Dhdi_nnrt_test_utils.cpp152 .dataType = V1_0::DATA_TYPE_FLOAT32, in CreateIOTensor()
180 .dataType = V1_0::DATA_TYPE_FLOAT32, in CreateInputIOTensor()
201 .dataType = V1_0::DATA_TYPE_FLOAT32, in CreateOutputIOTensor()
/test/xts/hats/ai/nnrt/hdi/v2_0/common/
H A Dhdi_nnrt_test_utils.cpp152 .dataType = V2_0::DATA_TYPE_FLOAT32, in CreateIOTensor()
180 .dataType = V2_0::DATA_TYPE_FLOAT32, in CreateInputIOTensor()
201 .dataType = V2_0::DATA_TYPE_FLOAT32, in CreateOutputIOTensor()
/test/xts/acts/ai/neural_network_runtime/v2_0/common/
H A Dnnrt_utils.cpp37 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildMultiOpGraph()
86 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildSingleOpGraph()
226 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in ExecuteGraphMock()
269 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in ExecutorWithMemory()

Completed in 29 milliseconds

123456