Home
last modified time | relevance | path

Searched defs:errorCode (Results 1 – 25 of 107) sorted by relevance

12345

/test/xts/acts/telephony/telephone/telephonyNDK20Test/entry/src/main/cpp/
DTelephonyNDK20Test.cpp37 Telephony_RadioResult errorCode = OH_Telephony_GetNetworkState(nullptr); in OH_Telephony_GetNetworkState3() local
47 Telephony_RadioResult errorCode = OH_Telephony_GetNetworkStateForSlot(slotId, nullptr); in OH_Telephony_GetNetworkStateForSlot2() local
56 Telephony_RadioResult errorCode = OH_Telephony_GetNetworkState(nullptr); in TelRadio0101() local
66 Telephony_RadioResult errorCode = OH_Telephony_GetNetworkState(&initState); in TelRegState0100() local
80 Telephony_RadioResult errorCode = OH_Telephony_GetNetworkState(&initState); in TelRegState0101() local
94 Telephony_RadioResult errorCode = OH_Telephony_GetNetworkState(&initState); in TelRegState0102() local
108 Telephony_RadioResult errorCode = OH_Telephony_GetNetworkState(&initState); in TelRegState0103() local
122 Telephony_RadioResult errorCode = OH_Telephony_GetNetworkState(&initState); in TelRadioTechnology0100() local
136 Telephony_RadioResult errorCode = OH_Telephony_GetNetworkState(&initState); in TelRadioTechnology0101() local
150 Telephony_RadioResult errorCode = OH_Telephony_GetNetworkState(&initState); in TelRadioTechnology0102() local
[all …]
/test/xts/acts/graphic/acts_drawing_native/
DDrawingNativePathTestPart3.cpp626 OH_Drawing_ErrorCode errorCode; variable
667 OH_Drawing_ErrorCode errorCode; variable
715 OH_Drawing_ErrorCode errorCode; variable
758 OH_Drawing_ErrorCode errorCode; variable
792 OH_Drawing_ErrorCode errorCode = OH_Drawing_PathSetPath(path, other); variable
821 OH_Drawing_ErrorCode errorCode; variable
853 OH_Drawing_ErrorCode errorCode; variable
883 OH_Drawing_ErrorCode errorCode = OH_Drawing_PathIsEmpty(path, &isEmpty); variable
910 OH_Drawing_ErrorCode errorCode; variable
941 OH_Drawing_ErrorCode errorCode; variable
[all …]
DDrawingNativeFontTestPart2.cpp528 …OH_Drawing_ErrorCode errorCode = OH_Drawing_FontMeasureTextWithBrushOrPen(font, text, strlen(text), variable
532 …OH_Drawing_ErrorCode errorCode = OH_Drawing_FontMeasureTextWithBrushOrPen(font, text, strlen(text), variable
586 …OH_Drawing_ErrorCode errorCode = OH_Drawing_FontMeasureTextWithBrushOrPen(font, text1, strlen(text… variable
688 …OH_Drawing_ErrorCode errorCode = OH_Drawing_FontMeasureTextWithBrushOrPen(font, text, strlen(text), variable
764 OH_Drawing_ErrorCode errorCode = OH_Drawing_FontGetWidthsBounds( variable
910 OH_Drawing_ErrorCode errorCode; variable
943 … OH_Drawing_ErrorCode errorCode = OH_Drawing_FontGetPos(font, glyphs, glyphsCount, point, points); variable
1173 OH_Drawing_ErrorCode errorCode = OH_Drawing_FontGetSpacing(font, &spacing); variable
/test/xts/acts/print/print_xts/entry/src/main/cpp/
Dohscan.cpp28 int32_t errorCode = OH_Scan_Init(); in OHScanInit() local
37 int32_t errorCode = OH_Scan_Init(); in OHScanStartScannerDiscovery() local
47 int32_t errorCode = OH_Scan_Init(); in OHScanOpenScanner() local
57 int32_t errorCode = OH_Scan_Init(); in OHScanCloseScanner() local
67 int32_t errorCode = OH_Scan_Init(); in OHScanGetScannerParameter() local
78 int32_t errorCode = OH_Scan_Init(); in OHScanSetScannerParameter() local
89 int32_t errorCode = OH_Scan_Init(); in OHScanStartScan() local
99 int32_t errorCode = OH_Scan_Init(); in OHScanCancelScan() local
109 int32_t errorCode = OH_Scan_Init(); in OHScanGetPictureScanProgress() local
120 int32_t errorCode = OH_Scan_Init(); in OHScanExit() local
Dohprint.cpp49 Print_ErrorCode errorCode = OH_Print_Init(); in OHPrintInit() local
58 Print_ErrorCode errorCode = OH_Print_Init(); in OHPrintListener() local
69 Print_ErrorCode errorCode = OH_Print_Init(); in OHPrintDiscovery() local
80 Print_ErrorCode errorCode = OH_Print_Init(); in OHPrintConnect() local
92 Print_ErrorCode errorCode = OH_Print_Init(); in OHPrintJob() local
102 Print_ErrorCode errorCode = OH_Print_Init(); in OHPrintList() local
115 Print_ErrorCode errorCode = OH_Print_Init(); in OHPrintInfo() local
128 Print_ErrorCode errorCode = OH_Print_Init(); in OHPrintProperty() local
170 Print_ErrorCode errorCode = OH_Print_StartPrintByNative(printJobName.c_str(), cb, context); in OHPrintStartPrintByNative() local
/test/xts/acts/location/geolocation_capi20_test/entry/src/main/cpp/
DGeoLocationCApi20Test.cpp30 Location_ResultCode errorCode = OH_LocationInfo_GetAdditionalInfo(nullptr, additionalInfo, 0); in OHLocationInfoGetAdditionalInfo() local
78 Location_ResultCode errorCode = OH_LocationInfo_GetAdditionalInfo(location, additionalInfo, 0); in OHLocationInfoGetAdditionalInfo0100() local
88 int32_t errorCode = 0; in OH_LocationRequestConfig_SetUseScene0100() local
93 int32_t errorCode = 1; in OH_LocationRequestConfig_SetUseScene0100() local
104 int32_t errorCode = 0; in OH_LocationRequestConfig_SetUseScene0101() local
109 int32_t errorCode = 1; in OH_LocationRequestConfig_SetUseScene0101() local
120 int32_t errorCode = 0; in OH_LocationRequestConfig_SetUseScene0102() local
125 int32_t errorCode = 1; in OH_LocationRequestConfig_SetUseScene0102() local
136 int32_t errorCode = 0; in OH_LocationRequestConfig_SetPowerConsumptionScene0100() local
141 int32_t errorCode = 1; in OH_LocationRequestConfig_SetPowerConsumptionScene0100() local
[all …]
/test/xts/acts/graphic/graphics2DTestApi20/entry/src/main/cpp/
DCanvasPenTest.cpp97 …OH_Drawing_ErrorCode errorCode = OH_Drawing_CanvasDrawPixelMapRectConstraint(canvas, pixelMap, sr… in OH_Drawing_CanvasDrawPixelMapRectConstraintFail() local
110 OH_Drawing_ErrorCode errorCode = OH_Drawing_CanvasDrawPoint(canvas, point); in OH_Drawing_CanvasDrawPointSuccess() local
122 OH_Drawing_ErrorCode errorCode = OH_Drawing_CanvasDrawPoint(canvas, point); in OH_Drawing_CanvasDrawPointFail() local
132 OH_Drawing_ErrorCode errorCode = OH_Drawing_CanvasDrawColor(canvas, color, BLEND_MODE_CLEAR); in OH_Drawing_CanvasDrawColorSuccess() local
141 OH_Drawing_ErrorCode errorCode = OH_Drawing_CanvasDrawColor(nullptr, color, BLEND_MODE_CLEAR); in OH_Drawing_CanvasDrawColorFail() local
153 …OH_Drawing_ErrorCode errorCode = OH_Drawing_CanvasDrawSingleCharacter(canvas, "test", font, x, y); in OH_Drawing_CanvasDrawSingleCharacterSuccess() local
164 …OH_Drawing_ErrorCode errorCode = OH_Drawing_CanvasDrawSingleCharacter(nullptr, "test", font, x, y… in OH_Drawing_CanvasDrawSingleCharacterFail() local
177 OH_Drawing_ErrorCode errorCode = OH_DRAWING_SUCCESS; in OH_Drawing_CanvasDrawSingleCharacterWithFeaturesSuccess() local
191 OH_Drawing_ErrorCode errorCode = OH_DRAWING_SUCCESS; in OH_Drawing_CanvasDrawSingleCharacterWithFeaturesFail() local
204 OH_Drawing_ErrorCode errorCode = OH_Drawing_CanvasClipRegion(canvas, region, DIFFERENCE); in OH_Drawing_CanvasClipRegionSuccess() local
[all …]
DEffectTest.cpp86 int32_t errorCode = OH_NativeImage_GetTransformMatrixV2(nullptr, matrix); in OH_NativeImage_GetTransformMatrixV2Success() local
97 …int32_t errorCode = OH_NativeImage_AcquireNativeWindowBuffer(image, &nativeWindowBuffer, &fenceFd… in OH_NativeImage_AcquireNativeWindowBufferSuccess() local
105 int32_t errorCode = OH_NativeImage_AcquireNativeWindowBuffer(nullptr, nullptr, nullptr); in OH_NativeImage_AcquireNativeWindowBufferFail() local
113 int32_t errorCode = OH_NativeImage_ReleaseNativeWindowBuffer(nullptr, nullptr, 0); in OH_NativeImage_ReleaseNativeWindowBufferFail() local
124 int32_t errorCode = OH_NativeImage_SetDropBufferMode(image, true); in OH_NativeImage_SetDropBufferModeSuccess() local
DBrushPointRecordTest.cpp161 OH_Drawing_ErrorCode errorCode = OH_Drawing_PointGetX(point, &resx); in OH_Drawing_PointGetXSuccess() local
170 OH_Drawing_ErrorCode errorCode = OH_Drawing_PointGetX(nullptr, &x); in OH_Drawing_PointGetXFail() local
182 OH_Drawing_ErrorCode errorCode = OH_Drawing_PointGetY(point, &resy); in OH_Drawing_PointGetYSuccess() local
191 OH_Drawing_ErrorCode errorCode = OH_Drawing_PointGetX(nullptr, &y); in OH_Drawing_PointGetYFail() local
204 OH_Drawing_ErrorCode errorCode = OH_Drawing_PointSet(point, x2, y2); in OH_Drawing_PointSetSuccess() local
214 OH_Drawing_ErrorCode errorCode = OH_Drawing_PointSet(nullptr, x, y); in OH_Drawing_PointSetFail() local
/test/xts/acts/print/print_errorcode/entry/src/main/cpp/
DActsScanErrorCodeTest.cpp37 int32_t errorCode = OH_Scan_Init(); in OHScanNoError() local
45 int32_t errorCode = OH_Scan_CloseScanner(nullptr); in OHScanInvalidParameter() local
53 int32_t errorCode = OH_Scan_Init(); in OHScanUnSupported() local
62 int32_t errorCode = OH_Scan_StartScan(SCANNER_ID, false); in OHPrintINVALID() local
DActsPrintErrorCodeTest.cpp49 Print_ErrorCode errorCode = OH_Print_Init(); in OHPrintNoError() local
57 Print_ErrorCode errorCode = OH_Print_Init(); in OHPrintInvalidParameter() local
67 Print_ErrorCode errorCode = OH_Print_Init(); in OHPrintGenericFailure() local
78 Print_ErrorCode errorCode = OH_Print_StartPrintJob(nullptr); in OHPrintInvalidPrintJob() local
87 Print_ErrorCode errorCode = OH_Print_ConnectPrinter(TEST_PRINTER); in OHPrintInvalidPrinter() local
/test/xts/acts/graphic/displayNdk/entry/src/main/cpp/
Dnapi_init.cpp60 napi_value errorCode = nullptr; in ThrowError() local
124 napi_value errorCode; in GetDefaultDisplayRotation() local
271 napi_value errorCode; in CreateDefaultDisplayCutoutInfo() local
296 napi_value errorCode; in GetFoldDisplayMode() local
319 napi_value errorCode; in RegisterDisplayChangeListener() local
336 napi_value errorCode; in UnregisterDisplayChangeListener() local
358 napi_value errorCode; in RegisterFoldDisplayModeChangeListener() local
374 napi_value errorCode; in UnregisterFoldDisplayModeChangeListener() local
390 napi_value errorCode; in CreateAvailableArea() local
413 napi_value errorCode; in CreateAvailableArea_ErrCode140004() local
[all …]
/test/xts/acts/multimedia/camera/camera_ndk_test/entry/src/main/cpp/types/libentry/
Dindex.d.ts55 errorCode: number; property
60 errorCode:number; property
68 errorCode:number; property
73 errorCode:number; property
78 errorCode:number; property
83 errorCode:number; property
88 errorCode: number; property
93 errorCode: number; property
98 errorCode: number; property
103 errorCode: number; property
[all …]
/test/xts/acts/multimedia/image_effect/OHImageEffectNDK/entry/src/main/cpp/utils/
Dpixelmap_helper.cpp29 Image_ErrorCode errorCode = OH_DecodingOptions_Create(&options); in CreateDecodingOptions() local
42 Image_ErrorCode errorCode = OH_ImageSourceNative_CreateFromFd(*fdPtr.get(), &imageSource); in Decode() local
62 Image_ErrorCode errorCode = OH_PackingOptions_Create(&options); in CreatePackingOptions() local
77 Image_ErrorCode errorCode = OH_ImagePackerNative_Create(&imagePacker); in Encode() local
/test/xts/acts/arkui/ace_c_arkui_test_api15/entry/src/main/cpp/window/
Dget_window_info_test.cpp125 int32_t errorCode = OH_ArkUI_NodeUtils_GetWindowInfo(node, &info); in OnEventReceive() local
132 int32_t errorCode = OH_ArkUI_NodeUtils_GetWindowInfo(nullptr, &info); in OnEventReceive() local
140 int32_t errorCode = OH_ArkUI_NodeUtils_GetWindowInfo(button, &info); in OnEventReceive() local
196 int32_t errorCode = OH_ArkUI_NodeUtils_GetWindowInfo(node, &info); in OnEventReceive1() local
254 int32_t errorCode = OH_ArkUI_NodeUtils_GetWindowInfo(button_visibility, &info); in OnEventReceive2() local
267 int32_t errorCode = OH_ArkUI_NodeUtils_GetWindowInfo(button_visibility, &info); in OnEventReceive2() local
280 int32_t errorCode = OH_ArkUI_NodeUtils_GetWindowInfo(button_visibility, &info); in OnEventReceive2() local
/test/xts/acts/hiviewdfx/hicollietest/hicolliendktest/entry/src/main/cpp/
Dnapi_init.cpp198 HiCollie_ErrorCode errorCode = OH_HiCollie_SetTimer(param, &id); in TestHiCollieTimerNdkErr03() local
208 HiCollie_ErrorCode errorCode = OH_HiCollie_SetTimer(param, &id); in TestHiCollieTimerNdkErr04() local
218 HiCollie_ErrorCode errorCode = OH_HiCollie_SetTimer(param, &id); in TestHiCollieTimerNdkErr05() local
228 HiCollie_ErrorCode errorCode = OH_HiCollie_SetTimer(param, nullptr); in TestHiCollieTimerNdkErr06() local
238 HiCollie_ErrorCode errorCode = OH_HiCollie_SetTimer(param, &id); in TestHiCollieTimerNdkSetSuc() local
249 HiCollie_ErrorCode errorCode = OH_HiCollie_SetTimer(param, &id); in TestHiCollieTimerNdkCanSuc() local
/test/xts/acts/telephony/networkmanager/ndk/networkauth/entry/src/main/cpp/
DNetConnectionAuthTest.cpp171 static uint32_t ReadHttpReqCodeOne(uint32_t errorCode) in ReadHttpReqCodeOne()
204 static uint32_t ReadHttpReqCodeTwo(uint32_t errorCode) in ReadHttpReqCodeTwo()
233 static uint32_t ReadHttpReqCodeThree(uint32_t errorCode) in ReadHttpReqCodeThree()
266 static uint32_t ReadHttpReqCode(uint32_t errorCode) in ReadHttpReqCode()
/test/xts/acts/web/web_load/web_hosting/web_hosting_napis_enhance_seven/entry/src/main/cpp/
DHelloTest.cpp124 static void SaveCookieAsyncCallback(ArkWeb_ErrorCode errorCode) in SaveCookieAsyncCallback()
143 ArkWeb_ErrorCode errorCode = OH_ArkWebCookieManager_SaveCookieSync(); in SaveCookieSyncThreadFun() local
199 ArkWeb_ErrorCode errorCode = OH_ArkWebCookieManager_SaveCookieSync(); in SaveCookieSync() local
/test/xts/device_attest_lite/services/core/attest/
Dattest_service_reset.c91 double errorCode = GetObjectItemValueNumber(jsonStr, "errcode"); in ParseResetResult() local
Dattest_service_active.c104 double errorCode = GetObjectItemValueNumber(jsonStr, "errcode"); in ParseActiveResult() local
/test/xts/device_attest/services/core/attest/
Dattest_service_reset.c91 double errorCode = GetObjectItemValueNumber(jsonStr, "errcode"); in ParseResetResult() local
Dattest_service_active.c104 double errorCode = GetObjectItemValueNumber(jsonStr, "errcode"); in ParseActiveResult() local
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/
Dnapi_error_test.cpp24 JSVM_Value errorCode = nullptr; in TestCreateErrorTest1() local
49 JSVM_Value errorCode = nullptr; in TestCreateErrorTest2() local
74 JSVM_Value errorCode = nullptr; in TestCreateErrorTest3() local
100 JSVM_Value errorCode = nullptr; in TestCreateErrorTest4() local
125 JSVM_Value errorCode = nullptr; in TestCreateErrorTest5() local
152 JSVM_Value errorCode = nullptr; in TestCreateTypeErrorTest1() local
178 JSVM_Value errorCode = nullptr; in TestCreateTypeErrorTest2() local
204 JSVM_Value errorCode = nullptr; in TestCreateTypeErrorTest3() local
230 JSVM_Value errorCode = nullptr; in TestCreateTypeErrorTest4() local
255 JSVM_Value errorCode = nullptr; in TestCreateTypeErrorTest5() local
[all …]
/test/xts/acts/multimedia/media/media_js_standard/AVRecorderVideoNDK/entry/src/main/cpp/
Dcamera_manager.cpp788 void OnCameraInputError(const Camera_Input *cameraInput, Camera_ErrorCode errorCode) in OnCameraInputError()
819 void PreviewOutputOnError(Camera_PreviewOutput *previewOutput, Camera_ErrorCode errorCode) in PreviewOutputOnError()
860 void PhotoOutputOnError(Camera_PhotoOutput *photoOutput, Camera_ErrorCode errorCode) in PhotoOutputOnError()
886 void VideoOutputOnError(Camera_VideoOutput *videoOutput, Camera_ErrorCode errorCode) in VideoOutputOnError()
917 void OnMetadataOutputError(Camera_MetadataOutput *metadataOutput, Camera_ErrorCode errorCode) in OnMetadataOutputError()
954 void CaptureSessionOnError(Camera_CaptureSession *session, Camera_ErrorCode errorCode) in CaptureSessionOnError()
/test/xts/device_attest_lite/interfaces/kit/js/src/
Dnative_device_attest.cpp34 string GetErrorMessage(uint32_t errorCode) in GetErrorMessage()
44 static JSIValue GetJsiErrorMessage(int32_t errorCode) in GetJsiErrorMessage()

12345