/base/security/device_auth/services/group_auth/src/group_auth_manager/ |
D | group_auth_data_operation.c | 78 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/ |
D | notification_request_test.cpp | 365 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/ |
D | group_operation_common.c | 52 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/ |
D | data_manager.h | 61 const char *ownerName; member
|
/base/security/device_auth/services/group_manager/src/group_operation/peer_to_peer_group/ |
D | peer_to_peer_group.c | 30 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/ |
D | reminder_request_branch_test.cpp | 551 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/ |
D | data_manager.c | 247 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/ |
D | save_trusted_info_test.cpp | 100 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/ |
D | save_trusted_info.c | 252 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/ |
D | compatible_bind_sub_session.c | 311 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/ |
D | account_unrelated_group_auth.c | 270 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/ |
D | notification_request.h | 851 void SetOwnerBundleName(const std::string &ownerName);
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | notification_request.cpp | 559 void NotificationRequest::SetOwnerBundleName(const std::string &ownerName) in SetOwnerBundleName() argument 561 ownerBundleName_ = ownerName; in SetOwnerBundleName()
|