Home
last modified time | relevance | path

Searched refs:clearCache (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTests.java108 mStorage.clearCache(); in testKeyValue_InitializeWorked()
115 mStorage.clearCache(); in testKeyValue_WriteThenRead()
159 mStorage.clearCache(); in testKeyValue_Concurrency()
193 mStorage.clearCache(); in testKeyValue_CacheStarvedWriter()
223 mStorage.clearCache(); in testPassword_Write()
233 mStorage.clearCache(); in testPassword_WriteProfileWritesParent()
246 mStorage.clearCache(); in testLockType_WriteProfileWritesParent()
259 mStorage.clearCache(); in testPassword_WriteParentWritesProfile()
269 mStorage.clearCache(); in testProfileLock_ReadWriteChildProfileLock()
278 mStorage.clearCache(); in testPattern_Write()
[all …]
/frameworks/base/cmds/statsd/src/external/
DStatsPuller.cpp86 return clearCache(); in ForceClearCache()
89 int StatsPuller::clearCache() { in clearCache() function in android::os::statsd::StatsPuller
104 return clearCache(); in ClearCacheIfNecessary()
DStatsPuller.h81 int clearCache();
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java108 clearCache(record.getUserId()); in addSession()
129 clearCache(record.getUserId()); in removeSession()
165 clearCache(record.getUserId()); in onPlaystateChanged()
192 clearCache(record.getUserId()); in onSessionStateChange()
393 private void clearCache(int userId) { in clearCache() method in MediaSessionStack
/frameworks/av/media/bufferpool/1.0/
DBufferPoolClient.cpp59 bool isActive(int64_t *lastTransactionUs, bool clearCache);
88 void evictCaches(bool clearCache = false);
285 bool BufferPoolClient::Impl::isActive(int64_t *lastTransactionUs, bool clearCache) { in isActive() argument
290 evictCaches(clearCache); in isActive()
295 mLocalConnection->cleanUp(clearCache); in isActive()
572 void BufferPoolClient::Impl::evictCaches(bool clearCache) { in evictCaches() argument
574 if (now >= mLastEvictCacheUs + kCacheTtlUs || clearCache) { in evictCaches()
577 if (!it->second->hasCache() && (it->second->expire() || clearCache)) { in evictCaches()
652 bool BufferPoolClient::isActive(int64_t *lastTransactionUs, bool clearCache) { in isActive() argument
657 return mImpl->isActive(lastTransactionUs, clearCache); in isActive()
DConnection.cpp80 void Connection::cleanUp(bool clearCache) { in cleanUp() argument
82 mAccessor->cleanUp(clearCache); in cleanUp()
DAccessorImpl.h58 void cleanUp(bool clearCache);
287 void cleanUp(bool clearCache = false);
DAccessorImpl.cpp225 void Accessor::Impl::cleanUp(bool clearCache) { in cleanUp() argument
229 mBufferPool.cleanUp(clearCache); in cleanUp()
506 void Accessor::Impl::BufferPool::cleanUp(bool clearCache) { in cleanUp() argument
507 if (clearCache || mTimestampUs > mLastCleanUpUs + kCleanUpDurationUs) { in cleanUp()
520 if (!clearCache && mStats.mSizeCached < kMinAllocBytesForEviction in cleanUp()
DConnection.h69 void cleanUp(bool clearCache);
DAccessor.cpp186 void Accessor::cleanUp(bool clearCache) { in cleanUp() argument
188 mImpl->cleanUp(clearCache); in cleanUp()
DBufferPoolClient.h68 bool isActive(int64_t *lastTransactionUs, bool clearCache);
DClientManager.cpp129 void cleanUp(bool clearCache = false);
376 void ClientManager::Impl::cleanUp(bool clearCache) { in cleanUp() argument
380 if (clearCache || mCache.mLastCleanUpUs + kCleanUpDurationUs < now) { in cleanUp()
384 if (!it->second->isActive(&lastTransactionUs, clearCache)) { in cleanUp()
DAccessor.h169 void cleanUp(bool clearCache);
/frameworks/av/media/bufferpool/2.0/
DConnection.cpp87 void Connection::cleanUp(bool clearCache) { in cleanUp() argument
89 mAccessor->cleanUp(clearCache); in cleanUp()
DBufferPoolClient.cpp59 bool isActive(int64_t *lastTransactionUs, bool clearCache);
92 void evictCaches(bool clearCache = false);
316 bool BufferPoolClient::Impl::isActive(int64_t *lastTransactionUs, bool clearCache) { in isActive() argument
321 evictCaches(clearCache); in isActive()
326 mLocalConnection->cleanUp(clearCache); in isActive()
669 void BufferPoolClient::Impl::evictCaches(bool clearCache) { in evictCaches() argument
671 if (now >= mLastEvictCacheUs + kCacheTtlUs || clearCache) { in evictCaches()
674 if (!it->second->hasCache() && (it->second->expire() || clearCache)) { in evictCaches()
794 bool BufferPoolClient::isActive(int64_t *lastTransactionUs, bool clearCache) { in isActive() argument
799 return mImpl->isActive(lastTransactionUs, clearCache); in isActive()
DConnection.h74 void cleanUp(bool clearCache);
DAccessor.cpp211 void Accessor::cleanUp(bool clearCache) { in cleanUp() argument
213 mImpl->cleanUp(clearCache); in cleanUp()
DBufferPoolClient.h72 bool isActive(int64_t *lastTransactionUs, bool clearCache);
DAccessorImpl.h66 void cleanUp(bool clearCache);
363 void cleanUp(bool clearCache = false);
DClientManager.cpp133 void cleanUp(bool clearCache = false);
403 void ClientManager::Impl::cleanUp(bool clearCache) { in cleanUp() argument
407 if (clearCache || mCache.mLastCleanUpUs + kCleanUpDurationUs < now) { in cleanUp()
411 if (!it->second->isActive(&lastTransactionUs, clearCache)) { in cleanUp()
DAccessor.h181 void cleanUp(bool clearCache);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DCachedFrameManager.java86 public void clearCache() { in clearCache() method in CachedFrameManager
95 clearCache(); in tearDown()
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerTestActivity.java123 webView.clearCache(true); in navigate()
140 webView.clearCache(true); in onDestroy()
/frameworks/layoutlib/bridge/src/android/webkit/
DWebView.java196 public void clearCache() { in clearCache() method in WebView
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DMediaArtworkProcessor.kt86 fun clearCache() { in clearCache() method

12