Home
last modified time | relevance | path

Searched refs:PREFERENCES_OK (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/preferences/test/ndk/unittest/
H A Dpreferences_ndk_test.cpp204 int errCode = PREFERENCES_OK;
232 int errCode = PREFERENCES_OK;
263 int errCode = PREFERENCES_OK;
292 int errCode = PREFERENCES_OK;
561 PREFERENCES_OK);
622 PREFERENCES_OK);
628 PREFERENCES_OK);
636 PREFERENCES_OK);
638 PREFERENCES_OK);
664 PREFERENCES_OK);
[all …]
H A Dpreferences_ndk_value_test.cpp98 int errCode = PREFERENCES_OK;
111 ASSERT_EQ(errCode, PREFERENCES_OK);
138 int errCode = PREFERENCES_OK;
152 ASSERT_EQ(errCode, PREFERENCES_OK);
165 ASSERT_EQ(errCode, PREFERENCES_OK);
167 ASSERT_EQ(errCode, PREFERENCES_OK);
191 int errCode = PREFERENCES_OK;
235 int errCode = PREFERENCES_OK;
272 int errCode = PREFERENCES_OK;
307 int errCode = PREFERENCES_OK;
[all …]
/ohos5.0/docs/zh-cn/application-dev/database/
H A Dpreferences-guidelines.md111 if (ret != PREFERENCES_OK) {
117 if (ret != PREFERENCES_OK) {
123 if (ret != PREFERENCES_OK) {
129 int errCode = PREFERENCES_OK;
141 if (ret != PREFERENCES_OK) {
148 if (ret != PREFERENCES_OK) {
153 if (ret != PREFERENCES_OK) {
158 if (ret != PREFERENCES_OK) {
166 if (ret == PREFERENCES_OK) {
172 if (ret == PREFERENCES_OK) {
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/
H A D_preferences.md199 | PREFERENCES_OK | 操作执行成功 |
256 若错误码为PREFERENCES_OK,表示操作成功。
294 若错误码为PREFERENCES_OK,表示操作成功。
356 若错误码为PREFERENCES_OK,表示操作成功。
397 若错误码为PREFERENCES_OK,表示操作成功。
439 若错误码为PREFERENCES_OK,表示操作成功。
514 若错误码为PREFERENCES_OK,表示操作成功。
557 若错误码为PREFERENCES_OK,表示操作成功。
596 若错误码为PREFERENCES_OK,表示操作成功。
635 若错误码为PREFERENCES_OK,表示操作成功。
[all …]
H A Doh__preferences__err__code_8h.md33 | [OH_Preferences_ErrCode](_preferences.md#oh_preferences_errcode) {<br/>PREFERENCES_OK = 0, PREFER…
/ohos5.0/docs/en/application-dev/database/
H A Dpreferences-guidelines.md111 if (ret != PREFERENCES_OK) {
117 if (ret != PREFERENCES_OK) {
123 if (ret != PREFERENCES_OK) {
129 int errCode = PREFERENCES_OK;
141 if (ret != PREFERENCES_OK) {
148 if (ret != PREFERENCES_OK) {
153 if (ret != PREFERENCES_OK) {
158 if (ret != PREFERENCES_OK) {
166 if (ret == PREFERENCES_OK) {
172 if (ret == PREFERENCES_OK) {
[all …]
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/ndk/src/
H A Doh_preferences_option.cpp32 return OH_Preferences_ErrCode::PREFERENCES_OK; in SetFileName()
97 return OH_Preferences_ErrCode::PREFERENCES_OK; in OH_PreferencesOption_SetBundleName()
111 return OH_Preferences_ErrCode::PREFERENCES_OK; in OH_PreferencesOption_SetDataGroupId()
124 return OH_Preferences_ErrCode::PREFERENCES_OK; in OH_PreferencesOption_Destroy()
H A Dconvertor_error_code.cpp28 { OHOS::NativePreferences::E_OK, OH_Preferences_ErrCode::PREFERENCES_OK },
38 { OHOS::NativePreferences::E_OBSERVER_RESERVE, OH_Preferences_ErrCode::PREFERENCES_OK }
H A Doh_preferences_value.cpp94 return OH_Preferences_ErrCode::PREFERENCES_OK; in OH_PreferencesValue_GetInt()
111 return OH_Preferences_ErrCode::PREFERENCES_OK; in OH_PreferencesValue_GetBool()
153 return OH_Preferences_ErrCode::PREFERENCES_OK; in OH_PreferencesValue_GetString()
H A Doh_preferences.cpp55 return { OH_Preferences_ErrCode::PREFERENCES_OK, context->GetPreferencesDir() }; in GetPreferencesDir()
63 return { OH_Preferences_ErrCode::PREFERENCES_OK, stagePreferencesDir }; in GetPreferencesDir()
68 int err = OH_Preferences_ErrCode::PREFERENCES_OK; in OH_Preferences_Open()
84 if (dirRes.first != OH_Preferences_ErrCode::PREFERENCES_OK) { in OH_Preferences_Open()
97 if (innerPreferences== nullptr || err != OH_Preferences_ErrCode::PREFERENCES_OK) { in OH_Preferences_Open()
176 return OH_Preferences_ErrCode::PREFERENCES_OK; in OH_Preferences_Close()
481 return OH_Preferences_ErrCode::PREFERENCES_OK; in UnregisterDataObserver()
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/
H A D_preferences.md198 | PREFERENCES_OK | The operation is successful.|
255 Returns **PREFERENCES_OK** if the operation is successful.
293 Returns **PREFERENCES_OK** if the operation is successful.
355 Returns **PREFERENCES_OK** if the operation is successful.
396 Returns **PREFERENCES_OK** if the operation is successful.
438 Returns **PREFERENCES_OK** if the operation is successful.
513 Returns **PREFERENCES_OK** if the operation is successful.
556 Returns **PREFERENCES_OK** if the operation is successful.
595 Returns **PREFERENCES_OK** if the operation is successful.
634 Returns **PREFERENCES_OK** if the operation is successful.
[all …]
H A Doh__preferences__err__code_8h.md33 | [OH_Preferences_ErrCode](_preferences.md#oh_preferences_errcode) {<br>PREFERENCES_OK = 0, PREFERE…
/ohos5.0/foundation/distributeddatamgr/preferences/interfaces/ndk/include/
H A Doh_preferences_err_code.h54 PREFERENCES_OK = 0, enumerator