Home
last modified time | relevance | path

Searched refs:result2 (Results 1 - 25 of 46) sorted by relevance

12

/test/xts/acts/multimedia/media/media_js_standard/avplayeraudiondk/entry/src/main/cpp/
H A DAudioPlayerNDK.cpp40 OH_AVErrCode result2 = OH_AVPlayer_Release(player); in PlayerStateSetURLSource() local
43 if (result1 == AV_ERR_OK && result2 == AV_ERR_OK) { in PlayerStateSetURLSource()
56 OH_AVErrCode result2 = OH_AVPlayer_Prepare(player); in PlayerStatePrepare() local
61 if (result1 == AV_ERR_OK && result2 == AV_ERR_OK) { in PlayerStatePrepare()
75 OH_AVErrCode result2 = OH_AVPlayer_Prepare(player); in PlayerStatePlayer() local
81 if (result1 == AV_ERR_OK && result2 == AV_ERR_OK && result3 == AV_ERR_OK) { in PlayerStatePlayer()
95 OH_AVErrCode result2 = OH_AVPlayer_Prepare(player); in PlayerStatePause() local
102 if (result1 == AV_ERR_OK && result2 == AV_ERR_OK && result3 == AV_ERR_OK && result4 == AV_ERR_OK) { in PlayerStatePause()
116 OH_AVErrCode result2 = OH_AVPlayer_Prepare(player); in PlayerStateStop() local
121 if (result1 == AV_ERR_OK && result2 in PlayerStateStop()
134 OH_AVErrCode result2 = OH_AVPlayer_Reset(player); PlayerStateReset() local
154 OH_AVErrCode result2 = OH_AVPlayer_Prepare(player); PlayerStateSetvolume() local
174 OH_AVErrCode result2 = OH_AVPlayer_Prepare(player); PlayerStateSeek() local
195 OH_AVErrCode result2 = OH_AVPlayer_Prepare(player); PlayerStateGetCurrentTime() local
239 OH_AVErrCode result2 = OH_AVPlayer_Prepare(player); PlayerStateGetSpeed() local
306 bool result2 = OH_AVPlayer_IsLooping(player); PlayerStateLoop() local
[all...]
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
H A DTaskpoolSingleTaskTest.cpp281 BOOL result2 = SAMGR_GetInstance()->RegisterFeature(g_service[i].GetName((Service *)&g_service[i]), in GFeatureInit() local
285 if (result1 == FALSE || result2 == FALSE || result3 == FALSE) { in GFeatureInit()
376 int32 result2 = demoApi->SendRequestProxyF(&(g_feature.identity), &request, nullptr); in HWTEST_F() local
377 ASSERT_EQ(result2 == 0, TRUE); in HWTEST_F()
400 result2 = defaultApi->SendRequestProxyDF(&(g_service[0].identity), &request2, nullptr); in HWTEST_F()
401 ASSERT_EQ(result2 == 0, TRUE); in HWTEST_F()
432 int32 result2 = demoApi->SendRequestProxyF(&(g_feature.identity), &request, nullptr); in HWTEST_F() local
433 ASSERT_EQ(result2 == 0, TRUE); in HWTEST_F()
455 result2 = defaultApi->SendRequestProxyDF(&(g_service[1].identity), &request2, nullptr); in HWTEST_F()
456 ASSERT_EQ(result2 in HWTEST_F()
487 int32 result2 = demoApi->SendRequestProxyF(&(g_feature.identity), &request, nullptr); HWTEST_F() local
542 int32 result2 = demoApi->SendRequestProxyF(&(g_feature.identity), &request, nullptr); HWTEST_F() local
[all...]
H A DTaskpoolSharedTaskTest.cpp324 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature[0].identity), &request, nullptr); in HWTEST_F() local
325 ASSERT_EQ(result2 == 0, TRUE); in HWTEST_F()
348 result2 = defaultApi->SendRequestProxyDF(&(g_createService[0].identity), &request2, nullptr); in HWTEST_F()
349 ASSERT_EQ(result2 == 0, TRUE); in HWTEST_F()
380 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature[1].identity), &request, nullptr); in HWTEST_F() local
381 ASSERT_EQ(result2 == 0, TRUE); in HWTEST_F()
404 result2 = defaultApi->SendRequestProxyDF(&(g_createService[1].identity), &request2, nullptr); in HWTEST_F()
405 ASSERT_EQ(result2 == 0, TRUE); in HWTEST_F()
H A DTaskpoolSpecifiedTaskTest.cpp293 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, nullptr); in HWTEST_F() local
294 ASSERT_EQ(result2 == 0, TRUE); in HWTEST_F()
317 result2 = defaultApi->SendRequestProxyDF(&(g_createService[0].identity), &request2, nullptr); in HWTEST_F()
318 ASSERT_EQ(result2 == 0, TRUE); in HWTEST_F()
349 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, nullptr); in HWTEST_F() local
350 ASSERT_EQ(result2 == 0, TRUE); in HWTEST_F()
373 result2 = defaultApi->SendRequestProxyDF(&(g_createService[0].identity), &request2, nullptr); in HWTEST_F()
374 ASSERT_EQ(result2 == 0, TRUE); in HWTEST_F()
H A DLiteIPCServiceTest.cpp126 BOOL result2 = SAMGR_GetInstance()->RegisterService((Service *)&g_service2); in ServiceInit() local
130 if (result2 == FALSE) { in ServiceInit()
142 BOOL result2 = SAMGR_GetInstance()->RegisterDefaultFeatureApi(SERVICE_NAME, GET_IUNKNOWN(g_service2)); in FeatureInit() local
143 if (result2 == FALSE) { in FeatureInit()
H A DTaskpoolNoTaskTest.cpp156 BOOL result2 = SAMGR_GetInstance()->RegisterFeature("Service_NoTask", (Feature *)&g_createFeature); in GFeatureInit() local
159 if (result1 != TRUE || result2 != TRUE || result3 != TRUE) { in GFeatureInit()
160 printf("[hcpptest]error register feature or api fail <%d, %d, %d> \n", result1, result2, result3); in GFeatureInit()
H A DIUnknownTest.cpp138 BOOL result2 = SAMGR_GetInstance()->RegisterFeature(SERVICE_NAME, (Feature *)&g_feature); in SetUp() local
139 if (result1 == FALSE && result2 == FALSE) { in SetUp()
H A DSendRequestTest.cpp261 BOOL result2 = SAMGR_GetInstance()->RegisterService((Service *)&g_service2); in GServiceInit() local
262 if (result == FALSE || result2 == FALSE) { in GServiceInit()
272 BOOL result2 = SAMGR_GetInstance()->RegisterFeatureApi(S_SERVICE, S_FEATURE, in GFeatureInit() local
278 if (result1 == FALSE || result2 == FALSE || result3 == FALSE || result4 == FALSE) { in GFeatureInit()
H A DFeatureTest.cpp222 BOOL result2 = SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature2); in HWTEST_F() local
223 ASSERT_EQ(result2, TRUE); in HWTEST_F()
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
H A Dtaskpool_singletask_func_test.c277 BOOL result2 = SAMGR_GetInstance()->RegisterFeature(g_service[i].GetName((Service *)&g_service[i]), in FeatureInit() local
281 if (result1 == FALSE || result2 == FALSE || result3 == FALSE) { in FeatureInit()
362 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, NULL); variable
363 TEST_ASSERT_EQUAL_INT(result2 == 0, TRUE);
386 result2 = defaultApi->SendRequestProxyDF(&(g_service[0].identity), &request2, NULL);
387 TEST_ASSERT_EQUAL_INT(result2 == 0, TRUE);
418 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, NULL); variable
419 TEST_ASSERT_EQUAL_INT(result2 == 0, TRUE);
441 result2 = defaultApi->SendRequestProxyDF(&(g_service[1].identity), &request2, NULL);
442 TEST_ASSERT_EQUAL_INT(result2
473 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, NULL); global() variable
528 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, NULL); global() variable
[all...]
H A Dtaskpool_sharedtask_func_test.c316 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature[0].identity), &request, NULL); variable
317 TEST_ASSERT_EQUAL_INT(result2 == 0, TRUE);
338 result2 = defaultApi->SendRequestProxyDF(&(g_service[0].identity), &request2, NULL);
339 TEST_ASSERT_EQUAL_INT(result2 == 0, TRUE);
367 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature[1].identity), &request, NULL); variable
368 TEST_ASSERT_EQUAL_INT(result2 == 0, TRUE);
389 result2 = defaultApi->SendRequestProxyDF(&(g_service[1].identity), &request2, NULL);
390 TEST_ASSERT_EQUAL_INT(result2 == 0, TRUE);
H A Dtaskpool_specifiedtask_func_test.c286 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, NULL); variable
287 TEST_ASSERT_EQUAL_INT(result2 == 0, TRUE);
308 result2 = defaultApi->SendRequestProxyDF(&(g_service[0].identity), &request2, NULL);
309 TEST_ASSERT_EQUAL_INT(result2 == 0, TRUE);
337 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, NULL); variable
338 TEST_ASSERT_EQUAL_INT(result2 == 0, TRUE);
359 result2 = defaultApi->SendRequestProxyDF(&(g_service[0].identity), &request2, NULL);
360 TEST_ASSERT_EQUAL_INT(result2 == 0, TRUE);
H A Dtaskpool_notask_func_test.c156 BOOL result2 = SAMGR_GetInstance()->RegisterFeature("Service_NoTask", (Feature *)&g_createFeature); in FeatureInit() local
159 if (result1 == FALSE || result2 == FALSE || result3 == FALSE) { in FeatureInit()
H A Diunknown_func_test.c128 BOOL result2 = SAMGR_GetInstance()->RegisterFeature(SERVICE_NAME, (Feature *)&g_feature); in IUnknownTestSuiteSetUp() local
129 if (result1 == TRUE && result2 == TRUE) { in IUnknownTestSuiteSetUp()
H A Dfeature_func_test.c219 BOOL result2 = SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature2); variable
220 TEST_ASSERT_EQUAL_INT(result2, TRUE);
/test/xts/acts/graphic/nativeimage/entry/src/main/cpp/
H A Dnativeimage.cpp558 napi_value result2 = nullptr; in OHNativeImageAttachContextNullptr() local
569 napi_create_int32(env, FAIL, &result2); in OHNativeImageAttachContextNullptr()
571 napi_create_int32(env, SUCCESS, &result2); in OHNativeImageAttachContextNullptr()
573 napi_set_element(env, result, ARR_NUMBER_1, result2); in OHNativeImageAttachContextNullptr()
604 napi_value result2 = nullptr; in OHNativeImageAttachContextNormal() local
615 napi_create_int32(env, SUCCESS, &result2); in OHNativeImageAttachContextNormal()
617 napi_create_int32(env, FAIL, &result2); in OHNativeImageAttachContextNormal()
619 napi_set_element(env, result, ARR_NUMBER_1, result2); in OHNativeImageAttachContextNormal()
634 napi_value result2 = nullptr; in OHNativeImageDetachContextNormal() local
646 napi_create_int32(env, SUCCESS, &result2); in OHNativeImageDetachContextNormal()
670 napi_value result2 = nullptr; OHNativeImageGetSurfaceIdNullptr() local
743 napi_value result2 = nullptr; OHNativeImageGetTransformMatrixNullptr() local
771 napi_value result2 = nullptr; OHNativeImageGetTransformMatrixV2Nullptr() local
816 napi_value result2 = nullptr; OHNativeImageGetTimestampNormal() local
882 napi_value result2 = nullptr; OHNativeImageGetTransformMatrixNormal() local
916 napi_value result2 = nullptr; OHNativeImageGetTransformMatrixV2Normal() local
994 napi_value result2 = nullptr; OHNativeImageSetOnFrameAvailableListenerNormal() local
1050 napi_value result2 = nullptr; OHNativeImageUnsetOnFrameAvailableListenerNormal() local
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/drag/
H A DdragAction_createDragAction.cpp54 auto result2 = OH_ArkUI_CreateDragActionWithContext(context); in OnEventReceive() local
55 OH_LOG_Print(LOG_APP, LOG_INFO, LOG_PRINT_DOMAIN, "dragAction_createDragAction", "result:%{public}p", result2); in OnEventReceive()
58 if (result != nullptr && result2 != nullptr && startDragReturnValue != INVALID_PARAM) { in OnEventReceive()
64 OH_ArkUI_DragAction_Dispose(result2); in OnEventReceive()
/test/xts/acts/multimedia/audio/audio_cpp_standard/openslesPlayerNdk/
H A DActsOpenslesPlayerNdkTest.cpp531 SLresult result2 = (*engineEngine)->CreateVibraDevice(engineEngine, nullptr, 0, 0, nullptr, nullptr); in HWTEST_F() local
532 ASSERT_EQ(SL_RESULT_FEATURE_UNSUPPORTED, result2); in HWTEST_F()
579 SLresult result2 = (*engineObject_)->SetPriority(engineObject_, 0, SL_BOOLEAN_FALSE); in HWTEST_F() local
580 EXPECT_TRUE(result2 == SL_RESULT_FEATURE_UNSUPPORTED); in HWTEST_F()
634 SLresult result2 = (*playItf)->GetPositionUpdatePeriod(playItf, nullptr); in HWTEST_F() local
635 EXPECT_TRUE(result2 == SL_RESULT_FEATURE_UNSUPPORTED); in HWTEST_F()
707 SLresult result2 = (*volumeItf)->GetMute(volumeItf, nullptr); in HWTEST_F() local
708 EXPECT_TRUE(result2 == SL_RESULT_FEATURE_UNSUPPORTED); in HWTEST_F()
/test/xts/acts/commonlibrary/ets_utils/util_lib_standard/entry/src/ohosTest/js/test/
H A Dutil.test.js1898 let result2 = that.encode(null)
1899 expect(result2).assertEqual(undefined)
2050 let result2 = that.encodeInto(null)
2051 expect(result2).assertEqual(undefined)
5078 let result2 = that.get('abcd')
5081 expect(result2).assertEqual(15)
5099 let result2 = that.get(20)
5103 expect(result2).assertEqual('cdjcaxb')
5123 let result2 = that.get(20)
5127 expect(result2)
[all...]
/test/xts/acts/graphic/graphicEffectFliterTest/
H A DNativeDisplaySoloistTest.cpp118 int32_t result2 = OH_DisplaySoloist_SetExpectedFrameRateRange(nativeDisplaySoloist, nullptr); in HWTEST_F() local
119 EXPECT_EQ(SOLOIST_ERROR, result2); in HWTEST_F()
/test/xts/acts/multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/
H A DnativeAVScreenCapturendk.cpp118 OH_AVSCREEN_CAPTURE_ErrCode result2 = OH_AVScreenCapture_StartScreenCapture(screenCapture); in NormalAVScreenCaptureTest() local
149 OH_AVSCREEN_CAPTURE_ErrCode result2 = OH_AVScreenCapture_StartScreenRecording(screenCapture); in NormalAVScreenRecordTest() local
252 int result2 = OH_VideoEncoder_Configure(g_videoEnc, format); in NormalAVScreenCaptureSurfaceTest() local
476 OH_AVSCREEN_CAPTURE_ErrCode result2 = OH_AVScreenCapture_StartScreenCapture(screenCapture); in OriginAVScreenCaptureTest() local
487 OH_LOG_INFO(LOG_APP, "init/start/stop failed, init: %d, start: %d", result1, result2); in OriginAVScreenCaptureTest()
/test/xts/acts/graphic/nativevsync/entry/src/main/cpp/
H A Dnativevsync.cpp188 napi_value result2 = nullptr; in OHNativeVSyncCreateNormal() local
198 napi_create_int32(env, FAIL, &result2); in OHNativeVSyncCreateNormal()
200 napi_create_int32(env, SUCCESS, &result2); in OHNativeVSyncCreateNormal()
203 napi_set_element(env, result, 1, result2); in OHNativeVSyncCreateNormal()
/test/xts/hats/distributedhardware/distributedcameratest/
H A Ddcameraprovidercase.cpp71 DCameraSettings result2; member
188 result2.type_ = ENABLE_METADATA; in HWTEST_F()
189 result2.value_ = "SettingValue"; in HWTEST_F()
190 int32_t ret = cameraProvider.OnSettingsResult(dhBase, result2); in HWTEST_F()
/test/xts/acts/location/geolocation_standard/entry/src/ohosTest/js/test/
H A DGetCountryCodeM.test.js40 let result2 = geolocationm.isLocationEnabled();
41 console.info('[lbs_js] check LocationSwitchState result: ' + JSON.stringify(result2));
/test/xts/acts/communication/btmanager_switchoff/entry/src/ohosTest/ets/test/
H A DbtManagerSwitchOff003.test.js889 let result2= bluetoothManager.disableBluetooth();
891 console.info('[bluetooth_js]disable result1'+ JSON.stringify(result2));
968 let result2= bluetooth.disableBluetooth();
970 console.info('[bluetooth_js]disable result1'+ JSON.stringify(result2));
971 expect(result2).assertFalse();

Completed in 22 milliseconds

12