Lines Matching refs:Hash
31 const std::vector<uint8_t> Hash::kEmptyHash = std::vector<uint8_t>(SHA256_DIGEST_LENGTH, 0);
33 Hash& Hash::getMutableHash(const std::string& path) { in getMutableHash()
34 static std::map<std::string, Hash> hashes; in getMutableHash()
39 it = hashes.insert(it, {path, Hash(path)}); in getMutableHash()
45 const Hash& Hash::getHash(const std::string& path) { in getHash()
49 void Hash::clearHash(const std::string& path) { in clearHash()
66 Hash::Hash(const std::string& path) : mPath(path), mHash(sha256File(path)) {} in Hash() function in android::Hash
68 std::string Hash::hexString(const std::vector<uint8_t>& hash) { in hexString()
77 std::string Hash::hexString() const { in hexString()
81 const std::vector<uint8_t>& Hash::raw() const { in raw()
85 const std::string& Hash::getPath() const { in getPath()
164 std::vector<std::string> Hash::lookupHash(const std::string& path, const std::string& interfaceName, in lookupHash()