Home
last modified time | relevance | path

Searched refs:gmInstance (Results 1 – 25 of 43) sorted by relevance

12

/base/security/device_auth/test/fuzztest/group_manage/unregistercallback_fuzzer/
Dunregistercallback_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoUnregisterCallback() local
22 if (gmInstance == nullptr) { in FuzzDoUnregisterCallback()
29 gmInstance->unRegCallback(appId.c_str()); in FuzzDoUnregisterCallback()
/base/security/device_auth/test/fuzztest/group_manage/unregisterdatachangelistener_fuzzer/
Dunregisterdatachangelistener_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoUnregisterDataChangeListener() local
22 if (gmInstance == nullptr) { in FuzzDoUnregisterDataChangeListener()
29 gmInstance->unRegDataChangeListener(appId.c_str()); in FuzzDoUnregisterDataChangeListener()
/base/security/device_auth/test/fuzztest/group_manage/processbinddata_fuzzer/
Dprocessbinddata_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoProcessData() local
22 if (gmInstance == nullptr) { in FuzzDoProcessData()
32 gmInstance->processData(*authReqId, data, (uint32_t)size); in FuzzDoProcessData()
/base/security/device_auth/test/fuzztest/group_manage/getregisterinfo_fuzzer/
Dgetregisterinfo_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoGetRegisterInfo() local
22 if (gmInstance == nullptr) { in FuzzDoGetRegisterInfo()
30 gmInstance->getRegisterInfo(reqJsonStr.c_str(), &returnRegisterInfo); in FuzzDoGetRegisterInfo()
/base/security/device_auth/test/fuzztest/group_manage/cancelbindrequest_fuzzer/
Dcancelbindrequest_fuzzer.cpp26 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoCancelAuthRequest() local
27 if (gmInstance == nullptr) { in FuzzDoCancelAuthRequest()
31 gmInstance->cancelRequest(TEST_REQ_ID, appId.c_str()); in FuzzDoCancelAuthRequest()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservcancelbindrequest_fuzzer/
Ddevauthservcancelbindrequest_fuzzer.cpp36 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoCancelBindRequest() local
37 if (gmInstance == nullptr) { in FuzzDoCancelBindRequest()
42 gmInstance->cancelRequest(TEST_REQ_ID, appId.c_str()); in FuzzDoCancelBindRequest()
/base/security/device_auth/test/fuzztest/group_manage/checkaccess_fuzzer/
Dcheckaccess_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoCheckAccessToGroup() local
22 if (gmInstance == nullptr) { in FuzzDoCheckAccessToGroup()
34 gmInstance->checkAccessToGroup(*osAccountId, appId.c_str(), groupId.c_str()); in FuzzDoCheckAccessToGroup()
/base/security/device_auth/test/fuzztest/group_manage/getgroupinfobyid_fuzzer/
Dgetgroupinfobyid_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoGetGroupInfoById() local
22 if (gmInstance == nullptr) { in FuzzDoGetGroupInfoById()
35 gmInstance->getGroupInfoById(*osAccountId, appId.c_str(), groupId.c_str(), &groupInfo); in FuzzDoGetGroupInfoById()
/base/security/device_auth/test/fuzztest/group_manage/getjoinedgroups_fuzzer/
Dgetjoinedgroups_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoGetJoinedGroups() local
22 if (gmInstance == nullptr) { in FuzzDoGetJoinedGroups()
36 gmInstance->getJoinedGroups(*osAccountId, appId.c_str(), *groupType, &outGroups, &groupNum); in FuzzDoGetJoinedGroups()
/base/security/device_auth/test/fuzztest/group_manage/getpkinfolist_fuzzer/
Dgetpkinfolist_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoGetPkInfoList() local
22 if (gmInstance == nullptr) { in FuzzDoGetPkInfoList()
36gmInstance->getPkInfoList(*osAccountId, appId.c_str(), queryParams.c_str(), &returnInfoList, &retu… in FuzzDoGetPkInfoList()
/base/security/device_auth/test/fuzztest/group_manage/getgroupinfo_fuzzer/
Dgetgroupinfo_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoGetGroupInfo() local
22 if (gmInstance == nullptr) { in FuzzDoGetGroupInfo()
36gmInstance->getGroupInfo(*osAccountId, appId.c_str(), queryParams.c_str(), &outGroups, &groupNum); in FuzzDoGetGroupInfo()
/base/security/device_auth/test/fuzztest/group_manage/gettrusteddevices_fuzzer/
Dgettrusteddevices_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoGetTrustedDevices() local
22 if (gmInstance == nullptr) { in FuzzDoGetTrustedDevices()
36gmInstance->getTrustedDevices(*osAccountId, appId.c_str(), groupId.c_str(), &outDevInfo, &outDevNu… in FuzzDoGetTrustedDevices()
/base/security/device_auth/test/fuzztest/group_manage/deletegroup_fuzzer/
Ddeletegroup_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoDeleteGroup() local
22 if (gmInstance == nullptr) { in FuzzDoDeleteGroup()
35 gmInstance->deleteGroup(*osAccountId, *requestId, appId.c_str(), deleteParams.c_str()); in FuzzDoDeleteGroup()
/base/security/device_auth/test/fuzztest/group_manage/creategroup_fuzzer/
Dcreategroup_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoCreateGroup() local
22 if (gmInstance == nullptr) { in FuzzDoCreateGroup()
35 gmInstance->createGroup(*osAccountId, *requestId, appId.c_str(), createParams.c_str()); in FuzzDoCreateGroup()
/base/security/device_auth/test/fuzztest/group_manage/addmember_fuzzer/
Daddmember_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoAddMemberToGroup() local
22 if (gmInstance == nullptr) { in FuzzDoAddMemberToGroup()
35 gmInstance->addMemberToGroup(*osAccountId, *requestId, appId.c_str(), addParams.c_str()); in FuzzDoAddMemberToGroup()
/base/security/device_auth/test/fuzztest/group_manage/getrelatedgroups_fuzzer/
Dgetrelatedgroups_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoGetRelatedGroups() local
22 if (gmInstance == nullptr) { in FuzzDoGetRelatedGroups()
36gmInstance->getRelatedGroups(*osAccountId, appId.c_str(), peerDeviceId.c_str(), &outGroups, &group… in FuzzDoGetRelatedGroups()
/base/security/device_auth/test/fuzztest/group_manage/deletemember_fuzzer/
Ddeletemember_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoDeleteMember() local
22 if (gmInstance == nullptr) { in FuzzDoDeleteMember()
35gmInstance->deleteMemberFromGroup(*osAccountId, *requestId, appId.c_str(), deleteParams.c_str()); in FuzzDoDeleteMember()
/base/security/device_auth/test/fuzztest/group_manage/isdeviceingroup_fuzzer/
Disdeviceingroup_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoIsDeviceInGroup() local
22 if (gmInstance == nullptr) { in FuzzDoIsDeviceInGroup()
35 gmInstance->isDeviceInGroup(*osAccountId, appId.c_str(), groupId.c_str(), deviceId.c_str()); in FuzzDoIsDeviceInGroup()
/base/security/device_auth/test/fuzztest/group_manage/getdeviceinfobyid_fuzzer/
Dgetdeviceinfobyid_fuzzer.cpp21 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoGetDeviceInfoById() local
22 if (gmInstance == nullptr) { in FuzzDoGetDeviceInfoById()
36gmInstance->getDeviceInfoById(*osAccountId, appId.c_str(), deviceId.c_str(), groupId.c_str(), &out… in FuzzDoGetDeviceInfoById()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetjoinedgroups_fuzzer/
Ddevauthservgetjoinedgroups_fuzzer.cpp76 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoGetJoinedGroups() local
77 gmInstance->regCallback(appId.c_str(), &g_gmCallback); in FuzzDoGetJoinedGroups()
87 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoGetJoinedGroups()
92gmInstance->getJoinedGroups(0, appId.c_str(), PEER_TO_PEER_GROUP, &returnGroupVec, &groupNum); in FuzzDoGetJoinedGroups()
94 gmInstance->destroyInfo(&returnGroupVec); in FuzzDoGetJoinedGroups()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgettrusteddevices_fuzzer/
Ddevauthservgettrusteddevices_fuzzer.cpp76 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoGetTrustedDevices() local
77 gmInstance->regCallback(appId.c_str(), &g_gmCallback); in FuzzDoGetTrustedDevices()
87 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoGetTrustedDevices()
92 gmInstance->getTrustedDevices(0, appId.c_str(), g_groupId, &returnDevInfoVec, &deviceNum); in FuzzDoGetTrustedDevices()
94 gmInstance->destroyInfo(&returnDevInfoVec); in FuzzDoGetTrustedDevices()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetdeviceinfobyid_fuzzer/
Ddevauthservgetdeviceinfobyid_fuzzer.cpp76 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoGetDeviceInfoById() local
77 gmInstance->regCallback(appId.c_str(), &g_gmCallback); in FuzzDoGetDeviceInfoById()
87 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoGetDeviceInfoById()
91 gmInstance->getDeviceInfoById(0, appId.c_str(), localUdid, g_groupId, &returnDeviceInfo); in FuzzDoGetDeviceInfoById()
93 gmInstance->destroyInfo(&returnDeviceInfo); in FuzzDoGetDeviceInfoById()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetgroupinfobyid_fuzzer/
Ddevauthservgetgroupinfobyid_fuzzer.cpp76 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoGetGroupInfoById() local
77 gmInstance->regCallback(appId.c_str(), &g_gmCallback); in FuzzDoGetGroupInfoById()
87 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoGetGroupInfoById()
91 gmInstance->getGroupInfoById(0, appId.c_str(), g_groupId, &returnGroupInfo); in FuzzDoGetGroupInfoById()
93 gmInstance->destroyInfo(&returnGroupInfo); in FuzzDoGetGroupInfoById()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetrelatedgroups_fuzzer/
Ddevauthservgetrelatedgroups_fuzzer.cpp76 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoGetRelatedGroups() local
77 gmInstance->regCallback(appId.c_str(), &g_gmCallback); in FuzzDoGetRelatedGroups()
87 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoGetRelatedGroups()
92 gmInstance->getRelatedGroups(0, appId.c_str(), localUdid, &returnGroupVec, &groupNum); in FuzzDoGetRelatedGroups()
94 gmInstance->destroyInfo(&returnGroupVec); in FuzzDoGetRelatedGroups()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetregisterinfo_fuzzer/
Ddevauthservgetregisterinfo_fuzzer.cpp43 const DeviceGroupManager *gmInstance = GetGmInstance(); in FuzzDoGetRegisterInfo() local
46 gmInstance->getRegisterInfo(reqJsonStr, &returnJsonStr); in FuzzDoGetRegisterInfo()
48 gmInstance->destroyInfo(&returnJsonStr); in FuzzDoGetRegisterInfo()

12