Searched refs:path (Results 151 - 175 of 300) sorted by relevance

1234567891011>>

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsProvider.java421 String path = getContext().getDir("parts", 0).getPath()
427 path = DownloadDrmHelper.modifyDrmFwLockFileExtension(path);
430 finalValues.put(Part._DATA, path);
432 File partFile = new File(path);
437 "Unable to create new partFile: " + path);
442 int result = FileUtils.setPermissions(path, 0666, -1, -1);
449 "Unable to create new partFile: " + path);
487 String path = getContext().getDir("parts", 0).getPath()
490 finalValues.put("_data", path);
[all...]
/packages/experimental/procstatlog/
H A Dprocstatreport.py160 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 DTabBar.java410 private void setTabPath(Path path, int l, int t, int r, int b) { argument
411 path.reset();
412 path.moveTo(l, b);
413 path.lineTo(l, t);
414 path.lineTo(r - mTabSliceWidth, t);
415 path.lineTo(r, b);
416 path.close();
419 private void setFocusPath(Path path, int l, int t, int r, int b) { argument
420 path.reset();
421 path
[all...]
H A DWebStorageSizeManager.java139 public StatFsDiskInfo(String path) { argument
140 mFs = new StatFs(path);
171 public WebKitAppCacheInfo(String path) { argument
172 mAppCachePath = path;
/packages/apps/OMA-DM/DMService/src/com/android/omadm/service/
H A DDMClientService.java101 public DmtData getDMTree(String path, boolean recursive) argument
105 logd("getDMTree(\"" + path + "\", " + recursive + ") called");
107 int nodeType = NativeDM.getNodeType(path);
108 String nodeValue = NativeDM.getNodeValue(path);
111 addNodeChildren(path, dmtData);
121 private void addNodeChildren(String path, DmtData node) throws DmtException { argument
123 String childPath = path + '/' + child.getKey();
139 public int startClientSession(String path, String clientCert, String privateKey, argument
142 if (DBG) logd("startClientSession(\"" + path + "\", \"" + clientCert
149 public int notifyExecFinished(String path) throw argument
155 injectSoapPackage(String path, String command, String payload) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DPhotoDataAdapter.java167 // The path of the current viewing item will be stored in mItemPath.
260 // Remember the old path array.
277 // Try to find the same path in the old array
295 private void updateScreenNail(Path path, Future<ScreenNail> future) { argument
296 ImageEntry entry = mImageCache.get(path);
320 if (path == getPath(mCurrentIndex + i)) {
330 private void updateFullImage(Path path, Future<BitmapRegionDecoder> future) { argument
331 ImageEntry entry = mImageCache.get(path);
341 if (path == getPath(mCurrentIndex)) {
576 public void setCurrentPhoto(Path path, in argument
597 setFocusHintPath(Path path) argument
1122 findIndexOfPathInCache(UpdateInfo info, Path path) argument
[all...]
H A DAbstractGalleryActivity.java354 String path = ImageLoader.getLocalPathFromUri(this, uri);
355 if (path != null) {
356 Uri localUri = Uri.parse(path);
357 path = localUri.getLastPathSegment();
359 path = uri.getLastPathSegment();
363 printer.printBitmap(path, uri);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DDownloadProviderFunctionalTest.java56 String path = "/download_manager_test_path";
57 Uri downloadUri = requestDownload(path);
64 assertEquals(path, request.getPath());
73 Uri downloadUri = requestDownload("/path");
90 Uri downloadUri = requestDownload("/path");
94 downloadUri = requestDownload("/path");
157 private Uri requestDownload(String path) throws MalformedURLException, UnknownHostException { argument
159 values.put(Downloads.Impl.COLUMN_URI, getServerUri(path));
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DIntentUtilities.java46 public static Uri.Builder createActivityIntentUrlBuilder(String path) { argument
50 b.path(path);
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DBaseImageList.java169 String path = uri.getPath();
170 Matcher matcher = sPathWithId.matcher(path);
171 return matcher.matches() ? matcher.group(1) : path;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DDetailsHelper.java84 public static void resolveResolution(String path, ResolutionResolvingListener listener) { argument
85 Bitmap bitmap = BitmapFactory.decodeFile(path);
113 return context.getString(R.string.path);
H A DMenuExecutor.java222 Path path = getSingleSelectedPath();
223 String mimeType = getMimeType(manager.getMediaType(path));
224 return new Intent(action).setDataAndType(manager.getContentUri(path), mimeType);
370 DataManager manager, JobContext jc, int cmd, Path path) {
372 Log.v(TAG, "Execute cmd: " + cmd + " for " + path);
377 manager.delete(path);
380 manager.rotate(path, 90);
383 manager.rotate(path, -90);
386 MediaObject obj = manager.getMediaObject(path);
397 MediaItem item = (MediaItem) manager.getMediaObject(path);
369 execute( DataManager manager, JobContext jc, int cmd, Path path) argument
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DStorage.java55 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/Camera2/src/com/android/camera/ui/
H A DDetailsDialog.java92 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/Gallery2/src/com/android/gallery3d/ingest/
H A DIngestService.java306 public void scanPath(String path) { argument
309 mScannerConnection.scanFile(path, null);
311 mPaths.add(path);
322 for (String path : mPaths) {
323 mScannerConnection.scanFile(path, null);
331 public void onScanCompleted(String path, Uri uri) { argument
/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_persist/src/
H A DSyncML_DM_FileHandle.cc45 DMFileHandler::DMFileHandler(CPCHAR path) argument
47 init(path);
51 DMFileHandler::DMFileHandler(CPCHAR path, BOOLEAN bIsCache) argument
53 init(path);
58 void DMFileHandler::init(CPCHAR path) argument
66 m_strPath = path;
354 The function argument is the full path name of the file.
386 The function argument is the full path name of the file.
/packages/apps/OMA-DM/engine/dmlib/tool-src/dmt_gen_tool/com/mot/dm/tool/
H A DDMTS.java201 String path = Util.replaceStr(f.getAbsolutePath(), this.topPath, "");
202 path = Util.replaceStr(path, "\\", "/");
203 path = Util.replaceStr(path, "[]", "*");
204 sb.append("[" + path + "]\n");
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DClusterAlbum.java30 public ClusterAlbum(Path path, DataManager dataManager, argument
32 super(path, nextVersionNumber());
H A DImageCacheRequest.java38 Path path, long timeModified, int type, int targetSize) {
40 mPath = path;
37 ImageCacheRequest(GalleryApp application, Path path, long timeModified, int type, int targetSize) argument
H A DLocalImage.java107 public LocalImage(Path path, GalleryApp application, Cursor cursor) { argument
108 super(path, nextVersionNumber());
113 public LocalImage(Path path, GalleryApp application, int id) { argument
114 super(path, nextVersionNumber());
120 throw new RuntimeException("cannot get cursor for: " + path);
126 throw new RuntimeException("cannot find data for: " + path);
182 LocalImageRequest(GalleryApp application, Path path, long timeModified, argument
184 super(application, path, timeModified, type,
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DImportTask.java112 String path = Environment.getExternalStorageDirectory().getPath();
114 StatFs stat = new StatFs(path);
/packages/inputmethods/LatinIME/tools/dicttool/etc/
H A Ddicttool_aosp16 # Set up prog to be the path of this script, including following symlinks,
67 exec java -ea -classpath "$libpath":"$jarpath" -Djava.library.path="$libdir" "$classname" "$@"
/packages/apps/Camera2/src/com/android/camera/app/
H A DMediaSaver.java133 * @param path The path of the video file on the storage.
138 void addVideo(String path, ContentValues values, OnMediaSavedListener l, argument
/packages/apps/Camera2/src/com/android/camera/data/
H A DLocalMediaData.java87 long dateTakenInMilliSeconds, long dateModifiedInSeconds, String path,
95 mPath = path;
376 String path, int orientation, int width, int height,
379 path, width, height, sizeInBytes, latitude, longitude);
395 String path = c.getString(COL_DATA);
401 + path + ":" + width + "x" + height);
404 BitmapFactory.decodeFile(path, opts);
409 Log.w(TAG, "Dimension decode failed for " + path);
410 Bitmap b = BitmapFactory.decodeFile(path);
413 + " Decoding " + path
86 LocalMediaData(long contentId, String title, String mimeType, long dateTakenInMilliSeconds, long dateModifiedInSeconds, String path, int width, int height, long sizeInBytes, double latitude, double longitude) argument
374 PhotoData(long id, String title, String mimeType, long dateTakenInMilliSeconds, long dateModifiedInSeconds, String path, int orientation, int width, int height, long sizeInBytes, double latitude, double longitude) argument
639 VideoData(long id, String title, String mimeType, long dateTakenInMilliSeconds, long dateModifiedInSeconds, String path, int width, int height, long sizeInBytes, double latitude, double longitude, long durationInSeconds) argument
[all...]
/packages/apps/Gallery2/src/com/android/photos/shims/
H A DMediaItemsLoader.java67 String path = mDataManager.getTopSetPath(DataManager.INCLUDE_ALL);
68 mMediaSet = mDataManager.getMediaSet(path);
173 public void deleteItemWithPath(Object path) { argument
174 MediaObject o = mDataManager.getMediaObject((Path) path);

Completed in 735 milliseconds

1234567891011>>