/frameworks/base/core/tests/coretests/src/android/net/http/ |
D | HttpResponseCacheTest.java | 32 private File cacheDir; field in HttpResponseCacheTest 37 cacheDir = new File(tmp, "HttpCache-" + UUID.randomUUID()); in setUp() 46 HttpResponseCache installed = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testInstall() 53 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testSecondEquivalentInstallDoesNothing() 54 HttpResponseCache another = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testSecondEquivalentInstallDoesNothing() 59 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testInstallClosesPreviouslyInstalled() 60 HttpResponseCache another = HttpResponseCache.install(cacheDir, 8 * 1024 * 1024); in testInstallClosesPreviouslyInstalled() 83 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testCloseCloses() 93 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testCloseUninstalls() 99 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testDeleteUninstalls()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppCacheTest.java | 127 File cacheDir = mContext.getCacheDir(); in testFreeApplicationCacheAllFiles() local 128 assertNotNull(cacheDir); in testFreeApplicationCacheAllFiles() 129 createTestFiles1(cacheDir, "testtmpdir", 5); in testFreeApplicationCacheAllFiles() 138 verifyTestFiles1(cacheDir, "testtmpdir", 5); in testFreeApplicationCacheAllFiles() 144 File cacheDir = mContext.getCacheDir(); in testFreeApplicationCacheSomeFiles() local 145 assertNotNull(cacheDir); in testFreeApplicationCacheSomeFiles() 146 createTestFiles1(cacheDir, "testtmpdir", 5); in testFreeApplicationCacheSomeFiles() 228 File cacheDir = mContext.getCacheDir(); in testAppCreateCacheFiles() local 230 File testTmpDir = new File(cacheDir, testDirName); in testAppCreateCacheFiles() 362 void createTestFiles1(File cacheDir, String testFilePrefix, int numTestFiles) { in createTestFiles1() argument [all …]
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
D | bcc.cpp | 127 char const *cacheDir, in bccPrepareSharedObject() argument 130 return unwrap(script)->prepareSharedObject(cacheDir, cacheName, flags); in bccPrepareSharedObject() 135 char const *cacheDir, in bccPrepareExecutable() argument 144 return unwrap(script)->prepareExecutable(cacheDir, cacheName, flags); in bccPrepareExecutable()
|
D | Script.cpp | 181 int Script::prepareSharedObject(char const *cacheDir, in prepareSharedObject() argument 185 if (cacheDir && cacheName) { in prepareSharedObject() 187 mCacheDir = cacheDir; in prepareSharedObject() 208 int Script::prepareExecutable(char const *cacheDir, in prepareExecutable() argument 218 if (cacheDir && cacheName) { in prepareExecutable() 220 mCacheDir = cacheDir; in prepareExecutable()
|
D | Script.h | 116 int prepareExecutable(char const *cacheDir, 120 int prepareSharedObject(char const *cacheDir,
|
/frameworks/base/test-runner/src/android/test/ |
D | InstrumentationCoreTestRunner.java | 66 File cacheDir = getTargetContext().getCacheDir(); in onCreate() local 72 System.setProperty("java.home", cacheDir.getAbsolutePath()); in onCreate() 73 System.setProperty("user.home", cacheDir.getAbsolutePath()); in onCreate() 74 System.setProperty("java.io.tmpdir", cacheDir.getAbsolutePath()); in onCreate()
|
/frameworks/compile/libbcc/include/bcc/ |
D | bcc.h | 101 char const *cacheDir, 106 char const *cacheDir,
|
/frameworks/base/graphics/java/android/renderscript/ |
D | ScriptC.java | 99 String cacheDir = rs.getApplicationContext().getCacheDir().toString(); in internalCreate() local 102 return rs.nScriptCCreate(resName, cacheDir, pgm, pgmLength); in internalCreate()
|
D | RenderScript.java | 499 native int rsnScriptCCreate(int con, String resName, String cacheDir, in rsnScriptCCreate() argument 501 synchronized int nScriptCCreate(String resName, String cacheDir, byte[] script, int length) { in nScriptCCreate() argument 503 return rsnScriptCCreate(mContext, resName, cacheDir, script, length); in nScriptCCreate()
|
/frameworks/base/libs/rs/ |
D | rsScriptC.cpp | 193 const char *cacheDir, in runCompiler() argument 215 rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0); in runCompiler() 296 const char *cacheDir, size_t cacheDir_length, in rsi_ScriptCCreate() argument 301 if (!s->runCompiler(rsc, resName, cacheDir, (uint8_t *)text, text_length)) { in rsi_ScriptCCreate()
|
D | rsScriptC.h | 60 bool runCompiler(Context *rsc, const char *resName, const char *cacheDir,
|
D | rs_hal.h | 74 char const *cacheDir,
|
D | rs.spec | 310 param const char * cacheDir
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 226 String cacheDir = getCacheDir().getCanonicalPath(); in onFullBackup() local 239 filterSet.add(cacheDir); in onFullBackup() 275 String cacheDir; in fullBackupFile() local 286 cacheDir = getCacheDir().getCanonicalPath(); in fullBackupFile() 299 if (filePath.startsWith(cacheDir) || filePath.startsWith(libDir)) { in fullBackupFile()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | SSLSocketTest.java | 1008 File cacheDir = new File(tmpDir in testFileBasedClientSessionCache() local 1010 deleteDir(cacheDir); in testFileBasedClientSessionCache() 1012 = FileClientSessionCache.usingDirectory(cacheDir); in testFileBasedClientSessionCache() 1038 fileCache = FileClientSessionCache.usingDirectory(cacheDir); in testFileBasedClientSessionCache() 1055 deleteDir(cacheDir); in testFileBasedClientSessionCache()
|
/frameworks/base/libs/rs/driver/ |
D | rsdBcc.h | 25 char const *resName, char const *cacheDir,
|
D | rsdBcc.cpp | 68 char const *cacheDir, in rsdScriptInit() argument 120 if (bccPrepareExecutable(drv->mBccScript, cacheDir, resName, 0) != 0) { in rsdScriptInit()
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
D | LoadTestsAutoTest.java | 257 File cacheDir = targetContext.getCacheDir(); in copyRunnerAssetsToCache() local 263 new File(cacheDir, LOAD_TEST_RUNNER_FILES[i])); in copyRunnerAssetsToCache()
|
D | LayoutTestsAutoTest.java | 467 File cacheDir = targetContext.getCacheDir(); in copyResultsAndRunnerAssetsToCache() local 472 OutputStream out = new FileOutputStream(new File(cacheDir, in copyResultsAndRunnerAssetsToCache()
|
/frameworks/base/graphics/jni/ |
D | android_renderscript_RenderScript.cpp | 935 jstring resName, jstring cacheDir, in nScriptCCreate() argument 941 AutoJavaStringToUTF8 cacheDirUTF(_env, cacheDir); in nScriptCCreate()
|