Searched defs:path (Results 251 - 275 of 387) sorted by relevance

<<111213141516

/frameworks/base/core/jni/
H A Dcom_android_internal_os_Zygote.cpp265 static int UnmountTree(const char* path) { argument
266 size_t path_len = strlen(path);
279 if (strncmp(mentry->mnt_dir, path, path_len) == 0) {
285 for (auto path : toUnmount) {
286 if (umount2(path.c_str(), MNT_DETACH)) {
287 ALOGW("Failed to unmount %s: %s", path.c_str(), strerror(errno));
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java368 * @param path Path to the content from which you are retrieving DRM constraints.
375 public ContentValues getConstraints(String path, int action) { argument
376 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) {
377 throw new IllegalArgumentException("Given usage or path is invalid/null");
379 return _getConstraints(mUniqueId, path, action);
385 * @param path Path to the content from which you are retrieving metadata information.
390 public ContentValues getMetadata(String path) { argument
391 if (null == path || path
477 canHandle(String path, String mimeType) argument
564 getDrmObjectType(String path, String mimeType) argument
602 getOriginalMimeType(String path) argument
651 checkRightsStatus(String path) argument
678 checkRightsStatus(String path, int action) argument
708 removeRights(String path) argument
878 _getConstraints(int uniqueId, String path, int usage) argument
880 _getMetadata(int uniqueId, String path) argument
882 _canHandle(int uniqueId, String path, String mimeType) argument
891 _getDrmObjectType(int uniqueId, String path, String mimeType) argument
893 _getOriginalMimeType(int uniqueId, String path, FileDescriptor fd) argument
895 _checkRightsStatus(int uniqueId, String path, int action) argument
897 _removeRights(int uniqueId, String path) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DIcon.java343 Log.w(TAG, "Unable to load image from path: " + uri, e);
638 * Create an Icon pointing to an image file specified by path.
640 * @param path A path to a file that contains compressed bitmap data of
643 public static Icon createWithFilePath(String path) { argument
644 if (path == null) {
648 rep.mString1 = path;
/frameworks/base/libs/hwui/
H A DRecordedOp.h303 PathOp(BASE_PARAMS, const SkPath* path) argument
305 , path(path) {}
306 const SkPath* path; member in struct:android::uirenderer::PathOp
403 const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset)
407 , path(path)
413 const SkPath* path; member in struct:android::uirenderer::TextOnPathOp
402 TextOnPathOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset) argument
H A DSkiaCanvasProxy.cpp65 SkPath path; local
67 path.moveTo(pts[i]);
68 path.lineTo(pts[i+1]);
69 this->drawPath(path, strokedPaint);
70 path.rewind();
94 SkPath path; local
95 path.addRRect(roundRect);
96 mCanvas->drawPath(path, paint);
100 void SkiaCanvasProxy::onDrawPath(const SkPath& path, const SkPaint& paint) { argument
101 mCanvas->drawPath(path, pain
205 SkPath path; local
348 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& origPaint) argument
385 SkPath path; local
390 onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle) argument
[all...]
H A DTessellationCache.cpp425 const SkPath& path) {
430 PathTessellator::tessellatePath(path, &paint, matrix, *buffer);
449 SkPath path; local
450 path.addRoundRect(rect, rx, ry);
451 return tessellatePath(description, path);
424 tessellatePath(const TessellationCache::Description& description, const SkPath& path) argument
H A DVectorDrawable.cpp47 //TODO: try apply the path matrix to the canvas instead of creating a new path.
103 Path::Path(const Path& path) : Node(path) { argument
104 mStagingProperties.syncProperties(path.mStagingProperties);
130 FullPath::FullPath(const FullPath& path) : Path(path) { argument
131 mStagingProperties.syncProperties(path.mStagingProperties);
142 // Trimmed path should be empty.
199 // Draw path'
[all...]
/frameworks/base/libs/hwui/font/
H A DFont.cpp247 ALOGW("The path for drawTextOnPath is empty or null");
301 const SkPath* path, float hOffset, float vOffset) {
314 SkPathMeasure measure(*path, false);
300 render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, const SkPath* path, float hOffset, float vOffset) argument
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp742 char path[1024]; local
743 snprintf(path, 1024, "/data/data/%s/cache/rendertree_dump", package);
744 int fd = open(path, O_CREAT | O_WRONLY, S_IRWXU | S_IRGRP | S_IROTH);
746 ALOGD("Failed to open '%s'", path);
/frameworks/base/libs/storage/
H A DIMountService.cpp372 bool getSecureContainerPath(const String16& id, String16& path) argument
386 path = reply.readString16();
503 bool getMountedObbPath(const String16& filename, String16& path) argument
517 path = reply.readString16();
/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);
H A DMediaFile.java306 public static MediaFileType getFileType(String path) { argument
307 int lastDot = path.lastIndexOf('.');
310 return sFileTypeMap.get(path.substring(lastDot + 1).toUpperCase(Locale.ROOT));
320 public static String getFileTitle(String path) { argument
322 int lastSlash = path.lastIndexOf('/');
325 if (lastSlash < path.length()) {
326 path = path.substring(lastSlash);
330 int lastDot = path.lastIndexOf('.');
332 path
342 getMimeTypeForFile(String path) argument
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java64 // path to primary storage
191 String path = subDirectories[i];
192 mSubDirectoriesWhereArgs[j++] = path;
193 mSubDirectoriesWhereArgs[j++] = path + "/%";
282 // check to see if the path is contained in one of our storage subdirectories
284 private boolean inStorageSubDirectory(String path) { argument
286 if (path == null) return false;
289 int pathLength = path.length();
294 path.charAt(subdirLength) == '/' &&
295 path
304 isStorageSubDirectory(String path) argument
315 inStorageRoot(String path) argument
330 beginSendObject(String path, int format, int parent, int storageId, long size, long modified) argument
381 endSendObject(String path, int handle, int format, boolean succeeded) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp77 const char *path,
79 return mImpl->setDataSource(httpService, path, headers);
644 const char *path = env->GetStringUTFChars(pathObj, NULL); local
646 if (path == NULL) {
656 status_t err = extractor->setDataSource(httpService, path, &headers);
658 env->ReleaseStringUTFChars(pathObj, path);
659 path = NULL;
75 setDataSource( const sp<IMediaHTTPService> &httpService, const char *path, const KeyedVector<String8, String8> *headers) argument
/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/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java75 // docId format: root:path/to/file
93 public File path; field in class:ExternalStorageProvider.RootInfo
214 root.path = volume.getInternalPathForUser(userId);
216 root.docId = getDocIdForFile(root.path);
244 root.path = new File(
247 root.docId = getDocIdForFile(root.path);
276 String path = file.getAbsolutePath();
278 // Find the most-specific root path
284 final String rootPath = mRoots.valueAt(i).path.getAbsolutePath();
285 if (path
758 onEvent(int event, String path) argument
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java265 public static int getRotationFromExif(String path) { argument
266 return getRotationFromExifHelper(path, null, 0, null, null);
278 String path, Resources res, int resId, Context context, Uri uri) {
283 if (path != null) {
284 ei.readExif(path);
277 getRotationFromExifHelper( String path, Resources res, int resId, Context context, Uri uri) argument
/frameworks/base/services/core/java/com/android/server/firewall/
H A DIntentFirewall.java564 public void onEvent(int event, String path) { argument
565 if (path.endsWith(".xml")) {
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbPortManager.java63 // UEvent path to watch.
632 private static boolean fileIsRootWritable(String path) { argument
635 return (Os.stat(path).st_mode & OsConstants.S_IWUSR) != 0;
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java106 assert pathString.length() == stringLength : "Inconsistent path string length.";
125 "Cannot interpolate path data with different lengths (from " + length + " to " +
169 * @param pathData The string representing a path, the same as "d" string in svg file.
211 * @param nodesFrom The source path represented in an array of PathDataNode
212 * @param nodesTo The target path represented in an array of PathDataNode
237 * @param target The target path represented in an array of PathDataNode
238 * @param source The source path represented in an array of PathDataNode
254 // Note that 'e' or 'E' are not valid path commands, but could be
410 * Convert an array of PathDataNode to Path. Reset the passed path as needed before
414 * @param path Th
416 nodesToPath(@onNull PathDataNode[] node, @NonNull Path_Delegate path) argument
443 addCommand(@onNull Path_Delegate path, float[] current, char previousCmd, char cmd, @NonNull float[] val) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java197 public void drawPath(Path path, Paint paint) { argument
284 public void drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, argument
289 public void drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) { argument
/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...]
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/
H A DLayoutXmlProcessor.java225 public static String toSystemDependentPath(String path) { argument
227 path = path.replace('/', File.separatorChar);
229 return path;
/frameworks/native/cmds/installd/
H A Dotapreopt.cpp504 // Compute the output path of
505 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, argument
529 snprintf(path, PKG_PATH_MAX, "%s/%s/%s.odex.b", oat_dir, instruction_set,
538 * Returns false if it failed to determine the odex file path.
540 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, argument
543 ALOGE("apk_path '%s' may be too long to form odex file path.\n", apk_path);
567 strcpy(path, new_path.c_str());
571 bool create_cache_path(char path[PKG_PATH_MAX], argument
576 /* demand that we are an absolute path */
598 strcpy(path, assembled_pat
[all...]
/frameworks/native/services/inputflinger/
H A DEventHub.h340 const String8 path; member in struct:android::EventHub::Device
369 Device(int fd, int32_t id, const String8& path, const InputDeviceIdentifier& identifier);

Completed in 444 milliseconds

<<111213141516