/bionic/build/ |
D | coverage.sh | 25 DEVICE_TEST_DIR32=/data/local/tmp/bionic-coverage32 26 DEVICE_TEST_DIR64=/data/local/tmp/bionic-coverage64 27 DEVICE_PROF_DIR=/data/local/tmp/bionic-profraw 28 HOST_PROFDATA_DIR=/tmp/bionic-coverage 33 adb push $OUT/data/nativetest/bionic-loader-test-libs ${DEVICE_TEST_DIR32} 34 adb push $OUT/data/nativetest/bionic-unit-tests ${DEVICE_TEST_DIR32} 35 adb push $OUT/data/nativetest64/bionic-loader-test-libs ${DEVICE_TEST_DIR64} 36 adb push $OUT/data/nativetest64/bionic-unit-tests ${DEVICE_TEST_DIR64} 37 adb shell LLVM_PROFILE_FILE=${DEVICE_PROF_DIR}/bionic-%p-%m.profraw \ 38 LD_LIBRARY_PATH=${DEVICE_TEST_DIR32}/bionic-loader-test-libs \ [all …]
|
/bionic/libc/ |
D | Android.bp | 24 "bionic/ether_aton.c", 25 "bionic/ether_ntoa.c", 26 "bionic/exit.cpp", 27 "bionic/initgroups.c", 28 "bionic/isatty.c", 29 "bionic/sched_cpualloc.c", 30 "bionic/sched_cpucount.c", 31 "bionic/sysprop_helpers.cpp", 44 "bionic/legacy_32_bit_support.cpp", 45 "bionic/time64.c", [all …]
|
D | BUILD | 32 "//bionic/libc/kernel/android:libc_kernel_android_scsi_headers", 33 "//bionic/libc/kernel/android:libc_kernel_android_uapi_headers", 34 "//bionic/libc/kernel/uapi:libc_kernel_uapi_asm_arm64_headers", #arm64 35 "//bionic/libc/kernel/uapi:libc_kernel_uapi_asm_arm_headers", #arm 36 "//bionic/libc/kernel/uapi:libc_kernel_uapi_asm_x86_64_headers", #x86_64 37 "//bionic/libc/kernel/uapi:libc_kernel_uapi_asm_x86_headers", #x86 38 "//bionic/libc/kernel/uapi:libc_kernel_uapi_headers",
|
D | SECCOMP_ALLOWLIST_COMMON.TXT | 11 # Syscalls used internally by bionic, but not exposed directly. 20 # vfork is used by bionic (and java.lang.ProcessBuilder) on some 40 # (Potentially) useful new syscalls which we don't yet use in bionic. 56 # Since Linux 5.1, not in glibc. Not used by bionic, and not likely ever
|
/bionic/benchmarks/ |
D | Android.bp | 34 name: "bionic-benchmarks-defaults", 83 name: "bionic-benchmarks-extras-defaults", 92 // Build benchmarks for the device (with bionic's .so). Run with: 93 // adb shell /data/benchmarktest/bionic-benchmarks/bionic-benchmarks 94 // adb shell /data/benchmarktest64/bionic-benchmarks/bionic-benchmarks 96 name: "bionic-benchmarks", 97 defaults: ["bionic-benchmarks-defaults"], 106 include_dirs: ["bionic/libc"], 110 name: "bionic-benchmarks-static", 111 defaults: ["bionic-benchmarks-defaults"], [all …]
|
D | run-on-host.sh | 6 m -j bionic-benchmarks-glibc 11 ${HOST_OUT}/benchmarktest64/bionic-benchmarks-glibc/bionic-benchmarks-glibc "$@" 21 prepare $1 bionic-benchmarks 28 ${BENCHMARKS}/bionic-benchmarks/bionic-benchmarks "$@"
|
D | README.md | 5 ## libc benchmarks (bionic-benchmarks) 7 `bionic-benchmarks` is a command line tool for measuring the runtimes of libc functions. It is built 13 $ mmma bionic/benchmarks 16 $ adb shell /data/benchmarktest/bionic-benchmarks/bionic-benchmarks 17 $ adb shell /data/benchmarktest64/bionic-benchmarks/bionic-benchmarks 19 By default, `bionic-benchmarks` runs all of the benchmarks in alphabetical order. Pass 38 However, for the host bionic benchmarks (`bionic-benchmarks-glibc`), the default is to use 80 `bionic-benchmarks` also has its own set of unit tests, which can be run from the binary in 81 `/data/nativetest[64]/bionic-benchmarks-tests` 83 ## Process startup time (bionic-spawn-benchmarks) [all …]
|
/bionic/tests/ |
D | run-on-host.sh | 7 m -j bionic-unit-tests-glibc 12 ${HOST_OUT}/nativetest64/bionic-unit-tests-glibc/bionic-unit-tests-glibc $@ 22 prepare $1 bionic-unit-tests 31 ${NATIVETEST}/bionic-unit-tests/bionic-unit-tests $@
|
D | Android.bp | 87 // Use the bootstrap version of bionic because some tests call private APIs 88 // that aren't exposed by the APEX bionic stubs. 102 relative_install_path: "bionic-loader-test-libs/prebuilt-elf-files", 128 relative_install_path: "bionic-loader-test-libs/prebuilt-elf-files", 154 relative_install_path: "bionic-loader-test-libs/prebuilt-elf-files", 180 relative_install_path: "bionic-loader-test-libs/prebuilt-elf-files", 206 relative_install_path: "bionic-loader-test-libs/prebuilt-elf-files", 232 relative_install_path: "bionic-loader-test-libs/prebuilt-elf-files", 258 relative_install_path: "bionic-loader-test-libs/prebuilt-elf-files", 284 relative_install_path: "bionic-loader-test-libs/prebuilt-elf-files", [all …]
|
/bionic/docs/ |
D | libc_assembler.md | 7 * Update the routine, run the bionic unit tests to verify the routine doesn't 22 …/data/benchmarktest64/bionic-benchmarks/bionic-benchmarks --bionic_xml=string.xml --benchmark_filt… 26 …/data/benchmarktest/bionic-benchmarks/bionic-benchmarks --bionic_xml=string.xml --benchmark_filter… 30 …/data/benchmarktest/bionic-benchmarks/bionic-benchmarks --bionic_cpu=2 --bionic_xml=string.xml --b… 33 The bionic benchmarks are used to verify the performance of changes to 38 The bionic benchmarks are not built by default, they must be built separately 41 mmma -j bionic/benchmarks 46 There are two bionic benchmarks executables: 48 /data/benchmarktest64/bionic-benchmarks/bionic-benchmarks 52 /data/benchmarktest/bionic-benchmarks/bionic-benchmarks [all …]
|
D | native_allocator.md | 48 tests for this funcion in `bionic/tests/malloc_itearte_test.cpp`. 90 The bionic unit tests contain a small number of allocator tests. These 97 adb shell /data/nativetest64/bionic-unit-tests/bionic-unit-tests --gtest_filter="malloc*" 98 adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests --gtest_filter="malloc*" 117 In addition to the bionic tests, there is also a CTS test that is designed 139 These are the microbenchmarks that are part of the bionic benchmarks suite of 142 mmma -j bionic/benchmarks 180 …adb shell /data/benchmarktest64/bionic-benchmarks/bionic-benchmarks --benchmark_filter=stdlib_mall… 181 …adb shell /data/benchmarktest/bionic-benchmarks/bionic-benchmarks --benchmark_filter=malloc_free_d… 185 …adb shell /data/benchmarktest64/bionic-benchmarks/bionic-benchmarks --benchmark_filter=stdlib_mall… [all …]
|
D | fdtrack.md | 7 fdtrack consists of two parts: a set of hooks in bionic to register a callback 11 ### bionic hooks 12 bionic provides a header in the `bionic_libc_platform_headers` header_lib at <[bionic/fdtrack.h](ht… 17 context, but not vfork (bionic tracks whether a thread is vforked, and chooses 21 [libfdtrack](https://android.googlesource.com/platform/bionic/+/refs/heads/master/libfdtrack) 29 `BIONIC_SIGNAL_FDTRACK` (available from `<bionic/reserved_signals.h>`) to the
|
D | defines.md | 9 If your code is specific to Android's C library, bionic, use `__BIONIC__`. This 10 is typically a good choice when you use libc API that's only in bionic, such as 12 `__GLIBC__`, `__APPLE__`, or `_WIN32`. Note that although bionic is most often 13 seen on Android devices, it is possible to use bionic on the host too. 22 remember that it is possible -- if unusual -- to use bionic on the host).
|
D | status.md | 1 # Android bionic status 14 https://android.googlesource.com/platform/bionic/+/master/tests/headers/posix/ 18 supported by bionic or glibc, and guarded with tests for `__BIONIC__` 20 bionic diverged but 64-bit bionic matches POSIX; these are guarded with 23 Most bionic-only diversions should be accompanied by an explanatory comment. 39 * Locales. Although bionic contains the various `_l()` functions, the only 51 Run `./libc/tools/check-symbols-glibc.py` in bionic/ for the current 52 list of POSIX functions implemented by glibc but not by bionic. 56 Current libc symbols: https://android.googlesource.com/platform/bionic/+/master/libc/libc.map.txt 176 …remaining `_FILE_OFFSET_BITS=64` functions, completing `_FILE_OFFSET_BITS=64` support in bionic (8) [all …]
|
/bionic/ |
D | TEST_MAPPING | 4 "name": "bionic-unit-tests" 7 "name": "bionic-unit-tests-static" 48 "name": "bionic-unit-tests" 51 "name": "bionic-unit-tests-static"
|
D | README.md | 1 # bionic chapter 3 [bionic](https://en.wikipedia.org/wiki/Bionic_(software)) is Android's 6 # Using bionic as an app developer 10 # Working on bionic itself 12 This documentation is about making changes to bionic itself. 14 ## What are the big pieces of bionic? 70 bionic/ 90 # details. The update_all.py script should be used to regenerate bionic's 94 # These are private header files meant for use within bionic itself. 113 bionic/ [all …]
|
D | CleanSpec.mk | 57 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/bionic) 58 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/bionic)
|
/bionic/libc/malloc_debug/ |
D | Android.bp | 31 include_dirs: ["bionic/libc"], 93 include_dirs: ["bionic/libc"], 137 "bionic/libc", 138 "bionic/libc/async_safe/include", 171 "bionic/libc", 172 "bionic", // For SKIP_WITH_HWASAN.
|
/bionic/libc/tools/ |
D | check-symbols-glibc.py | 65 bionic = symbols.GetFromAndroidSo(['libc.so', 'libm.so']) variable 245 for symbol in sorted((glibc - posix).difference(bionic)): 250 for symbol in sorted((posix.intersection(glibc)).difference(bionic)): 258 for symbol in sorted((bionic - allowed_stuff).difference(glibc)):
|
/bionic/libc/system_properties/ |
D | Android.bp | 31 "bionic/libc", 32 "bionic/libstdc++/include", 43 "bionic/libc",
|
/bionic/libc/malloc_hooks/ |
D | Android.bp | 32 include_dirs: ["bionic/libc"], 77 "bionic/libc", 78 "bionic"
|
/bionic/tests/libs/ |
D | Android.bp | 32 relative_install_path: "bionic-loader-test-libs", 197 relative_install_path: "bionic-loader-test-libs/libdlext_test_fd", 210 relative_install_path: "bionic-loader-test-libs/libdlext_test_zip", 218 relative_install_path: "bionic-loader-test-libs/libatest_simple_zip", 285 relative_install_path: "bionic-loader-test-libs/public_namespace_libs", 306 relative_install_path: "bionic-loader-test-libs/public_namespace_libs", 314 relative_install_path: "bionic-loader-test-libs/private_namespace_libs", 322 relative_install_path: "bionic-loader-test-libs/private_namespace_libs", 386 relative_install_path: "bionic-loader-test-libs/private_namespace_libs", 397 relative_install_path: "bionic-loader-test-libs/public_namespace_libs", [all …]
|
/bionic/libc/kernel/ |
D | README.md | 37 * `bionic/libc/kernel/uapi/` 41 * `bionic/libc/kernel/tools/` 96 bionic/libc/kernel/tools/generate_uapi_headers.sh --use-kernel-dir kernel_src 103 bionic/libc/kernel/tools/generate_uapi_headers.sh --download-kernel 106 Next, run this command to copy the parsed files to bionic/libc/kernel/uapi: 108 bionic/libc/kernel/tools/update_all.py
|
/bionic/apex/ |
D | Android.bp | 63 "bionic-linker-config", 110 name: "bionic-linker-config",
|
/bionic/tools/versioner/ |
D | README.md | 2 Use clang to verify the correctness of bionic's availability attributes against the NDK platform de…
|