Home
last modified time | relevance | path

Searched refs:OH_PreferencesValue (Results 1 - 5 of 5) sorted by relevance

/foundation/distributeddatamgr/preferences/interfaces/ndk/include/
H A Doh_preferences_value.h89 typedef struct OH_PreferencesValue OH_PreferencesValue; typedef
108 * @return Returns a pointer to the {@Link OH_PreferencesValue} obtained if the operation is successful,
110 * @see OH_PreferencesValue.
113 const OH_PreferencesValue *OH_PreferencesPair_GetPreferencesValue(const OH_PreferencesPair *pairs, uint32_t index);
118 * @param object Pointer to the target {@Link OH_PreferencesValue} instance.
121 * @see OH_PreferencesValue.
124 Preference_ValueType OH_PreferencesValue_GetValueType(const OH_PreferencesValue *object);
127 * @brief Obtains the int value of an {@Link OH_PreferencesValue} instance.
129 * @param object Pointer to the target {@Link OH_PreferencesValue} instanc
[all...]
/foundation/distributeddatamgr/preferences/frameworks/ndk/include/
H A Doh_preferences_value_impl.h23 struct OH_PreferencesValue { struct
30 const OH_PreferencesValue *value;
35 class OH_PreferencesValueImpl : public OH_PreferencesValue {
/foundation/distributeddatamgr/preferences/frameworks/ndk/src/
H A Doh_preferences_value.cpp25 static OH_PreferencesValueImpl *GetSelf(const OH_PreferencesValue *value) in GetSelf()
33 OH_PreferencesValue *prefValue = const_cast<OH_PreferencesValue *>(value); in GetSelf()
52 const OH_PreferencesValue *OH_PreferencesPair_GetPreferencesValue(const OH_PreferencesPair *pairs, uint32_t index) in OH_PreferencesPair_GetPreferencesValue()
67 Preference_ValueType OH_PreferencesValue_GetValueType(const OH_PreferencesValue *object) in OH_PreferencesValue_GetValueType()
84 int OH_PreferencesValue_GetInt(const OH_PreferencesValue *object, int *value) in OH_PreferencesValue_GetInt()
101 int OH_PreferencesValue_GetBool(const OH_PreferencesValue *object, bool *value) in OH_PreferencesValue_GetBool()
118 int OH_PreferencesValue_GetString(const OH_PreferencesValue *object, char **value, uint32_t *valueLen) in OH_PreferencesValue_GetString()
H A Doh_preferences.cpp451 static_cast<OH_PreferencesValue *>(valueImpl), count}; in OnChange()
/foundation/distributeddatamgr/preferences/test/ndk/unittest/
H A Dpreferences_ndk_test.cpp108 const OH_PreferencesValue *pValue = OH_PreferencesPair_GetPreferencesValue(pairs, i); in DataChangeObserverCallback()
694 const OH_PreferencesValue *pValue = OH_PreferencesPair_GetPreferencesValue(pairs, i); in NullTestCallback()

Completed in 4 milliseconds