Home
last modified time | relevance | path

Searched defs:res (Results 1 – 25 of 90) 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/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/napi/
Dimage_pixel_map_imgndk_test.cpp162 int32_t res = OH_PixelMap_CreatePixelMap(env, createOps, buffer, bufferSize, &pixelmap); in CreatePixelMap() local
184 int32_t res = OH_PixelMap_CreateAlphaPixelMap(env, argValue[NUM_0], &alphaPixelmap); in CreateAlphaPixelMap() local
228 int32_t res = OH_PixelMap_GetBytesNumberPerRow(native, &rowBytes); in GetBytesNumberPerRow() local
248 int32_t res = OH_PixelMap_GetIsEditable(native, &editable); in GetIsEditable() local
268 int32_t res = OH_PixelMap_IsSupportAlpha(native, &supportAlpha); in IsSupportAlpha() local
299 int32_t res = OH_PixelMap_SetAlphaAble(native, alphaAble); in SetAlphaAble() local
315 int32_t res = OH_PixelMap_GetDensity(native, &density); in GetDensity() local
348 int32_t res = OH_PixelMap_SetDensity(native, density); in SetDensity() local
377 int32_t res = OH_PixelMap_SetOpacity(native, static_cast<float>(opacity)); in SetOpacity() local
406 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/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_014.ts22 let res: Object = workerPort.callGlobalCallObjectMethod('myObj', 'testAsyncFunc', 0); variable
Dworker_012.ts22 let res: Object = workerPort.callGlobalCallObjectMethod('myObj', 'getFunction', 0); variable
Dworker_013.ts22 let res: Object = workerPort.callGlobalCallObjectMethod('myObj', 'getMessage', 0); variable
Dworker_015.ts22 let res: Object = workerPort.callGlobalCallObjectMethod('myObj', 'testTimeoutFunc', 10); 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/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/graphic/windowNdk/entry/src/main/cpp/
DwindowNdkTest.cpp45 napi_value res; in filterKeyCode() local
60 napi_value res; in unFilterKeyCode() 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
/test/testfwk/arkxtest/testserver/src/service/
Dtest_server_service.cpp60 bool res = Publish(this); in OnStart() local
173 auto res = samgr->UnloadSystemAbility(TEST_SERVER_SA_ID); in RemoveTestServer() local
/test/xts/acts/telephony/telephonyjstest/netmanager_base/dnsndk/dns_ndk/entry/src/main/cpp/
DdnsNdkTest.cpp59 struct addrinfo *res = nullptr; in GetAddrInfo() local
70 …DnsResolver(const char *host, const char *serv, const struct addrinfo *hint, struct addrinfo **res) in DnsResolver()
/test/xts/acts/multimedia/avcodec/avcodecNdk/entry/src/main/cpp/
Dhello.cpp37 napi_value res; in Test_VideoDecoder_SetDecryptionConfig() local
82 napi_value res; in Test_AVDemuxer_GetMediaKeySystemInfo() local
138 napi_value res; in Test_AVDemuxer_SetMediaKeySystemInfoCallback() local

1234