/test/xts/acts/multimedia/image/image_js_standard/imagePixelMapNDK/entry/src/main/cpp/napi/ |
H A D | image_pixel_map_imgndk_test.cpp | 22 constexpr uint32_t NUM_2 = 2; member 141 napi_value argValue[NUM_2] = {0}; in CreatePixelMap() 142 size_t argCount = NUM_2; in CreatePixelMap() 152 argCount < NUM_2 || argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr) { in CreatePixelMap() 281 napi_value argValue[NUM_2] = {0}; in SetAlphaAble() 282 size_t argCount = NUM_2; in SetAlphaAble() 286 argCount < NUM_2 || argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr) { in SetAlphaAble() 328 napi_value argValue[NUM_2] = {0}; in SetDensity() 329 size_t argCount = NUM_2; in SetDensity() 334 argCount < NUM_2 || argValu in SetDensity() [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/drawabledescriptor/ |
H A D | drawabledescriptor_create_test.cpp | 21 #define NUM_2 2
macro 38 OH_PixelmapNativeHandle array[NUM_2];
in TestDrawableDescriptorCreate001() 44 data[i+NUM_2] = uint8_t(0);
in TestDrawableDescriptorCreate001() 65 descriptorAnimated = OH_ArkUI_DrawableDescriptor_CreateFromAnimatedPixelMap(array, NUM_2);
in TestDrawableDescriptorCreate001() 75 ASSERT_EQ(OH_ArkUI_DrawableDescriptor_GetAnimatedPixelMapArraySize(descriptorAnimated), NUM_2);
in TestDrawableDescriptorCreate001() local 89 OH_PixelmapNativeHandle array[NUM_2];
in TestDrawableDescriptorCreate002() 95 data[i+NUM_2] = uint8_t(0);
in TestDrawableDescriptorCreate002() 116 descriptorAnimated = OH_ArkUI_DrawableDescriptor_CreateFromAnimatedPixelMap(array, NUM_2);
in TestDrawableDescriptorCreate002()
|
/test/xts/acts/multimedia/image/image_ets_standard/imageNdk/entry/src/main/cpp/ |
H A D | ImageNdk.cpp | 36 #define NUM_2 2 macro 172 argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr || argValue[NUM_2] == nullptr || in TestInitializationOptions() 185 napi_get_value_int32(env, argValue[NUM_2], &pixelFormat); in TestInitializationOptions() 420 argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr || argValue[NUM_2] == nullptr || in TestCreatePixelmap() 432 napi_get_value_int32(env, argValue[NUM_2], &pixelFormat); in TestCreatePixelmap() 448 argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr || argValue[NUM_2] == nullptr || in TestCreatePixelmapWithData() 462 napi_get_value_uint32(env, argValue[NUM_2], &height); in TestCreatePixelmapWithData() 650 napi_value argValue[NUM_2] = {0}; in TestScale() 651 size_t argCount = NUM_2; in TestScale() 652 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_2 || in TestScale() [all...] |
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/ |
H A D | image_receiver_test.cpp | 33 static constexpr uint32_t NUM_2 = 2; member 306 napi_get_value_int32(env, argValue[NUM_2], &(capacity)) != napi_ok) { in JsCreateImageReceiverOptions() 366 size.height = params[NUM_2]; in JsImageReceiverOptionsSetSize() 399 napi_value argv[NUM_2] = {nullptr}; in JsImageReceiverOptionsSetCapacity() 400 int32_t params[NUM_2] = {0}; in JsImageReceiverOptionsSetCapacity() 559 napi_value argv[NUM_2] = {nullptr}; in JsOn() 560 int32_t params[NUM_2] = {0}; in JsOn() 565 size_t argCount = NUM_2; in JsOn() 570 if (!CheckArgs(argCount, argv, NUM_2) || in JsOn() 758 napi_value argv[NUM_2] in JsGetImageByteBuffer() [all...] |
H A D | image_receiver_mdk_test.cpp | 28 constexpr uint32_t NUM_2 = 2; member 86 napi_get_value_int32(env, argValue[NUM_2], &(receiverInfo.format)) != napi_ok || in JsCreateImageReceiver() 378 napi_value argValue[NUM_2] = {0}; in JsImageGetComponent() 379 size_t argCount = NUM_2; in JsImageGetComponent() 384 !CheckArgs(argCount, argValue, NUM_2)) { in JsImageGetComponent()
|
H A D | module_test.cpp | 26 static constexpr uint32_t NUM_2 = 2; variable 219 napi_get_value_int32(env, args[NUM_2], &capacity); in CreatePhotoOutput()
|
/test/xts/acts/multimedia/image/image_ets_standard/pictureNdk/entry/src/main/cpp/ |
H A D | PictureNdk.cpp | 44 #define NUM_2 2 macro 394 napi_value argValue[NUM_2] = {0}; in PictureMetadataGetProperty() 395 size_t argCount = NUM_2; in PictureMetadataGetProperty() 398 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_2) { in PictureMetadataGetProperty() 432 napi_value argValue[NUM_2] = {0}; in AuxiliaryMetadataGetProperty() 433 size_t argCount = NUM_2; in AuxiliaryMetadataGetProperty() 436 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_2) { in AuxiliaryMetadataGetProperty() 498 napi_value argValue[NUM_2] = {0}; in MetadataSetProperty() 499 size_t argCount = NUM_2; in MetadataSetProperty() 502 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_2) { in MetadataSetProperty() [all...] |
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/napi/ |
H A D | image_source_native_test.cpp | 34 static constexpr uint32_t NUM_2 = 2; member 75 napi_value argValue[NUM_2] = {0}; in JsGetImageProperty() 76 size_t argCount = NUM_2; in JsGetImageProperty() 116 std::string propertyValue = getStringFromArgs(env, argValue[NUM_2]); in JsModifyImageProperty()
|
/test/xts/acts/graphic/imageNdk/entry/src/main/cpp/ |
H A D | ImageNdk.cpp | 40 const uint32_t NUM_2 = 2; member 160 napi_value argValue[NUM_2] = {0}; in TestScaleWithAntiAliasingAbnormal() 161 size_t argCount = NUM_2; in TestScaleWithAntiAliasingAbnormal() 165 argCount < NUM_2 || argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr) { in TestScaleWithAntiAliasingAbnormal()
|
/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/ |
H A D | image_packer_test.cpp | 38 static constexpr uint32_t NUM_2 = 2;
member 88 case NUM_2: valueColor = B; break;
in SetUpImage() 304 int32_t frameCount = getFrameCount(env, argValue[NUM_2]);
in JsPackToDataMultiFrames() 345 int32_t frameCount = getFrameCount(env, argValue[NUM_2]);
in JsPackToFileMultiFrames()
|
/test/xts/dcts/distributedhardware/distributeddptest/ |
H A D | device_profile_test.cpp | 95 sleep(NUM_2);
in SetUpTestCase()
|