Home
last modified time | relevance | path

Searched refs:ownerName (Results 1 – 13 of 13) sorted by relevance

/base/security/device_auth/services/group_auth/src/group_auth_manager/
Dgroup_auth_data_operation.c78 HcString ownerName = CreateString(); in GaDeepCopyGroupEntry() local
79 if (!StringSet(&ownerName, entryOwner)) { in GaDeepCopyGroupEntry()
81 DeleteString(&ownerName); in GaDeepCopyGroupEntry()
84 if (returnEntry->managers.pushBack(&returnEntry->managers, &ownerName) == NULL) { in GaDeepCopyGroupEntry()
86 DeleteString(&ownerName); in GaDeepCopyGroupEntry()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_request_test.cpp365 std::string ownerName = ""; in HWTEST_F() local
366 notificationRequest.SetOwnerBundleName(ownerName); in HWTEST_F()
368 EXPECT_EQ(result1, ownerName); in HWTEST_F()
421 std::string ownerName = ""; in HWTEST_F() local
422 notificationRequest.SetOwnerBundleName(ownerName); in HWTEST_F()
424 EXPECT_EQ(result1, ownerName); in HWTEST_F()
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation_common.c52 static int32_t GetGroupNumByOwner(int32_t osAccountId, const char *ownerName) in GetGroupNumByOwner() argument
54 if (ownerName == NULL) { in GetGroupNumByOwner()
60 queryParams.ownerName = ownerName; in GetGroupNumByOwner()
247 params.ownerName = groupOwner; in GetGroupInfo()
641 HcString ownerName = CreateString(); in AddGroupOwnerToParams() local
642 if (!StringSetPointer(&ownerName, owner)) { in AddGroupOwnerToParams()
644 DeleteString(&ownerName); in AddGroupOwnerToParams()
647 if (groupParams->managers.pushBackT(&groupParams->managers, ownerName) == NULL) { in AddGroupOwnerToParams()
649 DeleteString(&ownerName); in AddGroupOwnerToParams()
/base/security/device_auth/services/data_manager/inc/
Ddata_manager.h61 const char *ownerName; member
/base/security/device_auth/services/group_manager/src/group_operation/peer_to_peer_group/
Dpeer_to_peer_group.c30 static bool IsSameNameGroupExist(int32_t osAccountId, const char *ownerName, const char *groupName) in IsSameNameGroupExist() argument
32 if ((ownerName == NULL) || (groupName == NULL)) { in IsSameNameGroupExist()
37 queryParams.ownerName = ownerName; in IsSameNameGroupExist()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/reminder_request_branch_test/
Dreminder_request_branch_test.cpp551 std::string ownerName = ""; variable
552 reminderRequest->notificationRequest_->SetOwnerBundleName(ownerName);
569 std::string ownerName = "aa"; variable
570 reminderRequest->notificationRequest_->SetOwnerBundleName(ownerName);
/base/security/device_auth/services/data_manager/src/
Ddata_manager.c247 HcString ownerName = CreateString(); in GenerateGroupEntryFromEntry() local
248 if (!StringSet(&ownerName, entryOwner)) { in GenerateGroupEntryFromEntry()
250 DeleteString(&ownerName); in GenerateGroupEntryFromEntry()
253 if (returnEntry->managers.pushBack(&returnEntry->managers, &ownerName) == NULL) { in GenerateGroupEntryFromEntry()
255 DeleteString(&ownerName); in GenerateGroupEntryFromEntry()
689 if (params->ownerName != NULL) { in CompareQueryGroupParams()
691 if (strcmp(params->ownerName, StringGet(&entryOwner)) != 0) { in CompareQueryGroupParams()
836 .ownerName = NULL, in InitQueryGroupParams()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/
Dsave_trusted_info_test.cpp100 HcString ownerName = CreateString(); in GenerateGroupParams() local
101 if (!StringSetPointer(&ownerName, params->appId)) { in GenerateGroupParams()
102 DeleteString(&ownerName); in GenerateGroupParams()
105 if (groupParams->managers.pushBackT(&groupParams->managers, ownerName) == NULL) { in GenerateGroupParams()
106 DeleteString(&ownerName); in GenerateGroupParams()
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
Dsave_trusted_info.c252 HcString ownerName = CreateString(); in GenerateGroupParams() local
253 if (!StringSetPointer(&ownerName, params->appId)) { in GenerateGroupParams()
255 DeleteString(&ownerName); in GenerateGroupParams()
258 if (groupParams->managers.pushBackT(&groupParams->managers, ownerName) == NULL) { in GenerateGroupParams()
260 DeleteString(&ownerName); in GenerateGroupParams()
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session.c311 HcString ownerName = CreateString(); in SetGroupOwner() local
312 if (!StringSetPointer(&ownerName, ownerAppId)) { in SetGroupOwner()
314 DeleteString(&ownerName); in SetGroupOwner()
317 if (groupParams->managers.pushBackT(&groupParams->managers, ownerName) == NULL) { in SetGroupOwner()
319 DeleteString(&ownerName); in SetGroupOwner()
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_unrelated_group_auth/
Daccount_unrelated_group_auth.c270 HcString ownerName = (entry->managers).get(&(entry->managers), 0); in AddNonAccountPkgName() local
271 const char *ownerNameStr = StringGet(&ownerName); in AddNonAccountPkgName()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_request.h851 void SetOwnerBundleName(const std::string &ownerName);
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_request.cpp559 void NotificationRequest::SetOwnerBundleName(const std::string &ownerName) in SetOwnerBundleName() argument
561 ownerBundleName_ = ownerName; in SetOwnerBundleName()