Home
last modified time | relevance | path

Searched refs:softbusErrCode (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_hichain.c146 void GetSoftbusHichainAuthErrorCode(uint32_t hichainErrCode, uint32_t *softbusErrCode) in GetSoftbusHichainAuthErrorCode() argument
148 if (softbusErrCode == NULL) { in GetSoftbusHichainAuthErrorCode()
149 AUTH_LOGE(AUTH_HICHAIN, "softbusErrCode is null"); in GetSoftbusHichainAuthErrorCode()
153 *softbusErrCode = hichainErrCode & MASK_LOW_16BIT; in GetSoftbusHichainAuthErrorCode()
154 *softbusErrCode = -(((SOFTBUS_SUB_SYSTEM) << ERRCODE_SHIFT_21BIT) | in GetSoftbusHichainAuthErrorCode()
155 ((AUTH_SUB_MODULE_CODE) << ERRCODE_SHIFT_16BIT) | (*softbusErrCode | ERRCODE_OR_BIT)); in GetSoftbusHichainAuthErrorCode()
162 *softbusErrCode = -(((SOFTBUS_SUB_SYSTEM) << ERRCODE_SHIFT_21BIT) | in GetSoftbusHichainAuthErrorCode()
165 *softbusErrCode = hichainErrCode; in GetSoftbusHichainAuthErrorCode()
/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_hichain.h47 void GetSoftbusHichainAuthErrorCode(uint32_t hichainErrCode, uint32_t *softbusErrCode);
/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_hichain_test.cpp129 uint32_t softbusErrCode = 0; in HWTEST_F() local
130 GetSoftbusHichainAuthErrorCode(HICHAIN_DAS_ERRCODE_MIN, &softbusErrCode); in HWTEST_F()
131 GetSoftbusHichainAuthErrorCode(0, &softbusErrCode); in HWTEST_F()

Completed in 2 milliseconds