Home
last modified time | relevance | path

Searched refs:participants (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/cloud_data/src/
H A Dcloud_service_proxy.cpp119 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 Dcloud_service_stub.cpp182 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 Dcloud_service_impl.h53 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 Dcloud_value_util.cpp108 std::vector<SharingPtpant> Convert(const std::vector<Participant> &participants) in Convert() argument
110 return Convert<Participant, SharingPtpant>(participants); in Convert()
H A Dcloud_value_util.h48 std::vector<SharingPtpant> Convert(const std::vector<Participant> &participants);
H A Dcloud_service_impl.cpp1121 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 Djs_cloud_share.cpp50 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 Djs-apis-data-cloudData-sys.md1071 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 Djs-apis-data-cloudExtension-sys.md1406 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 Djs-apis-data-cloudData-sys.md1071 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 Djs-apis-data-cloudExtension-sys.md1407 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 Dcloud_service_proxy.h40 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 Dsharing_center.cpp19 …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 Dcloud_service.h109 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 Dsharing_center.h87 const Participants &participants);
89 const Participants &participants);
93 const Participants &participants);
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/clouddata/unittest/src/
H A DCloudShareTest.js55 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 Dcloud_data_test.cpp532 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 Dcode-of-conduct.md26 Examples of unacceptable behavior by participants include: