/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | mmapped_buffer.cpp | 31 const char *const path, const int bufferOffset, const int bufferSize, 33 const int mmapFd = open(path, O_RDONLY); 35 AKLOGE("DICT: Can't open the source. path=%s errno=%d", path, errno); 61 const char *const path, const bool isUpdatable) { 62 const int fileSize = FileUtils::getFileSize(path); 68 return openBuffer(path, 0 /* bufferOffset */, fileSize, isUpdatable); 30 openBuffer( const char *const path, const int bufferOffset, const int bufferSize, const bool isUpdatable) argument 60 openBuffer( const char *const path, const bool isUpdatable) argument
|
/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.
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadScanner.java | 52 public final String path; field in class:DownloadScanner.ScanRequest 56 public ScanRequest(long id, String path, String mimeType) { argument 58 this.path = path; 64 conn.scanFile(path, mimeType); 82 public static void requestScanBlocking(Context context, long id, String path, String mimeType) { argument 85 scanner.requestScan(new ScanRequest(id, path, mimeType)); 123 if (LOGV) Log.v(TAG, "requestScan() for " + req.path); 125 mPending.put(req.path, req); 149 public void onScanCompleted(String path, Ur argument [all...] |
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | DownloadProviderFunctionalTest.java | 58 String path = "/download_manager_test_path"; 59 Uri downloadUri = requestDownload(path); 65 assertEquals(path, request.getPath()); 74 Uri downloadUri = requestDownload("/path"); 91 Uri downloadUri = requestDownload("/path"); 95 downloadUri = requestDownload("/path"); 111 Uri downloadUri = requestDownload("/path"); 116 downloadUri = requestDownload("/path"); 173 private Uri requestDownload(String path) throws MalformedURLException, UnknownHostException { argument 175 values.put(Downloads.Impl.COLUMN_URI, getServerUri(path)); [all...] |
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/apps/Camera2/src/com/android/camera/ |
H A D | MediaSaverImpl.java | 110 public void addVideo(String path, ContentValues values, OnMediaSavedListener l) { argument 113 new VideoSaveTask(path, values, l, mContentResolver).execute(); 205 private String path; field in class:MediaSaverImpl.VideoSaveTask 210 public VideoSaveTask(String path, ContentValues values, OnMediaSavedListener l, argument 212 this.path = path; 230 if (new File(path).renameTo(finalFile)) { 231 path = finalName;
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
H A D | VoicemailArchiveProvider.java | 121 // Create new file only if path is not provided to one 181 private void deleteFile(@Nullable String path) { argument 182 if (TextUtils.isEmpty(path)) { 185 File file = new File(path);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | ClusterAlbum.java | 30 public ClusterAlbum(Path path, DataManager dataManager, argument 32 super(path, nextVersionNumber());
|
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 | LocalMediaItem.java | 50 public LocalMediaItem(Path path, long version) { argument 51 super(path, version);
|
H A D | LocationClustering.java | 56 Path path; field in class:LocationClustering.SmallItem 77 s.path = item.getPath(); 191 result.add(items.get(i).path);
|
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
H A D | GalleryProvider.java | 73 public static Uri getUriFor(Context context, Path path) { argument 78 .appendEncodedPath(path.toString().substring(1)) // ignore the leading '/' 92 Path path = Path.fromString(uri.getPath()); 93 MediaItem item = (MediaItem) mDataManager.getMediaObject(path); 118 Path path = Path.fromString(uri.getPath()); 119 MediaObject object = mDataManager.getMediaObject(path); 180 Path path = Path.fromString(uri.getPath()); 181 MediaObject object = mDataManager.getMediaObject(path);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | DetailsHelper.java | 84 public static void resolveResolution(String path, ResolutionResolvingListener listener) { argument 85 Bitmap bitmap = BitmapFactory.decodeFile(path); 113 return context.getString(R.string.path);
|
H A D | ManageCacheDrawer.java | 93 private void drawCachingPin(GLCanvas canvas, Path path, int dataSourceType, argument
|
H A D | PhotoFallbackEffect.java | 39 public Path path; field in class:PhotoFallbackEffect.Entry 44 public Entry(Path path, Rect source, RawTexture texture) { argument 45 this.path = path; 53 public int getItemIndex(Path path); argument 68 public void addEntry(Path path, Rect rect, RawTexture texture) { argument 69 mList.add(new Entry(path, rect, texture)); 72 public Entry getEntry(Path path) { argument 75 if (entry.path == path) retur [all...] |
/packages/apps/Gallery2/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 67 public BitmapRegionTileSource(Context context, String path, int previewSize, int rotation) { argument 71 mDecoder = BitmapRegionDecoder.newInstance(path, true); 86 Bitmap preview = decodePreview(path, previewSize);
|
/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/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/ |
H A D | TrickplayStorageManager.java | 48 private static long getStorageBufferBytes(Context context, File path) { argument 51 long lowBytes = path.getTotalSpace() * lowPercentage / 100;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | PhotoStore.java | 55 /** The file path for photo storage. */ 288 /** The path to the file. */ 289 public final String path; field in class:PhotoStore.Entry 294 path = file.getAbsolutePath();
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaScannerService.java | 164 private Uri scanFile(String path, String mimeType) { argument 168 // make sure the file path is in canonical form 169 String canonicalPath = new File(path).getCanonicalPath(); 172 Log.e(TAG, "bad path " + path + " in scanFile()", e); 184 public void requestScanFile(String path, String mimeType, IMediaScannerListener listener) { 186 Log.d(TAG, "IMediaScannerService.scanFile: " + path + " mimeType: " + mimeType); 189 args.putString("filepath", path); 198 public void scanFile(String path, String mimeType) { 199 requestScanFile(path, mimeTyp [all...] |
H A D | MediaThumbRequest.java | 86 MediaThumbRequest(ContentResolver cr, String path, Uri uri, int priority, long magic) { argument 88 mPath = path;
|
H A D | MtpService.java | 51 final String path = primary.getPath(); 52 if (path != null) { 53 String state = mStorageManager.getVolumeState(path); 55 addStorageLocked(mVolumeMap.get(path)); 67 public void onStorageStateChanged(String path, String oldState, String newState) { 69 Log.d(TAG, "onStorageStateChanged " + path + " " + oldState + " -> " + newState); 71 volumeMountedLocked(path); 73 StorageVolume volume = mVolumeMap.remove(path); 102 String path = volumes[i].getPath(); 103 String state = mStorageManager.getVolumeState(path); 206 volumeMountedLocked(String path) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | DetailsDialog.java | 92 String path = null; 160 // up the path). 162 path = detail.getValue().toString(); 197 resolveResolution(path); 201 public void resolveResolution(String path) { argument 202 Bitmap bitmap = BitmapFactory.decodeFile(path); 302 return context.getString(R.string.path);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
H A D | VCardService.java | 75 public CustomMediaScannerConnectionClient(String path) { argument 77 mPath = path; 91 public void onScanCompleted(String path, Uri uri) { argument 92 if (DEBUG) { Log.d(LOG_TAG, "scan completed: " + path); } 193 final String path = request.destUri.getEncodedPath(); 194 if (DEBUG) Log.d(LOG_TAG, "Reserve the path " + path); 195 if (!mReservedDestination.add(path)) { 197 String.format("The path %s is already reserved. Reject export request", 198 path)); 314 updateMediaScanner(String path) argument [all...] |