Home
last modified time | relevance | path

Searched refs:path2 (Results 1 – 8 of 8) sorted by relevance

/frameworks/compile/mclinker/unittests/
DUniqueGCFactoryBaseTest.cpp68 sys::fs::Path path1(TOPDIR), path2(TOPDIR); in TEST_F() local
70 path2.append("unittests/test2.txt"); in TEST_F()
77 memFactory->produce(path2, FileHandle::OpenMode(FileHandle::ReadOnly), in TEST_F()
/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp290 std::string JoinPath(const std::string &path1, const std::string &path2) { in JoinPath() argument
292 return path2; in JoinPath()
294 if (path2.empty()) { in JoinPath()
301 if (path2[0] == OS_PATH_SEPARATOR) { in JoinPath()
302 fullPath += path2.substr(1, string::npos); in JoinPath()
304 fullPath += path2; in JoinPath()
Dslang_rs_reflect_utils.h95 std::string JoinPath(const std::string &path1, const std::string &path2);
/frameworks/native/cmds/installd/tests/
Dinstalld_utils_test.cpp95 const char *path2 = TEST_APP_DIR "example.com/example.apk"; in TEST_F() local
96 EXPECT_EQ(0, validate_apk_path(path2)) in TEST_F()
97 << path2 << " should be allowed as a valid path"; in TEST_F()
168 const char *path2 = TEST_APP_DIR "example.com/example.apk"; in TEST_F() local
169 EXPECT_EQ(0, validate_apk_path(path2)) in TEST_F()
170 << path2 << " should be allowed as a valid path"; in TEST_F()
/frameworks/wilhelm/tests/mimeUri/
DslesTestPlayUri2.cpp63 void TestPlayUri( SLObjectItf sl, const char* path, const char* path2) in TestPlayUri() argument
142 uri.URI = (SLchar*) path2; in TestPlayUri()
213 fprintf(stdout, "URI example: starting to play %s\n", path2); in TestPlayUri()
/frameworks/base/tools/aapt2/cmd/
DCompile_test.cpp79 const std::string path2 = BuildPath({kResDir, "drawable", "image.9.png"}); in TEST_F() local
82 ASSERT_EQ(TestCompile(path2, kResDir, /** legacy */ false, diag), 0); in TEST_F()
84 ASSERT_EQ(TestCompile(path2, kResDir, /** legacy */ true, diag), 0); in TEST_F()
/frameworks/base/graphics/java/android/graphics/
DPath.java193 public boolean op(@NonNull Path path1, @NonNull Path path2, @NonNull Op op) { in op() argument
194 if (nOp(path1.mNativePath, path2.mNativePath, op.ordinal(), this.mNativePath)) { in op()
862 private static native boolean nOp(long path1, long path2, int op, long result); in nOp() argument
/frameworks/base/media/java/android/media/
DMediaScanner.java1659 private int matchPaths(String path1, String path2) {
1662 int end2 = path2.length();
1666 int slash2 = path2.lastIndexOf('/', end2 - 1);
1668 int backSlash2 = path2.lastIndexOf('\\', end2 - 1);
1675 if (path1.regionMatches(true, start1, path2, start2, length)) {