/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...] |
/test/xts/acts/multimedia/image_effect/OHImageEffectNDK/entry/src/main/cpp/ |
H A D | imageEffect.cpp | 219 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 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/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...] |
/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/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()
|
/test/xts/acts/ai/nncore/nncoretest/src/ |
H A D | HdiTensorDescTest.cpp | 105 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 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()
|
/test/xts/dcts/communication/softbus_standard/socket_trans/server/ |
H A D | SocketTestServer.cpp | 69 .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 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()
|
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/ |
H A D | ExecutorTest.cpp | 99 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 D | constant_of_shape_test.cpp | 36 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 D | nncore_utils.cpp | 28 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 D | ExecutorTest.cpp | 99 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 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/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
|
/kernel/liteos_a/fs/proc/include/ |
H A D | proc_fs.h | 116 int dataType; member 129 int dataType; member
|
/test/xts/acts/ai/nncore/opstest/include/ |
H A D | nncore_utils.h | 30 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 D | trans_stream_test.cpp | 87 attr.dataType = TYPE_STREAM;
in HWTEST_F() 132 attr.dataType = TYPE_STREAM;
in HWTEST_F()
|
/test/ostest/wukong/report/src/ |
H A D | data_unit.cpp | 22 ErrCode DataUnit::AddData(std::string key, std::string value, DataType dataType) in AddData() argument
|
/test/ostest/wukong/report/include/ |
H A D | data_unit.h | 32 ErrCode AddData(std::string key, std::string value, DataType dataType);
|
/test/xts/dcts/communication/softbus_standard/common/ |
H A D | net_trans_common.c | 1217 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 D | hdi_nnrt_test_utils.cpp | 152 .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 D | hdi_nnrt_test_utils.cpp | 152 .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 D | nnrt_utils.cpp | 37 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()
|