Searched defs:path (Results 176 - 200 of 481) sorted by relevance

1234567891011>>

/frameworks/base/tools/aapt2/jni/
H A Daapt2_jni.cpp104 jstring path = env_->NewStringUTF(actual_msg.source.path.c_str()); variable
113 env_->CallVoidMethod(diagnostics_obj_, mid_, level_value, path, line, message);
/frameworks/base/tools/aapt2/test/
H A DCommon.h96 explicit TestFile(const android::StringPiece& path) : source_(path) {} argument
/frameworks/compile/mclinker/include/mcld/MC/
H A DCommandAction.h34 const sys::fs::Path& path() const { return m_Path; } function in class:mcld::InputFileAction
63 const sys::fs::Path& path() const { return m_Path; } function in class:mcld::BitcodeAction
/frameworks/compile/mclinker/lib/MC/
H A DCommandAction.cpp36 pBuilder.createNode<InputTree::Positional>(path().stem().native(), path());
50 const sys::fs::Path* path = NULL; local
51 // find out the real path of the namespec.
58 path = m_SearchDirs.find(namespec(), Input::Archive);
62 path = m_SearchDirs.find(namespec(), Input::DynObj);
66 path = m_SearchDirs.find(namespec(), Input::Archive);
69 if (path == NULL) {
74 pBuilder.createNode<InputTree::Positional>(namespec(), *path); local
87 "bitcode", path(), Inpu
[all...]
/frameworks/compile/mclinker/lib/Support/
H A DDirectory.cpp156 Path* DirIterator::path() { function in class:mcld::sys::fs::DirIterator
162 const Path* DirIterator::path() const { function in class:mcld::sys::fs::DirIterator
223 const Path* x_path = path();
224 const Path* y_path = y.path();
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DMethodCallExpr.java105 for (ExecutionPath path : targetPaths) {
108 path.addPath(cmp);
109 final ExecutionPath subPath = path.addBranch(cmp, true);
118 private List<ExecutionPath> toExecutionPathInOrder(ExecutionPath path, List<Expr> args) { argument
119 return toExecutionPathInOrder(Arrays.asList(path), args);
/frameworks/native/cmds/installd/
H A DCacheTracker.cpp63 for (auto path : mDataPaths) {
64 auto cachePath = read_path_inode(path, "cache", kXattrInodeCache);
65 auto codeCachePath = read_path_inode(path, "code_cache", kXattrInodeCodeCache);
102 void CacheTracker::loadItemsFrom(const std::string& path) { argument
105 char *argv[] = { (char*) path.c_str(), nullptr };
107 PLOG(WARNING) << "Failed to fts_open " << path;
172 for (auto path : mDataPaths) {
173 loadItemsFrom(read_path_inode(path, "cache", kXattrInodeCache));
174 loadItemsFrom(read_path_inode(path, "code_cache", kXattrInodeCodeCache));
/frameworks/native/cmds/installd/tests/
H A Dinstalld_cache_test.cpp50 bool calculate_oat_file_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED,
57 bool calculate_odex_file_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED,
63 bool create_cache_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED,
69 static void mkdir(const char* path) { argument
70 const char* fullPath = StringPrintf("/data/local/tmp/user/0/%s", path).c_str();
74 static void touch(const char* path, int len, int time) { argument
75 const char* fullPath = StringPrintf("/data/local/tmp/user/0/%s", path).c_str();
84 static int exists(const char* path) { argument
85 const char* fullPath = StringPrintf("/data/local/tmp/user/0/%s", path).c_str();
89 static int64_t size(const char* path) { argument
109 setxattr(const char* path, const char* key) argument
[all...]
H A Dinstalld_service_test.cpp44 bool calculate_oat_file_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED,
51 bool calculate_odex_file_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED,
57 bool create_cache_path(char path[PKG_PATH_MAX], argument
60 // Not really a valid path but it's good enough for testing.
61 sprintf(path,"/data/dalvik-cache/%s/%s", instruction_set, src);
65 static void mkdir(const char* path, uid_t owner, gid_t group, mode_t mode) { argument
66 const char* fullPath = StringPrintf("/data/local/tmp/user/0/%s", path).c_str();
72 static void touch(const char* path, uid_t owner, gid_t group, mode_t mode) { argument
73 int fd = ::open(StringPrintf("/data/local/tmp/user/0/%s", path).c_str(),
80 static int stat_gid(const char* path) { argument
86 stat_mode(const char* path) argument
[all...]
/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/native/libs/vr/libpdx/private/pdx/
H A Dfile_handle.h31 // Constructs a FileHandle by opening |path|. The arguments follow the
33 FileHandle(const std::string& path, int flags, mode_t mode = 0) { argument
34 fd_ = open(path.c_str(), flags, mode);
37 // Constructs a FileHandle by opening |path| relative to |dir_fd|, following
39 FileHandle(const int directory_fd, const std::string& path, int flags, argument
41 fd_ = openat(directory_fd, path.c_str(), flags, mode);
/frameworks/native/libs/vr/libpdx_default_transport/
H A Dservicetool.cpp92 "\t--reload <all | service path> : Ask service(s) to reload system "
94 printf("\t--dump <all | service path> : Dump service(s) state.\n");
98 typedef int (*CallbackType)(const char* path, const struct stat* sb,
101 int ReloadCommandCallback(const char* path, const struct stat* sb,
103 int DumpCommandCallback(const char* path, const struct stat* sb, int type_flag,
158 int ReloadCommandCallback(const char* path, const struct stat*, int type_flag, argument
161 ReloadCommand(path);
165 int DumpCommandCallback(const char* path, const struct stat*, int type_flag, argument
168 DumpCommand(path);
/frameworks/native/opengl/tools/glgen2/
H A Dglgen.py20 import os.path namespace
25 # Avoid endlessly adding to the path if this module is imported multiple
27 regpath = os.path.join(sys.path[0], "registry")
28 if sys.path[1] != regpath:
29 sys.path.insert(1, regpath)
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A DDrawView.java39 float[] path = new float[200]; field in class:DrawView
107 ret = new Region(Arrays.copyOf(path, len), img);
114 path[0] = imgPoint[0];
115 path[1] = imgPoint[1];
130 if (len + size * 2 >= path.length) {
131 path = Arrays.copyOf(path, 2 * (len + size * 2));
135 path[len] = imgMoveList[i];
136 path[len + 1] = imgMoveList[i + 1];
142 if (len + 2 >= path
[all...]
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DDrawView.java39 float[] path = new float[200]; field in class:DrawView
97 Region ret = new Region(Arrays.copyOf(path, len), img);
104 path[0] = imgPoint[0];
105 path[1] = imgPoint[1];
119 if (len + size * 2 >= path.length) {
120 path = Arrays.copyOf(path, 2 * (len + size * 2));
124 path[len] = imgMoveList[i];
125 path[len + 1] = imgMoveList[i + 1];
131 if (len + 2 >= path
[all...]
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DPathInterpolatorCompat.java47 * Path path = new Path();
48 * path.lineTo(0.25f, 0.25f);
49 * path.moveTo(0.25f, 0.5f);
50 * path.lineTo(1f, 1f);
84 Path path = PathParser.createPathFromPathData(pathData);
85 if (path == null) {
86 throw new InflateException("The path is null, which is created"
89 initPath(path);
122 Path path = new Path();
123 path
135 initPath(Path path) argument
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestBassBoostPath.cpp49 /* Play an audio path by opening a file descriptor on that path */
50 void TestBassBoostPathFromFD(SLObjectItf sl, const char* path, int16_t boostStrength, bool alwaysOn) argument
119 int fd = open(path, O_RDONLY);
128 locatorUri.URI = (SLchar *) path;
256 fprintf(stdout, "Plays the sound file designated by the given path, ");
261 fprintf(stdout, "unless the --always-on option is specified before the path.\n");
271 fprintf(stdout, "Usage: \t%s [--always-on] path bass_boost_strength\n", programName);
H A DslesTestPlayFdPath.cpp70 /* Play an audio path by opening a file descriptor on that path */
71 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) argument
132 int fd = open(path, O_RDONLY);
134 perror(path);
229 fprintf(stdout, "Plays the sound file designated by the given path, ");
234 fprintf(stdout, "Usage: \t%s path offsetInBytes [sizeInBytes]\n", argv[0]);
H A DslesTestVirtualizerPath.cpp49 /* Play an audio path by opening a file descriptor on that path */
50 void TestVirtualizerPathFromFD( SLObjectItf sl, const char* path, int16_t virtStrength, argument
120 int fd = open(path, O_RDONLY);
129 locatorUri.URI = (SLchar *) path;
258 fprintf(stdout, "Plays the sound file designated by the given path, ");
263 fprintf(stdout, "unless the --always-on option is specified before the path.\n");
273 fprintf(stdout, "Usage: \t%s [--always-on] path virtualization_strength\n", programName);
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestPlayStreamType.cpp48 void TestStreamTypeConfiguration( SLObjectItf sl, const char* path, const SLint32 type) argument
117 uri.URI = (SLchar*) path;
H A DslesTestPlayUri.cpp125 void TestPlayUri( SLObjectItf sl, const char* path) argument
173 uri.URI = (SLchar*) path;
330 fprintf(stdout, "Usage: %s path \n\t%s url\n", argv[0], argv[0]);
H A DslesTestPlayUri2.cpp63 void TestPlayUri( SLObjectItf sl, const char* path, const char* path2) argument
126 uri.URI = (SLchar*) path;
141 /* Create the second audio player with a different path for its data source */
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp62 status_t SimplePlayer::setDataSource(const char *path) { argument
64 msg->setString("path", path);
115 CHECK(msg->findString("path", &mPath));
H A Dcodec.cpp72 const char *path,
83 if (extractor->setDataSource(NULL /* httpService */, path) != OK) {
70 decode( const android::sp<android::ALooper> &looper, const char *path, bool useAudio, bool useVideo, const android::sp<android::Surface> &surface, bool renderSurface, bool useTimestamp) argument
H A Dmuxer.cpp56 const char *path,
66 if (extractor->setDataSource(NULL /* httpService */, path) != OK) {
67 fprintf(stderr, "unable to instantiate extractor. %s\n", path);
75 ALOGV("input file %s, output file %s", path, outputFileName);
55 muxing( const char *path, bool useAudio, bool useVideo, const char *outputFileName, bool enableTrim, int trimStartTimeMs, int trimEndTimeMs, int rotationDegrees, MediaMuxer::OutputFormat container = MediaMuxer::OUTPUT_FORMAT_MPEG_4) argument

Completed in 4903 milliseconds

1234567891011>>