Home
last modified time | relevance | path

Searched refs:mCache (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/build/
DFileDownloadCacheTest.java66 private FileDownloadCache mCache; field in FileDownloadCacheTest
83 mCache = in setUp()
94 mCache.empty(); in tearDown()
173 mCache.setMaxCacheSize(DOWNLOADED_CONTENTS.length() + 1); in testFetchRemoteFile_cacheSizeExceeded()
180 assertNotNull(mCache.getCachedFile(REMOTE_PATH)); in testFetchRemoteFile_cacheSizeExceeded()
181 assertNull(mCache.getCachedFile(remotePath2)); in testFetchRemoteFile_cacheSizeExceeded()
196 mCache.fetchRemoteFile(mMockDownloader, REMOTE_PATH); in testFetchRemoteFile_downloadFailed()
201 assertNull(mCache.getCachedFile(REMOTE_PATH)); in testFetchRemoteFile_downloadFailed()
215 mCache.fetchRemoteFile(mMockDownloader, REMOTE_PATH); in testFetchRemoteFile_downloadFailed_Runtime()
220 assertNull(mCache.getCachedFile(REMOTE_PATH)); in testFetchRemoteFile_downloadFailed_Runtime()
[all …]
DFileDownloadCacheFuncTest.java59 private FileDownloadCache mCache; field in FileDownloadCacheFuncTest
68 mCache = new FileDownloadCache(mTmpDir); in setUp()
109 assertNotNull(mCache.getCachedFile(REMOTE_PATH)); in testFetchRemoteFile_concurrent()
139 mCache.setMaxCacheSize(DOWNLOADED_CONTENTS.length() + 1); in testFetchRemoteFile_multiConcurrent()
189 assertNotNull(mCache.getCachedFile(remotePath1)); in testFetchRemoteFile_multiConcurrent()
256 assertNotNull(mCache.getCachedFile(REMOTE_PATH)); in testFetchRemoteFile_concurrentFail()
329 mReturnedFiles.add(mCache.fetchRemoteFile(downloader, remotePath)); in createDownloadThread()
/tools/tradefederation/core/javatests/com/android/tradefed/build/cache/
DPartialZipDownloadCacheTest.java36 private PartialZipDownloadCache mCache; field in PartialZipDownloadCacheTest
40 mCache = new PartialZipDownloadCache(); in setUp()
45 mCache.cleanUpCache(); in tearDown()
58 mCache.getCachedFile(targetFile, parentDir.getName() + "/test-name.config", crc); in testcache()
60 mCache.populateCacheFile(toCache, parentDir.getName() + "/test-name.config", crc); in testcache()
63 mCache.getCachedFile( in testcache()
/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCacheWrapper.java30 private final FileDownloadCache mCache; field in FileDownloadCacheWrapper
34 mCache = FileDownloadCacheFactory.getInstance().getCache(cacheDir); in FileDownloadCacheWrapper()
43 return mCache.fetchRemoteFile(mDelegateDownloader, remoteFilePath); in downloadFile()
49 mCache.fetchRemoteFile(mDelegateDownloader, remoteFilePath, destFile); in downloadFile()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DEmmcPerformanceTest.java92 private String mCache = null; field in EmmcPerformanceTest
148 "dd if=%s of=/dev/null bs=%d count=%d", mCache, BLOCK_SIZE, SEQ_COUNT); in runSequentialRead()
158 "dd if=/dev/zero of=%s bs=%d count=%d", mCache, BLOCK_SIZE, SEQ_COUNT); in runSequentialWrite()
172 mCache); in runRandomRead()
185 mCache); in runRandomWrite()
398 mCache = segments[2]; in discoverCacheInfo()
400 CLog.w("Fail to detect cache path. Fall back to use '%s'", mCache); in discoverCacheInfo()
427 CLog.d("cache-device is set to %s ...", mCache); in discoverCacheInfo()
433 mTestDevice.executeShellCommand(String.format("mke2fs %s", mCache)); in cleanUp()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DRunUtilTest.java124 private final Map<Digest, ExecutableActionResult> mCache = new HashMap<>(); field in RunUtilTest.FakeCacheClient
140 mCache.putIfAbsent( in uploadCache()
152 if (mCache.containsKey(digest)) { in lookupCache()
153 return mCache.get(digest); in lookupCache()
/tools/dexter/testdata/expected/
Dmedium.compact_cfg141616 9| iput-object v0, v8, com.android.calendar.selectcalendars.CalendarColorCache.mCache
141650 0| iget-object v0, v1, com.android.calendar.selectcalendars.CalendarColorCache.mCache
141691 0| iget-object v0, v2, com.android.calendar.selectcalendars.CalendarColorCache.mCache
141708 0| iget-object v0, v2, com.android.calendar.selectcalendars.CalendarColorCache.mCache
142298 124| iput-object v0, v2, com.android.calendar.selectcalendars.SelectCalendarsSimpleAdapter.mCache
142335 0| iget-object v0, v3, com.android.calendar.selectcalendars.SelectCalendarsSimpleAdapter.mCache
143461 28| iput-object v1, v4, com.android.calendar.selectcalendars.SelectCalendarsSyncAdapter.mCache
143536 0| iget-object v0, v3, com.android.calendar.selectcalendars.SelectCalendarsSyncAdapter.mCache
145753 …object v0, v1, com.android.calendar.selectcalendars.SelectSyncedCalendarsMultiAccountAdapter.mCache
145938 …object v1, v5, com.android.calendar.selectcalendars.SelectSyncedCalendarsMultiAccountAdapter.mCache
[all …]