Searched refs:path (Results 76 - 100 of 464) sorted by relevance

1234567891011>>

/frameworks/av/drm/libdrmframework/
H A DDrmManagerClientImpl.cpp99 int uniqueId, const String8* path, const int action) {
101 if ((NULL != path) && (EMPTY_STRING != *path)) {
103 getDrmManagerService()->getConstraints(uniqueId, path, action);
108 DrmMetadata* DrmManagerClientImpl::getMetadata(int uniqueId, const String8* path) { argument
110 if ((NULL != path) && (EMPTY_STRING != *path)) {
111 drmMetadata = getDrmManagerService()->getMetadata(uniqueId, path);
117 int uniqueId, const String8& path, const String8& mimeType) {
119 if ((EMPTY_STRING != path) || (EMPTY_STRIN
98 getConstraints( int uniqueId, const String8* path, const int action) argument
116 canHandle( int uniqueId, const String8& path, const String8& mimeType) argument
149 getOriginalMimeType( int uniqueId, const String8& path, int fd) argument
158 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
168 checkRightsStatus( int uniqueId, const String8& path, int action) argument
200 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
211 removeRights(int uniqueId, const String8& path) argument
[all...]
/frameworks/wilhelm/tests/examples/
H A DAndroid.mk10 $(call include-path-for, wilhelm)
34 $(call include-path-for, wilhelm)
58 $(call include-path-for, wilhelm)
85 $(call include-path-for, wilhelm)
110 $(call include-path-for, wilhelm)
134 $(call include-path-for, wilhelm)
158 $(call include-path-for, wilhelm)
182 $(call include-path-for, wilhelm)
206 $(call include-path-for, wilhelm)
230 $(call include-path
[all...]
/frameworks/av/media/libstagefright/
H A DStagefrightMediaScanner.cpp75 file.path = filename;
108 const char *path, const char *mimeType,
110 ALOGV("processFile '%s'.", path);
114 MediaScanResult result = processFileInternal(path, mimeType, client);
120 const char *path, const char *mimeType,
122 const char *extension = strrchr(path, '.');
141 return HandleMIDI(path, &client);
146 int fd = open(path, O_RDONLY | O_LARGEFILE);
150 status = mRetriever->setDataSource(path);
107 processFile( const char *path, const char *mimeType, MediaScannerClient &client) argument
119 processFileInternal( const char *path, const char *mimeType, MediaScannerClient &client) argument
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DFileFilter.java63 private static final String trimTrailingSlashIfPresent(String path) { argument
64 File file = new File(path);
92 String path;
108 /** Split on whitespace into path part and the rest */
118 path = trimTrailingSlashIfPresent(parts[0]);
126 mCrashList.add(path);
133 mFailList.add(path);
136 mSlowList.add(path);
159 * - a relative path within LayoutTests folder
179 * - a relative path withi
221 getPrefixes(String path) argument
[all...]
/frameworks/compile/mclinker/lib/MC/
H A DCommandAction.cpp29 pBuilder.createNode<InputTree::Positional>(path().stem().native(), path());
44 sys::fs::Path* path = NULL; local
45 // find out the real path of the namespec.
52 path = m_SearchDirs.find(namespec(), Input::Archive);
57 path = m_SearchDirs.find(namespec(), Input::DynObj);
62 path = m_SearchDirs.find(namespec(), Input::Archive);
65 if (NULL == path) {
70 pBuilder.createNode<InputTree::Positional>(namespec(), *path); local
83 pBuilder.createNode<InputTree::Positional>("bitcode", path(), Inpu
[all...]
/frameworks/base/media/java/android/media/
H A DMediaScanner.java348 // set to true if file path comparisons should be case insensitive.
361 FileEntry(long rowId, String path, long lastModified, int format) { argument
363 mPath = path;
376 String path; field in class:MediaScanner.PlaylistEntry
442 public FileEntry beginFile(String path, String mimeType, long lastModified, argument
450 if (!noMedia && isNoMediaFile(path)) {
462 MediaFile.MediaFileType mediaFileType = MediaFile.getFileType(path);
472 mFileType = getFileTypeFromDrm(path);
476 FileEntry entry = makeEntryFor(path);
484 entry = new FileEntry(0, path, lastModifie
517 scanFile(String path, long lastModified, long fileSize, boolean isDirectory, boolean noMedia) argument
524 doScanFile(String path, String mimeType, long lastModified, long fileSize, boolean isDirectory, boolean scanAlways, boolean noMedia) argument
733 processImageFile(String path) argument
1017 doesPathHaveFilename(String path, String filename) argument
1036 getFileTypeFromDrm(String path) argument
1174 inScanDirectory(String path, String[] directories) argument
1347 scanSingleFile(String path, String volumeName, String mimeType) argument
1369 isNoMediaFile(String path) argument
1403 isNoMediaPath(String path) argument
1427 scanMtpFile(String path, String volumeName, int objectHandle, int format) argument
1483 makeEntryFor(String path) argument
1614 processM3uPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument
1646 processPlsPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument
1715 processWplPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument
1816 processDirectory(String path, MediaScannerClient client) argument
1817 processFile(String path, String mimeType, MediaScannerClient client) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureLibraries.java35 public static GestureLibrary fromFile(String path) { argument
36 return fromFile(new File(path));
39 public static GestureLibrary fromFile(File path) { argument
40 return new FileGestureLibrary(path);
54 public FileGestureLibrary(File path) { argument
55 mPath = path;
/frameworks/base/core/java/android/os/storage/
H A DIMountServiceListener.java78 String path;
79 path = data.readString();
84 this.onStorageStateChanged(path, oldState, newState);
130 * @param path The volume mount path.
136 public void onStorageStateChanged(String path, String oldState, String newState) argument
142 _data.writeString(path);
169 * @param path The volume mount path.
174 public void onStorageStateChanged(String path, Strin argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DTextLayout.cpp51 // Draws or gets the path of a paragraph of text on a single line, running bidi and shaping.
52 // This will draw if canvas is not null, otherwise path must be non-null and it will create
53 // a path representing the text that would have been drawn.
55 jint bidiFlags, jfloat x, jfloat y, SkPath *path) {
64 paint->getTextPath(value->getGlyphs(), value->getGlyphsCount() * 2, x_, y_, path);
84 jint bidiFlags, jfloat x, jfloat y, SkPath *path) {
85 handleText(paint, text, len, bidiFlags, x, y, path);
91 SkPath* path, SkCanvas* canvas) {
103 canvas->drawTextOnPathHV(value->getGlyphs(), value->getGlyphsCount() * 2, *path, h_, v_, *paint);
54 handleText(SkPaint *paint, const jchar* text, jsize len, jint bidiFlags, jfloat x, jfloat y, SkPath *path) argument
83 getTextPath(SkPaint *paint, const jchar *text, jsize len, jint bidiFlags, jfloat x, jfloat y, SkPath *path) argument
89 drawTextOnPath(SkPaint* paint, const jchar* text, int count, int bidiFlags, jfloat hOffset, jfloat vOffset, SkPath* path, SkCanvas* canvas) argument
H A DPathMeasure.cpp25 client to be sure not to edit the path while we have an active measure
28 This costs us the copy of the path, for the sake of not allowing a bad
30 native path has been modified).
33 later changes this, and is internally safe from changes to the path, then
36 Note that we do not have a reference on the java side to the java path.
38 reference, so that the java path would not get GD'd while the measure object
43 PathMeasurePair(const SkPath& path, bool forceClosed) argument
44 : fPath(path), fMeasure(fPath, forceClosed) {}
46 SkPath fPath; // copy of the user's path
55 static PathMeasurePair* create(JNIEnv* env, jobject clazz, const SkPath* path, jboolea argument
59 setPath(JNIEnv* env, jobject clazz, PathMeasurePair* pair, const SkPath* path, jboolean forceClosed) argument
[all...]
/frameworks/base/core/tests/overlaytests/
H A Druntests.sh42 local path="$1"
44 if [[ "${path:0:1}" != "/" ]]; then
45 echo "mkdir_if_needed: error: path '$path' does not begin with /" | tee -a $log
49 local basename=$(basename "$path")
50 local dirname=$(dirname "$path")
62 $adb shell mkdir "$path"
65 echo "mkdir_if_needed: file '$path' exists, but is not a directory" | tee -a $log
/frameworks/compile/mclinker/lib/Support/
H A DHandleToArea.cpp24 llvm::StringRef(pHandle->path().native().c_str(),
25 pHandle->path().native().size()));
38 return erase(pArea->handler()->path());
49 if (bucket->hash_value == hash_value && bucket->handle->path() == pPath) {
68 if (bucket->handle->path() == pPath) {
86 if (bucket->handle->path() == pPath) {
/frameworks/av/drm/libdrmframework/include/
H A DDrmManagerClientImpl.h78 * @param[in] path Path of the protected content
86 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
92 * @param[in] path Path of the protected content
98 DrmMetadata* getMetadata(int uniqueId, const String8* path);
101 * Check whether the given mimetype or path can be handled
104 * @param[in] path Path of the content needs to be handled
107 * True if DrmManager can handle given path or mime type.
109 bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
133 * Save DRM rights to specified rights path
134 * and make association with content path
[all...]
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DIDrmEngine.h96 * @param[in] path Path of the protected content
105 int uniqueId, const String8* path, int action) = 0;
111 * @param[in] path Path of the protected content
117 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path) = 0;
123 * @param[in] path Path the protected object
127 virtual bool canHandle(int uniqueId, const String8& path) = 0;
151 * Save DRM rights to specified rights path
152 * and make association with content path
156 * @param[in] rightsPath File path where rights to be saved
157 * @param[in] contentPath File path wher
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
H A DFwdLockEngine.h49 * @param path Path of the protected content
57 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action);
63 * @param path Path of the protected content
69 DrmMetadata* onGetMetadata(int uniqueId, const String8* path);
104 * @param path Path to the protected object
108 bool onCanHandle(int uniqueId, const String8& path);
122 * Save DRM rights to specified rights path
123 * and make association with content path.
127 * @param rightsPath File path where rights to be saved
128 * @param contentPath File path wher
[all...]
/frameworks/av/media/libeffects/data/
H A Daudio_effects.conf1 # List of effect libraries to load. Each library element must contain a "path" element
2 # giving the full path of the library .so file.
5 # path <lib path>
10 path /system/lib/soundfx/libbundlewrapper.so
13 path /system/lib/soundfx/libreverbwrapper.so
16 path /system/lib/soundfx/libvisualizer.so
19 path /system/lib/soundfx/libdownmix.so
27 # path /system/lib/soundfx/libaudiopreprocessing.so
/frameworks/av/media/libeffects/factory/
H A DAndroid.mk18 $(call include-path-for, audio-effects)
/frameworks/base/cmds/bootanimation/
H A DAndroid.mk23 $(call include-path-for, corecg graphics)
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DPathShape.java25 * The path can be drawn to a Canvas with its own draw() method,
40 * @param path a Path that defines the geometric paths for this shape
48 public PathShape(Path path, float stdWidth, float stdHeight) { argument
49 mPath = path;
/frameworks/base/graphics/java/android/renderscript/
H A DFileA3D.java229 * @param path location of the file to load
233 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { argument
235 int fileId = rs.nFileA3DCreateFromAsset(mgr, path);
238 throw new RSRuntimeException("Unable to create a3d file from asset " + path);
250 * @param path location of the file to load
254 static public FileA3D createFromFile(RenderScript rs, String path) { argument
255 int fileId = rs.nFileA3DCreateFromFile(path);
258 throw new RSRuntimeException("Unable to create a3d file from " + path);
270 * @param path location of the file to load
274 static public FileA3D createFromFile(RenderScript rs, File path) { argument
[all...]
H A DFont.java162 static public Font createFromFile(RenderScript rs, Resources res, String path, float pointSize) { argument
165 int fontId = rs.nFontCreateFromFile(path, pointSize, dpi);
168 throw new RSRuntimeException("Unable to create font from file " + path);
178 static public Font createFromFile(RenderScript rs, Resources res, File path, float pointSize) { argument
179 return createFromFile(rs, res, path.getAbsolutePath(), pointSize);
185 static public Font createFromAsset(RenderScript rs, Resources res, String path, float pointSize) { argument
190 int fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi);
192 throw new RSRuntimeException("Unable to create font from asset " + path);
/frameworks/base/libs/storage/
H A DIMountServiceListener.cpp40 String16 path = data.readString16(); local
43 onStorageStateChanged(path, oldState, newState);
/frameworks/base/media/jni/audioeffect/
H A DAndroid.mk17 $(call include-path-for, audio-effects)
/frameworks/base/media/libdrm/mobile1/
H A DAndroid.mk33 # Header files path
40 $(call include-path-for, system-core)/cutils
67 # Header files path
72 $(call include-path-for, system-core)/cutils
/frameworks/base/tests/DumpRenderTree/assets/
H A Drun_page_cycler.py39 path = ' '.join(args);
41 if path[:7] == "remote:":
42 remote_path = path[7:]
77 run_load_test_cmd += " -e path \"%s\" " % path
110 if not os.path.exists(results_dir):
112 if not os.path.isdir(results_dir):
121 if not os.path.isfile(os.path.join(results_dir, "load_test_result.txt")):

Completed in 682 milliseconds

1234567891011>>