Home
last modified time | relevance | path

Searched refs:PREFERENCES_ERROR_INVALID_PARAM (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/preferences/test/ndk/unittest/
H A Dpreferences_ndk_value_test.cpp103 EXPECT_EQ(errCode, PREFERENCES_ERROR_INVALID_PARAM);
106 EXPECT_EQ(errCode, PREFERENCES_ERROR_INVALID_PARAM);
114 EXPECT_EQ(errCode, PREFERENCES_ERROR_INVALID_PARAM);
116 EXPECT_EQ(errCode, PREFERENCES_ERROR_INVALID_PARAM);
119 EXPECT_EQ(errCode, PREFERENCES_ERROR_INVALID_PARAM);
121 EXPECT_EQ(errCode, PREFERENCES_ERROR_INVALID_PARAM);
144 EXPECT_EQ(errCode, PREFERENCES_ERROR_INVALID_PARAM);
147 EXPECT_EQ(errCode, PREFERENCES_ERROR_INVALID_PARAM);
155 EXPECT_EQ(errCode, PREFERENCES_ERROR_INVALID_PARAM);
157 EXPECT_EQ(errCode, PREFERENCES_ERROR_INVALID_PARAM);
[all …]
H A Dpreferences_ndk_test.cpp590 PREFERENCES_ERROR_INVALID_PARAM);
591 …references_RegisterDataObserver(pref, nullptr, nullptr, keys, 3), PREFERENCES_ERROR_INVALID_PARAM);
593 PREFERENCES_ERROR_INVALID_PARAM);
595 PREFERENCES_ERROR_INVALID_PARAM);
597 PREFERENCES_ERROR_INVALID_PARAM);
599 PREFERENCES_ERROR_INVALID_PARAM);
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/ndk/src/
H A Doh_preferences_option.cpp29 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in SetFileName()
80 OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM); in OH_PreferencesOption_SetFileName()
81 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_PreferencesOption_SetFileName()
93 (bundleName == nullptr), OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM); in OH_PreferencesOption_SetBundleName()
94 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_PreferencesOption_SetBundleName()
107 (dataGroupId == nullptr), OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM); in OH_PreferencesOption_SetDataGroupId()
108 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_PreferencesOption_SetDataGroupId()
120 (option == nullptr), OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM); in OH_PreferencesOption_Destroy()
121 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_PreferencesOption_Destroy()
H A Doh_preferences.cpp76 OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM); in OH_Preferences_Open()
159 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_Preferences_Close()
164 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_Preferences_Close()
186 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_Preferences_GetInt()
215 OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM); in OH_Preferences_GetString()
216 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_Preferences_GetString()
277 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_Preferences_GetBool()
304 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_Preferences_SetInt()
320 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_Preferences_SetBool()
337 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_Preferences_SetString()
[all …]
H A Doh_preferences_value.cpp89 … (self == nullptr), (value == nullptr), OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM); in OH_PreferencesValue_GetInt()
90 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_PreferencesValue_GetInt()
106 … (self == nullptr), (self == nullptr), OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM); in OH_PreferencesValue_GetBool()
107 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_PreferencesValue_GetBool()
124 (valueLen == nullptr), OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM); in OH_PreferencesValue_GetString()
125 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_PreferencesValue_GetString()
132 return OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM; in OH_PreferencesValue_GetString()
H A Dconvertor_error_code.cpp29 …OHOS::NativePreferences::E_INVALID_ARGS, OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM },
30 … { OHOS::NativePreferences::E_KEY_EMPTY, OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM },
31 …ivePreferences::E_KEY_EXCEED_MAX_LENGTH, OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM },
32 …ePreferences::E_VALUE_EXCEED_MAX_LENGTH, OH_Preferences_ErrCode::PREFERENCES_ERROR_INVALID_PARAM },
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/
H A D_preferences.md200 | PREFERENCES_ERROR_INVALID_PARAM | 参数不合法 |
258 若错误码为PREFERENCES_ERROR_INVALID_PARAM,表示参数不合法。
296 若错误码为PREFERENCES_ERROR_INVALID_PARAM,表示参数不合法。
358 若错误码为PREFERENCES_ERROR_INVALID_PARAM,表示参数不合法。
399 若错误码为PREFERENCES_ERROR_INVALID_PARAM,表示参数不合法。
441 若错误码为PREFERENCES_ERROR_INVALID_PARAM,表示参数不合法。
516 若错误码为PREFERENCES_ERROR_INVALID_PARAM,表示参数不合法。
559 若错误码为PREFERENCES_ERROR_INVALID_PARAM,表示参数不合法。
598 若错误码为PREFERENCES_ERROR_INVALID_PARAM,表示参数不合法。
637 若错误码为PREFERENCES_ERROR_INVALID_PARAM,表示参数不合法。
[all …]
H A Doh__preferences__err__code_8h.md33 …erences.md#oh_preferences_errcode) {<br/>PREFERENCES_OK = 0, PREFERENCES_ERROR_INVALID_PARAM = 401…
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/
H A D_preferences.md199 | PREFERENCES_ERROR_INVALID_PARAM | Invalid parameter.|
257 Returns **PREFERENCES_ERROR_INVALID_PARAM** if invalid parameters are detected.
295 Returns **PREFERENCES_ERROR_INVALID_PARAM** if invalid parameters are detected.
357 Returns **PREFERENCES_ERROR_INVALID_PARAM** if invalid parameters are detected.
398 Returns **PREFERENCES_ERROR_INVALID_PARAM** if invalid parameters are detected.
440 Returns **PREFERENCES_ERROR_INVALID_PARAM** if invalid parameters are detected.
515 Returns **PREFERENCES_ERROR_INVALID_PARAM** if invalid parameters are detected.
558 Returns **PREFERENCES_ERROR_INVALID_PARAM** if invalid parameters are detected.
597 Returns **PREFERENCES_ERROR_INVALID_PARAM** if invalid parameters are detected.
636 Returns **PREFERENCES_ERROR_INVALID_PARAM** if invalid parameters are detected.
[all …]
H A Doh__preferences__err__code_8h.md33 …ferences.md#oh_preferences_errcode) {<br>PREFERENCES_OK = 0, PREFERENCES_ERROR_INVALID_PARAM = 401…
/ohos5.0/foundation/distributeddatamgr/preferences/interfaces/ndk/include/
H A Doh_preferences_err_code.h56 PREFERENCES_ERROR_INVALID_PARAM = 401, enumerator