/system/core/run-as/ |
package.h | 32 char dataDir[PATH_MAX]; 40 extern int check_data_path(const char* dataDir, uid_t uid);
|
run-as.c | 144 if (check_data_path(info.dataDir, info.uid) < 0) { 167 ret = chdir(info.dataDir);
|
package.c | 434 info->dataDir[0] = '\0'; 446 * <pkgName> <uid> <debugFlag> <dataDir> <seinfo> 452 * <dataDir> is the path to the package's data directory (e.g. /data/data/com.example.foo) 509 p = string_copy(info->dataDir, sizeof info->dataDir, p, q - p);
|
/frameworks/base/core/java/android/content/pm/ |
InstrumentationInfo.java | 48 public String dataDir; 73 dataDir = orig.dataDir; 94 dest.writeString(dataDir); 115 dataDir = source.readString();
|
ApplicationInfo.java | 436 public String dataDir; 507 pw.println(prefix + "dataDir=" + dataDir); 576 dataDir = orig.dataDir; 616 dest.writeString(dataDir); 655 dataDir = source.readString();
|
/external/chromium_org/third_party/icu/source/tools/gensprep/ |
gensprep.h | 55 generateData(const char *dataDir, const char* bundleName);
|
/external/icu4c/tools/gensprep/ |
gensprep.h | 55 generateData(const char *dataDir, const char* bundleName);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ContextTest.java | 64 File dataDir = new File(ShadowContext.FILES_DIR, "data"); 65 assertThat(dataDir.mkdir(), is(true)); 67 dataDir = context.getDir("data", Context.MODE_PRIVATE); 68 assertThat(dataDir, not(nullValue())); 69 assertThat(dataDir.exists(), is(true)); 75 File dataDir = new File(ShadowContext.FILES_DIR, "data"); 76 assertThat(dataDir.exists(), is(false)); 78 dataDir = context.getDir("data", Context.MODE_PRIVATE); 79 assertThat(dataDir, not(nullValue())); 80 assertThat(dataDir.exists(), is(true)) [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
InstrumentationInfoTest.java | 57 assertEquals(expected.dataDir, actual.dataDir);
|
ApplicationInfoTest.java | 67 assertEquals(mApplicationInfo.dataDir, info.dataDir);
|
PackageInfoTest.java | 98 assertEquals(expected.dataDir, actual.dataDir);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
hpmufn.c | 66 const char *dataDir = u_getDataDirectory(); /* Returned string vanashes with u_cleanup */ 68 if (dataDir != NULL) { 69 retStr = (char *)malloc(strlen(dataDir)+1); 70 strcpy(retStr, dataDir); 399 char *dataDir; 403 dataDir = safeGetICUDataDirectory(); 437 u_setDataDirectory(dataDir); 461 u_setDataDirectory(dataDir); 473 free(dataDir);
|
cintltst.c | 437 const char *dataDir = u_getDataDirectory(); /* Returned string vanashes with u_cleanup */ 439 if (dataDir != NULL) { 440 retStr = (char *)malloc(strlen(dataDir)+1); 441 strcpy(retStr, dataDir); 448 char *dataDir = safeGetICUDataDirectory(); 455 u_setDataDirectory(dataDir); 456 free(dataDir);
|
/external/icu4c/test/cintltst/ |
hpmufn.c | 66 const char *dataDir = u_getDataDirectory(); /* Returned string vanashes with u_cleanup */ 68 if (dataDir != NULL) { 69 retStr = (char *)malloc(strlen(dataDir)+1); 70 strcpy(retStr, dataDir); 399 char *dataDir; 403 dataDir = safeGetICUDataDirectory(); 437 u_setDataDirectory(dataDir); 461 u_setDataDirectory(dataDir); 473 free(dataDir);
|
cintltst.c | 449 const char *dataDir = u_getDataDirectory(); /* Returned string vanashes with u_cleanup */ 451 if (dataDir != NULL) { 452 retStr = (char *)malloc(strlen(dataDir)+1); 453 strcpy(retStr, dataDir); 460 char *dataDir = safeGetICUDataDirectory(); 467 u_setDataDirectory(dataDir); 468 free(dataDir);
|
/external/dexmaker/src/main/java/com/google/dexmaker/ |
AppDataDirGuesser.java | 88 File dataDir = new File("/data/data/" + packageName); 89 if (isWriteableDirectory(dataDir)) { 90 File cacheDir = new File(dataDir, "cache");
|
/external/littlemock/src/com/google/testing/littlemock/ |
AppDataDirGuesser.java | 103 File dataDir = new File("/data/data/" + packageName); 104 if (isWriteableDirectory(dataDir)) { 105 File cacheDir = new File(dataDir, "cache");
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/ |
PerformancesView.java | 137 File dataDir; 209 String filter = (this.dataDir == null) ? localDataDir : this.dataDir.getPath(); 210 File dir = this.dataDir; 211 this.dataDir = changeDir(filter, "Select directory for data local files"); 213 if (this.dataDir != null) { 214 this.preferences.put(IPerformancesConstants.PRE_LOCAL_DATA_DIR, this.dataDir.getAbsolutePath()); 215 if (dir != null && dir.getPath().equals(this.dataDir.getPath())) { 235 return resultsView.dataDir = this.dataDir; [all...] |
BuildsView.java | 143 BuildsView.this.dataDir, 202 if (BuildsView.this.dataDir == null) { 526 this.dataDir = null; 527 siblingView.dataDir = null; 568 this.dataDir = null; 569 siblingView.dataDir = null; 636 if (this.dataDir == null) { 641 this.results.updateBuild(null, true, this.dataDir, monitor); 643 this.results.updateBuilds(builds, force, this.dataDir, monitor); 648 if (this.dataDir == null) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
PerformanceResults.java | 348 private String[] read(boolean local, String buildName, String[][] configs, boolean force, File dataDir, String taskName, SubMonitor subMonitor) { 349 if (local && dataDir == null) { 424 componentResults.readLocalFile(dataDir, scenarios); 434 componentResults.updateBuild(buildName, scenarios, force, dataDir, subMonitor.newChild(1), timeGuess); 441 writeData(dataDir); 460 * @param dataDir The directory where data will be read/stored locally. 469 public String[] readAll(String buildName, String[][] configs, String pattern, File dataDir, int threshold, IProgressMonitor monitor) { 480 reset(dataDir); 481 String[] names = read(true, null, configs, true, dataDir, null, subMonitor.newChild(100)); 485 return read(false, null, configs, true, dataDir, null, subMonitor.newChild(900)) [all...] |
ComponentResults.java | 324 void updateBuild(String buildName, List scenarios, boolean force, File dataDir, SubMonitor subMonitor, PerformanceResults.RemainingTimeGuess timeGuess) { 372 if (dataDir != null && dirty && (System.currentTimeMillis() - readTime) > 300000) { // save every 5mn 373 writeData(buildName, dataDir, true, true); 385 if (dataDir != null) { 386 writeData(buildName, dataDir, false, dirty);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/model/ |
PerformanceResultsElement.java | 160 public void readLocal(File dataDir, IProgressMonitor monitor, String lastBuild) { 164 performanceResults.readLocal(dataDir, monitor); 181 public void updateBuild(String buildName, boolean force, File dataDir, IProgressMonitor monitor) { 185 getPerformanceResults().updateBuild(buildName, force, dataDir, monitor); 188 public void updateBuilds(String[] builds, boolean force, File dataDir, IProgressMonitor monitor) { 192 getPerformanceResults().updateBuilds(builds, force, dataDir, monitor);
|
/external/chromium_org/third_party/icu/source/tools/pkgdata/ |
pkgtypes.h | 115 const char *dataDir; /* parent of dir for package (default: tmpdir) */
|
/frameworks/base/services/java/com/android/server/ |
EntropyMixer.java | 172 File dataDir = Environment.getDataDirectory(); 173 File systemDir = new File(dataDir, "system");
|
/external/icu4c/tools/pkgdata/ |
pkgtypes.h | 115 const char *dataDir; /* parent of dir for package (default: tmpdir) */
|