Home
last modified time | relevance | path

Searched refs:tokenName (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/common/security/permission/standard/
H A Daccess_control_virtual.c49 void TransGetTokenInfo(uint32_t callingId, char *tokenName, int32_t nameLen, int32_t *tokenType) in TransGetTokenInfo() argument
52 (void)tokenName; in TransGetTokenInfo()
H A Daccess_control.cpp229 void TransGetTokenInfo(uint32_t callingId, char *tokenName, int32_t nameLen, int32_t *tokenType) in TransGetTokenInfo() argument
231 if (callingId == TOKENID_NOT_SET || tokenName == nullptr || tokenType == nullptr) { in TransGetTokenInfo()
245 if (strncpy_s(tokenName, nameLen, tokenInfo.processName.c_str(), nameLen - 1) != EOK) { in TransGetTokenInfo()
257 if (strncpy_s(tokenName, nameLen, hapTokenInfo.bundleName.c_str(), nameLen - 1) != EOK) { in TransGetTokenInfo()
/ohos5.0/foundation/communication/dsoftbus/core/common/security/permission/include/
H A Daccess_control.h41 void TransGetTokenInfo(uint32_t callingId, char *tokenName, int32_t nameLen, int32_t *tokenType);
/ohos5.0/foundation/communication/dsoftbus/core/transmission/common/include/
H A Dsoftbus_app_info.h131 char tokenName[PKG_NAME_SIZE_MAX]; member
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/src/
H A Dtrans_channel_manager.c211 …TransGetTokenInfo(event->firstTokenId, appInfo->tokenName, sizeof(appInfo->tokenName), &event->fir… in TransSetFirstTokenInfo()
212 event->firstTokenName = appInfo->tokenName; in TransSetFirstTokenInfo()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/
H A Dtrans_lane_pending_ctl.c603 …TransGetTokenInfo(event->firstTokenId, appInfo->tokenName, sizeof(appInfo->tokenName), &event->fir… in TransAsyncSetFirstTokenInfo()
604 event->firstTokenName = appInfo->tokenName; in TransAsyncSetFirstTokenInfo()
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/manager/trans_channel_manager_test/
H A Dtrans_channel_manager_test.cpp513 (void)strcpy_s(appInfo->tokenName, SESSION_NAME_SIZE_MAX, TEST_SESSION_NAME);