Searched defs:directory (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/packages/DefaultContainerService/jni/
H A Dcom_android_defcontainer_MeasurementUtils.cpp32 static jlong native_measureDirectory(JNIEnv* env, jobject clazz, jstring directory) { argument
35 const char* path = env->GetStringUTFChars(directory, NULL);
48 env->ReleaseStringUTFChars(directory, path);
/frameworks/base/core/java/android/net/http/
H A DHttpResponseCache.java47 * in the {@link Context#getCacheDir() application-specific cache directory} of
75 * external storage directory. <strong>There are no access controls on the
76 * external storage directory so it should not be used for caches that could
79 * during use. Retrieve the external cache directory using {@link
180 * @param directory the directory to hold cache data.
183 * @throws IOException if {@code directory} cannot be used for this cache.
187 public static HttpResponseCache install(File directory, long maxSize) throws IOException { argument
193 if (installedCache.getDirectory().equals(directory)
204 new com.android.okhttp.HttpResponseCache(directory, maxSiz
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DVideoEditorHelper.java69 * @param projectPath the directory where all files related to project will
440 * This method recursively deletes all the file and directory
442 * @param directory where the files are located Example = "/sdcard/Input"
445 public boolean deleteProject(File directory) { argument
446 Log.i(TAG, ">>>>>>>>>>>>>>>>>>>>>>>>deleteProject directory= " +
447 directory.toString());
448 if (directory.isDirectory()) {
449 String[] filesInDirecory = directory.list();
451 boolean success = deleteProject(new File(directory,
458 return directory
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DSSLSocketTest.java1059 private static void deleteDir(File directory) { argument
1060 if (!directory.exists()) {
1063 for (File file : directory.listFiles()) {
1066 directory.delete();
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java208 // package apks to install directory.
397 // Mapping from provider base names (first directory in content URI codePath)
1549 // Read permissions from .../etc/permission directory.
1552 Slog.w(TAG, "No directory " + libraryDir + ", skipping");
1560 // Iterate over the files in the directory and scan .xml files
1568 Slog.i(TAG, "Non-xml file " + f + " in " + libraryDir + " directory, ignoring");
3981 * Until we fully support multiple users, return the directory we
4024 Slog.w(TAG, "Couldn't delete native library directory " + nativeLibraryFile.getPath());
4438 // This is a normal package, need to make its data directory.
4456 // The directory someho
9158 deleteTempPackageFilesInDirectory(File directory, FilenameFilter filter) argument
[all...]

Completed in 1850 milliseconds