Lines Matching full:options
50 | int OH_Udmf_SetUnifiedDataByOptions(OH_UdmfOptions* options, OH_UdmfData *unifiedData, char *key,…
56 | int OH_Udmf_GetUnifiedDataByOptions(OH_UdmfOptions* options, OH_UdmfData** dataArray, unsigned in…
57 | int OH_Udmf_UpdateUnifiedData(OH_UdmfOptions* options, OH_UdmfData* unifiedData) | 对统一数据管理框架数据库中的…
58 | int OH_Udmf_DeleteUnifiedData(OH_UdmfOptions* options, OH_UdmfData** dataArray, unsigned int* dat…
137 OH_UdmfOptions* options = OH_UdmfOptions_Create();
138 …if (OH_UdmfOptions_SetIntention(options, Udmf_Intention::UDMF_INTENTION_DATA_HUB) != Udmf_ErrCode:…
143 OH_UdmfOptions_Destroy(options);
148 … if (OH_Udmf_SetUnifiedDataByOptions(options, data, key, sizeof(key)) != Udmf_ErrCode::UDMF_E_OK) {
153 OH_UdmfOptions_Destroy(options);
161 OH_UdmfOptions_Destroy(options);
178 OH_UdmfOptions* options = OH_UdmfOptions_Create();
179 …if (OH_UdmfOptions_SetIntention(options, Udmf_Intention::UDMF_INTENTION_DATA_HUB) != Udmf_ErrCode:…
181 OH_UdmfOptions_Destroy(options);
187 if (OH_Udmf_GetUnifiedDataByOptions(options, &readData, &dataSize) != Udmf_ErrCode::UDMF_E_OK) {
189 OH_UdmfOptions_Destroy(options);
192 OH_UdmfOptions_Destroy(options);
279 OH_UdmfOptions* options = OH_UdmfOptions_Create();
282 …if (OH_UdmfOptions_SetIntention(options, Udmf_Intention::UDMF_INTENTION_DATA_HUB) != Udmf_ErrCode:…
283 || OH_UdmfOptions_SetKey(options, key) != Udmf_ErrCode::UDMF_E_OK) {
288 OH_UdmfOptions_Destroy(options);
292 if (OH_Udmf_UpdateUnifiedData(options, data) != Udmf_ErrCode::UDMF_E_OK) {
297 OH_UdmfOptions_Destroy(options);
305 OH_UdmfOptions_Destroy(options);
323 OH_UdmfOptions* options = OH_UdmfOptions_Create();
324 …if (OH_UdmfOptions_SetIntention(options, Udmf_Intention::UDMF_INTENTION_DATA_HUB) != Udmf_ErrCode:…
326 OH_UdmfOptions_Destroy(options);
332 if (OH_Udmf_DeleteUnifiedData(options, &readData, &dataSize) != Udmf_ErrCode::UDMF_E_OK) {
334 OH_UdmfOptions_Destroy(options);
337 OH_UdmfOptions_Destroy(options);
436 OH_UdmfOptions* options = OH_UdmfOptions_Create();
437 …if (OH_UdmfOptions_SetIntention(options, Udmf_Intention::UDMF_INTENTION_DATA_HUB) != Udmf_ErrCode:…
439 OH_UdmfOptions_Destroy(options);
443 … if (OH_Udmf_SetUnifiedDataByOptions(options, data, key, sizeof(key)) != Udmf_ErrCode::UDMF_E_OK) {
451 OH_UdmfOptions_Destroy(options);