Home
last modified time | relevance | path

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

123456

/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')):
129 HOST_OUT_EXECUTABLES = os.path.join(ANDROID_BUILD_TOP,
136 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/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/libartbase/base/
Dcommon_art_test.cc152 std::filesystem::path path(argv.substr(0, argv.find('\0'))); in GetAndroidBuildTop() local
153 path = std::filesystem::absolute(path); in GetAndroidBuildTop()
155 for (; path.parent_path() != path; path = path.parent_path()) { in GetAndroidBuildTop()
157 if (path.filename() == std::filesystem::path("linux-x86")) { in GetAndroidBuildTop()
158 android_build_top = path.parent_path().parent_path().parent_path(); in GetAndroidBuildTop()
162 if (path.filename() == std::filesystem::path("testcases")) { in GetAndroidBuildTop()
163 android_build_top = path.append("art_common"); in GetAndroidBuildTop()
172 android_build_top = std::filesystem::path(android_build_top).string(); in GetAndroidBuildTop()
201 android_host_out = (std::filesystem::path(android_out_dir) / "host" / "linux-x86").string(); in GetAndroidHostOut()
204 (std::filesystem::path(GetAndroidBuildTop()) / android_out_dir / "host" / "linux-x86") in GetAndroidHostOut()
[all …]
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()
Dfile_utils.h130 inline bool IsAbsoluteLocation(const std::string& path) { return !path.empty() && path[0] == '/'; } in IsAbsoluteLocation() argument
/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/runtime/
Dprebuilt_tools_test.cc33 std::string path = GetAndroidTool(tool, isa); in CheckToolsExist() local
34 ASSERT_TRUE(OS::FileExists(path.c_str())) << path; in CheckToolsExist()
/art/libnativeloader/
Dnative_loader.cpp95 void* OpenNativeLibrary(JNIEnv* env, int32_t target_sdk_version, const char* path, in OpenNativeLibrary() argument
109 void* handle = android_dlopen_ext(path, RTLD_NOW, &dlextinfo); in OpenNativeLibrary()
116 void* handle = dlopen(path, RTLD_NOW); in OpenNativeLibrary()
140 return OpenNativeLibraryInNamespace(ns, path, needs_native_bridge, error_msg); in OpenNativeLibrary()
149 if (library_path != nullptr && path != nullptr && path[0] != '/') { in OpenNativeLibrary()
160 if (path == nullptr) { in OpenNativeLibrary()
168 complete_path.append(path); in OpenNativeLibrary()
213 void* OpenNativeLibraryInNamespace(NativeLoaderNamespace* ns, const char* path, in OpenNativeLibraryInNamespace() argument
215 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/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/runtime/jni/
Djava_vm_ext.cc75 SharedLibrary(JNIEnv* env, Thread* self, const std::string& path, void* handle, in SharedLibrary() argument
77 : path_(path), in SharedLibrary()
262 SharedLibrary* Get(const std::string& path) REQUIRES(Locks::jni_libraries_lock_) { in Get() argument
263 auto it = libraries_.find(path); in Get()
267 void Put(const std::string& path, SharedLibrary* library) in Put() argument
269 libraries_.Put(path, library); in Put()
896 const std::string& path, in LoadNativeLibrary() argument
911 library = libraries_->Get(path); in LoadNativeLibrary()
978 path.c_str(), in LoadNativeLibrary()
986 VLOG(jni) << "[Shared library \"" << path << "\" already loaded in " in LoadNativeLibrary()
[all …]

123456