Lines Matching defs:errCode

249     char *FfiOHOSWebviewCtlGetUserAgent(int64_t id, int32_t *errCode)
253 *errCode = NWebError::INIT_ERROR;
257 *errCode = NWebError::NO_ERROR;
261 int32_t FfiOHOSWebviewCtlGetWebId(int64_t id, int32_t *errCode)
265 *errCode = NWebError::INIT_ERROR;
270 *errCode = NWebError::NO_ERROR;
274 bool FfiOHOSWebviewCtlAccessForward(int64_t id, int32_t *errCode)
278 *errCode = NWebError::INIT_ERROR;
282 *errCode = NWebError::NO_ERROR;
286 bool FfiOHOSWebviewCtlAccessBackward(int64_t id, int32_t *errCode)
290 *errCode = NWebError::INIT_ERROR;
294 *errCode = NWebError::NO_ERROR;
435 const char* FfiOHOSCookieMgrFetchCookieSync(const char *url, bool incognitoMode, int32_t* errCode)
438 std::string value = OHOS::NWeb::WebCookieManager::CjGetCookie(curl, incognitoMode, *errCode);
567 int32_t FfiOHOSWebviewCtlGetPageHeight(int64_t id, int32_t *errCode)
571 *errCode = NWebError::INIT_ERROR;
575 *errCode = NWebError::NO_ERROR;
643 bool FfiOHOSWebviewCtlAccessStep(int64_t id, int32_t *errCode, int32_t step)
647 *errCode = NWebError::INIT_ERROR;
651 *errCode = NWebError::NO_ERROR;
675 int32_t FfiOHOSWebviewCtlGetHitTest(int64_t id, int32_t *errCode)
679 *errCode = NWebError::INIT_ERROR;
683 *errCode = NWebError::NO_ERROR;
687 RetDataCString FfiOHOSWebviewCtlGetHitTestValue(int64_t id, int32_t *errCode)
692 *errCode = NWebError::INIT_ERROR;
696 *errCode = NWebError::NO_ERROR;
726 bool FfiOHOSWebviewCtlIsSafeBrowsingEnabled(int64_t id, int32_t *errCode)
730 *errCode = NWebError::INIT_ERROR;
734 *errCode = NWebError::NO_ERROR;
738 int32_t FfiOHOSWebviewCtlGetSecurityLevel(int64_t id, int32_t *errCode)
742 *errCode = NWebError::INIT_ERROR;
746 *errCode = NWebError::NO_ERROR;
750 bool FfiOHOSWebviewCtlIsIncognitoMode(int64_t id, int32_t *errCode)
754 *errCode = NWebError::INIT_ERROR;
758 *errCode = NWebError::NO_ERROR;
772 int64_t FfiOHOSWebviewCtlGetBackForwardEntries(int64_t id, int32_t *errCode)
776 *errCode = NWebError::INIT_ERROR;
782 *errCode = NWebError::INIT_ERROR;
788 *errCode = NWebError::INIT_ERROR;
792 *errCode = NWebError::NO_ERROR;
863 CArrI64 FfiOHOSWebviewCtlCreateWebMessagePorts(int64_t id, bool isExtentionType, int32_t *errCode)
868 *errCode = NWebError::INIT_ERROR;
876 *errCode = NWebError::CAN_NOT_POST_MESSAGE;
882 *errCode = NWebError::NEW_OOM;
888 *errCode = NWebError::CAN_NOT_POST_MESSAGE;
895 *errCode = NWebError::NO_ERROR;
941 CArrUI8 FfiOHOSWebviewCtlSerializeWebState(int64_t id, int32_t *errCode)
945 *errCode = NWebError::INIT_ERROR;
952 *errCode = NWebError::NEW_OOM;
955 *errCode = NWebError::NO_ERROR;
970 CArrString FfiOHOSWebviewCtlGetCertificate(int64_t id, int32_t *errCode)
975 *errCode = NWebError::INIT_ERROR;
988 *errCode = NWebError::NO_ERROR;
1009 int32_t FfiOHOSBackForwardListCurrentIndex(int64_t id, int32_t *errCode)
1013 *errCode = NWebError::INIT_ERROR;
1016 *errCode = NWebError::NO_ERROR;
1020 int32_t FfiOHOSBackForwardListSize(int64_t id, int32_t *errCode)
1024 *errCode = NWebError::INIT_ERROR;
1027 *errCode = NWebError::NO_ERROR;
1106 int64_t FfiOHOSWebviewCtlGetFavicon(int64_t id, int32_t *errCode)
1111 *errCode = NWebError::INIT_ERROR;
1143 CHistoryItem FfiOHOSGetItemAtIndex(int64_t id, int32_t index, int32_t *errCode)
1148 *errCode = NWebError::INIT_ERROR;
1152 *errCode = NWebError::PARAM_CHECK_ERROR;
1157 *errCode = NWebError::NWEB_ERROR;
1164 *errCode = NWebError::NO_ERROR;
1370 int64_t FfiOHOSWebDownloadItemImplGetCurrentSpeed(int64_t id, int32_t *errCode)
1374 *errCode = NWebError::INIT_ERROR;
1377 *errCode = NWebError::NO_ERROR;
1381 int64_t FfiOHOSWebDownloadItemImplGetPercentComplete(int64_t id, int32_t *errCode)
1385 *errCode = NWebError::INIT_ERROR;
1388 *errCode = NWebError::NO_ERROR;
1392 int64_t FfiOHOSWebDownloadItemImplGetTotalBytes(int64_t id, int32_t *errCode)
1396 *errCode = NWebError::INIT_ERROR;
1399 *errCode = NWebError::NO_ERROR;
1403 int64_t FfiOHOSWebDownloadItemImplGetReceivedBytes(int64_t id, int32_t *errCode)
1407 *errCode = NWebError::INIT_ERROR;
1410 *errCode = NWebError::NO_ERROR;
1414 int32_t FfiOHOSWebDownloadItemImplGetState(int64_t id, int32_t *errCode)
1418 *errCode = NWebError::INIT_ERROR;
1421 *errCode = NWebError::NO_ERROR;
1425 int32_t FfiOHOSWebDownloadItemImplGetLastErrorCode(int64_t id, int32_t *errCode)
1429 *errCode = NWebError::INIT_ERROR;
1432 *errCode = NWebError::NO_ERROR;
1574 CArrUI8 FfiOHOSWebDownloadItemImplSerialize(int64_t id, int32_t *errCode)
1578 *errCode = NWebError::INIT_ERROR;
1609 *errCode = NWebError::NEW_OOM;
1612 *errCode = NWebError::NO_ERROR;
1616 int64_t FfiOHOSWebDownloadItemImplDeserialize(CArrUI8 serializedData, int32_t *errCode)
1622 *errCode = NWebError::INIT_ERROR;
1628 *errCode = NWebError::INIT_ERROR;
1650 *errCode = NWebError::NO_ERROR;
1731 void FfiOHOSGeolocationAllowGeolocation(char* origin, bool incognito, int32_t *errCode)
1734 GeolocationPermission::CjAllowGeolocation(originStr, incognito, errCode);
1737 void FfiOHOSGeolocationDeleteGeolocation(char* origin, bool incognito, int32_t *errCode)
1740 GeolocationPermission::CjDeleteGeolocation(originStr, incognito, errCode);
1743 bool FfiOHOSGeolocationGetAccessibleGeolocation(char* origin, bool incognito, int32_t *errCode)
1746 return GeolocationPermission::CjGetAccessibleGeolocation(originStr, incognito, errCode);
1749 CArrString FfiOHOSGeolocationGetStoredGeolocation(bool incognito, int32_t *errCode)
1751 std::vector<std::string> origins = GeolocationPermission::CjGetStoredGeolocation(incognito, errCode);
1753 if (errCode && *errCode != 0) {
1761 void FfiOHOSGeolocationDeleteAllGeolocation(bool incognito, int32_t *errCode)
1763 return GeolocationPermission::CjDeleteAllGeolocation(incognito, errCode);
1778 int64_t FfiWebStorageGetOriginQuota(char* corigin, int32_t *errCode)
1781 return OHOS::NWeb::WebStorage::CjGetOriginUsageOrQuota(origin, errCode, true);
1784 int64_t FfiWebStorageGetOriginUsage(char* corigin, int32_t *errCode)
1787 return OHOS::NWeb::WebStorage::CjGetOriginUsageOrQuota(origin, errCode, false);
1790 CArrWebStorageOrigin FfiWebStorageGetOrigins(int32_t *errCode)
1792 return OHOS::NWeb::WebStorage::CjGetOrigins(errCode);