Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 125) sorted by relevance

12345

/art/tools/checker/
Dchecker.py48 c1File = ParseC1visualizerStream(os.path.basename(outputFilename), open(outputFilename, "r"))
54 c1File = ParseC1visualizerStream(os.path.basename(outputFilename), open(outputFilename, "r"))
67 def FindCheckerFiles(path): argument
72 if not path:
74 elif os.path.isfile(path):
75 return [ path ]
76 elif os.path.isdir(path):
78 for root, dirs, files in os.walk(path):
80 extension = os.path.splitext(file)[1]
82 foundFiles.append(os.path.join(root, file))
[all …]
/art/test/testrunner/
Denv.py21 _THIS_DIR = os.path.dirname(os.path.realpath(__file__))
22 _TOP = os.path.join(_THIS_DIR, "../../..")
23 _VAR_CACHE_DIR = os.path.join(_TOP, "art/tools/build/")
26 sys.path.append(_VAR_CACHE_DIR)
60 this_file_path = os.path.realpath(__file__)
61 path_to_top = os.path.join(os.path.dirname(this_file_path), '../../../')
62 path_to_top = os.path.realpath(path_to_top)
64 if not os.path.exists(os.path.join(path_to_top, 'build/envsetup.sh')):
133 HOST_OUT_EXECUTABLES = os.path.join(ANDROID_BUILD_TOP,
140 ANDROID_JAVA_TOOLCHAIN = os.path.join(ANDROID_BUILD_TOP,
/art/tools/
Dgenerate_cmake_lists.py45 this_file_path = os.path.realpath(__file__)
46 path_to_top = os.path.join(os.path.dirname(this_file_path), '../..')
47 path_to_top = os.path.realpath(path_to_top)
49 if not os.path.exists(os.path.join(path_to_top, 'build/envsetup.sh')):
73 out_art_cmakelists_dir = os.path.join(ANDROID_BUILD_TOP,
81 if (os.path.samefile(root, out_art_cmakelists_dir)):
89 f = open(os.path.join(out_art_cmakelists_dir, 'CMakeLists.txt'), 'w')
Djavac-helper.sh85 boot_class_path_list=$($TOP/art/tools/bootjars.sh $bootjars_args --path)
87 for path in $boot_class_path_list; do
88 javac_bootclasspath+=("$path")
Dtest_presubmit.py31 THIS_PATH = os.path.dirname(os.path.realpath(__file__))
59 path = pathlib.Path(f)
60 return str(path) in tool_dict['interesting_files']
151 os.chdir(os.path.join(THIS_PATH, '..')) # run tool relative to 'art' directory
Dboot-image-profile-generate.sh120 --out-profile-path="$OUT_BOOT_PROFILE" \
121 --out-preloaded-classes-path="$OUT_PRELOADED_CLASSES" \
135 --out-profile-path="$OUT_SYSTEM_SERVER" \
/art/test/510-checker-try-catch/src/
DMain.java152 for (TestPath path : TestPath.values()) { in testMethod()
153 Object[] arguments = new Object[] { path.arg1, path.arg2 }; in testMethod()
156 if (actual != path.expected) { in testMethod()
157 throw new Error("Method: \"" + method + "\", path: " + path + ", " + in testMethod()
158 "expected: " + path.expected + ", actual: " + actual); in testMethod()
/art/tools/build/
Dvar_cache.py75 _THIS_DIR = os.path.dirname(os.path.realpath(__file__))
76 _TOP = os.path.join(_THIS_DIR, "../../..")
77 _VAR_LIST_PATH = os.path.join(_THIS_DIR, "var_list")
78 _SOONG_UI_SCRIPT = os.path.join(_TOP, "build/soong/soong_ui.bash")
/art/build/apex/
Dart_apex_test.py23 import os.path
78 self._payload = os.path.join(self._tmpdir, 'apex_payload.img')
85 if os.path.exists(self._payload):
88 def get(self, path): argument
89 apex_dir, name = os.path.split(path)
155 def get(self, path): argument
156 apex_dir, name = os.path.split(path)
166 dirname = os.path.join(self._apex, apex_dir)
167 if os.path.exists(dirname):
169 filepath = os.path.join(dirname, basename)
[all …]
/art/libnativeloader/
Dnative_loader.cpp106 void* OpenNativeLibrary(JNIEnv* env, int32_t target_sdk_version, const char* path, in OpenNativeLibrary() argument
120 void* handle = android_dlopen_ext(path, RTLD_NOW, &dlextinfo); in OpenNativeLibrary()
127 void* handle = dlopen(path, RTLD_NOW); in OpenNativeLibrary()
151 return OpenNativeLibraryInNamespace(ns, path, needs_native_bridge, error_msg); in OpenNativeLibrary()
160 if (library_path != nullptr && path != nullptr && path[0] != '/') { in OpenNativeLibrary()
171 if (path == nullptr) { in OpenNativeLibrary()
179 complete_path.append(path); in OpenNativeLibrary()
224 void* OpenNativeLibraryInNamespace(NativeLoaderNamespace* ns, const char* path, in OpenNativeLibraryInNamespace() argument
226 auto handle = ns->Load(path); in OpenNativeLibraryInNamespace()
Dnative_loader_lazy.cpp60 void* OpenNativeLibrary(JNIEnv* env, int32_t target_sdk_version, const char* path, in OpenNativeLibrary() argument
64 return f(env, target_sdk_version, path, class_loader, caller_location, library_path, in OpenNativeLibrary()
89 void* OpenNativeLibraryInNamespace(struct NativeLoaderNamespace* ns, const char* path, in OpenNativeLibraryInNamespace() argument
92 return f(ns, path, needs_native_bridge, error_msg); in OpenNativeLibraryInNamespace()
/art/tools/ahat/src/main/com/android/ahat/
DSitePrinter.java28 List<Site> path = new ArrayList<Site>(); in printSite() local
30 path.add(parent); in printSite()
32 Collections.reverse(path); in printSite()
61 HeapTable.render(doc, query, id, table, snapshot, path); in printSite()
/art/tools/ahat/src/test/com/android/ahat/
DInstanceTest.java256 List<PathElement> path = target.getPathFromGcRoot(); in gcRootPath() local
257 assertEquals(6, path.size()); in gcRootPath()
259 assertEquals(main, path.get(0).instance); in gcRootPath()
260 assertEquals(".stuff", path.get(0).field); in gcRootPath()
261 assertTrue(path.get(0).isDominator); in gcRootPath()
263 assertEquals(".gcPathArray", path.get(1).field); in gcRootPath()
264 assertTrue(path.get(1).isDominator); in gcRootPath()
266 assertEquals(gcPathArray, path.get(2).instance); in gcRootPath()
267 assertEquals("[2]", path.get(2).field); in gcRootPath()
268 assertTrue(path.get(2).isDominator); in gcRootPath()
[all …]
/art/libartbase/base/
Dscoped_flock.h57 static ScopedFlock DupOf(const int fd, const std::string& path,
71 LockedFile(int fd, const std::string& path, bool check_usage, bool read_only_mode) in LockedFile() argument
72 : FdFile(fd, path, check_usage, read_only_mode) { in LockedFile()
Dcommon_art_test.cc166 std::filesystem::path path(cmdpath); in SetUpAndroidRootEnvVars() local
168 if (path.is_relative()) { in SetUpAndroidRootEnvVars()
169 path = std::filesystem::path(android_build_top_from_env).append(cmdpath); in SetUpAndroidRootEnvVars()
170 DCHECK(path.is_absolute()) << path; in SetUpAndroidRootEnvVars()
173 while (path.has_parent_path() && path.parent_path() != path && in SetUpAndroidRootEnvVars()
174 path.filename() != std::filesystem::path("linux-x86")) { in SetUpAndroidRootEnvVars()
175 path = path.parent_path(); in SetUpAndroidRootEnvVars()
178 if (path.filename() == std::filesystem::path("linux-x86")) { in SetUpAndroidRootEnvVars()
179 android_host_out = path.string(); in SetUpAndroidRootEnvVars()
392 std::string path = GetAndroidRoot(); in GetDexFileName() local
[all …]
Dfile_utils.h120 inline bool IsAbsoluteLocation(const std::string& path) { return !path.empty() && path[0] == '/'; } in IsAbsoluteLocation() argument
Dscoped_flock.cc103 ScopedFlock LockedFile::DupOf(const int fd, const std::string& path, in DupOf() argument
108 UNUSED(path); in DupOf()
119 new LockedFile(DupCloexec(fd), path, /* check_usage= */ false, read_only_mode)); in DupOf()
/art/libartbase/base/unix_file/
Dfd_file.h41 FdFile(int fd, const std::string& path, bool check_usage);
42 FdFile(int fd, const std::string& path, bool check_usage, bool read_only_mode);
44 FdFile(const std::string& path, int flags, bool check_usage) in FdFile() argument
45 : FdFile(path, flags, 0640, check_usage) {} in FdFile()
46 FdFile(const std::string& path, int flags, mode_t mode, bool check_usage);
/art/imgdiag/
Dimgdiag_test.cc64 std::string path = GetArtBinDir() + '/' + kImgDiagBinaryName; in GetImgDiagFilePath() local
66 path += 'd'; in GetImgDiagFilePath()
68 std::string path32 = path + "32"; in GetImgDiagFilePath()
74 return path; in GetImgDiagFilePath()
/art/test/674-hiddenapi/
Dinfo.txt10 the parent does not belong to boot class path.
11 (b) Parent is appended to boot class path, child is loaded with PathClassLoader.
14 (c) Both parent and child are appended to boot class path. Restrictions should
16 class path.
/art/tools/jvmti-agents/field-null-percent/
Dcheck-null-fields.py31 import os.path
46 def_32 = os.path.join(os.environ.get("OUT", ""), "system", "lib", "libfieldnull.so")
47 def_64 = os.path.join(os.environ.get("OUT", ""), "system", "lib64", "libfieldnull.so")
48 has_32 = has_out and os.path.exists(def_32)
49 has_64 = has_out and os.path.exists(def_64)
51 if os.path.isfile(name):
/art/tools/jvmti-agents/field-counts/
Dcount-fields.py32 import os.path
47 def_32 = os.path.join(os.environ.get("OUT", ""), "system", "lib", "libfieldcounts.so")
48 def_64 = os.path.join(os.environ.get("OUT", ""), "system", "lib64", "libfieldcounts.so")
49 has_32 = has_out and os.path.exists(def_32)
50 has_64 = has_out and os.path.exists(def_64)
52 if os.path.isfile(name):
/art/tools/common/
Dcommon.py306 path = android_root + '/bin'
315 self._shell_env['PATH'] = (path + ':' + self._shell_env['PATH'])
360 if os.path.isfile(file_path):
390 DEVICE_TMP_PATH, os.path.basename(self._host_env_path))
408 name = os.path.basename(temp_file.name)
493 for path in paths:
495 self._device_env_path, os.path.basename(path)))
496 self._AdbPush(path, self._device_env_path)
503 def _AdbMkdir(self, path): argument
504 check_call(shlex.split('adb shell mkdir "{0}" -p'.format(path)),
/art/test/922-properties/
Dexpected.txt2 "java.class.path": OK
4 "java.library.path": OK
52 "path.separator": OK
55 "java.boot.class.path": ERROR !!!JVMTI_ERROR_NOT_AVAILABLE
/art/libnativeloader/include/nativeloader/
Dnative_loader.h44 JNIEnv* env, int32_t target_sdk_version, const char* path, jobject class_loader,
66 struct NativeLoaderNamespace* ns, const char* path, bool* needs_native_bridge,

12345