Searched refs:path (Results 476 - 500 of 713) sorted by relevance

<<11121314151617181920>>

/frameworks/base/libs/hwui/
H A DRecordingCanvas.cpp233 bool RecordingCanvas::quickRejectPath(const SkPath& path) const {
234 SkRect bounds = path.getBounds();
240 bool RecordingCanvas::clipPath(const SkPath* path, SkRegion::Op op) { argument
241 return mState.clipPath(path, op);
450 void RecordingCanvas::drawPath(const SkPath& path, const SkPaint& paint) { argument
454 Rect(path.getBounds()),
457 refPaint(&paint), refPath(&path)));
562 void RecordingCanvas::drawGlyphsOnPath(const uint16_t* glyphs, int glyphCount, const SkPath& path, argument
569 refPaint(&paint), glyphs, glyphCount, refPath(&path), hOffset, vOffset));
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
H A DStubProvider.java648 public Uri createRegularFile(String rootId, String path, String mimeType, byte[] content) argument
650 final File file = createFile(rootId, path, mimeType, content);
662 String rootId, String path, String mimeType, List<String> streamTypes, byte[] content)
665 final File file = createFile(rootId, path, mimeType, content);
677 public File getFile(String rootId, String path) throws FileNotFoundException { argument
682 // Convert the path string into a path that's relative to the root.
683 File needle = new File(root.file, path.substring(1));
692 private File createFile(String rootId, String path, String mimeType, byte[] content) argument
694 Log.d(TAG, "Creating test file " + rootId + " : " + path);
661 createVirtualFile( String rootId, String path, String mimeType, List<String> streamTypes, byte[] content) argument
[all...]
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportReceiverTest.java859 private void createTextFile(String path, String content) throws IOException { argument
860 Log.v(TAG, "createFile(" + path + ")");
862 new FileOutputStream(path)))) {
867 private void createZipFile(String path, String entryName, String content) throws IOException { argument
868 Log.v(TAG, "createZipFile(" + path + ", " + entryName + ")");
870 new BufferedOutputStream(new FileOutputStream(path)))) {
886 String path = new File(dir, file).getAbsolutePath();
887 Log.v(TAG, "Path for '" + file + "': " + path);
888 return path;
/frameworks/base/services/core/java/com/android/server/
H A DMountService.java340 private String findVolumeIdForPathOrThrow(String path) { argument
344 if (vol.path != null && path.startsWith(vol.path)) {
349 throw new IllegalArgumentException("No volume found for path " + path);
352 private VolumeRecord findRecordForPath(String path) { argument
356 if (vol.path != null && path.startsWith(vol.path)) {
364 scrubPath(String path) argument
1721 mountVolume(String path) argument
1727 unmountVolume(String path, boolean force, boolean removeEncryption) argument
1732 formatVolume(String path) argument
2100 getStorageUsers(String path) argument
3664 notifyStorageStateChanged(String path, String oldState, String newState) argument
[all...]
H A DDiskStatsService.java104 private void reportFreeSpace(File path, String name, PrintWriter pw) { argument
106 StatFs statfs = new StatFs(path.getPath());
/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp157 const sys::fs::Path* path = NULL; local
158 // find out the real path of the namespec.
165 path = m_Module.getScript().directories().find(pNameSpec, Input::Archive);
169 path = m_Module.getScript().directories().find(pNameSpec, Input::DynObj);
173 path = m_Module.getScript().directories().find(pNameSpec, Input::Archive);
176 if (path == NULL) {
181 m_InputBuilder.createNode<InputTree::Positional>(pNameSpec, *path);
197 pFileHandle.path());
200 if (pFileHandle.path().empty()) {
340 fatal(diag::fatal_cannot_read_input) << pInput.path();
[all...]
H A DLinker.cpp133 << (*input)->type() << (*input)->name() << (*input)->path();
135 mcld::outs() << (*input)->path() << ")\n";
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java2246 // we will need the shared library path, so look that up and store it here.
2872 // but has since been updated and now only supports the full-data path.
3516 long fileSize, int type, String path, long mode, long mtime,
3521 mService.restoreObbFile(pkgName, data, fileSize, type, path, mode, mtime,
5251 String path; // subpath within the semantic domain field in class:BackupManagerService.FileMetadata
5262 sb.append(domain); sb.append(':'); sb.append(path); sb.append(',');
5353 mInfo.domain, mInfo.path, mInfo.mode, mInfo.mtime,
5429 if (info.path.equals(BACKUP_MANIFEST_FILENAME)) {
5437 } else if (info.path.equals(BACKUP_METADATA_FILENAME)) {
5574 + " : " + info.path);
3515 restoreObbFile(String pkgName, ParcelFileDescriptor data, long fileSize, int type, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
[all...]
/frameworks/av/media/audioserver/
H A DAndroid.mk31 $(call include-path-for, audio-utils) \
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
H A DAndroid.mk99 $(call include-path-for, audio-utils)
/frameworks/av/media/libstagefright/codecs/amrwb/
H A DAndroid.mk69 $(call include-path-for, audio-utils)
/frameworks/av/media/libstagefright/codecs/mp3dec/
H A DAndroid.mk104 $(call include-path-for, audio-utils)
/frameworks/base/core/java/android/os/storage/
H A DStorageVolume.java124 public StorageVolume(String id, int storageId, File path, String description, boolean primary, argument
129 mPath = Preconditions.checkNotNull(path);
164 * Returns the mount path for the volume.
166 * @return the mount path
/frameworks/base/core/jni/
H A DAndroid.mk189 $(call include-path-for, bluedroid) \
190 $(call include-path-for, libhardware)/hardware \
191 $(call include-path-for, libhardware_legacy)/hardware_legacy \
211 $(call include-path-for, audio-utils) \
H A Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp116 VectorDrawable::Path* path = reinterpret_cast<VectorDrawable::Path*>(nativePtr); local
119 PathDataPropertyValuesHolder* newHolder = new PathDataPropertyValuesHolder(path,
/frameworks/base/media/java/android/media/
H A DJetPlayer.java212 * Loads a .jet file from a given path.
213 * @param path the path to the .jet file, for instance "/sdcard/mygame/music.jet".
216 public boolean loadJetFile(String path) { argument
217 return native_loadJetFromFile(path);
/frameworks/base/media/jni/
H A DAndroid.mk67 $(call include-path-for, libhardware)/hardware \
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DMOTree.java96 private void setPath(String path) { argument
97 mPath = path;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerSession.java330 * might point at an ASEC mount point, which is why we delay path resolution
339 final String path = PackageHelper.getSdDir(stageCid);
340 if (path != null) {
341 mResolvedStageDir = new File(path);
343 throw new IOException("Failed to resolve path to container " + stageCid);
932 throw new IOException("Invalid path (was relative) : " + pathStr);
1022 String path = PackageHelper.getSdDir(cid);
1023 if (path == null) {
1028 final long currentSize = new File(path).getTotalSpace();
1046 path
[all...]
H A DPackageManagerServiceUtils.java179 * Returns the canonicalized path of {@code path} as per {@code realpath(3)}
182 public static String realpath(File path) throws IOException { argument
184 return Libcore.os.realpath(path.getAbsolutePath());
/frameworks/base/services/core/java/com/android/server/storage/
H A DFileCollector.java149 * @param path Directory to collect and categorize storage in.
151 public static MeasurementResult getMeasurementResult(File path) { argument
152 return collectFiles(StorageManager.maybeTranslateEmulatedPathToInternal(path),
/frameworks/base/tools/aapt2/java/
H A DProguardRules.cpp62 mKeepSet->addClass(Source(mSource.path, lineNumber), className);
66 mKeepSet->addMethod(Source(mSource.path, lineNumber), methodName);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DMOTree.java100 private void setPath(String path) { argument
101 mPath = path;
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
H A DMainActivity.java183 Uri path = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://" +
187 return path;
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestLoopUri.cpp122 void TestLoopUri( SLObjectItf sl, const char* path) argument
167 uri.URI = (SLchar*) path;
296 fprintf(stdout, "Usage: \n\t%s path \n\t%s url\n", argv[0], argv[0]);

Completed in 832 milliseconds

<<11121314151617181920>>