Lines Matching defs:path
76 * @param packagePath absolute path to the package to be copied. Can be
83 * @return Returns the new cache path where the resource has been copied
121 * @param packagePath absolute path to the package to be copied. Can be
147 * @param packagePath absolute path to the package to be copied. Can be
207 public long calculateDirectorySize(String path) throws RemoteException {
210 final File dir = Environment.maybeTranslateEmulatedPathToInternal(new File(path));
220 public long[] getFileSystemStats(String path) {
224 final StructStatVfs stat = Os.statvfs(path);
234 public void clearDirectory(String path) throws RemoteException {
237 final File directory = new File(path);
246 * @param packagePath absolute path to the package to be copied. Can be
291 for (File path : paths) {
292 eraseFiles(path);
296 void eraseFiles(File path) {
297 if (path.isDirectory()) {
298 String[] files = path.list();
301 eraseFiles(new File(path, file));
305 path.delete();