Home
last modified time | relevance | path

Searched refs:outDevInfo (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/security/device_auth/test/fuzztest/group_manage/gettrusteddevices_fuzzer/
H A Dgettrusteddevices_fuzzer.cpp34 char *outDevInfo = nullptr; in FuzzDoGetTrustedDevices() local
36 …gmInstance->getTrustedDevices(*osAccountId, appId.c_str(), groupId.c_str(), &outDevInfo, &outDevNu… in FuzzDoGetTrustedDevices()
/ohos5.0/base/security/device_auth/test/fuzztest/group_manage/getdeviceinfobyid_fuzzer/
H A Dgetdeviceinfobyid_fuzzer.cpp35 char *outDevInfo = nullptr; in FuzzDoGetDeviceInfoById() local
36 …ce->getDeviceInfoById(*osAccountId, appId.c_str(), deviceId.c_str(), groupId.c_str(), &outDevInfo); in FuzzDoGetDeviceInfoById()
/ohos5.0/base/security/device_auth/frameworks/src/
H A Dipc_service.c759 char *outDevInfo = NULL; in IpcServiceGmGetDeviceInfoById() local
784 …allRet = g_devGroupMgrMethod.getDeviceInfoById(osAccountId, appId, peerUdid, groupId, &outDevInfo); in IpcServiceGmGetDeviceInfoById()
788 if (outDevInfo != NULL) { in IpcServiceGmGetDeviceInfoById()
790 (const uint8_t *)outDevInfo, HcStrlen(outDevInfo) + 1); in IpcServiceGmGetDeviceInfoById()
791 g_devGroupMgrMethod.destroyInfo(&outDevInfo); in IpcServiceGmGetDeviceInfoById()
807 char *outDevInfo = NULL; in IpcServiceGmGetTrustedDevices() local
827 …callRet = g_devGroupMgrMethod.getTrustedDevices(osAccountId, appId, groupId, &outDevInfo, &outDevN… in IpcServiceGmGetTrustedDevices()
831 if (outDevInfo != NULL) { in IpcServiceGmGetTrustedDevices()
833 (const uint8_t *)outDevInfo, HcStrlen(outDevInfo) + 1); in IpcServiceGmGetTrustedDevices()
838 g_devGroupMgrMethod.destroyInfo(&outDevInfo); in IpcServiceGmGetTrustedDevices()
H A Dipc_sdk.c1138 static int32_t DevInfoByIdIpcResult(const IpcDataInfo *replies, int32_t cacheNum, char **outDevInfo) in DevInfoByIdIpcResult() argument
1148 GetIpcReplyByType(replies, cacheNum, PARAM_TYPE_DEVICE_INFO, (uint8_t *)outDevInfo, NULL); in DevInfoByIdIpcResult()
1149 if (*outDevInfo == NULL) { in DevInfoByIdIpcResult()
1152 *outDevInfo = strdup(*outDevInfo); in DevInfoByIdIpcResult()
1153 if (*outDevInfo == NULL) { in DevInfoByIdIpcResult()
1189 char **outDevInfo) in IpcGmGetDeviceInfoById() argument
1197 …if (IsStrInvalid(appId) || IsStrInvalid(peerUdid) || IsStrInvalid(groupId) || (outDevInfo == NULL)… in IpcGmGetDeviceInfoById()
1226 ret = DevInfoByIdIpcResult(replyCache, REPLAY_CACHE_NUM(replyCache), outDevInfo); in IpcGmGetDeviceInfoById()