/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | AvatarUriUtil.java | 275 final List<String> path = uri.getPathSegments(); 276 return path.isEmpty() ? null : path.get(0);
|
H A D | UriUtil.java | 62 * Get a Uri representation of the file path of a resource file. 64 public static Uri getUriForResourceFile(final String path) { argument 65 return TextUtils.isEmpty(path) ? null : Uri.fromFile(new File(path)); 69 * Extract the path from a file:// Uri, or null if the uri is of other scheme.
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
H A D | PhonebookPullRequest.java | 57 path = PbapClientConnectionHandler.PB_PATH;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
H A D | ActionHandler.java | 98 void openInNewWindow(DocumentStack path); argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | ManageCachePage.java | 57 public static final String KEY_MEDIA_PATH = "media-path"; 169 Path path = targetSet.getPath(); 172 boolean isSelected = mSelectionManager.isItemSelected(path); 189 mSelectionManager.toggle(path); 405 public void onSelectionChange(Path path, boolean selected) { argument
|
H A D | SinglePhotoDataAdapter.java | 245 public void setCurrentPhoto(Path path, int indexHint) { argument 255 public void setFocusHintPath(Path path) { argument
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
H A D | PhotoSetLoader.java | 107 public void deleteItemWithPath(Object path) { argument
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
H A D | FileProvider.java | 39 abstract File getFile(final String path, final String extension); argument 45 * @param fileId filename (optionally starting with path character
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | MockSource.java | 131 Uri data = new Uri.Builder().scheme("content").authority(mName).path(query).build();
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
H A D | Utils.java | 60 .path(res.getResourceTypeName(resId))
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
H A D | EmlMessageLoaderTest.java | 58 TestProvider.AUTHORITY).path("empty").build();
|
H A D | TestProviderTests.java | 81 .path(PONY_TABLE).build(); 96 .path(PONY_TABLE).build();
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
H A D | StubProvider.java | 691 public Uri createRegularFile(String rootId, String path, String mimeType, byte[] content) argument 693 final File file = createFile(rootId, path, mimeType, content); 705 String rootId, String path, String mimeType, List<String> streamTypes, byte[] content) 708 final File file = createFile(rootId, path, mimeType, content); 720 public File getFile(String rootId, String path) throws FileNotFoundException { argument 725 // Convert the path string into a path that's relative to the root. 726 File needle = new File(root.file, path.substring(1)); 735 private File createFile(String rootId, String path, String mimeType, byte[] content) argument 737 Log.d(TAG, "Creating test file " + rootId + " : " + path); 704 createVirtualFile( String rootId, String path, String mimeType, List<String> streamTypes, byte[] content) argument [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
H A D | WriteableArchive.java | 298 for (final String path : mPendingEntries) { 300 mZipOutputStream.putNextEntry(mEntries.get(path));
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | LocalMergeAlbum.java | 52 Path path, Comparator<MediaItem> comparator, MediaSet[] sources, int bucketId) { 53 super(path, INVALID_DATA_VERSION); 51 LocalMergeAlbum( Path path, Comparator<MediaItem> comparator, MediaSet[] sources, int bucketId) argument
|
H A D | Path.java | 96 String path = toString(); 97 return path.equalsIgnoreCase(p); 130 throw new RuntimeException("malformed path:" + s); 144 throw new RuntimeException("unbalanced brace in path:" + s); 173 throw new RuntimeException("unbalanced brace in path:" + s);
|
H A D | UriImage.java | 62 public UriImage(GalleryApp application, Path path, Uri uri, String contentType) { argument 63 super(path, nextVersionNumber());
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | SaveVideoFileUtils.java | 140 public static int retriveVideoDurationMs(String path) { argument 144 retriever.setDataSource(path);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
H A D | DownloadPackageTask.java | 119 // Note that the apk may not actually be downloaded to this path. This could happen if 121 String path = mContext.getExternalFilesDir(null) 123 File downloadedFile = new File(path);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarDebugActivity.java | 117 File path = Environment.getExternalStorageDirectory(); 118 File outFile = new File(path, OUT_FILE);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | PhotoStore.java | 56 /** The file path for photo storage. */ 289 /** The path to the file. */ 290 public final String path; field in class:PhotoStore.Entry 295 path = file.getAbsolutePath();
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | AbstractDownloadProviderFunctionalTest.java | 261 String getServerUri(String path) throws MalformedURLException, UnknownHostException { argument 262 return mServer.getUrl(path).toString();
|
H A D | AbstractPublicApiTest.java | 211 protected static final String REQUEST_PATH = "/path"; 241 protected DownloadManager.Request getRequest(String path) { argument 242 return new DownloadManager.Request(Uri.parse(path));
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaThumbRequest.java | 86 MediaThumbRequest(ContentResolver cr, String path, Uri uri, int priority, long magic) { argument 88 mPath = path;
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
H A D | ManualDiscovery.java | 51 private static final Uri[] IPP_URIS = { Uri.parse("ipp://path:631/ipp/print"), 52 Uri.parse("ipp://path:80/ipp/print"), Uri.parse("ipp://path:631/ipp/printer"), 53 Uri.parse("ipp://path:631/ipp"), Uri.parse("ipp://path:631/")}; 92 // Remove any prior printer with the same uri or path 112 if (printer.path.equals(toRemove.path)) {
|