summaryrefslogtreecommitdiffstats
path: root/drm/mediadrm/plugins/clearkey/common/include/Utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'drm/mediadrm/plugins/clearkey/common/include/Utils.h')
-rw-r--r--drm/mediadrm/plugins/clearkey/common/include/Utils.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drm/mediadrm/plugins/clearkey/common/include/Utils.h b/drm/mediadrm/plugins/clearkey/common/include/Utils.h
index 25431247e0..aa571c0874 100644
--- a/drm/mediadrm/plugins/clearkey/common/include/Utils.h
+++ b/drm/mediadrm/plugins/clearkey/common/include/Utils.h
@@ -17,14 +17,16 @@
#ifndef CLEARKEY_UTILS_H_
#define CLEARKEY_UTILS_H_
+#include <string>
#include <utils/Vector.h>
+namespace android {
// Add a comparison operator for this Vector specialization so that it can be
// used as a key in a KeyedVector.
-namespace android {
-
bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs);
+std::string ByteArrayToHexString(const uint8_t* in_buffer, size_t length);
+
} // namespace android
#define UNUSED(x) (void)(x);