summaryrefslogtreecommitdiffstats
path: root/include/utils
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-03-17 00:10:10 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-03-17 00:10:10 -0700
commit25594e1984125081878d2ea057700366a34a8ccf (patch)
tree7427040e8e7fe0018d9a264811016d08ce41200a /include/utils
parent7a0949c60df2085fc38eea71d78f9c17eb26cd65 (diff)
parentf40e638ec62cd9e1a1851809b7c8bf5e4187fad2 (diff)
downloadframeworks_base-25594e1984125081878d2ea057700366a34a8ccf.zip
frameworks_base-25594e1984125081878d2ea057700366a34a8ccf.tar.gz
frameworks_base-25594e1984125081878d2ea057700366a34a8ccf.tar.bz2
am f40e638e: fix [4093196] Device lock up - log spam with SharedBufferStack: waitForCondition(LockCondition) timed out
* commit 'f40e638ec62cd9e1a1851809b7c8bf5e4187fad2': fix [4093196] Device lock up - log spam with SharedBufferStack: waitForCondition(LockCondition) timed out
Diffstat (limited to 'include/utils')
-rw-r--r--include/utils/Vector.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/utils/Vector.h b/include/utils/Vector.h
index ec851bd..6fd307f 100644
--- a/include/utils/Vector.h
+++ b/include/utils/Vector.h
@@ -162,6 +162,9 @@ public:
inline status_t sort(compar_t cmp);
inline status_t sort(compar_r_t cmp, void* state);
+ // for debugging only
+ inline size_t getItemSize() const { return itemSize(); }
+
protected:
virtual void do_construct(void* storage, size_t num) const;
virtual void do_destroy(void* storage, size_t num) const;