Searched refs:path (Results 26 - 50 of 855) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/lib/Script/
H A DGroupCmd.cpp95 sys::fs::Path path; local
101 path = script.sysroot();
102 path.append(token->name());
105 path.assign(token->name());
106 if (!sys::fs::exists(path)) {
107 // 3. Search through the library search path
111 path = *p;
115 if (!sys::fs::exists(path))
116 fatal(diag::err_cannot_open_input) << path.filename() << path;
123 const sys::fs::Path* path = NULL; local
[all...]
/frameworks/av/media/libmedia/
H A DMediaScanner.cpp69 char * path = strtok(skipList, ","); local
71 while (path) {
72 mSkipIndex[i++] = strlen(path);
73 path = strtok(NULL, ",");
82 const char *path, MediaScannerClient &client) {
83 int pathLength = strlen(path);
93 strcpy(pathBuffer, path);
109 bool MediaScanner::shouldSkipDirectory(char *path) { argument
110 if (path && mSkipList && mSkipIndex) {
111 int len = strlen(path);
81 processDirectory( const char *path, MediaScannerClient &client) argument
131 doProcessDirectory( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia) argument
172 doProcessDirectoryEntry( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia, struct dirent* entry, char* fileSpot) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DOrientedBoundingBox.java56 Path path = new Path();
64 path.moveTo(point[0], point[1]);
69 path.lineTo(point[0], point[1]);
74 path.lineTo(point[0], point[1]);
79 path.lineTo(point[0], point[1]);
81 path.close();
83 return path;
/frameworks/base/core/java/android/os/
H A DShellCallback.java38 public ParcelFileDescriptor openOutputFile(String path, String seLinuxContext) { argument
39 return onOpenOutputFile(path, seLinuxContext);
53 * @param path Path of the file to be opened/created.
57 public ParcelFileDescriptor openOutputFile(String path, String seLinuxContext) { argument
62 return onOpenOutputFile(path, seLinuxContext);
67 return mShellCallback.openOutputFile(path, seLinuxContext);
69 Log.w(TAG, "Failure opening " + path, e);
75 public ParcelFileDescriptor onOpenOutputFile(String path, String seLinuxContext) { argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTextPathActivity.java61 Path path = new Path();
64 drawTextAsPath(canvas, "Hello", path);
67 drawTextAsPath(canvas, "OpenGL", path);
70 private void drawTextAsPath(Canvas canvas, String text, Path path) { argument
72 mHugePaint.getTextPath(text, 0, count, 0, 0, path);
73 path.close();
74 canvas.drawPath(path, mHugePaint);
/frameworks/compile/mclinker/unittests/
H A DFileHandleTest.cpp41 mcld::sys::fs::Path path(TOPDIR);
42 path.append("unittests/test.txt");
43 ASSERT_TRUE(m_pTestee->open(path, FileHandle::OpenMode(FileHandle::ReadOnly),
59 mcld::sys::fs::Path path(TOPDIR);
60 path.append("unittests/test.txt");
62 int fd = ::open(path.native().c_str(), O_RDONLY);
83 mcld::sys::fs::Path path(TOPDIR);
84 path.append("unittests/test.txt");
85 ASSERT_TRUE(m_pTestee->open(path, FileHandle::OpenMode(FileHandle::ReadOnly),
/frameworks/av/media/libaaudio/scripts/
H A Dconvert_typedefs_int32.sh14 path=$1
16 find $path -type f -name $pattern -exec sed -i -f ${LIBAAUDIO_DIR}/scripts/typedefs_to_int32.sed {} \;
20 path=$1
/frameworks/native/cmds/installd/
H A Dglobals.cpp68 if (android_system_dirs.dirs[i].path != NULL) {
69 free(android_system_dirs.dirs[i].path);
136 android_system_dirs.dirs[0].path = build_string2(android_root_dir.path, APP_SUBDIR);
137 android_system_dirs.dirs[0].len = strlen(android_system_dirs.dirs[0].path);
139 android_system_dirs.dirs[1].path = build_string2(android_root_dir.path, PRIV_APP_SUBDIR);
140 android_system_dirs.dirs[1].len = strlen(android_system_dirs.dirs[1].path);
142 android_system_dirs.dirs[2].path = strdup("/vendor/app/");
143 android_system_dirs.dirs[2].len = strlen(android_system_dirs.dirs[2].path);
[all...]
/frameworks/support/compat/java/android/support/v4/os/
H A DEnvironmentCompat.java33 * Unknown storage state, such as when a path isn't backed by known storage
42 * path.
54 public static String getStorageState(File path) { argument
56 return Environment.getStorageState(path);
60 final String canonicalPath = path.getCanonicalPath();
68 Log.w(TAG, "Failed to resolve canonical path: " + e);
/frameworks/native/libs/input/
H A DInputDevice.cpp44 static void appendInputDeviceConfigurationFileRelativePath(String8& path, argument
46 path.append(CONFIGURATION_FILE_DIR[type]);
52 path.append(&ch, 1);
54 path.append(CONFIGURATION_FILE_EXTENSION[type]);
90 String8 path; local
95 path.setTo(rootsForPartition[i]);
96 path.append("/usr/");
97 appendInputDeviceConfigurationFileRelativePath(path, name, type);
99 ALOGD("Probing for system provided input device configuration file: path='%s'",
100 path
[all...]
/frameworks/base/core/java/android/os/storage/
H A DOnObbStateChangeListener.java80 * @param path path to the OBB file the state change has happened on
83 public void onObbStateChange(String path, int state) { argument
/frameworks/base/libs/hwui/service/
H A DGraphicsStatsService.h46 ANDROID_API static void saveBuffer(const std::string& path, const std::string& package,
50 ANDROID_API static void addToDump(Dump* dump, const std::string& path, const std::string& package,
52 ANDROID_API static void addToDump(Dump* dump, const std::string& path);
56 static bool parseFromFile(const std::string& path, service::GraphicsStatsProto* output);
/frameworks/base/media/java/android/media/
H A DMediaScannerClient.java24 public void scanFile(String path, long lastModified, long fileSize, argument
/frameworks/native/libs/ui/
H A DGraphicsEnv.cpp38 void GraphicsEnv::setDriverPath(const std::string path) { argument
40 ALOGV("ignoring attempt to change driver path from '%s' to '%s'",
41 mDriverPath.c_str(), path.c_str());
44 ALOGV("setting driver path to '%s'", path.c_str());
45 mDriverPath = path;
54 // We need a parent namespace to inherit the default search path from.
/frameworks/rs/tests/lldb/
H A Dconfig.py66 '''The path to the "out" folder of the AOSP repository.'''
71 '''The path to the folder where the log file will be placed.'''
72 return os.path.join(os.getcwd(), 'LLDBTestsuiteLog.txt')
77 return os.path.join(os.getcwd(), 'results.xml')
81 '''The path to lldb executable on the host.'''
114 return os.path.join(os.path.dirname(__file__), '..', '..', '..', '..',
/frameworks/av/include/media/stagefright/
H A DStagefrightMediaScanner.h30 const char *path, const char *mimeType,
40 const char *path, const char *mimeType,
/frameworks/av/media/libstagefright/foundation/include/
H A DStagefrightMediaScanner.h30 const char *path, const char *mimeType,
40 const char *path, const char *mimeType,
/frameworks/av/media/libstagefright/include/
H A DStagefrightMediaScanner.h30 const char *path, const char *mimeType,
40 const char *path, const char *mimeType,
/frameworks/base/core/jni/
H A Dandroid_os_GraphicsEnvironment.cpp25 void setDriverPath(JNIEnv* env, jobject clazz, jstring path) { argument
26 ScopedUtfChars pathChars(env, path);
H A Dandroid_util_FileObserver.cpp75 jstring path = NULL; local
79 path = env->NewStringUTF(event->name);
82 env->CallVoidMethod(object, method_onEvent, event->wd, event->mask, path);
87 if (path != NULL)
89 env->DeleteLocalRef(path);
109 const char* path = env->GetStringUTFChars(pathString, NULL); local
111 res = inotify_add_watch(fd, path, mask);
113 env->ReleaseStringUTFChars(pathString, path);
/frameworks/base/graphics/java/android/graphics/
H A DPathMeasure.java24 * of a path, and/or to find the position and tangent along it, call
27 * Note that once a path is associated with the measure object, it is
28 * undefined if the path is subsequently modified and the the measure object
29 * is used. If the path is modified, you must call setPath with the path.
37 * Create a PathMeasure object associated with the specified path object
39 * path's length, and the position and tangent of any position along the
40 * path.
42 * Note that once a path is associated with the measure object, it is
43 * undefined if the path i
50 PathMeasure(Path path, boolean forceClosed) argument
60 setPath(Path path, boolean forceClosed) argument
[all...]
/frameworks/base/tools/aapt/tests/
H A DMockCacheUpdater.h18 // Make sure all the directories along this path exist
19 virtual void ensureDirectoriesExist(String8 path) argument
25 virtual void deleteFile(String8 path) { argument
/frameworks/base/tools/aapt2/util/
H A DFiles.h53 FileType GetFileType(const android::StringPiece& path);
56 * Appends a path to `base`, separated by the directory separator.
61 * Makes all the directories in `path`. The last element in the path
64 bool mkdirs(const android::StringPiece& path);
67 * Returns all but the last part of the path.
69 android::StringPiece GetStem(const android::StringPiece& path);
72 * Returns the last part of the path with extension.
74 android::StringPiece GetFilename(const android::StringPiece& path);
77 * Returns the extension of the path
[all...]
/frameworks/support/transition/api14/android/support/transition/
H A DPropertyValuesHolderUtilsApi14.java29 public PropertyValuesHolder ofPointF(Property<?, PointF> property, Path path) { argument
30 return PropertyValuesHolder.ofFloat(new PathProperty<>(property, path), 0f, 1f);
/frameworks/support/transition/api21/android/support/transition/
H A DObjectAnimatorUtilsApi21.java29 public <T> ObjectAnimator ofPointF(T target, Property<T, PointF> property, Path path) { argument
30 return ObjectAnimator.ofObject(target, property, null, path);

Completed in 476 milliseconds

1234567891011>>