Home
last modified time | relevance | path

Searched refs:createParams (Results 1 – 25 of 30) sorted by relevance

12

/base/security/device_auth/test/fuzztest/device_auth_service/devauthservcreategroup_fuzzer/
Ddevauthservcreategroup_fuzzer.cpp84 char *createParams = PackJsonToString(createJson); in FuzzDoCreateGroup() local
86 LOGI("create params str:%s", createParams); in FuzzDoCreateGroup()
88 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoCreateGroup()
90 ClearAndFreeJsonString(createParams); in FuzzDoCreateGroup()
/base/security/device_auth/test/fuzztest/group_manage/creategroup_fuzzer/
Dcreategroup_fuzzer.cpp34 std::string createParams(reinterpret_cast<const char *>(data), size); in FuzzDoCreateGroup()
35 gmInstance->createGroup(*osAccountId, *requestId, appId.c_str(), createParams.c_str()); in FuzzDoCreateGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservcheckaccesstogroup_fuzzer/
Ddevauthservcheckaccesstogroup_fuzzer.cpp84 char *createParams = PackJsonToString(createJson); in FuzzDoCheckAccessToGroup() local
87 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoCheckAccessToGroup()
89 ClearAndFreeJsonString(createParams); in FuzzDoCheckAccessToGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservisdeviceingroup_fuzzer/
Ddevauthservisdeviceingroup_fuzzer.cpp84 char *createParams = PackJsonToString(createJson); in FuzzDoIsDeviceInGroup() local
87 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoIsDeviceInGroup()
89 ClearAndFreeJsonString(createParams); in FuzzDoIsDeviceInGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetjoinedgroups_fuzzer/
Ddevauthservgetjoinedgroups_fuzzer.cpp84 char *createParams = PackJsonToString(createJson); in FuzzDoGetJoinedGroups() local
87 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoGetJoinedGroups()
89 ClearAndFreeJsonString(createParams); in FuzzDoGetJoinedGroups()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgettrusteddevices_fuzzer/
Ddevauthservgettrusteddevices_fuzzer.cpp84 char *createParams = PackJsonToString(createJson); in FuzzDoGetTrustedDevices() local
87 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoGetTrustedDevices()
89 ClearAndFreeJsonString(createParams); in FuzzDoGetTrustedDevices()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetdeviceinfobyid_fuzzer/
Ddevauthservgetdeviceinfobyid_fuzzer.cpp84 char *createParams = PackJsonToString(createJson); in FuzzDoGetDeviceInfoById() local
87 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoGetDeviceInfoById()
89 ClearAndFreeJsonString(createParams); in FuzzDoGetDeviceInfoById()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetgroupinfobyid_fuzzer/
Ddevauthservgetgroupinfobyid_fuzzer.cpp84 char *createParams = PackJsonToString(createJson); in FuzzDoGetGroupInfoById() local
87 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoGetGroupInfoById()
89 ClearAndFreeJsonString(createParams); in FuzzDoGetGroupInfoById()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetrelatedgroups_fuzzer/
Ddevauthservgetrelatedgroups_fuzzer.cpp84 char *createParams = PackJsonToString(createJson); in FuzzDoGetRelatedGroups() local
87 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoGetRelatedGroups()
89 ClearAndFreeJsonString(createParams); in FuzzDoGetRelatedGroups()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservdeletegroup_fuzzer/
Ddevauthservdeletegroup_fuzzer.cpp84 char *createParams = PackJsonToString(createJson); in FuzzDoDeleteGroup() local
87 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoDeleteGroup()
89 ClearAndFreeJsonString(createParams); in FuzzDoDeleteGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservaddmultimemberstogroup_fuzzer/
Ddevauthservaddmultimemberstogroup_fuzzer.cpp91 char *createParams = PackJsonToString(createJson); in FuzzDoAddMultiMembersToGroup() local
94 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoAddMultiMembersToGroup()
96 ClearAndFreeJsonString(createParams); in FuzzDoAddMultiMembersToGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservauthdevice_fuzzer/
Ddevauthservauthdevice_fuzzer.cpp94 char *createParams = PackJsonToString(createJson); in FuzzDoAuthDevice() local
97 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoAuthDevice()
99 ClearAndFreeJsonString(createParams); in FuzzDoAuthDevice()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservaddmembertogroup_fuzzer/
Ddevauthservaddmembertogroup_fuzzer.cpp93 char *createParams = PackJsonToString(createJson); in FuzzDoAddMemberToGroup() local
96 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoAddMemberToGroup()
98 ClearAndFreeJsonString(createParams); in FuzzDoAddMemberToGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetpkinfolist_fuzzer/
Ddevauthservgetpkinfolist_fuzzer.cpp92 char *createParams = PackJsonToString(createJson); in FuzzDoGetPkInfoList() local
95 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoGetPkInfoList()
97 ClearAndFreeJsonString(createParams); in FuzzDoGetPkInfoList()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetgroupinfo_fuzzer/
Ddevauthservgetgroupinfo_fuzzer.cpp92 char *createParams = PackJsonToString(createJson); in FuzzDoGetGroupInfo() local
95 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoGetGroupInfo()
97 ClearAndFreeJsonString(createParams); in FuzzDoGetGroupInfo()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservdeletemultimembersfromgroup_fuzzer/
Ddevauthservdeletemultimembersfromgroup_fuzzer.cpp92 char *createParams = PackJsonToString(createJson); in FuzzDoDeleteMultiMembersFromGroup() local
95 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoDeleteMultiMembersFromGroup()
97 ClearAndFreeJsonString(createParams); in FuzzDoDeleteMultiMembersFromGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservdeletememberfromgroup_fuzzer/
Ddevauthservdeletememberfromgroup_fuzzer.cpp92 char *createParams = PackJsonToString(createJson); in FuzzDoDeleteMemberFromGroup() local
95 gmInstance->createGroup(0, reqId, appId.c_str(), createParams); in FuzzDoDeleteMemberFromGroup()
97 ClearAndFreeJsonString(createParams); in FuzzDoDeleteMemberFromGroup()
/base/security/device_auth/test/unittest/deviceauth/source/
Ddeviceauth_standard_test.cpp315 …id CreateDemoGroup(int32_t osAccountId, int64_t reqId, const char *appId, const char *createParams) in CreateDemoGroup() argument
319 int32_t ret = gm->createGroup(osAccountId, reqId, appId, createParams); in CreateDemoGroup()
418 const char *createParams) in CreateDemoAcrossAccountGroup() argument
423 int32_t ret = gm->createGroup(osAccountId, reqId, appId, createParams); in CreateDemoAcrossAccountGroup()
989 const char *createParams = "{\"deviceId\":\"TestAuthId\",\"groupType\":256,\"group" variable
991 CreateDemoGroup(DEFAULT_OS_ACCOUNT, TEST_REQ_ID, TEST_APP_ID, createParams);
1001 const char *createParams = "{\"groupName\":\"TestGroup\",\"groupType\":256,\"group" variable
1003 CreateDemoGroup(DEFAULT_OS_ACCOUNT, TEST_REQ_ID, TEST_APP_ID, createParams);
1013 const char *createParams = "{\"groupName\":\"TestGroup\",\"deviceId\":\"TestAuthId\",\"group" variable
1015 CreateDemoGroup(DEFAULT_OS_ACCOUNT, TEST_REQ_ID, TEST_APP_ID, createParams);
[all …]
/base/security/device_auth/services/group_manager/src/
Dgroup_manager.c24 …reateGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *createParams) in CreateGroupImpl() argument
28 …IsGroupSupport() ? GetGroupImplInstance()->createGroup(osAccountId, requestId, appId, createParams) in CreateGroupImpl()
/base/security/device_auth/services/group_manager/inc/
Dgroup_manager.h29 …eateGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *createParams);
Dgroup_operation.h32 …*createGroup)(int32_t osAccountId, int64_t requestId, const char *appId, const char *createParams);
/base/security/device_auth/interfaces/inner_api/
Ddevice_auth_ext.h115 …*createGroup)(int32_t osAccountId, int64_t requestId, const char *appId, const char *createParams);
Ddevice_auth.h231 …*createGroup)(int32_t osAccountId, int64_t requestId, const char *appId, const char *createParams);
/base/security/device_auth/frameworks/src/
Dipc_sdk.c271 const char *appId, const char *createParams) in EncodeCreateGroupParams() argument
290 (const uint8_t *)createParams, strlen(createParams) + 1); in EncodeCreateGroupParams()
298 …cGmCreateGroup(int32_t osAccountId, int64_t requestId, const char *appId, const char *createParams) in IpcGmCreateGroup() argument
306 if (IsStrInvalid(createParams) || IsStrInvalid(appId)) { in IpcGmCreateGroup()
315 ret = EncodeCreateGroupParams(callCtx, osAccountId, requestId, appId, createParams); in IpcGmCreateGroup()
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation.c471 …estCreateGroup(int32_t osAccountId, int64_t requestId, const char *appId, const char *createParams) in RequestCreateGroup() argument
474 if ((appId == NULL) || (createParams == NULL) || (osAccountId == INVALID_OS_ACCOUNT)) { in RequestCreateGroup()
480 CJson *params = CreateJsonFromString(createParams); in RequestCreateGroup()

12