Home
last modified time | relevance | path

Searched refs:py (Results 1 – 25 of 84) sorted by relevance

1234

/system/tools/mkbootimg/
DAndroid.bp59 main: "mkbootimg.py",
61 "mkbootimg.py",
62 "gki/generate_gki_certificate.py",
73 "unpack_bootimg.py",
82 "repack_bootimg.py",
97 main: "gki/certify_bootimg.py",
99 "gki/certify_bootimg.py",
100 "gki/generate_gki_certificate.py",
101 "unpack_bootimg.py",
111 main: "tests/mkbootimg_test.py",
[all …]
/system/sepolicy/tests/
DAndroid.bp30 srcs: ["mini_parser.py"],
36 "fc_sort.py",
37 "policy.py",
44 "treble_sepolicy_tests.py",
56 "sepolicy_tests.py",
65 "searchpolicy.py",
74 "combine_maps.py",
82 "fc_sort.py",
89 "fc_sort.py",
90 "fc_sort_test.py",
[all …]
/system/extras/simpleperf/doc/
Dscripts_reference.md7 ### app_profiler.py
9 `app_profiler.py` is used to record profiling data for Android applications and native executables.
13 $ ./app_profiler.py -p simpleperf.example.cpp
16 $ ./app_profiler.py -p simpleperf.example.cpp --compile_java_code
19 $ ./app_profiler.py -p simpleperf.example.cpp -a .SleepActivity
22 $ ./app_profiler.py -np surfaceflinger
25 $ ./app_profiler.py --pid 11324
28 $ ./app_profiler.py -cmd \
32 $ ./app_profiler.py -p simpleperf.example.cpp \
36 $ ./app_profiler.py -p simpleperf.example.cpp \
[all …]
Dandroid_application_profiling.md87 results may contain unknown symbols or broken callgraphs. To fix this, we can pass app_profiler.py
99 app_profiler.py the --compile_java_code option.
102 To compile java code, we can pass app_profiler.py the --compile_java_code option.
124 We can use [app-profiler.py](scripts_reference.md#app_profilerpy) to profile Android applications.
133 $ ./app_profiler.py -p simpleperf.example.cpp -a .MixActivity -lib path_of_SimpleperfExampleCpp
144 $ ./report.py
157 [report.py](scripts_reference.md#reportpy) reports profiling data in stdio interface. If there
162 $ ./report_html.py
165 $ ./report_html.py --add_source_code --source_dirs path_of_SimpleperfExampleCpp \
169 [report_html.py](scripts_reference.md#report_htmlpy) generates report in report.html, and pops up
[all …]
Dview_the_profile.md7 After using `simpleperf record` or `app_profiler.py`, we get a profile data file. The file contains
25 We can use `pprof_proto_generator.py` to convert profiles into pprof.profile protobufs for use in
30 ./pprof_proto_generator.py
33 ./pprof_proto_generator.py --proguard-mapping-file proguard.map
36 ./pprof_proto_generator.py --comm com.example.android.displayingbitmaps
67 We can use `gecko_profile_generator.py` to convert raw perf.data files into a Firefox Profile, with
72 ./gecko_profile_generator.py | gzip > gecko_profile.json.gz
75 ./gecko_profile_generator.py --proguard-mapping-file proguard.map | gzip > gecko_profile.json.gz
129 python3 run.py
135 format with `report_sample.py`, and place it in Flamescope's examples directory:
[all …]
Ddebug_dwarf_unwinding.md35 # Pull report.txt on host and show it using debug_unwind_reporter.py.
37 $ debug_unwind_reporter.py -i report.txt --summary
39 $ debug_unwind_reporter.py -i report.txt --summary --include-end-symbol SocketInputStream_socketRea…
41 $ debug_unwind_reporter.py -i report.txt --include-end-symbol SocketInputStream_socketRead0
74 $ report_html.py -i perf_unwind.data
77 $ binary_cache_builder.py -i perf_unwind.data -lib <path to aosp-master>/out/target/product/<device…
78 $ report_html.py -i perf_unwind.data --add_source_code --source_dirs <path to aosp-master>/system/
Dandroid_platform_profiling.md13 3. It is recommended to use `app_profiler.py` for recording, and `report_html.py` for reporting.
19 $ ./app_profiler.py -np surfaceflinger -r "-g --duration 10"
22 $ ./report_html.py
30 # Doing recording with app_profiler.py or simpleperf on device, and generates perf.data on host.
31 $ ./app_profiler.py -np surfaceflinger -r "--call-graph fp --duration 10"
34 $ ./binary_cache_builder.py -lib $ANDROID_PRODUCT_OUT/symbols
38 $ ./report_html.py --add_source_code --source_dirs $ANDROID_BUILD_TOP --add_disassembly \
DREADME.md54 1. Scripts used for recording, like app_profiler.py, run_simpleperf_without_usb_connection.py.
56 2. Scripts used for reporting, like report.py, report_html.py, inferno.
58 3. Scripts used for parsing profiling data, like simpleperf_report_lib.py.
76 *.py, inferno, purgatorio: Python scripts used for recording and reporting. Details are in [scripts…
167 $ ./binary_cache_builder.py -lib NATIVE_LIB_DIR,...
175 $ ./report.py --symfs binary_cache
177 # report_html.py searches binary_cache/ automatically, so you don't need to
179 $ ./report_html.py
199 To use app_profiler.py:
202 $ ./app_profiler.py -lib <unstripped_dir>
[all …]
/system/chre/external/pigweed/
Dpw_rpc.mk32 …PC_PROTO_GENERATOR = $(PIGWEED_DIR)/pw_protobuf_compiler/py/pw_protobuf_compiler/generate_protos.py
34 PW_RPC_GENERATOR_COMPILED_PROTO = $(PW_RPC_GEN_PATH)/py/pw_rpc/internal/packet_pb2.py
38 PW_RPC_GENERATOR_CMD = PYTHONPATH=$$PYTHONPATH:$(PW_RPC_GEN_PATH)/py:$\
39 $(PIGWEED_DIR)/pw_status/py:$(PIGWEED_DIR)/pw_protobuf/py:$\
40 $(PIGWEED_DIR)/pw_protobuf_compiler/py python3
44 $(V)mkdir -p $(PW_RPC_GEN_PATH)/py/
45 $(V)cp -R $(PIGWEED_DIR)/pw_rpc/py/pw_rpc $(PW_RPC_GEN_PATH)/py/
46 …$(V)$(PW_RPC_GENERATOR_CMD) $(PW_RPC_PROTO_GENERATOR) --out-dir=$(PW_RPC_GEN_PATH)/py/pw_rpc/inter…
50 --plugin-path=$(PIGWEED_DIR)/pw_protobuf/py/pw_protobuf/plugin.py \
145 --plugin-path=$(PIGWEED_DIR)/pw_rpc/py/pw_rpc/plugin_nanopb.py \
[all …]
/system/update_engine/scripts/
Drun_unittests23 for unittest_script in update_payload/*_unittest.py; do
28 ./payload_info_unittest.py
29 ./paycheck_unittest.py
/system/extras/simpleperf/demo/
DREADME.md65 # app_profiler.py collects profiling data in perf.data, and binaries on device in binary_cache/.
66 $ python app_profiler.py -p com.example.simpleperf.simpleperfexamplepurejava
72 # report_html.py generates profiling result in report.html.
73 $ python report_html.py --add_source_code --source_dirs ../demo --add_disassembly
97 # app_profiler.py collects profiling data in perf.data, and binaries on device in binary_cache/.
98 $ python app_profiler.py -p simpleperf.example.cpp -lib app/build
104 # report_html.py generates profiling result in report.html.
105 $ python report_html.py --add_source_code --source_dirs ../demo --add_disassembly
129 # app_profiler.py collects profiling data in perf.data, and binaries on device in binary_cache/.
130 $ python app_profiler.py -p com.example.simpleperf.simpleperfexampleofkotlin
[all …]
/system/tools/hidl/c2hal/
DREADME.md38 python3 system/tools/hidl/c2hal/test/build_all.py ~/android/master/hardware/libhardware/include/har…
41 python3 system/tools/hidl/c2hal/test/build_all.py -g ~/android/master/frameworks/native/opengl/incl…
42 python3 system/tools/hidl/c2hal/test/build_all.py -g ~/android/master/frameworks/native/opengl/incl…
43 python3 system/tools/hidl/c2hal/test/build_all.py -g ~/android/master/frameworks/native/opengl/incl…
44 python3 system/tools/hidl/c2hal/test/build_all.py -g ~/android/master/frameworks/native/opengl/incl…
45 python3 system/tools/hidl/c2hal/test/build_all.py -g ~/android/master/frameworks/native/opengl/incl…
46 python3 system/tools/hidl/c2hal/test/build_all.py -g ~/android/master/frameworks/native/opengl/incl…
/system/media/audio_utils/tests/
Dvariadic_tests.cpp129 pair_t py{0, 3}; in TEST() local
131 std::cout << "px=" << px << " py=" << py << " px+py=" << (px + py) << "\n"; in TEST()
132 std::cout << "px=" << px << " py=" << py << " px*py=" << (px * py) << "\n"; in TEST()
135 std::cout << "px=" << px << " py=" << py << " innerProduct(px, py)=" in TEST()
136 << innerProduct(px, py) << "\n"; in TEST()
137 std::cout << "px=" << px << " py=" << py << " outerProduct(px, py)=" in TEST()
138 << outerProduct(px, py) << "\n"; in TEST()
/system/extras/simpleperf/
DREADME.md20 $ ./scripts/update.py --build 1234567
28 $ ./scripts/test/test.py --only-host-test
44 In prebuilts/simpleperf, run `update.py`:
46 $ ./update.py --build <bid>
58 $ ./test/test.py -d <devices> -r 3
70 $ ./test/test.py -d <devices> -r 3
76 $ ./test/test.py -d <devices> -r 1
82 $ ./test/test.py -d <devices> -r 1
87 $ <top_dir>/ndk/checkbuild.py --package --system linux --module simpleperf
/system/extras/perf2cfg/
DAndroid.bp22 "perf2cfg/*.py",
32 "perf2cfg.py",
42 "perf2cfg_test.py",
43 "tests/*.py",
/system/libufdt/utils/tests/
Dmkdtboimg_acpi_testdata.sh56 ../src/mkdtboimg.py create ${MKDTBOIMG_OUTCREATE}/create_acpi.img --dt_type=acpi --page_size=2048 …
60 ../src/mkdtboimg.py cfg_create ${MKDTBOIMG_OUTCFG}/create_acpi.img ${PYCONFIG} -d "${OUTDIR}"
66 ../src/mkdtboimg.py dump ${MKDTBOIMG_OUTCREATE}/create_acpi.img --output ${MKDTBOIMG_OUTCREATE}/cre…
69 ../src/mkdtboimg.py dump ${MKDTBOIMG_OUTCFG}/create_acpi.img --output ${MKDTBOIMG_OUTCFG}/create.du…
Dmkdtboimg_testdata.sh63 ../src/mkdtboimg.py create ${MKDTBOIMG_OUTCREATE}/create.img --page_size=4096 \
71 ../src/mkdtboimg.py cfg_create ${MKDTBOIMG_OUTCFG}/create.img ${PYCONFIG} --dtb-dir "${OUTDIR}"
77 ../src/mkdtboimg.py dump ${MKDTBOIMG_OUTCREATE}/create.img --output ${MKDTBOIMG_OUTCREATE}/create.d…
80 ../src/mkdtboimg.py dump ${MKDTBOIMG_OUTCFG}/create.img --output ${MKDTBOIMG_OUTCFG}/create.dump -b…
/system/libufdt/utils/src/
DAndroid.bp58 name: "mkdtboimg.py",
59 main: "mkdtboimg.py",
60 srcs: ["mkdtboimg.py"],
72 srcs: ["mkdtboimg.py"],
/system/chre/
DPREUPLOAD.cfg8 checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py
12 todo_checker_hook = ${REPO_ROOT}/system/chre/tools/todo_checker.py
/system/core/libsparse/
DAndroid.bp83 name: "simg_dump.py",
84 main: "simg_dump.py",
85 srcs: ["simg_dump.py"],
/system/apex/tools/
DAndroid.bp22 "deapexer.py",
44 "apex_compression_tool.py",
66 main: "apex_compression_test.py",
68 "apex_compression_test.py",
/system/extras/simpleperf/scripts/inferno/
DAndroid.bp27 "data_types.py",
28 "inferno.py",
29 "svg_renderer.py",
/system/timezone/testing/data/
Dcreate-test-data.sh35 ${DISTRO_TOOLS_DIR}/create-distro.py \
55 ${DISTRO_TOOLS_DIR}/create-distro.py \
80 ${DISTRO_TOOLS_DIR}/create-distro.py \
/system/timezone/
DREADME.android21 See also download-iana-data.py.
29 also held by ICU - see also update-tzdata.py
47 download-iana-files.py
48 - A helper script run before update-tzdata.py.
51 update-tzdata.py script. See download-iana-files.py --help for more.
53 update-tzdata.py
64 1) Run "download-iana-files.py --data" to update the input_data/iana file.
69 4) Run update-tzdata.py to regenerate the system/timezone/output_data,
100 you can use "download-iana-files.py --tools" instead of "--data" and testing
161 2) Run update-tzdata.py to regenerate the system/timezone/output_data,
/system/tools/mkbootimg/gki/
DAndroid.bp22 main: "certify_bootimg_test.py",
24 "certify_bootimg_test.py",
42 "generate_gki_certificate.py",

1234