Home
last modified time | relevance | path

Searched refs:ndk_path (Results 1 – 14 of 14) sorted by relevance

/system/extras/simpleperf/scripts/test/
Dbinary_cache_builder_test.py30 readelf = ReadElf(TestHelper.ndk_path)
41 binary_cache_builder = BinaryCacheBuilder(TestHelper.ndk_path, False)
61 binary_cache_builder = BinaryCacheBuilder(TestHelper.ndk_path, False)
72 binary_cache_builder = BinaryCacheBuilder(TestHelper.ndk_path, False)
96 binary_cache_builder = BinaryCacheBuilder(TestHelper.ndk_path, False)
Dtools_test.py98 binary_finder = BinaryFinder(TestHelper.testdata_dir, ReadElf(TestHelper.ndk_path))
99 addr2line = Addr2Nearestline(TestHelper.ndk_path, binary_finder, with_function_name)
178 binary_finder = BinaryFinder(TestHelper.testdata_dir, ReadElf(TestHelper.ndk_path))
179 objdump = Objdump(TestHelper.ndk_path, binary_finder)
220 readelf = ReadElf(TestHelper.ndk_path)
273 binary_cache_builder = BinaryCacheBuilder(TestHelper.ndk_path, False)
276 readelf = ReadElf(TestHelper.ndk_path)
Dapp_profiler_test.py62 self.ndk_path = TestHelper.ndk_path
74 downloader = NativeLibDownloader(self.ndk_path, 'arm64', self.adb)
116 downloader = NativeLibDownloader(self.ndk_path, 'arm64', self.adb)
121 downloader = NativeLibDownloader(self.ndk_path, 'x86_64', self.adb)
Dreport_html_test.py86 if TestHelper.ndk_path:
87 args += ['--ndk_path', TestHelper.ndk_path]
108 binary_cache_builder = BinaryCacheBuilder(TestHelper.ndk_path, False)
148 binary_cache_builder = BinaryCacheBuilder(TestHelper.ndk_path, False)
Dtest_utils.py41 cls, test_dir: str, testdata_dir: str, use_browser: bool, ndk_path: Optional[str],
54 cls.ndk_path = ndk_path
154 if TestHelper.ndk_path:
157 args += ['--ndk_path', TestHelper.ndk_path]
Dpprof_proto_generator_test.py120 binary_cache_builder = BinaryCacheBuilder(TestHelper.ndk_path, False)
Ddo_test.py181 args.browser, args.ndk_path, args.device, conn)
383 if args.ndk_path:
384 test_options += ['--ndk-path', args.ndk_path]
/system/extras/simpleperf/scripts/
Dsimpleperf_utils.py193 def find_ndk_and_sdk_paths(cls, ndk_path: Optional[str] = None
196 if ndk_path and os.path.isdir(ndk_path):
197 ndk_path = os.path.abspath(ndk_path)
198 yield ndk_path, cls.find_sdk_path(ndk_path)
200 ndk_path = os.path.dirname(os.path.abspath(get_script_dir()))
201 yield ndk_path, cls.find_sdk_path(ndk_path)
221 ndk_path = os.path.join(sdk_path, 'ndk-bundle')
222 if os.path.isdir(ndk_path):
223 yield ndk_path, sdk_path
226 def find_sdk_path(cls, ndk_path: str) -> Optional[str]:
[all …]
Dbinary_cache_builder.py43 def __init__(self, ndk_path: Optional[str], disable_adb_root: bool):
45 self.readelf = ReadElf(ndk_path)
241 ndk_path = None if not args.ndk_path else args.ndk_path[0]
242 builder = BinaryCacheBuilder(ndk_path, args.disable_adb_root)
Dapp_profiler.py62 def __init__(self, ndk_path, device_arch, adb): argument
64 self.readelf = ReadElf(ndk_path)
225 downloader = NativeLibDownloader(self.args.ndk_path, self.device_arch, self.adb)
284 if self.args.ndk_path:
285 binary_cache_args += ['--ndk_path', self.args.ndk_path]
Dreport_html.py605 ndk_path: Optional[str],
608 self.ndk_path = ndk_path
620 self.binary_finder = BinaryFinder(binary_cache_path, ReadElf(ndk_path))
720 addr2line = Addr2Nearestline(self.ndk_path, self.binary_finder, False)
788 objdump = Objdump(self.ndk_path, self.binary_finder)
1006 ndk_path = None if not args.ndk_path else args.ndk_path[0]
1011 record_data = RecordData(binary_cache_path, ndk_path,
Dannotate.py56 def __init__(self, ndk_path, binary_cache_path, source_dirs): argument
57 binary_finder = BinaryFinder(binary_cache_path, ReadElf(ndk_path))
58 self.addr2line = Addr2Nearestline(ndk_path, binary_finder, True)
477 config['ndk_path'] = args.ndk_path
Dpprof_proto_generator.py631 config['ndk_path'] = args.ndk_path
/system/extras/simpleperf/doc/
Dscripts_reference.md227 # --tools=objdump:<ndk_path>/toolchains/llvm/prebuilt/linux-x86_64/aarch64-linux-android/bin