diff options
author | Mathias Agopian <mathias@google.com> | 2011-03-17 00:13:49 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-03-17 00:13:49 -0700 |
commit | 48e122891afec8bfadaa9d7fdf731b8f711b5b91 (patch) | |
tree | 0c103210fc83805f971426337a4adbdfcb59aa1d /include/utils | |
parent | 607a10c5c94e1f7a657a54c9ee8a9a9f31b50e25 (diff) | |
parent | e22aa62362a3007ee59ac62d4b5969e216987995 (diff) | |
download | frameworks_base-48e122891afec8bfadaa9d7fdf731b8f711b5b91.zip frameworks_base-48e122891afec8bfadaa9d7fdf731b8f711b5b91.tar.gz frameworks_base-48e122891afec8bfadaa9d7fdf731b8f711b5b91.tar.bz2 |
am e22aa623: am 25594e19: am f40e638e: fix [4093196] Device lock up - log spam with SharedBufferStack: waitForCondition(LockCondition) timed out
* commit 'e22aa62362a3007ee59ac62d4b5969e216987995':
fix [4093196] Device lock up - log spam with SharedBufferStack: waitForCondition(LockCondition) timed out
Diffstat (limited to 'include/utils')
-rw-r--r-- | include/utils/Vector.h | 3 |
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; |