/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...] |
H A D | effect_filter_test.cpp | 925 setValue.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHEffectFilterSetValue() 930 setValue.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_INT32; in OHEffectFilterSetValue() 935 setValue.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHEffectFilterSetValue() 940 setValue.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHEffectFilterSetValue() 972 setValue.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHEffectFilterGetValue() 976 if (retValue.dataType != setValue.dataType || retValue.dataValue.floatValue != setValue.dataValue.floatValue) { in OHEffectFilterGetValue() 982 setValue.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_INT32; in OHEffectFilterGetValue()
|
/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()
|
/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...] |
H A D | MemoryTest.cpp | 561 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 588 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 638 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 665 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 692 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 814 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 858 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), 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()
|
/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...] |
H A D | MemoryTest.cpp | 561 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 588 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 638 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 665 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 692 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 814 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 858 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
|
/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/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/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()
|
/test/xts/acts/ai/neural_network_runtime/v1_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()
|
/test/xts/acts/security/cryptoFramework/js_api_test_one/entry/src/ohosTest/js/test/utils/asymmetric/ |
H A D | publicAsymmetricPromise.js | 346 async function signAndVerifyNormalProcessDataException(asyAlgoName, signVerifyAlgoName, dataType) {
351 if (dataType == "null") {
385 if (dataType == "null") {
393 if (dataType == "null") {
|
/test/xts/dcts/communication/softbus_standard/socket_trans/client/func/ |
H A D | socket_trans_func_test.cpp | 93 .dataType = DATA_TYPE_BYTES,
101 .dataType = DATA_TYPE_MESSAGE,
109 .dataType = DATA_TYPE_FILE,
117 .dataType = DATA_TYPE_VIDEO_STREAM,
|
/test/xts/acts/ai/nncore/common/ |
H A D | nncore_utils.cpp | 29 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_NN_Format format) in createTensorDesc() argument 37 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetDataType(tensorDescTmp, dataType); in createTensorDesc() 87 operandTem.dataType, operandTem.format); in BuildMultiOpGraph() 161 operandTem.dataType, operandTem.format); in BuildSingleOpGraph() 193 operandTem.dataType, operandTem.format); in BuildSingleOpGraphWithQuantParams()
|
/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/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest_additional/src/ |
H A D | hdi_model_prepare_test.cpp | 3873 * @tc.desc: Call function V2 PrepareModel, tensor.dataType is DATA_TYPE_UNKNOWN 3886 tensor.dataType = static_cast<V2_0::DataType>(mindspore::lite::DATA_TYPE_UNKNOWN); in HWTEST_F() 3902 * @tc.desc: Call function V2 PrepareModel, tensor.dataType is DATA_TYPE_BOOL 3915 tensor.dataType = static_cast<V2_0::DataType>(mindspore::lite::DATA_TYPE_BOOL); in HWTEST_F() 3944 * @tc.desc: Call function V2 PrepareModel, tensor.dataType is DATA_TYPE_INT8 3957 tensor.dataType = static_cast<V2_0::DataType>(mindspore::lite::DATA_TYPE_INT8); in HWTEST_F() 3973 * @tc.desc: Call function V2 PrepareModel, tensor.dataType is DATA_TYPE_INT16 3986 Tensor.dataType = V2_0::DATA_TYPE_INT16; in HWTEST_F() 3999 * @tc.desc: Call function V2 PrepareModel, tensor.dataType is DATA_TYPE_INT32 4012 tensor.dataType in HWTEST_F() [all...] |
H A D | hdi_device_test.cpp | 1861 * @tc.desc: Call function V2 GetSupportedOperation, tensor.dataType is DATA_TYPE_UNKNOWN 1874 tensor.dataType = static_cast<V2_0::DataType>(mindspore::lite::DATA_TYPE_UNKNOWN); in HWTEST_F() 1892 * @tc.desc: Call function V2 GetSupportedOperation, tensor.dataType is DATA_TYPE_BOOL 1905 tensor.dataType = static_cast<V2_0::DataType>(mindspore::lite::DATA_TYPE_BOOL); in HWTEST_F() 1923 * @tc.desc: Call function V2 GetSupportedOperation, tensor.dataType is DATA_TYPE_INT8 1936 tensor.dataType = static_cast<V2_0::DataType>(mindspore::lite::DATA_TYPE_INT8); in HWTEST_F() 1954 * @tc.desc: Call function V2 GetSupportedOperation, tensor.dataType is DATA_TYPE_INT16 1967 tensor.dataType = static_cast<V2_0::DataType>(mindspore::lite::DATA_TYPE_INT16); in HWTEST_F() 1985 * @tc.desc: Call function V2 GetSupportedOperation, tensor.dataType is DATA_TYPE_INT32 1998 tensor.dataType in HWTEST_F() [all...] |
/test/ostest/wukong/report/include/ |
H A D | data_unit.h | 32 ErrCode AddData(std::string key, std::string value, DataType dataType);
|
/test/xts/acts/ai/nncore/e2etest/src/ |
H A D | EndToEndTest.cpp | 125 OH_NN_DataType dataType(OH_NN_FLOAT32); in SetInputData() 139 ret = OH_NNTensorDesc_GetDataType(desc, &dataType); in SetInputData() 149 switch (dataType) { in SetInputData()
|