Home
last modified time | relevance | path

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

1234

/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.cpp103 napi_value res; in CreateAudioStreamBuilder() local
126 napi_value res; in AudioCaptureGenerate() local
142 napi_value res; in AudioCaptureGenerateErr() local
158 napi_value res; in AudioCaptureStart() local
174 napi_value res; in AudioCaptureStartErr() local
189 napi_value res; in AudioCapturePause() local
204 napi_value res; in AudioCapturePauseErr() local
219 napi_value res; in AudioCaptureStop() local
233 napi_value res; in AudioCaptureStopErr() local
248 napi_value res; in AudioCaptureFlush() 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/multimedia/media/media_js_standard/avplayeraudiondk/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/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
Dimage_receiver_mdk_test.cpp90 int32_t res = OH_Image_Receiver_CreateImageReceiver(env, receiverInfo, &receiver); in JsCreateImageReceiver() local
120 int32_t res = OH_Image_Receiver_GetReceivingSurfaceId(native, buf, ID_SIZE); in JsGetReceivingSurfaceId() local
141 int32_t res = OH_Image_Receiver_ReadLatestImage(native, &result); in JsReadLatestImage() local
159 int32_t res = OH_Image_Receiver_ReadNextImage(native, &result); in JsReadNextImage() local
183 int32_t res = OH_Image_Receiver_On(native, OnEvent); in JsOn() local
199 int32_t res = OH_Image_Receiver_Release(native); in JsReceiverRelease() local
230 int32_t res = OH_Image_Receiver_GetSize(native, &size); in JsGetSize() local
251 int32_t res = OH_Image_Receiver_GetCapacity(native, &capacity); in JsGetCapacity() local
269 int32_t res = OH_Image_Receiver_GetFormat(native, &format); in JsGetFormat() local
308 int32_t res = OH_Image_Release(native); in JsImageRelease() local
[all …]
/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/graphic/windowNdk/entry/src/main/cpp/
DwindowNdkTest.cpp63 napi_value res; in filterKeyCode() local
78 napi_value res; in unFilterKeyCode() local
143 auto res = OH_WindowManager_SetWindowStatusBarEnabled(windowId,enabled,enableAnimation); in SetWindowStatusBarEnabled() local
164 auto res = OH_WindowManager_SetWindowNavigationBarEnabled(windowId,enabled,enableAnimation); in SetWindowNavigationBarEnabled() local
182 auto res = OH_WindowManager_SetWindowStatusBarColor(windowId,color); in SetWindowStatusBarColor() local
287 auto res = OH_WindowManager_GetWindowAvoidArea(windowId,avoidAreaType,avoidArea); in GetAvoidAreaByType() local
310 auto res = OH_WindowManager_SetWindowBackgroundColor(windowId,color.c_str()); in SetBackgroundColor() local
327 auto res = OH_WindowManager_SetWindowBrightness(windowId,brightness); in SetBrightness() local
344 auto res = OH_WindowManager_SetWindowKeepScreenOn(windowId,isKeepScreenOn); in SetKeepScreenOn() local
361 auto res = OH_WindowManager_SetWindowPrivacyMode(windowId,isPrivacy); in SetWindowPrivacyMode() 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/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/imageSourceNDK/entry/src/main/cpp/napi/
Dimage_source_test.cpp77 static bool GetBoolProperty(napi_env env, napi_value root, const char* utf8name, int8_t* res) in GetBoolProperty()
91 static bool GetInt32Property(napi_env env, napi_value root, const char* utf8name, int32_t* res) in GetInt32Property()
102 static bool GetUint32Property(napi_env env, napi_value root, const char* utf8name, uint32_t* res) in GetUint32Property()
266 static napi_value createResultValue(napi_env env, int32_t resCode, napi_value res = nullptr) in createResultValue()
302 int32_t res = OH_ImageSource_Create(env, &src, &ops, &imageSource); in Create() local
331 int32_t res = OH_ImageSource_CreateFromFd(env, fd, &ops, &imageSource); in CreateFromFd() local
363 int32_t res = OH_ImageSource_CreateFromData(env, data, bufferSize, &ops, &imageSource); in CreateFromData() local
386 int32_t res = OH_ImageSource_CreateFromUri(env, uri, uriSize, &ops, &imageSource); in CreateFromUri() local
423 int32_t res = OH_ImageSource_CreateFromRawFile(env, rawFileDescriptor, &ops, &imageSource); in CreateFromRawFile() local
446 int32_t res = OH_ImageSource_CreateIncremental(env, &src, &ops, &imageSource); in CreateIncremental() local
[all …]
/test/xts/acts/storage/storagefileiojstest/entry/src/ohosTest/js/test/module_fileio/members/
Dopen.test.js59 .then(function (res) { argument
88 .then(function (res) { argument
116 .then(function (res) { argument
144 .then(function (res) { argument
173 .then(function (res) { argument
204 .then(function (res) { argument
235 .then(function (res) { argument
/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
Dworker_013.ts22 let res: Object = workerPort.callGlobalCallObjectMethod('myObj', 'getMessage', 0); variable
Dworker_012.ts22 let res: Object = workerPort.callGlobalCallObjectMethod('myObj', 'getFunction', 0); variable
Dworker_015.ts22 let res: Object = workerPort.callGlobalCallObjectMethod('myObj', 'testTimeoutFunc', 10); variable
Dworker_014.ts22 let res: Object = workerPort.callGlobalCallObjectMethod('myObj', 'testAsyncFunc', 0); variable
/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
/test/xts/acts/multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/
DnativeAVScreenCapturendk.cpp148 napi_value res; in NormalAVScreenCaptureTest() local
177 napi_value res; in normalAVScreenCaptureTestStop() local
211 napi_value res; in NormalAVScreenRecordTest() local
229 napi_value res; in normalAVScreenRecordTestStop() local
268 napi_value res; in normalAVScreenCaptureDisplayCallbackSuccess() local
309 napi_value res; in normalAVScreenCaptureSetDisplayCallbackFail() local
427 napi_value res; in NormalAVScreenCaptureSurfaceTest() local
445 napi_value res; in normalAVScreenCaptureSurfaceTestStop() local
647 napi_value res; in OriginAVScreenCaptureTest() local
682 napi_value res; in normalAVScreenCaptureShowCursorTest() local
[all …]
/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/
Dimage_packing_test.cpp61 static bool GetInt32Property(napi_env env, napi_value root, const char* utf8name, int32_t* res) in GetInt32Property()
72 static bool GetUint32Property(napi_env env, napi_value root, const char* utf8name, uint32_t* res) in GetUint32Property()
155 static napi_value createResultValue(napi_env env, int32_t resCode, napi_value res = nullptr) in createResultValue()
172 int32_t res = OH_ImagePacker_Create(env, &imagePacker); in Create() local
230 int32_t res = OH_ImagePacker_PackToData(native, in PackToData() local
266 int32_t res = OH_ImagePacker_PackToFile(native, argValue[ARGS_SECOND], &packerOpts, fd); in PackToFile() local
283 int32_t res = OH_ImagePacker_Release(native); in Release() local
/test/xts/acts/graphic/graphicnapitest/
DNativeImageTest.cpp815 int32_t res = OH_NativeWindow_NativeWindowHandleOpt(nativewindow, code, width, height); variable
857 int32_t res = OH_NativeWindow_NativeWindowHandleOpt(nativewindow, code, width, height); variable
899 int32_t res = OH_NativeWindow_NativeWindowHandleOpt(nativewindow, code, width, height); variable
945 int32_t res = OH_NativeWindow_NativeWindowHandleOpt(nativewindow, code, width, height); variable
987 int32_t res = OH_NativeWindow_NativeWindowHandleOpt(nativewindow, code, width, height); variable
1030 int32_t res = OH_NativeWindow_NativeWindowHandleOpt(nativewindow, code, width, height); variable
1073 int32_t res = OH_NativeWindow_NativeWindowHandleOpt(nativewindow, code, width, height); variable
1116 int32_t res = OH_NativeWindow_NativeWindowHandleOpt(nativewindow, code, width, height); variable
1158 int32_t res = OH_NativeWindow_NativeWindowHandleOpt(nativewindow, code, width, height); variable
1197 int32_t res = OH_NativeWindow_NativeWindowHandleOpt(newNativeWindow, code, width, height); variable
[all …]
/test/xts/acts/distributeddatamgr/PasteboardNoPermissionstest/PasteboardNdkNoPermissionsTest/entry/src/main/cpp/
Dnapi_init.cpp56 char** res = OH_Pasteboard_GetMimeTypes(pasteboard, &count); in OH_Pasteboard_GetMimeTypes0100() local
83 char** res = OH_Pasteboard_GetMimeTypes(pasteboard, &count); in OH_Pasteboard_GetMimeTypes0200() local
120 char** res = OH_Pasteboard_GetMimeTypes(pasteboard, &count); in OH_Pasteboard_GetMimeTypes0300() local
/test/xts/acts/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/test/
DThermalControlMgrJs.test.js65 function onSystemLoadChange(res) { argument
92 function onSystemLoadChange(res) { argument
/test/xts/device_attest/services/core/adapter/
Dattest_adapter_os.c44 char* res = AttestStrdup(manufacture); in OsGetManufacture() local
56 char* res = AttestStrdup(productModel); in OsGetProductModel() local
/test/xts/acts/graphic/acts_drawing_native/
DDrawingNativeBitmapTest.cpp566 bool res = OH_Drawing_BitmapReadPixels(cBitmap, &imageInfo1, pixels1, width * 4, 0, 0); variable
676 bool res = OH_Drawing_BitmapReadPixels(cBitmap, &imageInfo1, pixels1, width * 4, 0, 0); variable
731 bool res = OH_Drawing_BitmapReadPixels(bitmap, &imageInfo, pixels, width * 4, 0, 0); variable
763 bool res = OH_Drawing_BitmapReadPixels(nullptr, &imageInfo, pixels, width * 4, 0, 0); variable
823 bool res = OH_Drawing_BitmapReadPixels(bitmap, &imageInfo, pixels, width * 4, 0, 0); variable
877 bool res = OH_Drawing_BitmapReadPixels(bitmap, &imageInfo, pixels, width * 4, 0, 0); variable

1234