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

1234567891011>>

/frameworks/base/core/jni/
H A Dandroid_app_backup_FullBackup.cpp69 * rootpath: prefix to be snipped from full path when encoding in tar
70 * path: absolute path to the file to be saved
86 String8 path(pathchars ? pathchars : "");
100 ALOGE("No output stream provided [%s]", path.string());
104 if (path.length() < rootpath.length()) {
105 ALOGE("file path [%s] shorter than root path [%s]",
106 path.string(), rootpath.string());
110 return write_tarfile(packageName, domain, rootpath, path, write
[all...]
/frameworks/wilhelm/tests/sandbox/
H A DAndroid.mk10 $(call include-path-for, wilhelm)
38 $(call include-path-for, wilhelm)
64 $(call include-path-for, wilhelm) \
65 $(call include-path-for, wilhelm-ut)
94 $(call include-path-for, wilhelm) \
95 $(call include-path-for, wilhelm-ut)
124 $(call include-path-for, wilhelm)
150 $(call include-path-for, wilhelm)
179 $(call include-path-for, wilhelm)
208 $(call include-path
[all...]
/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/base/media/java/android/media/
H A DMediaScanner.java346 // set to true if file path comparisons should be case insensitive.
359 FileEntry(long rowId, String path, long lastModified, int format) { argument
361 mPath = path;
374 String path; field in class:MediaScanner.PlaylistEntry
439 public FileEntry beginFile(String path, String mimeType, long lastModified, argument
446 if (!noMedia && isNoMediaFile(path)) {
458 MediaFile.MediaFileType mediaFileType = MediaFile.getFileType(path);
468 mFileType = getFileTypeFromDrm(path);
472 FileEntry entry = makeEntryFor(path);
480 entry = new FileEntry(0, path, lastModifie
514 scanFile(String path, long lastModified, long fileSize, boolean isDirectory, boolean noMedia) argument
521 doScanFile(String path, String mimeType, long lastModified, long fileSize, boolean isDirectory, boolean scanAlways, boolean noMedia) argument
730 processImageFile(String path) argument
1011 doesPathHaveFilename(String path, String filename) argument
1030 getFileTypeFromDrm(String path) argument
1165 inScanDirectory(String path, String[] directories) argument
1333 scanSingleFile(String path, String volumeName, String mimeType) argument
1352 isNoMediaFile(String path) argument
1386 isNoMediaPath(String path) argument
1410 scanMtpFile(String path, String volumeName, int objectHandle, int format) argument
1466 makeEntryFor(String path) argument
1623 processM3uPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument
1655 processPlsPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument
1724 processWplPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument
1825 processDirectory(String path, MediaScannerClient client) argument
1826 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/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/compile/mclinker/lib/CodeGen/
H A DSectLinker.cpp125 << (*input)->path();
127 mcld::outs() << (*input)->path() << ")\n";
187 MemoryArea* out_area = memAreaFactory()->produce(pLDInfo.output().path(),
194 << pLDInfo.output().path();
211 memAreaFactory()->produce((*input)->path(), FileHandle::ReadOnly);
217 error(diag::err_cannot_open_input) << (*input)->name() << (*input)->path();
222 pLDInfo.contextFactory().produce((*input)->path());
272 bitcode_option->path()->native(),
273 *(bitcode_option->path()),
292 input_file_option->path()
305 sys::fs::Path* path = NULL; local
[all...]
/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/base/cmds/bootanimation/
H A DAndroid.mk22 $(call include-path-for, corecg graphics)
/frameworks/base/core/jni/android/graphics/
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/graphics/java/android/graphics/
H A DTypeface.java145 * @param path The file name of the font data in the assets directory
148 public static Typeface createFromAsset(AssetManager mgr, String path) { argument
149 return new Typeface(nativeCreateFromAsset(mgr, path));
155 * @param path The path to the font data.
158 public static Typeface createFromFile(File path) { argument
159 return new Typeface(nativeCreateFromFile(path.getAbsolutePath()));
165 * @param path The full path to the font data.
168 public static Typeface createFromFile(String path) { argument
226 nativeCreateFromAsset(AssetManager mgr, String path) argument
227 nativeCreateFromFile(String path) argument
[all...]
/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.java228 * @param path location of the file to load
232 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { argument
234 int fileId = rs.nFileA3DCreateFromAsset(mgr, path);
237 throw new RSRuntimeException("Unable to create a3d file from asset " + path);
249 * @param path location of the file to load
253 static public FileA3D createFromFile(RenderScript rs, String path) { argument
254 int fileId = rs.nFileA3DCreateFromFile(path);
257 throw new RSRuntimeException("Unable to create a3d file from " + path);
269 * @param path location of the file to load
273 static public FileA3D createFromFile(RenderScript rs, File path) { argument
[all...]
H A DFont.java161 static public Font createFromFile(RenderScript rs, Resources res, String path, float pointSize) { argument
164 int fontId = rs.nFontCreateFromFile(path, pointSize, dpi);
167 throw new RSRuntimeException("Unable to create font from file " + path);
177 static public Font createFromFile(RenderScript rs, Resources res, File path, float pointSize) { argument
178 return createFromFile(rs, res, path.getAbsolutePath(), pointSize);
184 static public Font createFromAsset(RenderScript rs, Resources res, String path, float pointSize) { argument
189 int fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi);
191 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/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")):
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DMediaPlayerDataSource.java47 public MediaPlayerDataSource(String path) { argument
50 mPath = path;

Completed in 1370 milliseconds

1234567891011>>