Searched defs:pool (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/java/android/util/ |
H A D | Pools.java | 34 public static <T extends Poolable<T>> Pool<T> synchronizedPool(Pool<T> pool) { argument 35 return new SynchronizedPool<T>(pool); 38 public static <T extends Poolable<T>> Pool<T> synchronizedPool(Pool<T> pool, Object lock) { argument 39 return new SynchronizedPool<T>(pool, lock);
|
H A D | SynchronizedPool.java | 27 public SynchronizedPool(Pool<T> pool) { argument 28 mPool = pool; 32 public SynchronizedPool(Pool<T> pool, Object lock) { argument 33 mPool = pool;
|
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 23 void printStringPool(const ResStringPool* pool) argument 25 const size_t NS = pool->size(); 29 String8(pool->stringAt(s, &len)).string()); 99 NOISY(printf("Adding string %s to pool: pos=%d eidx=%d vidx=%d\n", 162 sp<AaptFile> pool = new AaptFile(String8(), AaptGroupEntry(), local 164 status_t err = writeStringBlock(pool); 165 return err == NO_ERROR ? pool : NULL; 168 status_t StringPool::writeStringBlock(const sp<AaptFile>& pool) argument 171 if (pool->getSize() > 0) { 176 ssize_t res = pool [all...] |
H A D | ResourceTable.cpp | 1844 bool ResourceTable::stringToValue(Res_value* outValue, StringPool* pool, argument 1877 if (pool) { 1879 outValue->data = pool->add(finalStr, *style); 1881 outValue->data = pool->add(finalStr, true); 3427 NOISY(aout << "Setting restable string pool: "
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 710 // this new one to the pool. 712 // Add this timer to the active pool 738 // active in the pool, before taking this one out of the pool. 740 // Remove this timer from the active pool 767 final ArrayList<StopwatchTimer> pool) { 770 final int N = pool.size(); 772 final StopwatchTimer t = pool.get(i); 1775 * proper timer pool from the given BatteryStatsImpl object. 1780 private StopwatchTimer readTimerFromParcel(int type, ArrayList<StopwatchTimer> pool, argument 766 refreshTimersLocked(final BatteryStatsImpl stats, final ArrayList<StopwatchTimer> pool) argument [all...] |
Completed in 78 milliseconds