Home
last modified time | relevance | path

Searched refs:errcode (Results 1 - 6 of 6) sorted by relevance

/test/xts/acts/distributeddatamgr/preferencesNdktestHvigor/entry/src/main/cpp/
H A Dnapi_init.cpp119 int errcode = OH_PreferencesOption_Destroy(option); in OH_PreferencesOption_Create_0100() local
120 NAPI_ASSERT(env, errcode == PREFERENCES_OK, "OH_PreferencesOption_Destroy is fail."); in OH_PreferencesOption_Create_0100()
124 napi_create_int32(env, errcode, &ret); in OH_PreferencesOption_Create_0100()
132 int errcode = OH_PreferencesOption_SetFileName(option, "test.db"); in OH_PreferencesOption_SetFilePath_0100() local
133 NAPI_ASSERT(env, errcode == PREFERENCES_OK, "OH_PreferencesOption_SetFilePath is fail."); in OH_PreferencesOption_SetFilePath_0100()
135 errcode = OH_PreferencesOption_Destroy(option); in OH_PreferencesOption_SetFilePath_0100()
136 NAPI_ASSERT(env, errcode == PREFERENCES_OK, "OH_PreferencesOption_Destroy is fail."); in OH_PreferencesOption_SetFilePath_0100()
140 napi_create_int32(env, errcode, &ret); in OH_PreferencesOption_SetFilePath_0100()
149 int errcode = OH_PreferencesOption_SetFileName(option, ""); in OH_PreferencesOption_SetFilePath_0200() local
150 OH_LOG_Print(LOG_APP, LOG_ERROR, 0, TAG, "OH_PreferencesOption_SetFileName(option, "") errcode in OH_PreferencesOption_SetFilePath_0200()
182 int errcode = OH_PreferencesOption_SetBundleName(option, "test"); OH_PreferencesOption_SetBundleName_0100() local
215 int errcode = OH_PreferencesOption_SetBundleName(option, NULL); OH_PreferencesOption_SetBundleName_0200() local
245 int errcode = OH_PreferencesOption_SetDataGroupId(option, ""); OH_PreferencesOption_SetDataGroupId_0100() local
275 int errcode = OH_PreferencesOption_SetDataGroupId(option, NULL); OH_PreferencesOption_SetDataGroupId_0200() local
306 int errcode = OH_PreferencesOption_Destroy(option); OH_PreferencesOption_Destroy_0100() local
321 int errcode = OH_PreferencesOption_Destroy(NULL); OH_PreferencesOption_Destroy_0200() local
342 int errcode = 1; OH_Preferences_Open_0100() local
370 int errcode = 1; OH_Preferences_Open_0200() local
396 int errcode = 1; OH_Preferences_Close_0100() local
428 int errcode = 1; OH_Preferences_SetInt_0100() local
483 int errcode = 1; OH_Preferences_SetGetInt_0100() local
554 int errcode = 1; OH_Preferences_SetGetString_0100() local
658 int errcode = 1; OH_Preferences_SetGetBool_0100() local
705 int errcode = 1; OH_Preferences_SetString_0100() local
751 int errcode = 1; OH_Preferences_SetBool_0100() local
797 int errcode = 1; OH_Preferences_GetInt_0100() local
853 int errcode = 1; OH_Preferences_GetString_0100() local
912 int errcode = 1; OH_Preferences_GetBool_0100() local
969 int errcode = 1; OH_Preferences_FreeString() local
1004 int errcode = 1; OH_Preferences_Delete() local
1028 int errcode = 1; OH_Preferences_RegisterDataObserver_0100() local
1076 int errcode = 1; OH_Preferences_UnregisterDataObserver_0100() local
1131 int errcode = OH_PreferencesValue_GetInt(NULL, &intV); OH_PreferencesPair_0200() local
1160 OH_Preferences_ErrCode errcode = PREFERENCES_OK; OH_Preferences_ErrCode_0100() local
[all...]
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreNdktestHvigor/entry/src/main/cpp/
H A Dnapi_init.cpp45 int errcode = 0; in OH_Rdb_CreateConfig_0100() local
48 errcode = OH_Rdb_DestroyConfig(config); in OH_Rdb_CreateConfig_0100()
49 NAPI_ASSERT(env, errcode == OH_Rdb_ErrCode::RDB_OK, "OH_Rdb_CreateConfig is fail."); in OH_Rdb_CreateConfig_0100()
51 napi_create_int32(env, errcode, &ret); in OH_Rdb_CreateConfig_0100()
58 int errcode = 0; in OH_Rdb_CreateConfig_0200() local
61 errcode = OH_Rdb_SetDatabaseDir(config, RDB_TEST_PATH); in OH_Rdb_CreateConfig_0200()
62 NAPI_ASSERT(env, errcode == OH_Rdb_ErrCode::RDB_OK, "OH_Rdb_SetDatabaseDir is fail."); in OH_Rdb_CreateConfig_0200()
63 errcode = OH_Rdb_SetStoreName(config, "rdb_store_test.db"); in OH_Rdb_CreateConfig_0200()
64 NAPI_ASSERT(env, errcode == OH_Rdb_ErrCode::RDB_OK, "OH_Rdb_SetStoreName is fail."); in OH_Rdb_CreateConfig_0200()
65 errcode in OH_Rdb_CreateConfig_0200()
424 int errcode = 0; OH_Rdb_SetDatabaseDir_Param_0100() local
439 int errcode = 0; OH_Rdb_SetDatabaseDir_Param_0200() local
454 int errcode = 0; OH_Rdb_SetDatabaseDir_Param_0300() local
469 int errcode = 0; OH_Rdb_SetDatabaseDir_Param_0400() local
648 int errcode = 0; OH_Rdb_SetStoreName_Param_0100() local
663 int errcode = 0; OH_Rdb_SetStoreName_Param_0200() local
678 int errcode = 0; OH_Rdb_SetStoreName_Param_0300() local
693 int errcode = 0; OH_Rdb_SetStoreName_Param_0400() local
873 int errcode = 0; OH_Rdb_SetBundleName_0100() local
888 int errcode = 0; OH_Rdb_SetBundleName_0200() local
903 int errcode = 0; OH_Rdb_SetBundleName_0300() local
918 int errcode = 0; OH_Rdb_SetBundleName_0400() local
1098 int errcode = 0; OH_Rdb_SetModuleName_0100() local
1113 int errcode = 0; OH_Rdb_SetModuleName_0200() local
1128 int errcode = 0; OH_Rdb_SetModuleName_0300() local
1143 int errcode = 0; OH_Rdb_SetModuleName_0400() local
1322 int errcode = 0; OH_Rdb_SetEncrypted_0100() local
1343 int errcode = 0; OH_Rdb_SetEncrypted_0200() local
1379 int errcode = 0; OH_Rdb_SetEncrypted_0300() local
1403 int errcode = 0; OH_Rdb_SetSecurityLevel_0100() local
1420 int errcode = 0; OH_Rdb_SetSecurityLevel_0200() local
1444 int errcode = 0; OH_Rdb_SetSecurityLevel_0300() local
1477 int errcode = 0; OH_Rdb_SetArea_0100() local
1491 int errcode = 0; OH_Rdb_SetArea_0200() local
1505 int errcode = 0; OH_Rdb_SetArea_0300() local
1519 int errcode = 0; OH_Rdb_SetArea_0400() local
1533 int errcode = 0; OH_Rdb_SetArea_0500() local
1547 int errcode = 0; OH_Rdb_SetArea_Param_0100() local
1564 int errcode = 0; OH_Rdb_SetArea_Param_0200() local
1588 int errcode = 0; OH_Rdb_SetArea_Param_0300() local
1616 int errcode = 0; OH_Rdb_SetDbType_Param_0100() local
1631 int errcode = 0; OH_Rdb_SetDbType_Param_0200() local
1648 int errcode = 0; OH_Rdb_SetDbType_Param_0300() local
1688 int errcode = 0; OH_Rdb_DestroyConfig_Param_0100() local
1701 int errcode = 0; OH_Rdb_CreateOrOpen_Param_0100() local
1714 int errcode = 0; OH_Rdb_DeleteStoreV2_Param_0100() local
[all...]
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/entry/src/ohosTest/js/test/
H A DRelationalStoreCloudCursor.test.js130 console.log(TAG + `testRdbQueryWithCursor0001 query cursor fail, errcode:${JSON.stringify(err)}.`);
168 console.log(TAG + `testRdbQueryWithCursor0002 query cursor fail, errcode:${JSON.stringify(err)}.`);
215 console.log(TAG + `testRdbQueryWithCursor0003 query cursor fail, errcode:${JSON.stringify(err)}.`);
252 console.log(TAG + `testRdbQueryWithCursor0004 query cursor fail, errcode:${JSON.stringify(err)}.`);
291 console.log(TAG + `testRdbQueryWithCursor0005 query cursor fail, errcode:${JSON.stringify(err)}.`);
318 console.log(TAG + `testRdbCleanDirtyData0001 cleanDirtyData fail, errcode: ${JSON.stringify(err)}.`);
345 console.log(TAG + `testRdbCleanDirtyData0002 cleanDirtyData fail, errcode:${JSON.stringify(err)}.`);
369 console.log(TAG + `testRdbCleanDirtyData0003 cleanDirtyData fail, errcode: ${JSON.stringify(err)}.`);
397 console.log(TAG + `testRdbCleanDirtyData0004 cleanDirtyData fail, errcode:${JSON.stringify(err)}.`);
437 console.log(TAG + `testRdbQueryWithCursor0006 query cursor fail, errcode
[all...]
H A DRelationalStoreCloudSync.test.js1004 console.log(TAG + `cloud sync fail, errcode:${JSON.stringify(err)}.`);
1029 console.log(TAG + `cloud sync fail, errcode:${JSON.stringify(err)}.`);
1052 console.log(TAG + `cloud sync fail, errcode:${JSON.stringify(err)}.`);
1176 console.log(TAG + `relationalStore.RdbPredicates fail, errcode:${JSON.stringify(err)}.`);
1197 console.log(TAG + `rdbStore.unlockCloudContainer fail, errcode:${JSON.stringify(err)}.`);
/test/xts/acts/distributeddatamgr/UDMFtest/UDMFndktestHvigor/entry/src/main/cpp/
H A Dutd_ndk_test.cpp1530 int errcode = 0; in OH_Utd_BelongsTo_001() local
1533 errcode = 1; in OH_Utd_BelongsTo_001()
1536 napi_create_int32(env, errcode, &returnCode); in OH_Utd_BelongsTo_001()
1574 int errcode = 0; in OH_Utd_IsLower_001() local
1577 errcode = 1; in OH_Utd_IsLower_001()
1580 napi_create_int32(env, errcode, &returnCode); in OH_Utd_IsLower_001()
1673 int errcode = 0; in OH_Utd_IsHigher_001() local
1676 errcode = 1; in OH_Utd_IsHigher_001()
1679 napi_create_int32(env, errcode, &returnCode); in OH_Utd_IsHigher_001()
/test/xts/acts/location/geolocation_standard/entry/src/ohosTest/js/test/
H A DLocationMTest.test.js1394 var locationError1 = (errcode) => {
1395 console.log('[lbs_js] SUB_HSS_LOCATIONSYSTEM_LOCATIONERROR_0100 data:' + JSON.stringify(errcode));
1396 expect(true).assertEqual(errcode !=null);

Completed in 12 milliseconds