Home
last modified time | relevance | path

Searched refs:dataDir (Results 1 – 22 of 22) sorted by relevance

/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DAppDataDirGuesser.java153 File dataDir = getWriteableDirectory("/data/data/" + packageName); in guessPath() local
155 if (dataDir == null) { in guessPath()
157 dataDir = guessUserDataDirectory(packageName); in guessPath()
160 if (dataDir != null) { in guessPath()
161 File cacheDir = new File(dataDir, "cache"); in guessPath()
/external/icu/icu4c/source/test/cintltst/
Dhpmufn.c63 const char *dataDir = u_getDataDirectory(); /* Returned string vanashes with u_cleanup */ in safeGetICUDataDirectory() local
65 if (dataDir != NULL) { in safeGetICUDataDirectory()
66 retStr = (char *)malloc(strlen(dataDir)+1); in safeGetICUDataDirectory()
67 strcpy(retStr, dataDir); in safeGetICUDataDirectory()
Dcintltst.c454 const char *dataDir = u_getDataDirectory(); /* Returned string vanashes with u_cleanup */ in safeGetICUDataDirectory() local
456 if (dataDir != NULL) { in safeGetICUDataDirectory()
457 retStr = (char *)malloc(strlen(dataDir)+1); in safeGetICUDataDirectory()
458 strcpy(retStr, dataDir); in safeGetICUDataDirectory()
465 char *dataDir = safeGetICUDataDirectory(); in ctest_resetICU() local
472 u_setDataDirectory(dataDir); in ctest_resetICU()
473 free(dataDir); in ctest_resetICU()
Dudatatst.c500 const char *dataDir = u_getDataDirectory(); /* Returned string vanashes with u_cleanup */ in safeGetICUDataDirectory() local
502 if (dataDir != NULL) { in safeGetICUDataDirectory()
503 retStr = (char *)malloc(strlen(dataDir)+1); in safeGetICUDataDirectory()
504 strcpy(retStr, dataDir); in safeGetICUDataDirectory()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextTest.java52 File dataDir = context.getDir("data", Context.MODE_PRIVATE); in shouldGetApplicationDataDirectory() local
53 assertThat(dataDir.exists()).isTrue(); in shouldGetApplicationDataDirectory()
58 File dataDir = new File(context.getPackageManager() in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory() local
59 .getPackageInfo("org.robolectric", 0).applicationInfo.dataDir, "data"); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory()
61 assertThat(dataDir.exists()).isFalse(); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory()
63 dataDir = context.getDir("data", Context.MODE_PRIVATE); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory()
64 assertThat(dataDir.exists()).isTrue(); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory()
DShadowPackageManagerTest.java2334 File dataDir = new File(packageInfo.applicationInfo.dataDir); in getPackageInfo_shouldHaveWritableDataDirs() local
2335 assertThat(dataDir.isDirectory()).isTrue(); in getPackageInfo_shouldHaveWritableDataDirs()
2336 assertThat(dataDir.exists()).isTrue(); in getPackageInfo_shouldHaveWritableDataDirs()
/external/mockito/subprojects/android/src/main/java/org/mockito/android/internal/creation/
DAndroidTempFileLocator.java65 File dataDir = new File("/data/data/" + packageName); in guessPath() local
66 if (isWriteableDirectory(dataDir)) { in guessPath()
67 File cacheDir = new File(dataDir, "cache"); in guessPath()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DCompatibilityTest.java141 for (File dataDir : dataDirs) { in getFileList()
142 File files[] = dataDir.listFiles(new FileFilter() { in getFileList()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCompatibilityTest.java138 for (File dataDir : dataDirs) { in getFileList()
139 File files[] = dataDir.listFiles(new FileFilter() { in getFileList()
/external/icu/icu4c/source/tools/gensprep/
Dgensprep.h57 generateData(const char *dataDir, const char* bundleName);
Dstore.c550 generateData(const char *dataDir, const char* bundleName) { in generateData() argument
589 pData=udata_create(dataDir, DATA_TYPE, fileName, &dataInfo, in generateData()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DAnnotationIdTest.java362 String dataDir = InstrumentationRegistry.getTargetContext().getApplicationInfo().dataDir; in getDataDirectory() local
363 return new File(dataDir + "/cache" ); in getDataDirectory()
DDexMakerTest.java2249 String dataDir = InstrumentationRegistry.getTargetContext().getApplicationInfo().dataDir;
2250 return new File(dataDir);
/external/skia/tools/skqp/src/
Djni_skqp.cpp104 jstring dataDir) { in Java_org_skia_skqp_SkQP_nInit() argument
110 std::string reportDirectory = to_string(env, dataDir); in Java_org_skia_skqp_SkQP_nInit()
/external/skqp/tools/skqp/src/
Djni_skqp.cpp104 jstring dataDir) { in Java_org_skia_skqp_SkQP_nInit() argument
110 std::string reportDirectory = to_string(env, dataDir); in Java_org_skia_skqp_SkQP_nInit()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/
DParallelUniverseTest.java150 assertThat(applicationInfo.dataDir).isNotNull(); in setUpApplicationState_shouldCreateStorageDirs()
151 assertThat(new File(applicationInfo.dataDir).isDirectory()).isTrue(); in setUpApplicationState_shouldCreateStorageDirs()
/external/icu/icu4c/source/tools/pkgdata/
Dpkgtypes.h117 const char *dataDir; /* parent of dir for package (default: tmpdir) */ member
/external/skqp/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQP.java17 protected native void nInit(AssetManager assetManager, String dataDir); in nInit() argument
/external/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQP.java17 protected native void nInit(AssetManager assetManager, String dataDir); in nInit() argument
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPackageManager.java243 if (applicationInfo.dataDir == null) { in setUpPackageStorage()
244 applicationInfo.dataDir = in setUpPackageStorage()
811 packageInfo.applicationInfo.dataDir = in addPackageInternal()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java414 applicationInfo.dataDir = createTempDir(applicationInfo.packageName + "-dataDir"); in setUpPackageStorage()
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py723 _, _, dataDir = line.partition('dataDir=')
724 if dataDir:
725 return dataDir