Searched refs:OH_PreferencesPair (Results 1 - 6 of 6) sorted by relevance
/foundation/distributeddatamgr/preferences/interfaces/ndk/include/ |
H A D | oh_preferences_value.h | 82 typedef struct OH_PreferencesPair OH_PreferencesPair; typedef 92 * @brief Obtains a key from an {@Link OH_PreferencesPair} instance. 94 * @param pairs Pointer to the target {@Link OH_PreferencesPair} instance. 98 * @see OH_PreferencesPair. 101 const char *OH_PreferencesPair_GetKey(const OH_PreferencesPair *pairs, uint32_t index); 104 * @brief Obtains a value from an {@Link OH_PreferencesPair} instance. 106 * @param pairs Pointer to the target {@Link OH_PreferencesPair} instance. 113 const OH_PreferencesValue *OH_PreferencesPair_GetPreferencesValue(const OH_PreferencesPair *pairs, uint32_t index);
|
H A D | oh_preferences.h | 65 * @see OH_PreferencesPair. 68 typedef void (*OH_PreferencesDataObserver)(void *context, const OH_PreferencesPair *pairs, uint32_t count);
|
/foundation/distributeddatamgr/preferences/frameworks/ndk/include/ |
H A D | oh_preferences_value_impl.h | 27 struct OH_PreferencesPair { struct
|
/foundation/distributeddatamgr/preferences/frameworks/ndk/src/ |
H A D | oh_preferences_value.cpp | 37 const char *OH_PreferencesPair_GetKey(const OH_PreferencesPair *pairs, uint32_t index) in OH_PreferencesPair_GetKey() 52 const OH_PreferencesValue *OH_PreferencesPair_GetPreferencesValue(const OH_PreferencesPair *pairs, uint32_t index) in OH_PreferencesPair_GetPreferencesValue()
|
H A D | oh_preferences.cpp | 417 inline void FreePairValue(OH_PreferencesPair *pairs, size_t count) in FreePairValue() 434 OH_PreferencesPair *pairs = new (std::nothrow) OH_PreferencesPair[count]; in OnChange() 450 pairs[i++] = OH_PreferencesPair { PreferencesNdkStructId::PREFERENCES_OH_PAIR_CID, key.c_str(), in OnChange()
|
/foundation/distributeddatamgr/preferences/test/ndk/unittest/ |
H A D | preferences_ndk_test.cpp | 105 void DataChangeObserverCallback(void *context, const OH_PreferencesPair *pairs, uint32_t count) in DataChangeObserverCallback() 683 void NullTestCallback(void *context, const OH_PreferencesPair *pairs, uint32_t count) in NullTestCallback()
|
Completed in 4 milliseconds