/packages/experimental/procstatlog/ |
H A D | procstatreport.py | 160 files_dir = "%s_files" % os.path.splitext(filename)[0] 161 files_url = os.path.basename(files_dir) 162 if not os.path.isdir(files_dir): os.makedirs(files_dir) 197 os.path.join(files_dir, "total_cpu.csv")) 239 os.path.join(files_dir, "cpu_speed.csv")) 270 os.path.join(files_dir, "context_switches.csv")) 335 os.path.join(files_dir, "total_faults.csv")) 366 os.path.join(files_dir, "binder_calls.csv")) 418 os.path.join(files_dir, "net%d.csv" % num)) 471 os.path [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | TabBar.java | 424 private void setTabPath(Path path, int l, int t, int r, int b) { argument 425 path.reset(); 426 path.moveTo(l, b); 427 path.lineTo(l, t); 428 path.lineTo(r - mTabSliceWidth, t); 429 path.lineTo(r, b); 430 path.close(); 433 private void setFocusPath(Path path, int l, int t, int r, int b) { argument 434 path.reset(); 435 path [all...] |
H A D | WebStorageSizeManager.java | 139 public StatFsDiskInfo(String path) { argument 140 mFs = new StatFs(path); 171 public WebKitAppCacheInfo(String path) { argument 172 mAppCachePath = path;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | StorageManager.java | 128 void verifySpaceBeforeWritingToFile(int destination, String path, long length) argument 135 verifySpace(destination, path, length); 138 void verifySpace(int destination, String path, long length) throws StopRequestException { argument 143 ", path: " + path + ", length: " + length); 145 if (path == null) { 146 throw new IllegalArgumentException("path can't be null"); 161 if (path.startsWith(mExternalStorageDir.getPath())) { 163 } else if (path.startsWith(mDownloadDataDir.getPath())) { 165 } else if (path [all...] |
H A D | DownloadReceiver.java | 146 Uri path = Uri.parse(filename); 148 if (path.getScheme() == null) { 149 path = Uri.fromFile(new File(filename)); 154 activityIntent.setDataAndType(path, mimetype);
|
H A D | DownloadService.java | 516 public void scanCompleted(String path, Uri uri) { 534 deleteFileIfExists(path); 550 private void deleteFileIfExists(String path) { argument 552 if (!TextUtils.isEmpty(path)) { 553 Log.i(Constants.TAG, "deleting " + path); 554 File file = new File(path); 558 Log.w(Constants.TAG, "file: '" + path + "' couldn't be deleted", e);
|
H A D | Helpers.java | 82 String path; 85 path = Uri.parse(hint).getPath(); 89 path = chooseFilename(url, hint, contentDisposition, contentLocation, 92 storageManager.verifySpace(destination, path, contentLength); 93 path = getFullPath(path, mimeType, destination, base); 95 path = DownloadDrmHelper.modifyDrmFwLockFileExtension(path); 97 return path;
|
/packages/apps/Mms/src/com/android/mms/model/ |
H A D | VideoModel.java | 106 String path; 109 path = c.getString(c.getColumnIndexOrThrow(Images.Media.DATA)); 111 // For non-local videos, the path is the uri 112 path = uri.toString(); 114 mSrc = path.substring(path.lastIndexOf('/') + 1);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 105 // In memory cache of path<->id mappings, to speed up inserts during media scan 212 // First clear the file path to disable the _DELETE_FILE database hook. 252 // requires the path, which we don't have here, so instead we just 254 // TODO: include the path in the callback and only remove the affected 573 mPendingThumbs.remove(d.path); 653 // However version 91 was reused in a divergent development path for gingerbread, 837 "_data TEXT," + // _data is path for file based playlists, or null 1689 * @param data The input path 1700 // Lowercase the path for hashing. This avoids duplicate buckets if the 1703 String path 2524 insertDirectory(SQLiteDatabase db, String path) argument 2539 getParent(SQLiteDatabase db, String path) argument 2585 getStorageId(String path) argument 3194 requestMediaThumbnail(String path, Uri uri, int priority, long magic) argument 3225 ensureFileExists(String path) argument 3829 String path; field in class:MediaProvider.ThumbData 3834 makeThumbAsync(SQLiteDatabase db, String path, long album_id) argument 3867 getCompressedAlbumArt(Context context, String path) argument 4031 getThumb(SQLiteDatabase db, String path, long album_id, Uri albumart_uri) argument 4146 getKeyIdForName(SQLiteDatabase db, String table, String keyField, String nameField, String rawName, String cacheName, String path, int albumHash, String artist, HashMap<String, Long> cache, Uri srcuri) argument [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | Storage.java | 55 String path = generateFilepath(title); 58 out = new FileOutputStream(path); 77 values.put(ImageColumns.DATA, path); 131 * OSX requires plugged-in USB storage to have path /DCIM/NNNAAAAA to be
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | BaseImageList.java | 169 String path = uri.getPath(); 170 Matcher matcher = sPathWithId.matcher(path); 171 return matcher.matches() ? matcher.group(1) : path;
|
H A D | UriImage.java | 68 String path = mUri.getPath(); 69 return ParcelFileDescriptor.open(new File(path),
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | ClusterAlbum.java | 29 public ClusterAlbum(Path path, DataManager dataManager, argument 31 super(path, nextVersionNumber());
|
H A D | ImageCacheRequest.java | 37 Path path, int type, int targetSize) { 39 mPath = path; 36 ImageCacheRequest(GalleryApp application, Path path, int type, int targetSize) argument
|
H A D | MtpDeviceSet.java | 41 public MtpDeviceSet(Path path, GalleryApp application, MtpContext mtpContext) { argument 42 super(path, nextVersionNumber());
|
H A D | ClusterAlbumSet.java | 35 public ClusterAlbumSet(Path path, GalleryApp application, argument 37 super(path, INVALID_DATA_VERSION);
|
H A D | FaceClustering.java | 48 Path path = item.getPath(); 49 mPaths.add(path);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | AlbumSlidingWindow.java | 337 Path path = null; 338 if (mMediaItem != null) path = mMediaItem.getPath(); 340 getRotation(), path, mMediaType, mIsPanorama); 362 Path path = mMediaItem.getPath(); 363 if (mImageCache.containsKey(path)) { 364 Bitmap bitmap = mImageCache.get(path); 405 Path path = mMediaItem.getPath(); 406 mImageCache.put(path, bitmap);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | MessageListItem.java | 729 Path path = mPath; 730 path.reset(); 734 path.reset(); 750 path.moveTo(l, t + mAvatar.getCloseOffset()); 751 path.lineTo(l, t); 752 path.lineTo(r, t); 753 path.lineTo(r, b); 754 path.lineTo(l, b); 755 path.lineTo(l, t + mAvatar.getFarOffset()); 757 path [all...] |
/packages/apps/Browser/src/com/android/browser/view/ |
H A D | PieMenu.java | 296 private void drawPath(Canvas canvas, Path path, Paint paint) { argument 297 canvas.drawPath(path, paint); 307 Path path = new Path(); 308 path.arcTo(bb, start, end - start, true); 309 path.arcTo(bbi, end, start - end); 310 path.close(); 311 return path;
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | StorageMeasurement.java | 396 final String path = dirs[d]; 397 mMediaSizes[i] += getDirectorySize(imcs, path); 506 String path = files[i].getAbsolutePath(); 507 if (StorageVolumePreferenceCategory.sPathsExcludedForMisc.contains(path)) { 512 mFileInfoForMisc.add(new FileInfo(path, fileSize, counter++)); 515 final long dirSize = getDirectorySize(imcs, path); 516 mFileInfoForMisc.add(new FileInfo(path, dirSize, counter++));
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | Gallery.java | 141 Path path = manager.findPathByUri(intent.getData()); 142 if (path == null || manager.getMediaObject(path) 144 path = Path.fromString( 148 data.putString(SlideshowPage.KEY_SET_PATH, path.toString());
|
H A D | SlideshowPage.java | 47 public static final String KEY_SET_PATH = "media-set-path"; 48 public static final String KEY_ITEM_PATH = "media-item-path"; 197 Path path = itemPath != null ? Path.fromString(itemPath) : null; 200 index, path); 238 public int findItemIndex(Path path, int hint) { argument 303 public int findItemIndex(Path path, int hint) { argument 304 return mMediaSet.getIndexOfItem(path, hint);
|
H A D | ManageCachePage.java | 60 public static final String KEY_MEDIA_PATH = "media-path"; 148 Path path = (set == null) ? null : set.getPath(); 149 mSelectionManager.setPressedPath(path); 170 Path path = targetSet.getPath(); 173 boolean isSelected = mSelectionManager.isItemSelected(path); 190 mSelectionManager.toggle(path); 401 public void onSelectionChange(Path path, boolean selected) { argument
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | MmsProvider.java | 389 String path = getContext().getDir("parts", 0).getPath() 392 finalValues.put(Part._DATA, path); 394 File partFile = new File(path); 399 "Unable to create new partFile: " + path); 404 "Unable to create new partFile: " + path); 442 String path = getContext().getDir("parts", 0).getPath() 445 finalValues.put("_data", path); 447 File partFile = new File(path); 452 "Unable to create new file: " + path); 457 "Unable to create new file: " + path); [all...] |