summaryrefslogtreecommitdiff
path: root/libs/utils/tests/BasicHashtable_test.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-12-20 16:23:08 +0000
committerSteve Block <steveblock@google.com>2012-01-03 22:38:27 +0000
commit5baa3a62a97544669fba6d65a11c07f252e654dd (patch)
tree109755e1595b438873d34b981e31f84ea64bd2a5 /libs/utils/tests/BasicHashtable_test.cpp
parent173ab4d61077c49f115b82eff34f97fda5a7273a (diff)
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
Diffstat (limited to 'libs/utils/tests/BasicHashtable_test.cpp')
-rw-r--r--libs/utils/tests/BasicHashtable_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/utils/tests/BasicHashtable_test.cpp b/libs/utils/tests/BasicHashtable_test.cpp
index 764082dc04e1..7dcf7509deb5 100644
--- a/libs/utils/tests/BasicHashtable_test.cpp
+++ b/libs/utils/tests/BasicHashtable_test.cpp
@@ -156,7 +156,7 @@ template <> void getKeyValue(const ComplexEntry& entry, int* key, int* value) {
template <typename TKey, typename TValue>
static void dump(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h) {
- LOGD("hashtable %p, size=%u, capacity=%u, bucketCount=%u",
+ ALOGD("hashtable %p, size=%u, capacity=%u, bucketCount=%u",
&h, h.size(), h.capacity(), h.bucketCount());
for (size_t i = 0; i < h.bucketCount(); i++) {
bool collision, present;
@@ -165,11 +165,11 @@ static void dump(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h) {
if (present) {
int key, value;
getKeyValue(h.entryAt(i), &key, &value);
- LOGD(" [%3u] = collision=%d, present=%d, hash=0x%08x, key=%3d, value=%3d, "
+ ALOGD(" [%3u] = collision=%d, present=%d, hash=0x%08x, key=%3d, value=%3d, "
"hash_type(key)=0x%08x",
i, collision, present, hash, key, value, hash_type(key));
} else {
- LOGD(" [%3u] = collision=%d, present=%d",
+ ALOGD(" [%3u] = collision=%d, present=%d",
i, collision, present);
}
}