/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/cloud_data/src/ |
H A D | cloud_service_proxy.cpp | 119 const std::vector<std::string> &columns, const std::vector<Participant> &participants) in AllocResourceAndShare() argument 122 …atus = IPC_SEND(TRANS_ALLOC_RESOURCE_AND_SHARE, reply, storeId, predicates, columns, participants); in AllocResourceAndShare() 157 const std::string &sharingRes, const Participants &participants, Results &results) in Share() argument 160 int32_t status = IPC_SEND(TRANS_SHARE, reply, sharingRes, participants); in Share() 163 status, sharingRes.c_str(), participants.size()); in Share() 170 const std::string &sharingRes, const Participants &participants, Results &results) in Unshare() argument 173 int32_t status = IPC_SEND(TRANS_UNSHARE, reply, sharingRes, participants); in Unshare() 176 status, sharingRes.c_str(), participants.size()); in Unshare() 194 const std::string &sharingRes, const Participants &participants, Results &results) in ChangePrivilege() argument 197 int32_t status = IPC_SEND(TRANS_CHANGE_PRIVILEGE, reply, sharingRes, participants); in ChangePrivilege() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/ |
H A D | cloud_service_stub.cpp | 182 std::vector<Participant> participants; in OnAllocResourceAndShare() local 183 if (!ITypesUtil::Unmarshal(data, storeId, predicatesMemo, columns, participants)) { in OnAllocResourceAndShare() 220 Participants participants; in OnShare() local 221 if (!ITypesUtil::Unmarshal(data, sharingRes, participants)) { in OnShare() 226 auto status = Share(sharingRes, participants, results); in OnShare() 233 Participants participants; in OnUnshare() local 234 if (!ITypesUtil::Unmarshal(data, sharingRes, participants)) { in OnUnshare() 239 auto status = Unshare(sharingRes, participants, results); in OnUnshare() 258 Participants participants; in OnChangePrivilege() local 259 if (!ITypesUtil::Unmarshal(data, sharingRes, participants)) { in OnChangePrivilege() [all …]
|
H A D | cloud_service_impl.h | 53 const Participants& participants) override; 54 …int32_t Share(const std::string &sharingRes, const Participants &participants, Results &results) o… 55 …int32_t Unshare(const std::string &sharingRes, const Participants &participants, Results &results)… 58 const std::string &sharingRes, const Participants &participants, Results &results) override;
|
H A D | cloud_value_util.cpp | 108 std::vector<SharingPtpant> Convert(const std::vector<Participant> &participants) in Convert() argument 110 return Convert<Participant, SharingPtpant>(participants); in Convert()
|
H A D | cloud_value_util.h | 48 std::vector<SharingPtpant> Convert(const std::vector<Participant> &participants);
|
H A D | cloud_service_impl.cpp | 1121 const std::vector<std::string>& columns, const Participants& participants) in AllocResourceAndShare() argument 1167 Share(shareRes, participants, results); in AllocResourceAndShare() 1208 int32_t CloudServiceImpl::Share(const std::string &sharingRes, const Participants &participants, Re… in Share() argument 1221 results = instance->Share(hapInfo.user, hapInfo.bundleName, sharingRes, Convert(participants)); in Share() 1228 int32_t CloudServiceImpl::Unshare(const std::string &sharingRes, const Participants &participants, … in Unshare() argument 1241 … results = instance->Unshare(hapInfo.user, hapInfo.bundleName, sharingRes, Convert(participants)); in Unshare() 1269 … CloudServiceImpl::ChangePrivilege(const std::string &sharingRes, const Participants &participants, in ChangePrivilege() argument 1284 …s = instance->ChangePrivilege(hapInfo.user, hapInfo.bundleName, sharingRes, Convert(participants)); in ChangePrivilege()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/ |
H A D | js_cloud_share.cpp | 50 Participants participants; in AllocResourceAndShare() member 67 status = JSUtils::Convert2Value(env, argv[2], ctxt->participants); in AllocResourceAndShare() 117 Participants participants; in Share() member 127 status = JSUtils::Convert2Value(env, argv[1], ctxt->participants); in Share() 128 ASSERT_BUSINESS_ERR(ctxt, status == JSUtils::OK && !ctxt->participants.empty(), in Share() 168 Participants participants; in Unshare() member 178 status = JSUtils::Convert2Value(env, argv[1], ctxt->participants); in Unshare() 179 ASSERT_BUSINESS_ERR(ctxt, status == JSUtils::OK && !ctxt->participants.empty(), in Unshare() 264 Participants participants; in ChangePrivilege() member 274 status = JSUtils::Convert2Value(env, argv[1], ctxt->participants); in ChangePrivilege() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/ |
H A D | js-apis-data-cloudData-sys.md | 1071 let participants = new Array<cloudData.sharing.Participant>(); 1072 participants.push({ 1136 let participants = new Array<cloudData.sharing.Participant>(); 1137 participants.push({ 1203 participants.push({ 1272 participants.push({ 1325 participants.push({ 1385 participants.push({ 1438 participants.push({ 1581 participants.push({ [all …]
|
H A D | js-apis-data-cloudExtension-sys.md | 1406 participants.push({ 1419 participants.push({ 1435 value: participants 1480 participants.push({ 1493 participants.push({ 1509 value: participants 1812 participants.push({ 1825 participants.push({ 1841 value: participants 1852 participants.push({ [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/ |
H A D | js-apis-data-cloudData-sys.md | 1071 let participants = new Array<cloudData.sharing.Participant>(); 1072 participants.push({ 1136 let participants = new Array<cloudData.sharing.Participant>(); 1137 participants.push({ 1203 participants.push({ 1272 participants.push({ 1325 participants.push({ 1385 participants.push({ 1438 participants.push({ 1581 participants.push({ [all …]
|
H A D | js-apis-data-cloudExtension-sys.md | 1407 participants.push({ 1420 participants.push({ 1436 value: participants 1481 participants.push({ 1494 participants.push({ 1510 value: participants 1813 participants.push({ 1826 participants.push({ 1842 value: participants 1853 participants.push({ [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/cloud_data/include/ |
H A D | cloud_service_proxy.h | 40 const Participants& participants) override; 41 …int32_t Share(const std::string &sharingRes, const Participants &participants, Results &results) o… 42 …int32_t Unshare(const std::string &sharingRes, const Participants &participants, Results &results)… 45 const std::string &sharingRes, const Participants &participants, Results &results) override;
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/ |
H A D | sharing_center.cpp | 19 …Id, const std::string &bundleName, const std::string &sharingRes, const Participants &participants) in Share() argument 25 …Id, const std::string &bundleName, const std::string &sharingRes, const Participants &participants) in Unshare() argument 37 …Id, const std::string &bundleName, const std::string &sharingRes, const Participants &participants) in ChangePrivilege() argument
|
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/cloud_data/include/ |
H A D | cloud_service.h | 109 const Participants &participants) = 0; 110 …virtual int32_t Share(const std::string &sharingRes, const Participants &participants, Results &re… 111 …virtual int32_t Unshare(const std::string &sharingRes, const Participants &participants, Results &… 114 const std::string &sharingRes, const Participants &participants, Results &results) = 0;
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/cloud/ |
H A D | sharing_center.h | 87 const Participants &participants); 89 const Participants &participants); 93 const Participants &participants);
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/clouddata/unittest/src/ |
H A D | CloudShareTest.js | 55 let participants = [participants1, participants2]; variable 116 … cloudData.sharing.allocResourceAndShare(undefined, predicates, participants, (err, resultSet) => { 138 … cloudData.sharing.allocResourceAndShare("employee", undefined, participants, (err, resultSet) => { 188 …await cloudData.sharing.allocResourceAndShare(undefined, predicates, participants, columns).then((… 209 …await cloudData.sharing.allocResourceAndShare("employee", undefined, participants, columns).then((… 252 cloudData.sharing.share(undefined, participants, ((err, result) => { 294 cloudData.sharing.share(undefined, participants).then(result => { 334 cloudData.sharing.unshare(undefined, participants, ((err, result) => { 376 cloudData.sharing.unshare(undefined, participants).then(result => {
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | cloud_data_test.cpp | 532 CloudData::Participants participants{}; variable 547 CloudData::Participants participants{}; variable 562 CloudData::Participants participants{}; variable 651 CloudData::Participants participants; variable 1147 std::vector<CloudData::Participant> participants; variable 1168 CloudData::Participants participants; variable 1170 ITypesUtil::Marshal(data, sharingRes, participants, results); 1190 CloudData::Participants participants; variable 1192 ITypesUtil::Marshal(data, sharingRes, participants, results); 1233 CloudData::Participants participants; variable [all …]
|
/ohos5.0/docs/en/contribute/ |
H A D | code-of-conduct.md | 26 Examples of unacceptable behavior by participants include:
|