/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | VoicemailUriType.java | 30 private final String path; field in class:VoicemailUriType 32 private VoicemailUriType(String path) { argument 33 this.path = path; 37 public String path() { method in class:VoicemailUriType 38 return path;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
H A D | UriType.java | 22 /** Returns the path associated with this URI type. */ 23 public String path(); method in interface:UriType
|
H A D | TypedUriMatcherImpl.java | 38 String path = value.path(); 39 if (path != null) { 40 addUriType(path, value); 48 private void addUriType(String path, T value) { argument 49 mUriMatcher.addURI(mAuthority, path, value.ordinal());
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
H A D | MockSource.java | 37 public MediaObject createMediaObject(Path path) { argument 39 switch (mMatcher.match(path)) { 41 return new MockSet(path, mApplication.getDataManager()); 43 return new MockItem(path); 45 throw new RuntimeException("bad path: " + path);
|
H A D | MockItem.java | 25 public MockItem(Path path) { argument 26 super(path, nextVersionNumber());
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | SecureSource.java | 37 public static boolean isSecurePath(String path) { argument 38 return (SECURE_ALBUM == mMatcher.match(Path.fromString(path))); 42 public MediaObject createMediaObject(Path path) { argument 43 switch (mMatcher.match(path)) { 48 return new SecureAlbum(path, mApplication, unlock); 51 return new UnlockImage(path, mApplication); 53 throw new RuntimeException("bad path: " + path);
|
H A D | ComboSource.java | 35 // The only path we accept is "/combo/{set1, set2, ...} and /combo/item/{set1, set2, ...}" 37 public MediaObject createMediaObject(Path path) { argument 38 String[] segments = path.split(); 40 throw new RuntimeException("bad path: " + path); 44 switch (mMatcher.match(path)) { 46 return new ComboAlbumSet(path, mApplication, 50 return new ComboAlbum(path,
|
H A D | CameraShortcutImage.java | 26 public CameraShortcutImage(Path path, GalleryApp application) { argument 27 super(path, application, R.drawable.placeholder_camera);
|
H A D | EmptyAlbumImage.java | 26 public EmptyAlbumImage(Path path, GalleryApp application) { argument 27 super(path, application, R.drawable.placeholder_empty);
|
H A D | MediaSource.java | 41 public abstract MediaObject createMediaObject(Path path); argument 62 public PathId(Path path, int id) { argument 63 this.path = path; 66 public Path path; field in class:MediaSource.PathId 82 obj = pid.path.getObject(); 85 obj = createMediaObject(pid.path); 87 Log.w(TAG, "cannot create media object: " + pid.path, th);
|
H A D | UnlockImage.java | 26 public UnlockImage(Path path, GalleryApp application) { argument 27 super(path, application, R.drawable.placeholder_locked);
|
H A D | DataSourceType.java | 37 Path path = set.getPath(); 38 if (MediaSetUtils.isCameraSource(path)) return TYPE_CAMERA; 40 Path prefix = path.getPrefixPath();
|
H A D | DataManager.java | 49 // path. And it's used to identify a specific media set even if the process is 70 // This is the path for the media set seen by the user at top level. 159 // MediaObject object = peekMediaObject(path); 164 public MediaObject peekMediaObject(Path path) { argument 165 return path.getObject(); 168 public MediaObject getMediaObject(Path path) { argument 170 MediaObject obj = path.getObject(); 173 MediaSource source = mSourceMap.get(path.getPrefix()); 175 Log.w(TAG, "cannot find media source for path: " + path); 196 getMediaSet(Path path) argument 246 getSupportedOperations(Path path) argument 250 getPanoramaSupport(Path path, PanoramaSupportCallback callback) argument 254 delete(Path path) argument 258 rotate(Path path, int degrees) argument 262 getContentUri(Path path) argument 266 getMediaType(Path path) argument [all...] |
H A D | SnailAlbum.java | 27 public SnailAlbum(Path path, SnailItem item) { argument 28 super(path, item);
|
H A D | ClusterSource.java | 60 public MediaObject createMediaObject(Path path) { argument 61 int matchType = mMatcher.match(path); 71 return new ClusterAlbumSet(path, mApplication, sets[0], matchType); 77 MediaSet parent = dataManager.getMediaSet(path.getParent()); 80 return new ClusterAlbum(path, dataManager, parent); 83 throw new RuntimeException("bad path: " + path);
|
H A D | MtpSource.java | 44 public MediaObject createMediaObject(Path path) { argument 45 switch (mMatcher.match(path)) { 47 return new MtpDeviceSet(path, mApplication, mMtpContext); 51 return new MtpDevice(path, mApplication, deviceId, mMtpContext); 56 return new MtpImage(path, mApplication, deviceId, objectId, mMtpContext); 59 throw new RuntimeException("bad path: " + path);
|
H A D | FilterDeleteSet.java | 25 // void addDeletion(Path path, int index); 26 // void removeDelection(Path path); 40 Path path; field in class:FilterDeleteSet.Request 42 public Request(int type, Path path, int indexHint) { argument 44 this.path = path; 50 Path path; field in class:FilterDeleteSet.Deletion 52 public Deletion(Path path, int index) { argument 53 this.path = path; 67 FilterDeleteSet(Path path, MediaSet baseSet) argument 226 sendRequest(int type, Path path, int indexHint) argument 239 addDeletion(Path path, int indexHint) argument 243 removeDeletion(Path path) argument [all...] |
H A D | FilterSource.java | 61 public MediaObject createMediaObject(Path path) { argument 62 int matchType = mMatcher.match(path); 69 return new FilterTypeSet(path, dataManager, sets[0], mediaType); 74 return new FilterDeleteSet(path, sets[0]); 79 return new FilterEmptyPromptSet(path, sets[0], mEmptyItem); 85 return new SingleItemAlbum(path, mCameraShortcutItem); 91 throw new RuntimeException("bad path: " + path);
|
H A D | ImageCacheService.java | 49 * Gets the cached image data for the given <code>path</code> and <code>type</code>. 57 public boolean getImageData(Path path, int type, BytesBuffer buffer) { argument 58 byte[] key = makeKey(path, type); 79 public void putImageData(Path path, int type, byte[] value) { argument 80 byte[] key = makeKey(path, type); 94 public void clearImageData(Path path, int type) { argument 95 byte[] key = makeKey(path, type); 106 private static byte[] makeKey(Path path, int type) { argument 107 return GalleryUtils.getBytes(path.toString() + "+" + type);
|
/packages/apps/Email/src/org/apache/commons/io/ |
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 | 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 228 private final String path; field in class:FileCleaningTracker.Tracker 242 Tracker(String path, FileDeleteStrategy deleteStrategy, Object marker, ReferenceQueue<Object> queue) argument [all...] |
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...] |
/packages/inputmethods/LatinIME/tools/maketext/src/com/android/inputmethod/latin/maketext/ |
H A D | JarUtils.java | 40 final String path = resUrl.getPath(); 41 if (!path.startsWith("file:")) { 42 throw new RuntimeException("Unknown jar path: " + path); 44 final String jarPath = path.substring("file:".length(), path.indexOf('!')); 66 final String path = entry.getName(); 67 final int pos = path.lastIndexOf('/'); 68 final String dirName = (pos >= 0) ? path.substring(0, pos) : ""; 69 final String name = (pos >= 0) ? path [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaScannerReceiver.java | 43 String path = uri.getPath(); 46 Log.d(TAG, "action: " + action + " path: " + 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);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
H A D | TypedUriMatcherImplTest.java | 39 private String path; field in class:TypedUriMatcherImplTest.TestUriType 41 private TestUriType(String path) { argument 42 this.path = path; 46 public String path() { method in class:TypedUriMatcherImplTest.TestUriType 47 return path; 67 // Incorrect path.
|