/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ContextTest.java | 64 File dataDir = new File(ShadowContext.FILES_DIR, "data"); in shouldGetApplicationDataDirectory() local 65 assertThat(dataDir.mkdir(), is(true)); in shouldGetApplicationDataDirectory() 67 dataDir = context.getDir("data", Context.MODE_PRIVATE); in shouldGetApplicationDataDirectory() 68 assertThat(dataDir, not(nullValue())); in shouldGetApplicationDataDirectory() 69 assertThat(dataDir.exists(), is(true)); in shouldGetApplicationDataDirectory() 75 File dataDir = new File(ShadowContext.FILES_DIR, "data"); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory() local 76 assertThat(dataDir.exists(), is(false)); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory() 78 dataDir = context.getDir("data", Context.MODE_PRIVATE); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory() 79 assertThat(dataDir, not(nullValue())); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory() 80 assertThat(dataDir.exists(), is(true)); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory()
|
/external/icu/icu4c/source/test/cintltst/ |
D | hpmufn.c | 63 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()
|
D | cintltst.c | 454 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()
|
D | udatatst.c | 500 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/ |
D | ShadowContextTest.java | 47 File dataDir = context.getDir("data", Context.MODE_PRIVATE); in shouldGetApplicationDataDirectory() local 48 assertThat(dataDir) in shouldGetApplicationDataDirectory() 55 File dataDir = new File(context.getPackageManager() in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory() local 56 .getPackageInfo("org.robolectric", 0).applicationInfo.dataDir, "data"); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory() 58 assertThat(dataDir).doesNotExist(); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory() 60 dataDir = context.getDir("data", Context.MODE_PRIVATE); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory() 61 assertThat(dataDir) in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory()
|
/external/mockito/subprojects/android/src/main/java/org/mockito/android/internal/creation/ |
D | AndroidTempFileLocator.java | 65 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/dexmaker/dexmaker/src/main/java/com/android/dx/ |
D | AppDataDirGuesser.java | 149 File dataDir = new File("/data/data/" + packageName); in guessPath() local 150 if (isWriteableDirectory(dataDir)) { in guessPath() 151 File cacheDir = new File(dataDir, "cache"); in guessPath()
|
/external/skia/tools/skqp/jni/ |
D | org_skia_skqp_SkQPRunner.cpp | 144 jstring dataDir, jboolean experimentalMode) { in Java_org_skia_skqp_SkQP_nInit() argument 157 const char* dataDirString = env->GetStringUTFChars(dataDir, nullptr); in Java_org_skia_skqp_SkQP_nInit() 163 env->ReleaseStringUTFChars(dataDir, dataDirString); in Java_org_skia_skqp_SkQP_nInit()
|
/external/skqp/tools/skqp/jni/ |
D | org_skia_skqp_SkQPRunner.cpp | 144 jstring dataDir, jboolean experimentalMode) { in Java_org_skia_skqp_SkQP_nInit() argument 157 const char* dataDirString = env->GetStringUTFChars(dataDir, nullptr); in Java_org_skia_skqp_SkQP_nInit() 163 env->ReleaseStringUTFChars(dataDir, dataDirString); in Java_org_skia_skqp_SkQP_nInit()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | CompatibilityTest.java | 141 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/ |
D | CompatibilityTest.java | 138 for (File dataDir : dataDirs) { in getFileList() 139 File files[] = dataDir.listFiles(new FileFilter() { in getFileList()
|
/external/icu/icu4c/source/tools/gensprep/ |
D | gensprep.h | 57 generateData(const char *dataDir, const char* bundleName);
|
D | store.c | 550 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/ |
D | AnnotationIdTest.java | 350 String dataDir = InstrumentationRegistry.getTargetContext().getApplicationInfo().dataDir; in getDataDirectory() local 351 return new File(dataDir + "/cache" ); in getDataDirectory()
|
D | DexMakerTest.java | 2211 String dataDir = InstrumentationRegistry.getTargetContext().getApplicationInfo().dataDir; 2212 return new File(dataDir);
|
/external/icu/icu4c/source/tools/pkgdata/ |
D | pkgtypes.h | 117 const char *dataDir; /* parent of dir for package (default: tmpdir) */ member
|
/external/skqp/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/ |
D | SkQP.java | 17 … protected native void nInit(AssetManager assetManager, String dataDir, boolean experimentalMode); in nInit() argument
|
/external/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/ |
D | SkQP.java | 17 … protected native void nInit(AssetManager assetManager, String dataDir, boolean experimentalMode); in nInit() argument
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPackageManager.java | 179 if (applicationInfo.dataDir == null) { in setUpPackageStorage() 180 applicationInfo.dataDir = in setUpPackageStorage()
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
D | device_utils.py | 523 _, _, dataDir = line.partition('dataDir=') 524 if dataDir: 525 return dataDir
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | ParallelUniverse.java | 360 applicationInfo.dataDir = in setUpPackageStorage()
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | device_utils.py | 667 _, _, dataDir = line.partition('dataDir=') 668 if dataDir: 669 return dataDir
|