/packages/apps/Email/src/org/apache/commons/io/ |
H A D | FileCleaner.java | 81 * @param path the full path to the file to be tracked, not null
83 * @throws NullPointerException if the path is null
86 public static void track(String path, Object marker) {
argument 87 theInstance.track(path, marker);
95 * @param path the full path to the file to be tracked, not null
98 * @throws NullPointerException if the path is null
101 public static void track(String path, Object marker, FileDeleteStrategy deleteStrategy) {
argument 102 theInstance.track(path, marke [all...] |
H A D | FileCleaningTracker.java | 97 * @param path the full path to the file to be tracked, not null
99 * @throws NullPointerException if the path is null
101 public void track(String path, Object marker) {
argument 102 track(path, marker, (FileDeleteStrategy) null);
110 * @param path the full path to the file to be tracked, not null
113 * @throws NullPointerException if the path is null
115 public void track(String path, Object marker, FileDeleteStrategy deleteStrategy) {
argument 116 if (path 129 addTracker(String path, Object marker, FileDeleteStrategy deleteStrategy) argument 227 private final String path; field in class:FileCleaningTracker.Tracker 241 Tracker(String path, FileDeleteStrategy deleteStrategy, Object marker, ReferenceQueue queue) argument [all...] |
H A D | FileSystemUtils.java | 127 * @param path the path to get free space for, not null, not empty on Unix
129 * @throws IllegalArgumentException if the path is invalid
136 public static long freeSpace(String path) throws IOException {
argument 137 return INSTANCE.freeSpaceOS(path, OS, false);
158 * @param path the path to get free space for, not null, not empty on Unix
160 * @throws IllegalArgumentException if the path is invalid
165 public static long freeSpaceKb(String path) throws IOException {
argument 166 return INSTANCE.freeSpaceOS(path, O 188 freeSpaceOS(String path, int os, boolean kb) argument 215 freeSpaceWindows(String path) argument 251 parseDir(String line, String path) argument 305 freeSpaceUnix(String path, boolean kb, boolean posix) argument 362 parseBytes(String freeSpace, String path) argument [all...] |
H A D | FilenameUtils.java | 46 * <li>the path - dev\project\</li>
47 * <li>the full path - C:\dev\project\</li>
164 * Normalizes a path, removing double and single dot path steps.
166 * This method normalizes a path to a standard format.
172 * A single dot path segment will be removed.
173 * A double dot will cause that path segment and the one before to be removed.
174 * If the double dot has no parent path segment to work with, <code>null</code>
209 * Normalizes a path, removing double and single dot path step 423 separatorsToUnix(String path) argument 436 separatorsToWindows(String path) argument 449 separatorsToSystem(String path) argument [all...] |
/packages/apps/Mms/src/org/w3c/dom/smil/ |
H A D | SMILAnimateMotionElement.java | 28 public void setPath(String path) argument
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaScannerReceiver.java | 46 String path = uri.getPath(); 48 externalStoragePath.equals(path)) { 51 path != null && path.startsWith(externalStoragePath + "/")) { 52 scanFile(context, path); 65 private void scanFile(Context context, String path) { argument 67 args.putString("filepath", path);
|
H A D | MediaScannerService.java | 191 private Uri scanFile(String path, String mimeType) { argument 195 if (path.startsWith(externalStoragePath)) { 200 return scanner.scanSingleFile(path, volumeName, mimeType); 211 public void requestScanFile(String path, String mimeType, IMediaScannerListener listener) 214 Log.d(TAG, "IMediaScannerService.scanFile: " + path + " mimeType: " + mimeType); 217 args.putString("filepath", path); 226 public void scanFile(String path, String mimeType) { 227 requestScanFile(path, mimeType, null);
|
H A D | MediaThumbRequest.java | 87 MediaThumbRequest(ContentResolver cr, String path, Uri uri, int priority, long magic) { argument 89 mPath = path;
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | DownloadManagerFunctionalTest.java | 47 String path = "/download_manager_test_path"; 48 Uri downloadUri = requestDownload(path); 55 assertEquals(path, request.getPath()); 63 Uri downloadUri = requestDownload("/path"); 78 Uri downloadUri = requestDownload("/path"); 82 downloadUri = requestDownload("/path"); 133 private Uri requestDownload(String path) throws MalformedURLException { argument 135 values.put(Downloads.COLUMN_URI, getServerUri(path));
|
H A D | AbstractPublicApiTest.java | 85 protected static final String REQUEST_PATH = "/path"; 103 protected DownloadManager.Request getRequest(String path) { argument 104 return new DownloadManager.Request(Uri.parse(path));
|
H A D | AbstractDownloadManagerFunctionalTest.java | 233 String getServerUri(String path) throws MalformedURLException { argument 234 return mServer.getUrl(path).toString();
|
/packages/apps/Email/src/org/apache/james/mime4j/util/ |
H A D | SimpleTempStorage.java | 122 private File path = null;
field in class:SimpleTempStorage.SimpleTempPath 124 private SimpleTempPath(String path) {
argument 125 this.path = new File(path);
128 private SimpleTempPath(File path) {
argument 129 this.path = path;
162 return path.getAbsolutePath();
|
/packages/apps/Settings/src/com/android/settings/vpn/ |
H A D | Util.java | 60 static void deleteFile(String path) { argument 61 deleteFile(new File(path)); 64 static void deleteFile(String path, boolean toDeleteSelf) { argument 65 deleteFile(new File(path), toDeleteSelf); 79 static boolean isFileOrEmptyDirectory(String path) { argument 80 File f = new File(path);
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
H A D | CertFile.java | 67 String path = savedStates.getString(CERT_FILE_KEY); 68 if (path != null) mCertFile = new File(path); 156 protected boolean isFileAcceptable(String path) { argument 157 return (path.endsWith(PKCS12_EXT) || path.endsWith(CERT_EXT));
|
H A D | CertFileList.java | 150 public void onEvent(int evt, String path) { 151 commonHandler(evt, path); 158 public void onEvent(int evt, String path) { 159 commonHandler(evt, path); 164 private void commonHandler(int evt, String path) { argument 168 if (isFileAcceptable(path)) {
|
/packages/apps/Gallery3D/src/com/cooliris/picasa/ |
H A D | TableContentProvider.java | 42 public void addMapping(String authority, String path, String mimeSubtype, EntrySchema table) { argument 46 matcher.addURI(authority, path, mappings.size()); 50 matcher.addURI(authority, path + "/#", mappings.size());
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | WebStorageSizeManager.java | 137 public StatFsDiskInfo(String path) { argument 138 mFs = new StatFs(path); 169 public WebKitAppCacheInfo(String path) { argument 170 mAppCachePath = path;
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
H A D | LocalDataSource.java | 57 public static int getBucketId(String path) { argument 58 return (path.toLowerCase().hashCode()); 363 final String path = (uriScheme.equals("file")) ? uri.getPath() : item.mFilePath; 364 ExifInterface exif = new ExifInterface(path);
|
H A D | UriTexture.java | 279 public static String writeHttpDataInDirectory(Context context, String uri, String path) { argument 299 String newPath = path + (path.endsWith("/") ? "" : "/") + crc64 + ".jpg";
|
H A D | ImageManager.java | 73 public static String getBucketId(String path) { argument 74 return String.valueOf(path.toLowerCase().hashCode()); 78 * OSX requires plugged-in USB storage to have path /DCIM/NNNAAAAA to be
|
/packages/providers/DownloadProvider/tests/src/tests/http/ |
H A D | MockWebServer.java | 73 * @param path the request path, such as "/". 75 public URL getUrl(String path) throws MalformedURLException { argument 76 return new URL("http://localhost:" + getPort() + path);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppService.java | 946 public void onScanCompleted(String path, Uri uri) { argument 950 Log.v(TAG, "MediaScannerConnection path is " + path);
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | ImageManager.java | 140 public static String getBucketId(String path) { argument 141 return String.valueOf(path.toLowerCase().hashCode()); 145 * OSX requires plugged-in USB storage to have path /DCIM/NNNAAAAA to be
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | Helpers.java | 115 String path = Uri.parse(hint).getPath(); 116 if (new File(path).exists()) { 117 Log.d(Constants.TAG, "File already exists: " + path); 121 if (getAvailableBytes(getFilesystemRoot(path)) < contentLength) { 126 return path; 130 * @return the root of the filesystem containing the given path 132 public static File getFilesystemRoot(String path) { argument 134 if (path.startsWith(cache.getPath())) { 138 if (path.startsWith(external.getPath())) { 141 throw new IllegalArgumentException("Cannot determine filesystem root for " + path); 808 deleteFile(ContentResolver resolver, long id, String path, String mimeType) argument [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ImageManager.java | 146 public static String getBucketId(String path) { argument 147 return String.valueOf(path.toLowerCase().hashCode()); 151 * OSX requires plugged-in USB storage to have path /DCIM/NNNAAAAA to be
|