Home
last modified time | relevance | path

Searched refs:gaCallback (Results 1 - 5 of 5) sorted by relevance

/base/security/device_auth/test/fuzztest/group_auth/processauthdata_fuzzer/
H A Dprocessauthdata_fuzzer.cpp48 DeviceAuthCallback gaCallback; in FuzzDoProcessData() local
49 gaCallback.onError = OnError; in FuzzDoProcessData()
50 gaCallback.onFinish = OnFinish; in FuzzDoProcessData()
51 gaCallback.onSessionKeyReturned = OnSessionKeyReturned; in FuzzDoProcessData()
52 gaCallback.onTransmit = onTransmit; in FuzzDoProcessData()
53 gaCallback.onRequest = onRequest; in FuzzDoProcessData()
54 gaInstance->processData(*authReqId, data, (uint32_t)size, &gaCallback); in FuzzDoProcessData()
/base/security/device_auth/test/fuzztest/group_auth/authdevice_fuzzer/
H A Dauthdevice_fuzzer.cpp50 DeviceAuthCallback gaCallback; in FuzzDoAuthDevice() local
51 gaCallback.onError = OnError; in FuzzDoAuthDevice()
52 gaCallback.onFinish = OnFinish; in FuzzDoAuthDevice()
53 gaCallback.onSessionKeyReturned = OnSessionKeyReturned; in FuzzDoAuthDevice()
54 gaCallback.onTransmit = onTransmit; in FuzzDoAuthDevice()
55 gaCallback.onRequest = onRequest; in FuzzDoAuthDevice()
56 gaInstance->authDevice(*osAccountId, *authReqId, authParams.c_str(), &gaCallback); in FuzzDoAuthDevice()
/base/security/device_auth/interfaces/inner_api/
H A Ddevice_auth.h225 const DeviceAuthCallback *gaCallback);
228 const DeviceAuthCallback *gaCallback);
/base/security/device_auth/frameworks/src/
H A Dipc_service.c911 const DeviceAuthCallback *gaCallback = NULL; in IpcServiceGaProcessData() local
931 ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_DEV_AUTH_CB, (uint8_t *)&gaCallback, &inOutLen); in IpcServiceGaProcessData()
937 ret = AddIpcCallBackByReqId(reqId, (const uint8_t *)gaCallback, sizeof(DeviceAuthCallback), CB_TYPE_TMP_DEV_AUTH); in IpcServiceGaProcessData()
961 DeviceAuthCallback *gaCallback = NULL; in IpcServiceGaAuthDevice() local
986 ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_DEV_AUTH_CB, (uint8_t *)&gaCallback, &inOutLen); in IpcServiceGaAuthDevice()
993 ret = AddIpcCallBackByReqId(reqId, (const uint8_t *)gaCallback, sizeof(DeviceAuthCallback), CB_TYPE_TMP_DEV_AUTH); in IpcServiceGaAuthDevice()
/base/security/device_auth/services/
H A Ddevice_auth.c912 const DeviceAuthCallback *gaCallback) in AuthDevice()
919 if ((authParams == NULL) || (osAccountId == INVALID_OS_ACCOUNT) || (gaCallback == NULL)) { in AuthDevice()
949 SessionInitParams params = { context, *gaCallback }; in AuthDevice()
1156 const DeviceAuthCallback *gaCallback) in ProcessData()
1177 res = OpenServerAuthSession(authReqId, receivedMsg, gaCallback); in ProcessData()
911 AuthDevice(int32_t osAccountId, int64_t authReqId, const char *authParams, const DeviceAuthCallback *gaCallback) AuthDevice() argument
1155 ProcessData(int64_t authReqId, const uint8_t *data, uint32_t dataLen, const DeviceAuthCallback *gaCallback) ProcessData() argument

Completed in 6 milliseconds