Home
last modified time | relevance | path

Searched defs:res (Results 1 – 25 of 139) sorted by relevance

123456

/test/xts/dcts/distributedhardware/distributedscreentest/
Ddsreen_automat_test.cpp90 int res = SaTest(); variable
108 int res = SaTest(); variable
126 int res = SaTest(); variable
144 int res = SaTest(); variable
162 int res = SaTest(); variable
180 int res = SaTest(); variable
198 int res = SaTest(); variable
215 int res = SaTest(); variable
234 int res = SaTest(); variable
253 int res = SaTest(); variable
[all …]
/test/xts/acts/distributeddatamgr/UDMFtest/UDMFndktestHvigor/entry/src/main/cpp/
Dconetform_ndk_test.cpp38 std::string res = std::string(OH_UdsContentForm_GetType(contentForm)); in OH_UdsContentForm_GetType_001() local
47 auto res = OH_UdsContentForm_GetType(nullptr); in OH_UdsContentForm_GetType_002() local
57 int res = OH_UdsContentForm_SetThumbData(contentForm, thumbData, thumbDataLength); in OH_UdsContentForm_SetThumbData_001() local
66 auto res = OH_UdsContentForm_SetThumbData(contentForm, nullptr, 0); in OH_UdsContentForm_SetThumbData_002() local
76 auto res = OH_UdsContentForm_SetThumbData(nullptr, thumbData, 0); in OH_UdsContentForm_SetThumbData_003() local
84 auto res = OH_UdsContentForm_SetThumbData(nullptr, nullptr, 0); in OH_UdsContentForm_SetThumbData_004() local
93 auto res = OH_UdsContentForm_SetThumbData(contentForm, thumbData, 0); in OH_UdsContentForm_SetThumbData_005() local
108 auto res = OH_UdsContentForm_GetThumbData(contentForm, &readThumbData, &thumbDataLen); in OH_UdsContentForm_GetThumbData_001() local
120 auto res = OH_UdsContentForm_GetThumbData(contentForm, &readThumbData, &thumbDataLen); in OH_UdsContentForm_GetThumbData_002() local
129 auto res = OH_UdsContentForm_GetThumbData(nullptr, nullptr, &thumbDataLen); in OH_UdsContentForm_GetThumbData_003() local
[all …]
/test/xts/acts/multimedia/audio/audio_js_standard/audio_ndk_test/entry/src/main/cpp/
DaudioTest.cpp216 napi_value res; in CreateAudioStreamBuilder() local
239 napi_value res; in AudioCaptureGenerate() local
256 napi_value res; in AudioWorkGroup() local
272 napi_value res; in AudioCaptureGenerateErr() local
288 napi_value res; in AudioCaptureStart() local
304 napi_value res; in AudioCaptureStartErr() local
319 napi_value res; in AudioCapturePause() local
334 napi_value res; in AudioCapturePauseErr() local
349 napi_value res; in AudioCaptureStop() local
363 napi_value res; in AudioCaptureStopErr() local
[all …]
/test/xts/acts/commonlibrary/memory_utils/libpurgeablemem/entry/src/main/cpp/
Dmemory.cpp56 OH_PurgeableMemory *res = OH_PurgeableMemory_Create(DATASIZE, FactorialFunc, &g_pData); in CreateOne() local
66 OH_PurgeableMemory *res = OH_PurgeableMemory_Create(DATASIZENULL, FactorialFunc, &g_pData); in CreateTwo() local
76 OH_PurgeableMemory *res = OH_PurgeableMemory_Create(DATASIZE, FactorialFunc, &g_pData); in DestroyOne() local
87 OH_PurgeableMemory *res = OH_PurgeableMemory_Create(DATASIZE, FactorialFunc, &g_pData); in DestroyTwo() local
101 OH_PurgeableMemory *res = nullptr; in DestroyThree() local
111 OH_PurgeableMemory *res = OH_PurgeableMemory_Create(DATASIZE, FactorialFunc, &g_pData); in BeginReadOne() local
126 OH_PurgeableMemory *res = OH_PurgeableMemory_Create(DATASIZE, FactorialFunc, &g_pData); in BeginReadTwo() local
139 OH_PurgeableMemory *res = OH_PurgeableMemory_Create(DATASIZE, FactorialFunc, &g_pData); in EndRead() local
153 OH_PurgeableMemory *res = OH_PurgeableMemory_Create(DATASIZE, FactorialFunc, &g_pData); in BeginWriteOne() local
168 OH_PurgeableMemory *res = OH_PurgeableMemory_Create(DATASIZE, FactorialFunc, &g_pData); in BeginWriteTwo() local
[all …]
/test/xts/acts/graphic/graphics2DTestApi20/entry/src/main/cpp/
DExternalWindowTest.cpp81 …int32_t res = OH_NativeWindow_NativeWindowSetScalingMode(nullptr, sequence, OH_SCALING_MODE_SCALE_… in testOHScalingModeToWindow() local
94 …int32_t res = OH_NativeWindow_NativeWindowSetScalingMode(nullptr, sequence, OH_SCALING_MODE_SCALE_… in testOHScalingModeCrop() local
106 …int32_t res = OH_NativeWindow_NativeWindowSetScalingMode(nullptr, sequence, OH_SCALING_MODE_NO_SCA… in testOHScalingModeNoCrop() local
119 …int32_t res = OH_NativeWindow_NativeWindowSetMetaData(nullptr, sequence, sizeof(metaData), metaDat… in testOhMetakeyRedPrimaryY() local
132 …int32_t res = OH_NativeWindow_NativeWindowSetMetaData(nullptr, sequence, sizeof(metaData), metaDat… in testOhMetakeyGreenPrimaryX() local
145 …int32_t res = OH_NativeWindow_NativeWindowSetMetaData(nullptr, sequence, sizeof(metaData), metaDat… in testOhMetakeyGreenPrimaryY() local
158 …int32_t res = OH_NativeWindow_NativeWindowSetMetaData(nullptr, sequence, sizeof(metaData), metaDat… in testOhMetakeyBluePrimaryX() local
171 …int32_t res = OH_NativeWindow_NativeWindowSetMetaData(nullptr, sequence, sizeof(metaData), metaDat… in testOhMetakeyBluePrimaryY() local
184 …int32_t res = OH_NativeWindow_NativeWindowSetMetaData(nullptr, sequence, sizeof(metaData), metaDat… in testOhMetakeyWhitePrimaryX() local
197 …int32_t res = OH_NativeWindow_NativeWindowSetMetaData(nullptr, sequence, sizeof(metaData), metaDat… in testOhMetakeyWhitePrimaryY() local
[all …]
DVSyncFenceTest.cpp55 int32_t res = OH_NativeVSync_RequestFrame(nativeVsync, callback, data); in OH_NativeVSync_RequestFrameSuccess() local
66 int32_t res = OH_NativeVSync_RequestFrame(nativeVsync, callback, data); in OH_NativeVSync_RequestFrameInvalue() local
75 bool res = OH_NativeFence_IsValid(1); in OH_NativeFence_IsValidTrue() local
84 bool res = OH_NativeFence_IsValid(fenceFd); in OH_NativeFence_IsValidFalse() local
94 bool res = OH_NativeFence_Wait(fenceFd, TIMEOUT_MS); in OH_NativeFence_WaitTrue() local
104 bool res = OH_NativeFence_Wait(fenceFd, TIMEOUT_MS); in OH_NativeFence_WaitFalse() local
114 bool res = OH_NativeFence_WaitForever(fenceFd); in OH_NativeFence_WaitForeverTrue() local
124 bool res = OH_NativeFence_WaitForever(fenceFd); in OH_NativeFence_WaitForeverFalse() local
DNativeBufferTest.cpp86 int32_t res = OH_NativeWindow_SetColorSpace(nativeWindow, OH_COLORSPACE_BT601_EBU_FULL); in testNativeBufferEBUFULL() local
97 int32_t res = OH_NativeWindow_SetColorSpace(nativeWindow, OH_COLORSPACE_BT601_SMPTE_C_FULL); in testNativeBufferSMPTECFULL() local
108 int32_t res = OH_NativeWindow_SetColorSpace(nativeWindow, OH_COLORSPACE_BT601_EBU_LIMIT); in testNativeBufferEBULIMIT() local
119 int32_t res = OH_NativeWindow_SetColorSpace(nativeWindow, OH_COLORSPACE_BT601_SMPTE_C_LIMIT); in testNativeBufferSMPTECLIMIT() local
130 int32_t res = OH_NativeWindow_SetColorSpace(nativeWindow, OH_COLORSPACE_ADOBERGB_FULL); in testNativeBufferADOBERGBFULL() local
141 int32_t res = OH_NativeWindow_SetColorSpace(nativeWindow, OH_COLORSPACE_LINEAR_SRGB); in testNativeLINEARSRGB() local
152 int32_t res = OH_NativeWindow_SetColorSpace(nativeWindow, OH_COLORSPACE_LINEAR_BT709); in testNativeBufferLINEARBT709() local
163 int32_t res = OH_NativeWindow_SetColorSpace(nativeWindow, OH_COLORSPACE_LINEAR_P3); in testNativeLINEARP3() local
174 int32_t res = OH_NativeWindow_SetColorSpace(nativeWindow, OH_COLORSPACE_LINEAR_BT2020); in testNativeBufferLINEARBT2020() local
185 int32_t res = OH_NativeWindow_SetColorSpace(nativeWindow, OH_COLORSPACE_DISPLAY_SRGB); in testNativeBufferDISPLAYSRGB() local
[all …]
DErrorCodeTest.cpp86 int32_t res = OH_NativeBuffer_Unmap(buffer); in OH_Drawing_BufferErrorCodeOK() local
95 int32_t res = OH_NativeBuffer_GetColorSpace(nullptr, &colorSpace); in OH_OHNativeErrorCodeBufferInvalid() local
112 int32_t res = OH_NativeBuffer_SetMetadataValue(buffer, OH_HDR_STATIC_METADATA, size, metadata); in OH_OHNativeErrorCodeBufferSupport() local
129 int32_t res = OH_NativeBuffer_MapPlanes(buffer, &virAddr, &outPlanes); in OH_Drawing_BufferHDIError() local
138 int32_t res = OH_ConsumerSurface_SetDefaultUsage(pimg, 800000000000); in OH_OHNativeErrorCodeImageSupport() local
161 int32_t res = OH_NativeVSync_RequestFrame(nativeVsync, callback, data); in OH_OHNativeErrorCodeVSyncOk() local
172 int32_t res = OH_NativeVSync_RequestFrame(nativeVsync, callback, data); in OH_OHNativeErrorCodeVSyncInvalid() local
187 … int32_t res = OH_NativeWindow_GetMetadataValue(winNative, OH_HDR_METADATA_TYPE, &size, &metadata); in OH_OHNativeErrorCodeWindowOk() local
199 int32_t res = OH_NativeWindow_CleanCache(winNative); in OH_OHNativeErrorCodeWindowConsumerDisConnected() local
207 int32_t res = OH_NativeWindow_WriteToParcel(nullptr, nullptr); in OH_OHNativeErrorCodeWindowInvalid() local
/test/xts/acts/multimedia/media/media_js_standard/AVRecorderNDK/entry/src/main/cpp/
Davrecorder_ndk_test.cpp95 napi_value res; in createAVRecorder() local
106 napi_value res; in setPreviewSurfaceId() local
112 static bool GetInt32Property(napi_env env, napi_value root, const char *utf8name, int32_t *res) in GetInt32Property()
331 napi_value res; in prepareAVRecorder() local
356 napi_value res; in createPrepareAVRecorder() local
366 napi_value res; in startAVRecorder() local
376 napi_value res; in pauseAVRecorder() local
386 napi_value res; in resumeAVRecorder() local
396 napi_value res; in stopAVRecorder() local
406 napi_value res; in resetAVRecorder() local
[all …]
/test/xts/acts/multimedia/media/media_js_standard/avplayeraudiondk/entry/src/main/cpp/
DAudioPlayerNDK.cpp41 napi_value res; in PlayerStateSetURLSource() local
59 napi_value res; in PlayerStatePrepare() local
79 napi_value res; in PlayerStatePlayer() local
100 napi_value res; in PlayerStatePause() local
119 napi_value res; in PlayerStateStop() local
136 napi_value res; in PlayerStateReset() local
157 napi_value res; in PlayerStateSetvolume() local
179 napi_value res; in PlayerStateSeek() local
200 napi_value res; in PlayerStateGetCurrentTime() local
222 napi_value res; in PlayerStateSetSpeed() local
[all …]
/test/xts/acts/multimedia/media/media_js_standard/AVRecorderVideoNDK/entry/src/main/cpp/
Davrecorder_ndk_test.cpp114 napi_value res; in createAVRecorder() local
125 napi_value res; in setPreviewSurfaceId() local
131 static bool GetInt32Property(napi_env env, napi_value root, const char *utf8name, int32_t *res) in GetInt32Property()
347 napi_value res; in prepareAVRecorder() local
373 napi_value res; in createPrepareAVRecorder() local
383 napi_value res; in startAVRecorder() local
393 napi_value res; in pauseAVRecorder() local
403 napi_value res; in resumeAVRecorder() local
413 napi_value res; in stopAVRecorder() local
423 napi_value res; in resetAVRecorder() local
[all …]
/test/xts/acts/commonlibrary/ets_utils/worker_lib_standard3/entry/src/ohosTest/ets/workers/
Dworker_004.ts22 let res: Object = workerPort.callGlobalCallObjectMethod('myObj', 'getMessage', 0); variable
28 …let res: Object = workerPort.callGlobalCallObjectMethod('myObj', 'getMessageWithInput', 0, 'hello … variable
/test/xts/acts/commonlibrary/ets_utils/worker_lib_standard2/entry/src/ohosTest/ets/workers/
Dworker_004.ts22 let res: Object = workerPort.callGlobalCallObjectMethod('myObj', 'getMessage', 0); variable
28 …let res: Object = workerPort.callGlobalCallObjectMethod('myObj', 'getMessageWithInput', 0, 'hello … variable
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/
Dimage_receiver_mdk_test.cpp69 int32_t res = OH_Image_Receiver_CreateImageReceiver(env, receiverInfo, &receiver); in JsCreateImageReceiver() local
99 int32_t res = OH_Image_Receiver_GetReceivingSurfaceId(native, buf, ID_SIZE); in JsGetReceivingSurfaceId() local
120 int32_t res = OH_Image_Receiver_ReadLatestImage(native, &result); in JsReadLatestImage() local
138 int32_t res = OH_Image_Receiver_ReadNextImage(native, &result); in JsReadNextImage() local
162 int32_t res = OH_Image_Receiver_On(native, OnEvent); in JsOn() local
178 int32_t res = OH_Image_Receiver_Release(native); in JsReceiverRelease() local
209 int32_t res = OH_Image_Receiver_GetSize(native, &size); in JsGetSize() local
230 int32_t res = OH_Image_Receiver_GetCapacity(native, &capacity); in JsGetCapacity() local
248 int32_t res = OH_Image_Receiver_GetFormat(native, &format); in JsGetFormat() local
287 int32_t res = OH_Image_Release(native); in JsImageRelease() local
[all …]
/test/xts/acts/graphic/windowNdk/entry/src/main/cpp/
DwindowNdkTest.cpp70 napi_value res; in filterKeyCode() local
85 napi_value res; in unFilterKeyCode() local
150 auto res = OH_WindowManager_SetWindowStatusBarEnabled(windowId,enabled,enableAnimation); in SetWindowStatusBarEnabled() local
171 auto res = OH_WindowManager_SetWindowNavigationBarEnabled(windowId,enabled,enableAnimation); in SetWindowNavigationBarEnabled() local
189 auto res = OH_WindowManager_SetWindowStatusBarColor(windowId,color); in SetWindowStatusBarColor() local
294 auto res = OH_WindowManager_GetWindowAvoidArea(windowId,avoidAreaType,avoidArea); in GetAvoidAreaByType() local
317 auto res = OH_WindowManager_SetWindowBackgroundColor(windowId,color.c_str()); in SetBackgroundColor() local
334 auto res = OH_WindowManager_SetWindowBrightness(windowId,brightness); in SetBrightness() local
351 auto res = OH_WindowManager_SetWindowKeepScreenOn(windowId,isKeepScreenOn); in SetKeepScreenOn() local
368 auto res = OH_WindowManager_SetWindowPrivacyMode(windowId,isPrivacy); in SetWindowPrivacyMode() local
[all …]
/test/xts/acts/multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/
DnativeAVScreenCapturendk.cpp232 napi_value res; in NormalAVScreenCaptureTest() local
287 napi_value res; in normalAVScreenCaptureTestStop() local
338 napi_value res; in NormalAVScreenRecordTest() local
389 napi_value res; in NormalAVScreenRecordingTest() local
409 napi_value res; in normalAVScreenRecordTestStoping() local
428 napi_value res; in normalAVScreenRecordTestStop() local
508 napi_value res; in normalAVScreenCaptureDisplayCallbackSuccess() local
586 napi_value res; in normalAVScreenCaptureSetDisplayCallbackFail() local
717 napi_value res; in NormalAVScreenCaptureSurfaceTest() local
740 napi_value res; in normalAVScreenCaptureSurfaceTestStop() local
[all …]
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/
Dimage_source_test.cpp71 static bool GetBoolProperty(napi_env env, napi_value root, const char* utf8name, int8_t* res) in GetBoolProperty()
85 static bool GetInt32Property(napi_env env, napi_value root, const char* utf8name, int32_t* res) in GetInt32Property()
96 static bool GetUint32Property(napi_env env, napi_value root, const char* utf8name, uint32_t* res) in GetUint32Property()
262 static napi_value createResultValue(napi_env env, int32_t resCode, napi_value res = nullptr) in createResultValue()
308 int32_t res = OH_ImageSource_Create(env, &src, &ops, &imageSource); in Create() local
341 int32_t res = OH_ImageSource_CreateFromFd(env, fd, &ops, &imageSource); in CreateFromFd() local
373 int32_t res = OH_ImageSource_CreateFromData(env, data, bufferSize, &ops, &imageSource); in CreateFromData() local
396 int32_t res = OH_ImageSource_CreateFromUri(env, uri, uriSize, &ops, &imageSource); in CreateFromUri() local
433 int32_t res = OH_ImageSource_CreateFromRawFile(env, rawFileDescriptor, &ops, &imageSource); in CreateFromRawFile() local
456 int32_t res = OH_ImageSource_CreateIncremental(env, &src, &ops, &imageSource); in CreateIncremental() local
[all …]
/test/xts/acts/notification/ces_standard/actsCommonEventSubscribeNDKTest/entry/src/main/cpp/
Dsubscribe.cpp114 napi_value res = nullptr; in CreateSubscribeInfo() local
127 napi_value res = nullptr; in CreateSubscribeInfo() local
132 napi_value res = nullptr; in CreateSubscribeInfo() local
221 napi_value res = nullptr; in DestroySubscribeInfo() local
231 napi_value res = nullptr; in CreateSubscriber() local
245 napi_value res = nullptr; in DestroySubscriber() local
254 napi_value res = nullptr; in CommonEventSubscribe() local
263 napi_value res = nullptr; in CommonEventUnSubscribe() local
/test/xts/acts/multimedia/image/image_js_standard/imagePixelMapNDK/entry/src/main/cpp/
Dimage_pixel_map_imgndk_test.cpp181 int32_t res = OH_PixelMap_CreatePixelMap(env, createOps, buffer, bufferSize, &pixelmap); in CreatePixelMap() local
204 int32_t res = OH_PixelMap_CreateAlphaPixelMap(env, argValue[NUM_0], &alphaPixelmap); in CreateAlphaPixelMap() local
248 int32_t res = OH_PixelMap_GetBytesNumberPerRow(native, &rowBytes); in GetBytesNumberPerRow() local
268 int32_t res = OH_PixelMap_GetIsEditable(native, &editable); in GetIsEditable() local
288 int32_t res = OH_PixelMap_IsSupportAlpha(native, &supportAlpha); in IsSupportAlpha() local
319 int32_t res = OH_PixelMap_SetAlphaAble(native, alphaAble); in SetAlphaAble() local
335 int32_t res = OH_PixelMap_GetDensity(native, &density); in GetDensity() local
368 int32_t res = OH_PixelMap_SetDensity(native, density); in SetDensity() local
397 int32_t res = OH_PixelMap_SetOpacity(native, static_cast<float>(opacity)); in SetOpacity() local
426 int32_t res = OH_PixelMap_Scale(native, static_cast<float>(x), static_cast<float>(y)); in Scale() local
[all …]
/test/xts/acts/distributeddatamgr/Pasteboardnapitest/entry/src/main/cpp/
Dnapi_init.cpp166 int res = OH_Pasteboard_Subscribe(pasteboard, NOTIFY_LOCAL_DATA_CHANGE, observer); in OH_Pasteboard_Subscribe0100() local
207 int res = OH_Pasteboard_Subscribe(pasteboard, 10, observer); in OH_Pasteboard_Subscribe0400() local
222 int res = OH_Pasteboard_Subscribe(pasteboard, -1, observer); in OH_Pasteboard_Subscribe0500() local
237 int res = OH_Pasteboard_Subscribe(pasteboard, NOTIFY_LOCAL_DATA_CHANGE, nullptr); in OH_Pasteboard_Subscribe0600() local
253 int res = OH_Pasteboard_Unsubscribe(pasteboard, NOTIFY_LOCAL_DATA_CHANGE, observer); in OH_Pasteboard_Unsubcribe0100() local
268 int res = OH_Pasteboard_Unsubscribe(nullptr, NOTIFY_LOCAL_DATA_CHANGE, observer); in OH_Pasteboard_Unsubcribe0200() local
282 int res = OH_Pasteboard_Unsubscribe(pasteboard, 10, observer); in OH_Pasteboard_Unsubcribe0300() local
296 int res = OH_Pasteboard_Unsubscribe(pasteboard, -1, observer); in OH_Pasteboard_Unsubcribe0400() local
310 int res = OH_Pasteboard_Unsubscribe(pasteboard, NOTIFY_LOCAL_DATA_CHANGE, nullptr); in OH_Pasteboard_Unsubcribe0500() local
323 bool res = OH_Pasteboard_IsRemoteData(pasteboard); in OH_Pasteboard_IsRemoteData0100() local
[all …]
/test/xts/acts/resourceschedule/resourceschedule_standard/backgroundtaskmanager_ndk/shorttimetask_ndk/entry/src/main/cpp/
Dshorttimetask_ndk_test.cpp32 …int32_t res = OH_BackgroundTaskManager_RequestSuspendDelay("test", OnCallbackCompleted, &delaySusp… in RequestSuspendDelay() local
46 …int32_t res = OH_BackgroundTaskManager_GetRemainingDelayTime(delaySuspendInfo.requestId, &delayTim… in GetRemainingDelayTime() local
59 int32_t res = OH_BackgroundTaskManager_CancelSuspendDelay(delaySuspendInfo.requestId); in CancelSuspendDelay() local
71 int32_t res = OH_BackgroundTaskManager_GetTransientTaskInfo(&transientTaskInfo); in GetTransientTaskInfo() local
/test/xts/acts/storage/storagefileiojstest/entry/src/ohosTest/js/test/module_fileio/members/
Dopen.test.js60 .then(function (res) { argument
89 .then(function (res) { argument
117 .then(function (res) { argument
145 .then(function (res) { argument
174 .then(function (res) { argument
205 .then(function (res) { argument
236 .then(function (res) { argument
/test/xts/hats/kernel/syscalls/fileio/clockgetres/
DClockGetresApiTest.cpp57 struct timespec res; variable
75 struct timespec res = { 0 }; variable
/test/xts/acts/graphic/nativefence/entry/src/main/cpp/
DNativeFenceTest.cpp41 napi_value res = nullptr; in NativeFenceWaitIs0() local
80 napi_value res = nullptr; in NativeFenceWaitIs500() local
109 napi_value res = nullptr; in NativeFenceWaitIs5000() local
138 napi_value res = nullptr; in NativeFenceWaitKill() local
180 napi_value res = nullptr; in NativeFenceWaitForeverKill() local
/test/xts/acts/notification/ces_standard/actsNotificationCommonEventCAPITest/entry/src/main/cpp/
Dpublish.cpp27 napi_value res = nullptr; in Publish() local
42 napi_value res = nullptr; in PublishWithInfo() local

123456