Home
last modified time | relevance | path

Searched refs:tokenIdStr (Results 1 - 4 of 4) sorted by relevance

/base/useriam/user_auth_framework/services/ipc/src/
H A Duser_auth_service.cpp118 auto tokenIdStr = std::to_string(remoteAuthParam->collectorTokenId.value_or(0)); in GetAuthParamStr() local
119 if (tokenIdStr.size() > TOKEN_ID_MIN_LEN) { in GetAuthParamStr()
120 tokenIdStr = std::string(1, tokenIdStr[0]) + "****" + std::string(1, tokenIdStr[tokenIdStr.size() - 1]); in GetAuthParamStr()
122 tokenIdStr = ""; in GetAuthParamStr()
126 " collectorNetworkId:" << collectorNetworkIdStr << "****" << " collectorTokenId:" << tokenIdStr; in GetAuthParamStr() local
/base/usb/usb_manager/services/native/include/
H A Dusb_right_manager.h44 bool AddDeviceRight(const std::string &deviceName, const std::string &tokenIdStr);
/base/usb/usb_manager/services/native/src/
H A Dusb_right_manager.cpp160 bool UsbRightManager::AddDeviceRight(const std::string &deviceName, const std::string &tokenIdStr) in AddDeviceRight() argument
162 if (!IsAllDigits(tokenIdStr)) { in AddDeviceRight()
163 USB_HILOGE(MODULE_USB_SERVICE, "tokenIdStr invalid"); in AddDeviceRight()
167 uint32_t tokenId = stoul(tokenIdStr); in AddDeviceRight()
196 ret = helper->AddOrUpdateRightRecord(uid, deviceName, hapTokenInfoRes.bundleName, tokenIdStr, info); in AddDeviceRight()
/base/security/access_token/services/privacymanager/test/unittest/
H A Dprivacy_manager_service_test.cpp187 std::string tokenIdStr = std::to_string(tokenId); in HWTEST_F() local
188 args.emplace_back(Str8ToStr16(tokenIdStr)); in HWTEST_F()

Completed in 6 milliseconds