Home
last modified time | relevance | path

Searched refs:hashCalculator (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/av_session/services/session/server/remote/
H A Dremote_session_syncer_impl.cpp58 HashCalculator hashCalculator; in Init() local
59 …CHECK_AND_RETURN_RET_LOG(hashCalculator.Init() == AVSESSION_SUCCESS, AVSESSION_ERROR, "hash init f… in Init()
60 …CHECK_AND_RETURN_RET_LOG(hashCalculator.Update(std::vector<uint8_t>(object.begin(), object.end()))… in Init()
63 CHECK_AND_RETURN_RET_LOG(hashCalculator.GetResult(hash) == AVSESSION_SUCCESS, AVSESSION_ERROR, in Init()
/ohos5.0/foundation/multimedia/av_session/services/session/server/
H A Davsession_service.cpp873 HashCalculator hashCalculator; in AllocSessionId() local
874 CHECK_AND_RETURN_RET_LOG(hashCalculator.Init() == AVSESSION_SUCCESS, "", "hash init failed"); in AllocSessionId()
875 …CHECK_AND_RETURN_RET_LOG(hashCalculator.Update(std::vector<uint8_t>(id.begin(), id.end())) == AVSE… in AllocSessionId()
878 …CHECK_AND_RETURN_RET_LOG(hashCalculator.GetResult(hash) == AVSESSION_SUCCESS, "", "hash get result… in AllocSessionId()