Searched refs:path (Results 176 - 200 of 443) sorted by relevance

1234567891011>>

/frameworks/compile/slang/tests/
H A Dtest.py31 if not os.path.isfile(actual):
35 if not os.path.isfile(expect):
203 if os.path.isdir(arg):
214 if os.path.isdir(f) and (f[0:2] == 'F_' or f[0:2] == 'P_'):
218 if os.path.isdir(f):
/frameworks/base/media/java/android/media/
H A DSoundPool.java147 * Load the sound from the specified path.
149 * @param path the path to the audio file
154 public int load(String path, int priority) argument
157 if (path.startsWith("http:"))
158 return _load(path, priority);
160 // try local path
163 File f = new File(path);
170 Log.e(TAG, "error loading " + path);
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp55 DrmMetadata* DrmPassthruPlugIn::onGetMetadata(int uniqueId, const String8* path) { argument
60 int uniqueId, const String8* path, int action) {
159 bool DrmPassthruPlugIn::onCanHandle(int uniqueId, const String8& path) { argument
160 ALOGV("DrmPassthruPlugIn::canHandle: %s ", path.string());
161 String8 extension = path.getPathExtension();
166 String8 DrmPassthruPlugIn::onGetOriginalMimeType(int uniqueId, const String8& path, int fd) { argument
172 int uniqueId, const String8& path, const String8& mimeType) {
177 int DrmPassthruPlugIn::onCheckRightsStatus(int uniqueId, const String8& path, int action) { argument
195 bool DrmPassthruPlugIn::onValidateAction(int uniqueId, const String8& path, argument
201 status_t DrmPassthruPlugIn::onRemoveRights(int uniqueId, const String8& path) { argument
59 onGetConstraints( int uniqueId, const String8* path, int action) argument
171 onGetDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
[all...]
/frameworks/native/opengl/tests/hwc/
H A DAndroid.mk25 $(call include-path-for, opengl-tests-includes)
53 $(call include-path-for, opengl-tests-includes)
84 $(call include-path-for, opengl-tests-includes)
113 $(call include-path-for, opengl-tests-includes)
142 $(call include-path-for, opengl-tests-includes)
/frameworks/base/graphics/java/android/graphics/
H A DRegion.java99 * Set the region to the area described by the path and clip.
101 * that is identical to the pixels that would be drawn by the path
104 public boolean setPath(Path path, Region clip) { argument
105 return nativeSetPath(mNativeRegion, path.ni(), clip.mNativeRegion);
146 * the path will also be empty.
149 Path path = new Path();
150 nativeGetBoundaryPath(mNativeRegion, path.ni());
151 return path;
155 * Set the path to the boundary of the region. If the region is empty, the
156 * path wil
158 getBoundaryPath(Path path) argument
[all...]
/frameworks/av/media/mtp/
H A DMtpServer.h81 ObjectEdit(MtpObjectHandle handle, const char* path, uint64_t size, argument
83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) {
113 void addEditObject(MtpObjectHandle handle, MtpString& path,
/frameworks/base/core/java/android/content/
H A DUriMatcher.java148 * @param path the path to match. * may be used as a wild card for
153 public void addURI(String authority, String path, int code) argument
158 String[] tokens = path != null ? PATH_SPLIT_PATTERN.split(path) : null;
195 * Try to match against the path in a url.
197 * @param uri The url whose path we will match against.
/frameworks/base/services/java/com/android/server/am/
H A DProcessList.java223 private void writeFile(String path, String data) { argument
226 fos = new FileOutputStream(path);
229 Slog.w(ActivityManagerService.TAG, "Unable to write " + path);
/frameworks/compile/mclinker/include/mcld/Support/
H A DDirectory.h49 /// constructor - a directory whose path is pPath
75 /// path - the path of the directory
76 const Path& path() const function in class:mcld::sys::fs::Directory
138 Path* path();
139 const Path* path() const;
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp108 DrmConstraints* FwdLockEngine::onGetConstraints(int uniqueId, const String8* path, int action) { argument
113 if (NULL != path &&
114 (RightsStatus::RIGHTS_VALID == onCheckRightsStatus(uniqueId, *path, action))) {
122 DrmMetadata* FwdLockEngine::onGetMetadata(int uniqueId, const String8* path) { argument
127 if (NULL != path) {
225 bool FwdLockEngine::onCanHandle(int uniqueId, const String8& path) { argument
228 String8 extString = path.getPathExtension();
264 const String8& path,
271 if (onCanHandle(uniqueId, path)) {
303 const String8& path,
263 onCheckRightsStatus(int uniqueId, const String8& path, int action) argument
302 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& description) argument
312 onGetOriginalMimeType(int uniqueId, const String8& path, int fd) argument
335 onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument
356 onRemoveRights(int uniqueId, const String8& path) argument
[all...]
/frameworks/base/cmds/installd/
H A Dcommands.c47 ALOGE("cannot create package path\n");
52 ALOGE("cannot create package lib symlink origin path\n");
57 ALOGE("cannot create package lib symlink dest path\n");
156 ALOGE("cannot create package path\n");
204 ALOGE("cannot create package lib symlink origin path\n");
208 ALOGE("cannot create package lib symlink dest path\n");
318 /* Create the full path to the package's data dir */
382 snprintf(tmpdir, sizeof(tmpdir), "%s%s", android_data_dir.path,
409 strcpy(tmpdir, android_media_dir.path);
461 int rm_dex(const char *path) argument
486 char path[PKG_PATH_MAX]; local
598 create_cache_path(char path[PKG_PATH_MAX], const char *src) argument
800 mkinnerdirs(char* path, int basepos, mode_t mode, int uid, int gid, struct stat* statbuf) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.c43 * Creates all directories along the fully qualified path of the given file.
45 * @param[in] path A reference to the fully qualified path of a file.
50 static int FwdLockGlue_CreateDirectories(const char *path, mode_t mode) { argument
52 size_t partialPathLength = strlen(path);
59 if (path[i] == '/' && i > 0) {
66 partialPath[i] = path[i];
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteOpenHelper.java220 final String path = mContext.getDatabasePath(mName).getPath();
221 db = SQLiteDatabase.openDatabase(path, mFactory,
234 final String path = mContext.getDatabasePath(mName).getPath();
235 db = SQLiteDatabase.openDatabase(path, mFactory,
/frameworks/base/core/java/android/os/storage/
H A DStorageVolume.java28 * filesystem path where it may be mounted.
54 public StorageVolume(File path, int descriptionId, boolean primary, boolean removable, argument
57 mPath = path;
81 public static StorageVolume fromTemplate(StorageVolume template, File path, UserHandle owner) { argument
82 return new StorageVolume(path, template.mDescriptionId, template.mPrimary,
88 * Returns the mount path for the volume.
90 * @return the mount path
/frameworks/base/tools/aapt/
H A DFileFinder.h35 /* findFiles takes a path, a Vector of extensions, and a destination KeyedVector
36 * and places path/modification date key/values pointing to
39 * path is a valid system path
42 * compares the end of the path string so if the "."
49 * matching files encountered in subdirectories of path
62 * checkAndAddFile looks at a single file path and stat combo
71 * is added to the KeyedVector with the path as the key and the modification
75 static void checkAndAddFile(String8 path, const struct stat* stats,
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DTypeface_Delegate.java141 /*package*/ static synchronized int nativeCreateFromAsset(AssetManager mgr, String path) { argument
148 /*package*/ static synchronized int nativeCreateFromFile(String path) { argument
149 if (path.startsWith(SYSTEM_FONTS) ) {
150 String relativePath = path.substring(SYSTEM_FONTS.length());
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DMain.java84 for (String path : osJarPath) {
85 log.info("Input : %1$s", path);
133 for (String path : osJarPath) {
134 log.info("- Input JAR : %1$s", path);
200 log.error("Missing parameter: path to input jar");
204 log.error("Missing parameter: path to output jar");
/frameworks/compile/mclinker/lib/Support/
H A DDirectory.cpp166 Path* DirIterator::path() function in class:DirIterator
173 const Path* DirIterator::path() const function in class:DirIterator
239 const Path* x_path = path();
240 const Path* y_path = y.path();
/frameworks/compile/mclinker/unittests/Linker/
H A DTestLinker.cpp128 if (exists(sd->path()) && is_directory(sd->path())) {
207 mcld::sys::fs::Path* path = NULL; local
208 // find out the real path of the namespec.
215 path = m_pInfo->options().directories().find(pNameSpec,
221 path = m_pInfo->options().directories().find(pNameSpec,
228 path = m_pInfo->options().directories().find(pNameSpec,
232 if (NULL == path) {
237 mcld::Input* input = m_pInfo->inputFactory().produce(pNameSpec, *path,
246 if (!handler->open(*path, mcl
[all...]
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_file.c49 static int calcDirSize(char *path, int len, uint8_t includeSubdirs);
123 * calculate the size of everything inside path pointed directory
124 * this function will use path pointed buffer to store some extra info
126 * @param path the directory path need to calculate
127 * @param len length of the path buffer, not the path string length
128 * @param includeSubdirs also calculate all the subdirs in path holds?
131 static int calcDirSize(char *path, int len, uint8_t includeSubdirs) argument
139 int dirPathLen = strlen(path);
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_SELinux.cpp175 * path: the location of the file system object
178 * Exception: NullPointerException is thrown if either path or context strign are NULL
180 static jboolean setFileCon(JNIEnv *env, jobject clazz, jstring path, jstring con) { argument
185 if (path == NULL) {
195 const char *objectPath = env->GetStringUTFChars(path, NULL);
208 env->ReleaseStringUTFChars(path, objectPath);
218 * Purpose: retrieves the context associated with the given path in the file system
220 * path: given path in the file system
224 * Exceptions: NullPointerException if the path objec
226 getFileCon(JNIEnv *env, jobject clazz, jstring path) argument
[all...]
/frameworks/wilhelm/tests/
H A DAndroid.mk21 $(call include-path-for, wilhelm) \
/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);
92 jint bidiFlags, jfloat x, jfloat y, SkPath *path) {
93 handleText(paint, text, len, bidiFlags, x, y, path);
99 SkPath* path, SkCanvas* canvas) {
111 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
91 getTextPath(SkPaint *paint, const jchar *text, jsize len, jint bidiFlags, jfloat x, jfloat y, SkPath *path) argument
97 drawTextOnPath(SkPaint* paint, const jchar* text, int count, int bidiFlags, jfloat hOffset, jfloat vOffset, SkPath* path, SkCanvas* canvas) argument
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DAsecTests.java392 String path = ms.getSecureContainerPath(SECURE_CONTAINER_PREFIX
395 File f = new File(path, "reference");
416 String path = ms.getSecureContainerPath(SECURE_CONTAINER_PREFIX
419 File f = new File(path, "reference");
486 String path = ms.getSecureContainerPath(SECURE_CONTAINER_PREFIX + "testContainerSize");
489 File f = new File(path, "reference");
499 assertNull("Getting the path for an invalid container should return null",
530 String path; field in class:AsecTests.StorageListener
545 public void onStorageStateChanged(String path, String oldState, String newState) { argument
549 this.path
610 onStorageStateChanged(String path, String oldState, String newState) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriTest.java35 // Not a valid path, but this came from a user's test case.
36 builder.path("//foo");
48 .path("/rss/")
141 .path("/test/")
412 String path, String query, String fragment) {
418 if (path != null) {
419 sb.append(path);
440 uriString, ssp, uri, scheme, authority, path, query, fragment);
442 uriString, ssp, uri, scheme, authority, path, query, fragment);
449 uriString, ssp, uri, scheme, authority, path, quer
411 testHierarchical(String scheme, String authority, String path, String query, String fragment) argument
493 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument
[all...]

Completed in 515 milliseconds

1234567891011>>