/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/src/ |
H A D | datashare_itypes_utils.cpp | 19 namespace OHOS::ITypesUtil { namespace 53 return ITypesUtil::Marshal(parcel, result.uri, result.codes); in Marshalling() 59 return ITypesUtil::Unmarshal(parcel, result.uri, result.codes); in Unmarshalling() 101 return ITypesUtil::Marshal(parcel, data.datas_, data.version_); in Marshalling() 204 return ITypesUtil::Marshal(parcel, bucket.valuesMap); in Marshalling() 210 return ITypesUtil::Unmarshal(parcel, bucket.valuesMap); in Unmarshalling() 224 if (!ITypesUtil::Unmarshalling(type, parcel)) { in Unmarshalling() 228 return ITypesUtil::Unmarshal(parcel, operationStatement.uri, in Unmarshalling() 243 if (!ITypesUtil::Unmarshalling(type, parcel)) { in Unmarshalling() 260 if (!ITypesUtil::Unmarshalling(errorCode, parcel)) { in Unmarshalling() [all …]
|
/ohos5.0/base/inputmethod/imf/common/src/ |
H A D | itypes_util.cpp | 23 bool ITypesUtil::Marshal(MessageParcel &data) in Marshal() 28 bool ITypesUtil::Unmarshal(MessageParcel &data) in Unmarshal() 33 bool ITypesUtil::Marshalling(bool input, MessageParcel &data) in Marshalling() 38 bool ITypesUtil::Unmarshalling(bool &output, MessageParcel &data) in Unmarshalling() 43 bool ITypesUtil::Marshalling(uint32_t input, MessageParcel &data) in Marshalling() 48 bool ITypesUtil::Unmarshalling(uint32_t &output, MessageParcel &data) in Unmarshalling() 53 bool ITypesUtil::Marshalling(int32_t input, MessageParcel &data) in Marshalling() 58 bool ITypesUtil::Unmarshalling(int32_t &output, MessageParcel &data) in Unmarshalling() 63 bool ITypesUtil::Marshalling(uint64_t input, MessageParcel &data) in Marshalling() 73 bool ITypesUtil::Marshalling(double input, MessageParcel &data) in Marshalling() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_share_service_stub.cpp | 53 if (!ITypesUtil::Marshal(reply, status)) { in OnInsert() 71 if (!ITypesUtil::Marshal(reply, status)) { in OnUpdate() 87 if (!ITypesUtil::Marshal(reply, status)) { in OnDelete() 161 if (!ITypesUtil::Marshal(reply, status)) { in OnQuery() 178 if (!ITypesUtil::Marshal(reply, status)) { in OnAddTemplate() 194 if (!ITypesUtil::Marshal(reply, status)) { in OnDelTemplate() 210 if (!ITypesUtil::Marshal(reply, results)) { in OnPublish() 249 if (!ITypesUtil::Marshal(reply, results)) { in OnSubscribeRdbData() 415 if (!ITypesUtil::Unmarshal(data, uri)) { in OnNotifyObserver() 432 if (!ITypesUtil::Marshal(reply, status)) { in OnSetSilentSwitch() [all …]
|
H A D | data_share_types_util.cpp | 19 namespace OHOS::ITypesUtil { namespace 30 if (!ITypesUtil::Unmarshal(parcel, operations, whereClause, whereArgs, order, mode)) { in Unmarshalling() 52 return ITypesUtil::Unmarshal(parcel, dataItem.key_, dataItem.subscriberId_, dataItem.value_); in Unmarshalling() 58 return ITypesUtil::Marshal(parcel, dataItem.key_, dataItem.subscriberId_, dataItem.value_); in Marshalling() 64 return ITypesUtil::Unmarshal(parcel, data.datas_, data.version_); in Unmarshalling() 70 return ITypesUtil::Unmarshal(parcel, templateId.subscriberId_, templateId.bundleName_); in Unmarshalling() 76 return ITypesUtil::Marshal(parcel, templateId.subscriberId_, templateId.bundleName_); in Marshalling() 82 …return ITypesUtil::Unmarshal(parcel, predicateTemplateNode.key_, predicateTemplateNode.selectSql_); in Unmarshalling() 88 return ITypesUtil::Marshal(parcel, changeNode.uri_, changeNode.templateId_, changeNode.data_); in Marshalling() 94 return ITypesUtil::Marshal(parcel, changeNode.ownerBundleName_, changeNode.datas_); in Marshalling() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/test/fuzztest/typesutil_fuzzer/ |
H A D | typesutil_fuzzer.cpp | 36 ITypesUtil::Marshal(parcel, clientDev); in ClientDevFuzz() 47 ITypesUtil::Marshal(parcel, entryIn); in EntryFuzz() 56 ITypesUtil::Marshal(parcel, blobIn); in BlobFuzz() 58 ITypesUtil::Unmarshal(parcel, blobOut); in BlobFuzz() 65 ITypesUtil::Marshal(parcel, vecIn); in VecFuzz() 67 ITypesUtil::Unmarshal(parcel, vecOut); in VecFuzz() 115 ITypesUtil::Marshal(parcel, changeIn); in ChangeNotificationFuzz() 125 ITypesUtil::Marshal(parcel, int32In); in IntFuzz() 144 ITypesUtil::Marshal(parcel, strIn); in StringFuzz() 156 ITypesUtil::GetTotalSize(VecEntryIn); in GetTotalSizeFuzz() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_service_stub.cpp | 47 if (!ITypesUtil::Unmarshal(data, param)) { in OnBeforeOpen() 63 if (!ITypesUtil::Unmarshal(data, param)) { in OnAfterOpen() 69 if (!ITypesUtil::Marshal(reply, status)) { in OnAfterOpen() 79 if (!ITypesUtil::Unmarshal(data, param)) { in OnDelete() 84 if (!ITypesUtil::Marshal(reply, status)) { in OnDelete() 101 if (!ITypesUtil::Marshal(reply, status)) { in OnRemoteInitNotifier() 122 if (!ITypesUtil::Marshal(reply, status)) { in OnRemoteSetDistributedTables() 161 if (!ITypesUtil::Marshal(reply, status)) { in OnRemoteDoAsync() 179 if (!ITypesUtil::Marshal(reply, status)) { in OnRemoteDoSubscribe() 197 if (!ITypesUtil::Marshal(reply, status)) { in OnRemoteDoUnSubscribe() [all …]
|
H A D | rdb_result_set_stub.cpp | 77 ITypesUtil::Unmarshal(data, columnIndex); in OnGetColumnType() 113 ITypesUtil::Unmarshal(data, offSet); in OnGoTo() 115 if (!ITypesUtil::Marshal(reply, status)) { in OnGoTo() 125 ITypesUtil::Unmarshal(data, position); in OnGoToRow() 127 if (!ITypesUtil::Marshal(reply, status)) { in OnGoToRow() 137 if (!ITypesUtil::Marshal(reply, status)) { in OnGoToFirstRow() 147 if (!ITypesUtil::Marshal(reply, status)) { in OnGoToLastRow() 157 if (!ITypesUtil::Marshal(reply, status)) { in OnGoToNextRow() 167 if (!ITypesUtil::Marshal(reply, status)) { in OnGoToPreviousRow() 221 ITypesUtil::Unmarshal(data, columnIndex); in OnGet() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/ |
H A D | cloud_service_stub.cpp | 87 if (!ITypesUtil::Unmarshal(data, id, switches)) { in OnEnableCloud() 102 if (!ITypesUtil::Unmarshal(data, id)) { in OnDisableCloud() 127 if (!ITypesUtil::Unmarshal(data, id, actions)) { in OnClean() 143 if (!ITypesUtil::Unmarshal(data, id, bundleName)) { in OnNotifyDataChange() 156 if (!ITypesUtil::Unmarshal(data, id, bundleName, storeId)) { in OnQueryLastSyncInfo() 169 if (!ITypesUtil::Unmarshal(data, strategy, values)) { in OnSetGlobalCloudStrategy() 209 if (!ITypesUtil::Unmarshal(data, id, bundleName, storeId)) { in OnQueryStatistics() 246 if (!ITypesUtil::Unmarshal(data, sharingRes)) { in OnExit() 271 if (!ITypesUtil::Unmarshal(data, sharingRes)) { in OnQuery() 283 if (!ITypesUtil::Unmarshal(data, invitation)) { in OnQueryByInvitation() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/ |
H A D | itypes_util.h | 38 namespace ITypesUtil { 331 …if ((!ITypesUtil::Marshalling(entry.first, parcel)) || (!ITypesUtil::Marshalling(entry.second, par… 356 … if ((!ITypesUtil::Unmarshalling(key, parcel)) || (!ITypesUtil::Unmarshalling(val[key], parcel))) { 382 if (!ITypesUtil::Unmarshalling(first, parcel)) { 390 if (!ITypesUtil::Unmarshalling(third, parcel)) { 413 if (!ITypesUtil::Unmarshalling(first, parcel)) { 460 if (!ITypesUtil::Marshalling(v, parcel)) { 588 if (!ITypesUtil::Marshalling(first, parcel)) { 591 return ITypesUtil::Marshal(parcel, others...); 597 if (!ITypesUtil::Unmarshalling(first, parcel)) { [all …]
|
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
H A D | input_data_channel_proxy.cpp | 44 … DELETE_BACKWARD, [length](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, length); }); in DeleteBackward() 51 [&text](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, text); }); in GetTextBeforeCursor() 57 …GET_TEXT_AFTER_CURSOR, [number](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, number… in GetTextAfterCursor() 58 [&text](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, text); }); in GetTextAfterCursor() 75 …SEND_FUNCTION_KEY, [funcKey](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, funcKey);… in SendFunctionKey() 86 [&keyType](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, keyType); }); in GetEnterKeyType() 92 … [&inputPattern](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, inputPattern); }); in GetInputPattern() 98 [&index](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, index); }); in GetTextIndexAtCursor() 104 [&textConfig](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, textConfig); }); in GetTextConfig() 116 return ITypesUtil::Marshal(parcel, direction, cursorMoveSkip); in SelectByMovement() [all …]
|
H A D | input_method_system_ability_proxy.cpp | 38 return ITypesUtil::Marshal( in StartInput() 122 MessageParcel &data) { return ITypesUtil::Marshal(data, isBrief); }, in GetDefaultInputMethod() 125 return ITypesUtil::Unmarshal(reply, *property); in GetDefaultInputMethod() 133 return ITypesUtil::Unmarshal(reply, inputMethodConfig); in GetInputMethodConfig() 141 return ITypesUtil::Unmarshal(reply, security); in GetSecurityMode() 159 return ITypesUtil::Unmarshal(reply, *property); in GetCurrentInputMethod() 170 return ITypesUtil::Unmarshal(reply, *property); in GetCurrentInputMethodSubtype() 217 [&name](MessageParcel &data) { return ITypesUtil::Marshal(data, name); }, in ListInputMethodSubtype() 238 return ITypesUtil::Marshal(data, static_cast<uint32_t>(status), info); in PanelStatusChange() 262 [&pid](MessageParcel &data) { return ITypesUtil::Marshal(data, pid); }, in IsCurrentImeByPid() [all …]
|
H A D | input_data_channel_stub.cpp | 52 if (!ITypesUtil::Unmarshal(data, text)) { in InsertTextOnRemote() 62 if (!ITypesUtil::Unmarshal(data, length)) { in DeleteForwardOnRemote() 72 if (!ITypesUtil::Unmarshal(data, length)) { in DeleteBackwardOnRemote() 82 if (!ITypesUtil::Unmarshal(data, length)) { in GetTextBeforeCursorOnRemote() 94 if (!ITypesUtil::Unmarshal(data, length)) { in GetTextAfterCursorOnRemote() 113 if (!ITypesUtil::Unmarshal(data, status)) { in SendKeyboardStatusOnRemote() 134 if (!ITypesUtil::Unmarshal(data, direction)) { in MoveCursorOnRemote() 159 if (!ITypesUtil::Unmarshal(data, start, end)) { in SelectByRangeOnRemote() 180 if (!ITypesUtil::Unmarshal(data, action)) { in HandleExtendActionOnRemote() 197 if (!ITypesUtil::Unmarshal(data, info)) { in NotifyPanelStatusInfoOnRemote() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/ |
H A D | udmf_service_stub.cpp | 67 if (!ITypesUtil::Marshal(reply, status, key)) { in OnSetData() 78 if (!ITypesUtil::Unmarshal(data, query)) { in OnGetData() 98 if (!ITypesUtil::Unmarshal(data, query)) { in OnGetBatchData() 126 if (!ITypesUtil::Marshal(reply, status)) { in OnUpdateData() 137 if (!ITypesUtil::Unmarshal(data, query)) { in OnDeleteData() 157 if (!ITypesUtil::Unmarshal(data, query)) { in OnGetSummary() 184 if (!ITypesUtil::Marshal(reply, status)) { in OnAddPrivilege() 203 if (!ITypesUtil::Marshal(reply, status)) { in OnSync() 213 if (!ITypesUtil::Unmarshal(data, query)) { in OnIsRemoteData() 235 if (!ITypesUtil::Marshal(reply, status)) { in OnSetAppShareOption() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/ |
H A D | types_util_test.cpp | 70 ASSERT_TRUE(ITypesUtil::Marshal(parcel, clientDev)); 72 ASSERT_TRUE(ITypesUtil::Unmarshal(parcel, serverDev)); 84 ASSERT_TRUE(ITypesUtil::Marshal(parcel, entryIn)); 86 ASSERT_TRUE(ITypesUtil::Unmarshal(parcel, entryOut)); 107 ASSERT_TRUE(ITypesUtil::Marshal(parcel, changeIn)); 109 ASSERT_TRUE(ITypesUtil::Unmarshal(parcel, changeOut)); 160 ASSERT_TRUE(ITypesUtil::Marshal(parcelNull, valueNullIn)); 168 ASSERT_TRUE(ITypesUtil::Marshal(parcelUint, valueUintIn)); 186 ASSERT_TRUE(ITypesUtil::Marshal(parcelInt, valueIntIn)); 188 ASSERT_TRUE(ITypesUtil::Unmarshal(parcelInt, valueIntOut)); [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_service_stub.cpp | 139 if (!ITypesUtil::Marshal(reply, status)) { in OnBeforeCreate() 159 if (!ITypesUtil::Marshal(reply, status)) { in OnAfterCreate() 170 if (!ITypesUtil::Marshal(reply, status)) { in OnDelete() 181 if (!ITypesUtil::Marshal(reply, status)) { in OnClose() 198 if (!ITypesUtil::Marshal(reply, status)) { in OnSync() 216 if (!ITypesUtil::Marshal(reply, status)) { in OnCloudSync() 228 if (!ITypesUtil::Unmarshal(data, delay)) { in OnNotifyDataChange() 234 if (!ITypesUtil::Marshal(reply, status)) { in OnNotifyDataChange() 253 if (!ITypesUtil::Marshal(reply, status)) { in OnRegServiceNotifier() 265 if (!ITypesUtil::Marshal(reply, status)) { in OnUnregServiceNotifier() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/ |
H A D | ikvstore_observer.cpp | 56 int64_t insertSize = ITypesUtil::GetTotalSize(changeNotification.GetInsertEntries()); in OnChange() 57 int64_t updateSize = ITypesUtil::GetTotalSize(changeNotification.GetUpdateEntries()); in OnChange() 58 int64_t deleteSize = ITypesUtil::GetTotalSize(changeNotification.GetDeleteEntries()); in OnChange() 66 if (!ITypesUtil::Marshal(data, changeNotification)) { in OnChange() 72 !ITypesUtil::MarshalToBuffer(changeNotification.GetInsertEntries(), insertSize, data) || in OnChange() 73 !ITypesUtil::MarshalToBuffer(changeNotification.GetUpdateEntries(), updateSize, data) || in OnChange() 74 !ITypesUtil::MarshalToBuffer(changeNotification.GetDeleteEntries(), deleteSize, data)) { in OnChange() 120 if (!ITypesUtil::Unmarshal(data, notification)) { in OnRemoteRequest() 131 …if (!ITypesUtil::Unmarshal(data, deviceId, clear) || !ITypesUtil::UnmarshalFromBuffer(data, insert… in OnRemoteRequest() 132 !ITypesUtil::UnmarshalFromBuffer(data, updates) || in OnRemoteRequest() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | kv_types_util.cpp | 18 namespace OHOS::ITypesUtil { namespace 38 return ITypesUtil::Marshalling(input.appId, data); in Marshalling() 44 return ITypesUtil::Unmarshalling(output.appId, data); in Unmarshalling() 50 return ITypesUtil::Marshalling(input.storeId, data); in Marshalling() 56 return ITypesUtil::Unmarshalling(output.storeId, data); in Unmarshalling() 62 return ITypesUtil::Marshal(data, entry.key, entry.value); in Marshalling() 68 return ITypesUtil::Unmarshal(data, output.key, output.value); in Unmarshalling() 171 if (!ITypesUtil::Unmarshal(data, authType)) { in Unmarshalling() 181 return ITypesUtil::Marshal(data, input.type, input.value); in Marshalling() 212 if (!ITypesUtil::Unmarshal(data, status)) { in Unmarshalling() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
H A D | object_service_stub.cpp | 44 if (!ITypesUtil::Marshal(reply, status)) { in ObjectStoreSaveOnRemote() 63 if (!ITypesUtil::Unmarshalling(assetValue, data)) { in OnAssetChangedOnRemote() 68 if (!ITypesUtil::Marshal(reply, status)) { in OnAssetChangedOnRemote() 89 if (!ITypesUtil::Marshal(reply, status)) { in ObjectStoreBindAssetOnRemote() 107 if (!ITypesUtil::Marshal(reply, status)) { in ObjectStoreRevokeSaveOnRemote() 125 if (!ITypesUtil::Marshal(reply, status)) { in ObjectStoreRetrieveOnRemote() 143 if (!ITypesUtil::Marshal(reply, status)) { in OnSubscribeRequest() 154 if (!ITypesUtil::Unmarshal(data, bundleName, sessionId)) { in OnUnsubscribeRequest() 160 if (!ITypesUtil::Marshal(reply, status)) { in OnUnsubscribeRequest() 177 if (!ITypesUtil::Marshal(reply, status)) { in OnDeleteSnapshot() [all …]
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/provider/src/ |
H A D | datashare_stub.cpp | 111 if (!ITypesUtil::Marshal(reply, types)) { in CmdGetFileTypes() 122 if (!ITypesUtil::Unmarshal(data, uri, mode)) { in CmdOpenFile() 152 if (!ITypesUtil::Marshal(reply, fd)) { in CmdOpenRawFile() 219 if (!ITypesUtil::Marshal(reply, results)) { in CmdBatchUpdate() 347 if (!ITypesUtil::Unmarshal(data, uri)) { in CmdGetType() 430 if (!ITypesUtil::Unmarshal(data, uri)) { in CmdNotifyChange() 446 if (!ITypesUtil::Unmarshal(data, uri)) { in CmdNormalizeUri() 451 if (!ITypesUtil::Marshal(reply, ret)) { in CmdNormalizeUri() 461 if (!ITypesUtil::Unmarshal(data, uri)) { in CmdDenormalizeUri() 467 if (!ITypesUtil::Marshal(reply, ret)) { in CmdDenormalizeUri() [all …]
|
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_core_stub.cpp | 63 return ITypesUtil::Marshal(data, inputControlChannel->AsObject()); in InitInputControlChannel() 110 if (!ITypesUtil::Unmarshal(data, isBindFromClient, clientInfo, clientInfo.channel)) { in StartInputOnRemote() 115 return ITypesUtil::Marshal(reply, ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in StartInputOnRemote() 121 if (!ITypesUtil::Unmarshal(data, security)) { in SecurityChangeOnRemote() 137 if (!ITypesUtil::Unmarshal(data, channelObject)) { in OnConnectSystemCmdOnRemote() 151 return ITypesUtil::Unmarshal(data, property) && ITypesUtil::Marshal(parcel, property); in SetSubtypeOnRemote() 159 if (!ITypesUtil::Unmarshal(data, channel)) { in StopInputOnRemote() 170 return ITypesUtil::Marshal(reply, ErrorCode::NO_ERROR, isEnable) ? ErrorCode::NO_ERROR in IsEnableOnRemote() 189 if (!ITypesUtil::Unmarshal(data, isTerminateIme)) { in StopInputServiceOnRemote() 200 if (!ITypesUtil::Unmarshal(data, info)) { in IsPanelShownOnRemote() [all …]
|
H A D | input_method_core_proxy.cpp | 37 return ITypesUtil::Marshal(data, inputControlChannel->AsObject()); in InitInputControlChannel() 45 return ITypesUtil::Marshal(data, isBindFromClient, clientInfo, clientInfo.channel); in StartInput() 52 return ITypesUtil::Marshal(data, security); in OnSecurityChange() 60 [&agent](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, agent); }); in OnConnectSystemCmd() 66 … [isTerminateIme](MessageParcel &data) { return ITypesUtil::Marshal(data, isTerminateIme); }); in StopInputService() 81 …return SendRequest(SET_SUBTYPE, [&property](MessageParcel &data) { return ITypesUtil::Marshal(data… in SetSubtype() 86 …return SendRequest(STOP_INPUT, [&channel](MessageParcel &data) { return ITypesUtil::Marshal(data, … in StopInput() 93 …IS_ENABLE, nullptr, [&isEnable](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, isEnab… in IsEnable() 100 …IS_PANEL_SHOWN, [&panelInfo](MessageParcel &data) { return ITypesUtil::Marshal(data, panelInfo); }, in IsPanelShown() 101 [&isShown](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, isShown); }); in IsPanelShown() [all …]
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/consumer/src/ |
H A D | datashare_proxy.cpp | 164 if (!ITypesUtil::Unmarshal(reply, index)) { in Insert() 221 if (!ITypesUtil::Unmarshal(reply, index)) { in Update() 281 if (!ITypesUtil::Unmarshal(reply, index)) { in Delete() 417 if (!ITypesUtil::Marshal(data, uri)) { in GetType() 430 if (!ITypesUtil::Unmarshal(reply, type)) { in GetType() 464 if (!ITypesUtil::Unmarshal(reply, ret)) { in BatchInsert() 553 if (!ITypesUtil::Marshal(data, uri)) { in NotifyChange() 576 if (!ITypesUtil::Marshal(data, uri)) { in NormalizeUri() 590 if (!ITypesUtil::Unmarshal(reply, info)) { in NormalizeUri() 605 if (!ITypesUtil::Marshal(data, uri)) { in DenormalizeUri() [all …]
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | udmf_types_util.cpp | 23 namespace ITypesUtil { namespace 109 return ITypesUtil::Marshal(parcel, input.summary, input.totalSize); in Marshalling() 115 return ITypesUtil::Unmarshal(parcel, output.summary, output.totalSize); in Unmarshalling() 133 return ITypesUtil::Marshal(parcel, input.intention); in Marshalling() 139 return ITypesUtil::Unmarshal(parcel, output.intention); in Unmarshalling() 145 return ITypesUtil::Marshal(parcel, input.key, input.intention); in Marshalling() 151 return ITypesUtil::Unmarshal(parcel, output.key, output.intention); in Unmarshalling() 158 return ITypesUtil::Marshal(parcel, type); in Marshalling() 165 if (!ITypesUtil::Unmarshal(parcel, type)) { in Unmarshalling() 181 return ITypesUtil::Marshal(parcel, intention); in Marshalling() [all …]
|
/ohos5.0/base/inputmethod/imf/services/src/ |
H A D | input_method_system_ability_stub.cpp | 193 if (!ITypesUtil::Unmarshal(data, bundleName)) { in EnableImeOnRemote() 252 if (!ITypesUtil::Unmarshal(data, status)) { in ListInputMethodOnRemote() 258 if (!ITypesUtil::Marshal(reply, ret, properties)) { in ListInputMethodOnRemote() 268 if (!ITypesUtil::Unmarshal(data, bundleName)) { in ListInputMethodSubtypeOnRemote() 274 if (!ITypesUtil::Marshal(reply, ret, subProps)) { in ListInputMethodSubtypeOnRemote() 285 if (!ITypesUtil::Marshal(reply, ret, subProps)) { in ListCurrentInputMethodSubtypeOnRemote() 309 if (!ITypesUtil::Unmarshal(data, status, info)) { in PanelStatusChangeOnRemote() 364 if (!ITypesUtil::Unmarshal(data, type)) { in IsInputTypeSupportedOnRemote() 375 if (!ITypesUtil::Unmarshal(data, type)) { in StartInputTypeOnRemote() 390 if (!ITypesUtil::Unmarshal(data, info)) { in IsPanelShownOnRemote() [all …]
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/proxy/src/ |
H A D | data_share_service_proxy.cpp | 266 ITypesUtil::Unmarshal(reply, results); in Publish() 326 ITypesUtil::Unmarshal(reply, results); in SubscribeRdbData() 353 ITypesUtil::Unmarshal(reply, results); in UnSubscribeRdbData() 380 ITypesUtil::Unmarshal(reply, results); in EnableSubscribeRdbData() 407 ITypesUtil::Unmarshal(reply, results); in DisableSubscribeRdbData() 441 ITypesUtil::Unmarshal(reply, results); in SubscribePublishedData() 467 ITypesUtil::Unmarshal(reply, results); in UnSubscribePublishedData() 493 ITypesUtil::Unmarshal(reply, results); in EnableSubscribePublishedData() 519 ITypesUtil::Unmarshal(reply, results); in DisableSubscribePublishedData() 530 if (!ITypesUtil::Marshal(data, uri)) { in Notify() [all …]
|