/test/xts/acts/ai_lite/ai_engine_posix/base/src/aie_client/ |
H A D | AieClientDestroyFunctionTest.cpp | 54 ServiceDeadCb *cb = nullptr; in TestAieClientDestroy() local 55 AIE_NEW(cb, ServiceDeadCb()); in TestAieClientDestroy() 58 int initReturnCode = AieClientInit(configInfo, clientInfo, algorithmInfo, cb); in TestAieClientDestroy() 103 AIE_DELETE(cb); in TestAieClientDestroy() 129 ServiceDeadCb *cb = nullptr; in HWTEST_F() local 130 AIE_NEW(cb, ServiceDeadCb()); in HWTEST_F() 133 int initReturnCode = AieClientInit(configInfo, clientInfo, algorithmInfo, cb); in HWTEST_F() 138 AIE_DELETE(cb); in HWTEST_F()
|
H A D | AieClientSetOptionFunctionTest.cpp | 63 ServiceDeadCb *cb = nullptr; in TestAieClientSetOption() local 64 AIE_NEW(cb, ServiceDeadCb()); in TestAieClientSetOption() 67 int initReturnCode = AieClientInit(configInfo, clientInfo, algorithmInfo, cb); in TestAieClientSetOption() 131 AIE_DELETE(cb); in TestAieClientSetOption() 155 ServiceDeadCb *cb = nullptr; in TestAieClientSetOptionWithoutPrepare() local 156 AIE_NEW(cb, ServiceDeadCb()); in TestAieClientSetOptionWithoutPrepare() 159 int initReturnCode = AieClientInit(configInfo, clientInfo, algorithmInfo, cb); in TestAieClientSetOptionWithoutPrepare() 194 AIE_DELETE(cb); in TestAieClientSetOptionWithoutPrepare()
|
H A D | AieClientAsyncProcessFunctionTest.cpp | 50 * isExpectedAsyncProcessCbNotNull Whether the expected cb of AieClientAsyncProcess is not null or not.
66 ServiceDeadCb *cb = nullptr;
in TestAieClientAsyncProcess() local 67 AIE_NEW(cb, ServiceDeadCb());
in TestAieClientAsyncProcess() 70 int initReturnCode = AieClientInit(configInfo, clientInfo, algorithmInfo, cb);
in TestAieClientAsyncProcess() 107 AIE_DELETE(cb);
in TestAieClientAsyncProcess()
|
H A D | AieClientSyncProcessShareMemoryFunctionTest.cpp | 45 * isExpectedSyncProcessOutputInfoNotNull Whether the expected cb of AieClientSyncProcess is not null or not. 61 ServiceDeadCb *cb = nullptr; in TestAieClientSyncProcess() local 62 AIE_NEW(cb, ServiceDeadCb()); in TestAieClientSyncProcess() 65 int initReturnCode = AieClientInit(configInfo, clientInfo, algorithmInfo, cb); in TestAieClientSyncProcess() 107 AIE_DELETE(cb); in TestAieClientSyncProcess()
|
H A D | AieClientInitFunctionTest.cpp | 59 ServiceDeadCb *cb = nullptr; in TestAieClientInit() local 61 AIE_NEW(cb, ServiceDeadCb()); in TestAieClientInit() 65 int initReturnCode = AieClientInit(configInfo, clientInfo, algorithmInfo, cb); in TestAieClientInit() 75 AIE_DELETE(cb); in TestAieClientInit() 143 * @tc.name : 01. cb=空,调用AieClientInit返回成功
|
H A D | AieClientSyncProcessFunctionTest.cpp | 45 * isExpectedSyncProcessOutputInfoNotNull Whether the expected cb of AieClientSyncProcess is not null or not. 61 ServiceDeadCb *cb = nullptr; in TestAieClientSyncProcess() local 62 AIE_NEW(cb, ServiceDeadCb()); in TestAieClientSyncProcess() 65 int initReturnCode = AieClientInit(configInfo, clientInfo, algorithmInfo, cb); in TestAieClientSyncProcess() 107 AIE_DELETE(cb); in TestAieClientSyncProcess()
|
H A D | AieClientReleaseFunctionTest.cpp | 55 ServiceDeadCb *cb = nullptr; in TestAieClientRelease() local 56 AIE_NEW(cb, ServiceDeadCb()); in TestAieClientRelease() 59 int initReturnCode = AieClientInit(configInfo, clientInfo, algorithmInfo, cb); in TestAieClientRelease() 107 AIE_DELETE(cb); in TestAieClientRelease()
|
H A D | AieClientPrepareFunctionTest.cpp | 43 * isPrepareCbNull Whether the cb input parameter cb of AieClientPrepare is null or not. 61 ServiceDeadCb *cb = nullptr; in TestAieClientPrepare() local 62 AIE_NEW(cb, ServiceDeadCb()); in TestAieClientPrepare() 65 int initReturnCode = AieClientInit(configInfo, clientInfo, algorithmInfo, cb); in TestAieClientPrepare() 114 AIE_DELETE(cb); in TestAieClientPrepare() 122 * @tc.name : 01. algorithmInfo中isAsync=false,inputInfo不为空,cb为空,调用AieClientPrepare返回成功 133 * @tc.name : 02. algorithmInfo中isAsync=false,inputInfo为空,cb为空,调用AieClientPrepare返回成功 144 * @tc.name : 03. algorithmInfo中isAsync=false,inputInfo不为空,cb不为空,调用AieClientPrepare返回成功 155 * @tc.name : 04. algorithmInfo中isAsync=false,inputInfo为空,cb不为空,调用AieClientPrepar [all...] |
/test/xts/acts/useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/ohosTest/js/test/ |
H A D | Execute.test.js | 393 cb: { callback:(result) => {} } 397 cb: { callback:(result) => {} } 401 cb: 0 405 cb: 0 409 cb: null 418 } else if (eventParams[index].cb === 0) { 421 userAuthInstance.on(eventParams[index].type, eventParams[index].cb); 445 cb: { callback:(result) => {} } 449 cb: { callback:(result) => {} } 453 cb [all...] |
/test/xts/acts/multimedia_lite/media_lite_posix/recorder_native/src/ |
H A D | ActsMediaRecorderTest.cpp | 74 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> ();
in HWTEST_F() local 82 retStatus = recInstance->SetRecorderCallback(cb);
in HWTEST_F() 103 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> ();
in HWTEST_F() local 109 retStatus = recInstance->SetRecorderCallback(cb);
in HWTEST_F() 130 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> ();
in HWTEST_F() local 138 retStatus = recInstance->SetRecorderCallback(cb);
in HWTEST_F() 161 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> ();
in HWTEST_F() local 169 retStatus = recInstance->SetRecorderCallback(cb);
in HWTEST_F() 194 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> ();
in HWTEST_F() local 202 retStatus = recInstance->SetRecorderCallback(cb);
in HWTEST_F() 228 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> (); HWTEST_F() local 264 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> (); HWTEST_F() local 295 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> (); HWTEST_F() local 328 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> (); HWTEST_F() local 359 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> (); HWTEST_F() local 392 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> (); HWTEST_F() local 422 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> (); HWTEST_F() local 457 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> (); HWTEST_F() local 491 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> (); HWTEST_F() local 525 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> (); HWTEST_F() local 559 shared_ptr<TestVideoRecorderCallback> cb = std::make_shared<TestVideoRecorderCallback> (); HWTEST_F() local [all...] |
/test/xts/acts/applications/print_fwk/print_xts/entry/src/main/cpp/ |
H A D | ohprint.cpp | 167 Print_PrintDocCallback cb;
in OHPrintStartPrintByNative() local 168 cb.startLayoutWriteCb = OnStartLayoutWrite;
in OHPrintStartPrintByNative() 169 cb.jobStateChangedCb = OnJobStateChanged;
in OHPrintStartPrintByNative() 170 Print_ErrorCode errorCode = OH_Print_StartPrintByNative(printJobName.c_str(), cb, context);
in OHPrintStartPrintByNative()
|
/test/xts/hats/hdf/display/composer/common/ |
H A D | hdi_test_display.cpp | 209 int32_t HdiTestDisplay::RegDisplayVBlankCallback(VBlankCallback cb, void* data) const in RegDisplayVBlankCallback() argument 211 int ret = device_->RegDisplayVBlankCallback(id_, cb, data); in RegDisplayVBlankCallback()
|
H A D | hdi_test_display.h | 45 int32_t RegDisplayVBlankCallback(VBlankCallback cb, void* data) const;
|
/test/xts/acts/multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/ |
H A D | nativeAVScreenCapturendk.cpp | 447 void SetScreenCaptureCallback(OH_AVScreenCapture *screenCapture, std::shared_ptr<ScreenCaptureNdkTestCallback> &cb) in SetScreenCaptureCallback() argument 449 if (cb != nullptr) { in SetScreenCaptureCallback() 451 mockCbMap_[screenCapture] = cb; in SetScreenCaptureCallback()
|
/test/xts/acts/commonlibrary/ets_utils/util_lib_standard/entry/src/ohosTest/js/test/ |
H A D | util.test.js | 528 const thrower = util.promiseWrapper(function(a, b, c, cb) { 554 const a = util.promiseWrapper((cb) => cb(err))(); 586 const fn = util.promiseWrapper(function(cb) { 587 cb(null, "success"); 588 cb(err); 642 let cb = util.callbackWrapper(promiseFn); 646 cb((err, ret) => { 671 let cb = util.callbackWrapper(promiseFn); 675 cb((er [all...] |
/test/xts/acts/multimedia/media/media_js_standard/avPlayerNdk/entry/src/main/cpp/ |
H A D | avplayerndk.cpp | 1553 AVPlayerCallback cb = { &AVPlayerOnInfo, &AVPlayerOnError };
in OhAvPlayerSetPlayerCallback() local 1554 OH_AVErrCode errCode = OH_AVPlayer_SetPlayerCallback(player, cb);
in OhAvPlayerSetPlayerCallback() 1567 AVPlayerCallback cb = { nullptr, nullptr };
in OhAvPlayerSetPlayerCallbackAbnormalOne() local 1568 OH_AVErrCode errCode = OH_AVPlayer_SetPlayerCallback(nullptr, cb);
in OhAvPlayerSetPlayerCallbackAbnormalOne() 1580 AVPlayerCallback cb = { &AVPlayerOnInfo, &AVPlayerOnError };
in OhAvPlayerSetPlayerCallbackAbnormalTwo() local 1581 OH_AVErrCode errCode = OH_AVPlayer_SetPlayerCallback(nullptr, cb);
in OhAvPlayerSetPlayerCallbackAbnormalTwo() 1592 AVPlayerCallback cb = { nullptr, nullptr };
in OhAvPlayerSetPlayerCallbackAbnormalThree() local 1594 OH_AVErrCode errCode = OH_AVPlayer_SetPlayerCallback(player, cb);
in OhAvPlayerSetPlayerCallbackAbnormalThree()
|
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/ |
H A D | jsvm_utils.cpp | 555 static JSVM_CallbackStruct cb = {MyConsoleLog, NULL}; in InstallMyConsoleLog() local 557 JSVMTEST_CALL(OH_JSVM_CreateFunction(env, "log", JSVM_AUTO_LENGTH, &cb, &log)); in InstallMyConsoleLog()
|
/test/xts/acts/multimedia_lite/media_lite_posix/player_native/src/ |
H A D | ActsMediaPlayerVideoTest.cpp | 154 std::shared_ptr<PlayerCallback> cb;
in HWTEST_F() local 155 g_tagTestSample.adaptr->SetPlayerCallback(cb);
in HWTEST_F()
|
/test/xts/hats/hdf/external_device_manager/bus_extension_usb/include/ |
H A D | usb_impl_mock.h | 93 MOCK_METHOD3(RegBulkCallback, int32_t(const UsbDev &dev, const UsbPipe &pipe, const sptr<IUsbdBulkCallback> &cb));
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | otherstestndk.cpp | 723 struct __ptcb cb;
in Pthreadcleanuppop() local 724 _pthread_cleanup_push(&cb, nullptr, nullptr);
in Pthreadcleanuppop() 725 _pthread_cleanup_pop(&cb, PARAM_0);
in Pthreadcleanuppop() 733 struct __ptcb cb;
in Pthreadcleanuppush() local 735 _pthread_cleanup_push(&cb, nullptr, nullptr);
in Pthreadcleanuppush()
|
H A D | stdiondk.cpp | 384 char cb[] = "value is %d and %d.";
in Vasprintf() local 385 int value = vasprintf_0100(cb, PARAM_123, PARAM_321);
in Vasprintf()
|
/test/xts/acts/multimedia/media/media_ndk_standard/AVPlayerNDK/entry/src/main/cpp/ |
H A D | avplayer_ndk_test.cpp | 544 AVPlayerCallback cb = {&AVPlayerOnInfo, &AVPlayerOnError}; in OhAvPlayerSetPlayerCallback() local 545 OH_AVErrCode avErrCode = OH_AVPlayer_SetPlayerCallback(mainPlayer, cb); in OhAvPlayerSetPlayerCallback()
|
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/unittests/ |
H A D | test_wasm.cpp | 660 static JSVM_CallbackStruct cb = {FakeConsoleLog, NULL}; local 662 JSVMTEST_CALL(OH_JSVM_CreateFunction(env, "log", JSVM_AUTO_LENGTH, &cb, &log));
|
/test/xts/acts/arkui/ace_napi_test_es/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 2455 napi_value cb;
in CallJs() local 2456 NAPI_CALL_RETURN_VOID(env, napi_get_reference_value(env, functionRef, &cb));
in CallJs() 2460 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, undefined, cb, 0, nullptr, &ret));
in CallJs()
|
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 2613 napi_value cb; in CallJs() local 2614 NAPI_CALL_RETURN_VOID(env, napi_get_reference_value(env, functionRef, &cb)); in CallJs() 2618 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, undefined, cb, 0, nullptr, &ret)); in CallJs()
|