SYMBOL INDEX (7569 symbols across 976 files) FILE: bootstat/boot_event_record_store.cpp function ParseRecordEventTime (line 40) | bool ParseRecordEventTime(const std::string& path, int32_t* uptime) { type stat (line 79) | struct stat type utimbuf (line 88) | struct utimbuf type dirent (line 122) | struct dirent FILE: bootstat/boot_event_record_store.h function class (line 29) | class BootEventRecordStore { FILE: bootstat/boot_event_record_store_test.cpp function CreateEmptyBootEventRecord (line 44) | bool CreateEmptyBootEventRecord(const std::string& record_path, int32_t ... function FuzzUptimeEquals (line 65) | bool FuzzUptimeEquals(int32_t a, int32_t b) { function DeleteDirectory (line 71) | void DeleteDirectory(const std::string& path) { function time_t (line 95) | time_t GetUptimeSeconds() { class BootEventRecordStoreTest (line 101) | class BootEventRecordStoreTest : public ::testing::Test { method BootEventRecordStoreTest (line 103) | BootEventRecordStoreTest() { store_path_ = std::string(store_dir_.path... method TearDown (line 108) | void TearDown() { function TEST_F (line 130) | TEST_F(BootEventRecordStoreTest, AddSingleBootEvent) { function TEST_F (line 145) | TEST_F(BootEventRecordStoreTest, AddMultipleBootEvents) { function TEST_F (line 177) | TEST_F(BootEventRecordStoreTest, AddBootEventWithValue) { function TEST_F (line 189) | TEST_F(BootEventRecordStoreTest, GetBootEvent) { function TEST_F (line 214) | TEST_F(BootEventRecordStoreTest, GetBootEventNoFileContent) { FILE: bootstat/bootstat.cpp type AtomInfo (line 55) | struct AtomInfo { function LogBootEvents (line 141) | void LogBootEvents() { function RecordBootEventFromCommandLine (line 171) | void RecordBootEventFromCommandLine(const std::string& event, const std:... function PrintBootEvents (line 183) | void PrintBootEvents() { function ShowHelp (line 194) | void ShowHelp(const char* cmd) { function GetCommandLine (line 211) | std::string GetCommandLine(int argc, char** argv) { function BootReasonStrToEnum (line 478) | int32_t BootReasonStrToEnum(const std::string& boot_reason) { function isStrongRebootReason (line 522) | bool isStrongRebootReason(const std::string& r) { function isKernelRebootReason (line 534) | bool isKernelRebootReason(const std::string& r) { function isKnownRebootReason (line 546) | bool isKnownRebootReason(const std::string& r) { function isBluntRebootReason (line 557) | bool isBluntRebootReason(const std::string& r) { function readPstoreConsole (line 574) | bool readPstoreConsole(std::string& console) { class pstoreConsole (line 583) | class pstoreConsole { method numError (line 590) | size_t numError(uint8_t l, uint8_t r) const { return std::bitset<8>(l ... method numError (line 602) | size_t numError(size_t pos, const std::string& _r) const { method pstoreConsole (line 625) | explicit pstoreConsole(const std::string& console) : console(console) {} method pstoreConsole (line 627) | explicit pstoreConsole(const std::string&& console) = delete; method pstoreConsole (line 628) | explicit pstoreConsole(std::string&& console) = delete; method rfind (line 631) | size_t rfind(const std::string& needle) const { method find (line 649) | size_t find(const std::string& needle, size_t start = 0) const { function correctForBitError (line 665) | bool correctForBitError(std::string& reason, const std::string& needle) { function correctForBitErrorOrUnderline (line 686) | bool correctForBitErrorOrUnderline(std::string& reason, const std::strin... function transformReason (line 699) | void transformReason(std::string& reason) { function likely_single_quote (line 721) | bool likely_single_quote(char c) { function likely_newline (line 754) | bool likely_newline(char c) { function likely_space (line 775) | bool likely_space(char c) { function getSubreason (line 800) | std::string getSubreason(const std::string& content, size_t pos, bool qu... function addKernelPanicSubReason (line 834) | void addKernelPanicSubReason(const pstoreConsole& console, std::string& ... function addKernelPanicSubReason (line 899) | void addKernelPanicSubReason(const std::string& content, std::string& re... function BootReasonAddToHistory (line 913) | void BootReasonAddToHistory(const std::string& system_boot_reason) { function BootReasonStrToReason (line 967) | std::string BootReasonStrToReason(const std::string& boot_reason) { function CalculateBootCompletePrefix (line 1153) | std::string CalculateBootCompletePrefix() { function RecordInitBootTimeProp (line 1179) | void RecordInitBootTimeProp(BootEventRecordStore* boot_event_store, cons... function BootloaderTimingMap (line 1193) | const BootloaderTimingMap GetBootLoaderTimings() { function GetBootloaderTime (line 1222) | int32_t GetBootloaderTime(const BootloaderTimingMap& bootloader_timings) { function RecordBootloaderTimings (line 1233) | void RecordBootloaderTimings(BootEventRecordStore* boot_event_store, function GetAbsoluteBootTime (line 1246) | std::chrono::milliseconds GetAbsoluteBootTime(const BootloaderTimingMap&... function RecordAbsoluteBootTime (line 1262) | void RecordAbsoluteBootTime(BootEventRecordStore* boot_event_store, function LogBootInfoToStatsd (line 1269) | void LogBootInfoToStatsd(std::chrono::milliseconds end_time, function SetSystemBootReason (line 1280) | void SetSystemBootReason() { function GetBootTimeOffset (line 1313) | std::chrono::nanoseconds GetBootTimeOffset() { function GetUptime (line 1321) | android::base::boot_clock::duration GetUptime() { function RecordBootComplete (line 1326) | void RecordBootComplete() { function RecordBootReason (line 1386) | void RecordBootReason() { function RecordFactoryReset (line 1421) | void RecordFactoryReset() { function PrintBootReasonEnum (line 1481) | void PrintBootReasonEnum(const char* arg) { function main (line 1495) | int main(int argc, char** argv) { FILE: bootstat/testrunner.cpp function main (line 20) | int main(int argc, char** argv) { FILE: cli-test/cli-test.cpp type Test (line 47) | struct Test { type Color (line 64) | enum Color { kRed, kGreen } function Print (line 66) | static void Print(Color c, const char* lhs, const char* fmt, ...) { function Die (line 76) | static void Die(int error, const char* fmt, ...) { function V (line 87) | static void V(const char* fmt, ...) { function SetField (line 98) | static void SetField(const char* what, std::string* field, std::string_v... function Match (line 107) | static bool Match(std::string* s, const std::string& prefix) { function CollectTests (line 113) | static void CollectTests(std::vector* tests, const char* test_file... function ExitStatusToString (line 174) | static std::string ExitStatusToString(int status) { function RunCommands (line 186) | static bool RunCommands(const char* what, const std::vector... function CheckOutput (line 200) | static bool CheckOutput(const char* what, std::string actual_output, function RunTests (line 213) | static int RunTests(const std::vector& tests) { function ShowHelp (line 286) | static void ShowHelp(bool full) { function main (line 298) | int main(int argc, char* argv[]) { FILE: debuggerd/client/debuggerd_client.cpp function populate_timeval (line 77) | static void populate_timeval(struct timeval* tv, const Duration& duratio... function get_wchan_data (line 88) | static std::string get_wchan_data(int fd, pid_t pid) { function debuggerd_trigger_dump (line 117) | bool debuggerd_trigger_dump(pid_t tid, DebuggerdDumpType dump_type, unsi... function dump_backtrace_to_file (line 306) | int dump_backtrace_to_file(pid_t tid, DebuggerdDumpType dump_type, int f... function dump_backtrace_to_file_timeout (line 310) | int dump_backtrace_to_file_timeout(pid_t tid, DebuggerdDumpType dump_typ... FILE: debuggerd/client/debuggerd_client_test.cpp function getThreadCount (line 41) | static int getThreadCount() { function TEST (line 53) | TEST(debuggerd_client, race) { function TEST (line 117) | TEST(debuggerd_client, no_timeout) { FILE: debuggerd/common/include/dump_type.h type DebuggerdDumpType (line 23) | enum DebuggerdDumpType : uint8_t { FILE: debuggerd/crash_dump.cpp function pid_contains_tid (line 93) | static bool pid_contains_tid(int pid_proc_fd, pid_t tid) { function pid_t (line 99) | static pid_t get_tracer(pid_t tracee) { function ptrace_seize_thread (line 109) | static bool ptrace_seize_thread(int pid_proc_fd, pid_t tid, std::string*... function wait_for_stop (line 137) | static bool wait_for_stop(pid_t tid, int* received_signal) { function ptrace_interrupt (line 158) | static bool ptrace_interrupt(pid_t tid, int* received_signal) { function activity_manager_notify (line 167) | static bool activity_manager_notify(pid_t pid, int signal, const std::st... function DefuseSignalHandlers (line 234) | static void DefuseSignalHandlers() { function Initialize (line 247) | static void Initialize(char** argv) { function ParseArgs (line 272) | static void ParseArgs(int argc, char** argv, pid_t* pseudothread_tid, De... function ReadCrashInfo (line 302) | static void ReadCrashInfo(unique_fd& fd, siginfo_t* siginfo, function pid_t (line 369) | static pid_t wait_for_clone(pid_t pid, bool resume_child) { function pid_t (line 409) | static pid_t wait_for_vm_process(pid_t pseudothread_tid) { function InstallSigPipeHandler (line 420) | static void InstallSigPipeHandler() { function PtracePeek (line 427) | static bool PtracePeek(int request, pid_t tid, uintptr_t addr, void* dat... function GetGuestRegistersFromCrashedProcess (line 438) | static bool GetGuestRegistersFromCrashedProcess(pid_t tid, NativeBridgeG... function ReadGuestRegisters (line 512) | static void ReadGuestRegisters(std::unique_ptr* regs,... function main (line 561) | int main(int argc, char** argv) { FILE: debuggerd/crash_test.cpp function crash (line 25) | void crash() { FILE: debuggerd/crash_test.h type JITCodeEntry (line 26) | struct JITCodeEntry { type JITDescriptor (line 33) | struct JITDescriptor { FILE: debuggerd/crasher/crasher.cpp function noinline (line 73) | noinline void maybe_abort() { function noinline (line 80) | noinline void smash_stack_dummy_function(volatile int* plen) { function noinline (line 88) | noinline int smash_stack(volatile int* plen) { function noinline (line 103) | noinline void overflow_stack(void* p) { function noinline (line 112) | noinline void* thread_callback(void* raw_arg) { function noinline (line 117) | noinline int do_action_on_thread(const char* arg) { function noinline (line 125) | noinline int crash_null() { function noinline (line 130) | noinline int crash3(int a) { function noinline (line 135) | noinline int crash2(int a) { function noinline (line 140) | noinline int crash(int a) { function noinline (line 148) | noinline void abuse_heap() { function noinline (line 154) | noinline void leak() { function noinline (line 162) | noinline void sigsegv_non_null() { function noinline (line 167) | noinline void fprintf_null() { function noinline (line 172) | noinline void readdir_null() { function noinline (line 177) | noinline int strlen_null() { function usage (line 182) | static int usage() { function CheckCpuFeature (line 249) | [[maybe_unused]] static void CheckCpuFeature(const std::string& name) { function noinline (line 264) | noinline int do_action(const char* arg) { function main (line 407) | int main(int argc, char** argv) { FILE: debuggerd/debuggerd.cpp function usage (line 36) | static void usage(int exit_code) { function main (line 44) | int main(int argc, char* argv[]) { FILE: debuggerd/debuggerd_benchmark.cpp type ThreadState (line 34) | enum class ThreadState { Starting, Started, Stopping } function SetScheduler (line 36) | static void SetScheduler() { function GetMaximumPause (line 46) | static std::chrono::duration GetMaximumPause(std::atomic unpack_thread_fd(uint64_t value) { function trace_handler (line 175) | static void trace_handler(siginfo_t* info, ucontext_t* ucontext) { function crash_handler (line 316) | static void crash_handler(siginfo_t* info, ucontext_t* ucontext, void* a... function debuggerd_fallback_handler (line 355) | void debuggerd_fallback_handler(siginfo_t* info, ucontext_t* ucontext, FILE: debuggerd/handler/debuggerd_fallback_nop.cpp function debuggerd_fallback_handler (line 17) | void debuggerd_fallback_handler(struct siginfo_t*, struct ucontext_t*, v... FILE: debuggerd/handler/debuggerd_handler.cpp type FdsanBypassCloser (line 63) | struct FdsanBypassCloser { method Close (line 64) | static void Close(int fd) { function pid_t (line 84) | static pid_t __getpid() { function pid_t (line 88) | static pid_t __gettid() { function property_parse_bool (line 92) | static bool property_parse_bool(const char* name) { function is_permissive_mte (line 105) | static bool is_permissive_mte() { function parse_uint_with_error_reporting (line 120) | static bool parse_uint_with_error_reporting(const char* s, const char* n... function property_parse_int (line 130) | static bool property_parse_int(const char* name, int* out) { function permissive_mte_renable_timer (line 149) | static int permissive_mte_renable_timer() { function futex_wait (line 173) | static inline void futex_wait(volatile void* ftx, int value) { class ErrnoRestorer (line 177) | class ErrnoRestorer { method ErrnoRestorer (line 179) | ErrnoRestorer() : saved_errno_(errno) { function fatal (line 200) | static void __noreturn __printflike(1, 2) fatal(const char* fmt, ...) { function fatal_errno (line 207) | static void __noreturn __printflike(1, 2) fatal_errno(const char* fmt, .... function get_main_thread_name (line 217) | static bool get_main_thread_name(char* buf, size_t len) { function log_signal_summary (line 245) | static void log_signal_summary(const siginfo_t* si) { function have_siginfo (line 288) | static bool have_siginfo(int signum) { function raise_caps (line 298) | static void raise_caps() { function create_vm_process (line 335) | static void create_vm_process() { type debugger_thread_info (line 368) | struct debugger_thread_info { function DebuggerdDumpType (line 383) | static DebuggerdDumpType get_dump_type(const debugger_thread_info* threa... function debuggerd_dispatch_pseudothread (line 399) | static int debuggerd_dispatch_pseudothread(void* arg) { function resend_signal (line 572) | static void resend_signal(siginfo_t* info) { function debuggerd_signal_handler (line 590) | static void debuggerd_signal_handler(int signal_number, siginfo_t* info,... function debuggerd_init (line 820) | void debuggerd_init(debuggerd_callbacks_t* callbacks) { function debuggerd_handle_gwp_asan_signal (line 859) | bool debuggerd_handle_gwp_asan_signal(int signal_number, siginfo_t* info... function debuggerd_handle_signal (line 908) | bool debuggerd_handle_signal(int signal_number, siginfo_t* info, void* c... FILE: debuggerd/include/debuggerd/client.h type DebuggerdDumpType (line 29) | enum DebuggerdDumpType type DebuggerdDumpType (line 32) | enum DebuggerdDumpType type DebuggerdDumpType (line 33) | enum DebuggerdDumpType FILE: debuggerd/include/debuggerd/handler.h function __BEGIN_DECLS (line 27) | __BEGIN_DECLS type crash_detail_page_t (line 36) | struct crash_detail_page_t type debugger_process_info (line 40) | struct __attribute__((packed)) debugger_process_info { type gwp_asan_callbacks_t (line 57) | typedef struct { type debuggerd_callbacks_t (line 65) | typedef struct { function debuggerd_register_handlers (line 81) | static void __attribute__((__unused__)) debuggerd_register_handlers(stru... FILE: debuggerd/libdebuggerd/backtrace.cpp function dump_process_header (line 47) | static void dump_process_header(log_t* log, pid_t pid, function dump_process_footer (line 57) | static void dump_process_footer(log_t* log, pid_t pid) { function dump_backtrace_thread (line 61) | void dump_backtrace_thread(int output_fd, unwindstack::AndroidUnwinder* ... function dump_backtrace (line 79) | void dump_backtrace(android::base::unique_fd output_fd, unwindstack::And... function dump_backtrace_header (line 103) | void dump_backtrace_header(int output_fd) { function dump_backtrace_footer (line 112) | void dump_backtrace_footer(int output_fd) { FILE: debuggerd/libdebuggerd/gwp_asan.cpp function retrieve_gwp_asan_state (line 32) | static bool retrieve_gwp_asan_state(unwindstack::Memory* process_memory,... FILE: debuggerd/libdebuggerd/include/libdebuggerd/backtrace.h function namespace (line 32) | namespace unwindstack { FILE: debuggerd/libdebuggerd/include/libdebuggerd/gwp_asan.h function namespace (line 33) | namespace unwindstack { function class (line 38) | class GwpAsanCrashData { FILE: debuggerd/libdebuggerd/include/libdebuggerd/open_files_list.h type FDInfo (line 30) | struct FDInfo { FILE: debuggerd/libdebuggerd/include/libdebuggerd/scudo.h function namespace (line 32) | namespace unwindstack { function class (line 37) | class ScudoCrashData { FILE: debuggerd/libdebuggerd/include/libdebuggerd/tombstone.h function namespace (line 39) | namespace unwindstack { FILE: debuggerd/libdebuggerd/include/libdebuggerd/types.h type ThreadInfo (line 25) | struct ThreadInfo { type ProcessInfo (line 50) | struct ProcessInfo { FILE: debuggerd/libdebuggerd/include/libdebuggerd/utility.h type log_t (line 29) | struct log_t { FILE: debuggerd/libdebuggerd/open_files_list.cpp function populate_open_files_list (line 41) | void populate_open_files_list(OpenFilesList* list, pid_t pid) { function populate_fdsan_table (line 67) | void populate_fdsan_table(OpenFilesList* list, std::shared_ptr AllocAndReadFully(unwindstack::Memory* process_m... FILE: debuggerd/libdebuggerd/test/UnwinderMock.h function class (line 25) | class UnwinderMock : public unwindstack::Unwinder { FILE: debuggerd/libdebuggerd/test/dump_memory_test.cpp function GetMemoryString (line 32) | std::string GetMemoryString(uintptr_t addr, const std::vector&... function GetFullDumpString (line 77) | std::string GetFullDumpString() { function GetPartialDumpString (line 83) | std::string GetPartialDumpString() { class MemoryMock (line 91) | class MemoryMock : public unwindstack::Memory { method Read (line 95) | virtual size_t Read(uint64_t addr, void* buffer, size_t bytes) override { method SetReadData (line 121) | void SetReadData(uint8_t* buffer, size_t bytes) { method SetPartialReadAmount (line 128) | void SetPartialReadAmount(size_t bytes) { class DumpMemoryTest (line 143) | class DumpMemoryTest : public ::testing::Test { method SetUp (line 145) | virtual void SetUp() { method TearDown (line 173) | virtual void TearDown() { function TEST_F (line 185) | TEST_F(DumpMemoryTest, aligned_addr) { function TEST_F (line 204) | TEST_F(DumpMemoryTest, partial_read) { function TEST_F (line 224) | TEST_F(DumpMemoryTest, unaligned_addr) { function TEST_F (line 243) | TEST_F(DumpMemoryTest, memory_unreadable) { function TEST_F (line 256) | TEST_F(DumpMemoryTest, memory_partially_unreadable) { function TEST_F (line 275) | TEST_F(DumpMemoryTest, memory_partially_unreadable_unaligned_return) { function TEST_F (line 300) | TEST_F(DumpMemoryTest, memory_partially_unreadable_two_unaligned_reads) { function TEST_F (line 329) | TEST_F(DumpMemoryTest, address_low_fence) { function TEST_F (line 348) | TEST_F(DumpMemoryTest, memory_address_too_high) { function TEST_F (line 371) | TEST_F(DumpMemoryTest, memory_address_nearly_too_high) { function TEST_F (line 404) | TEST_F(DumpMemoryTest, first_read_empty) { function TEST_F (line 434) | TEST_F(DumpMemoryTest, first_read_empty_second_read_stops) { function TEST_F (line 460) | TEST_F(DumpMemoryTest, first_read_empty_next_page_out_of_range) { function TEST_F (line 481) | TEST_F(DumpMemoryTest, first_read_empty_next_page_out_of_range_fence_pos... FILE: debuggerd/libdebuggerd/test/elf_fake.cpp type unwindstack (line 23) | namespace unwindstack { class Memory (line 24) | class Memory function elf_set_fake_build_id (line 29) | void elf_set_fake_build_id(const std::string& build_id) { function elf_get_build_id (line 33) | bool elf_get_build_id(unwindstack::Memory*, uintptr_t, std::string* buil... FILE: debuggerd/libdebuggerd/test/log_fake.cpp class Backtrace (line 28) | class Backtrace type EventTagMap (line 29) | struct EventTagMap type AndroidLogEntry (line 30) | struct AndroidLogEntry function resetLogs (line 36) | void resetLogs() { function getFakeLogBuf (line 41) | std::string getFakeLogBuf() { function getFakeLogPrint (line 45) | std::string getFakeLogPrint() { function __android_log_buf_write (line 49) | int __android_log_buf_write(int bufId, int prio, const char* tag, const ... function __android_log_print (line 57) | int __android_log_print(int prio, const char* tag, const char* fmt, ...) { function log_id_t (line 72) | log_id_t android_name_to_log_id(const char*) { type logger_list (line 76) | struct logger_list function android_logger_list_read (line 81) | int android_logger_list_read(struct logger_list*, struct log_msg*) { function EventTagMap (line 85) | EventTagMap* android_openEventTagMap(const char*) { function android_log_processBinaryLogBuffer (line 89) | int android_log_processBinaryLogBuffer( function android_logger_list_free (line 95) | void android_logger_list_free(struct logger_list*) { FILE: debuggerd/libdebuggerd/test/mte_stack_record_test.cpp type ScopedUnmap (line 35) | struct ScopedUnmap { class MteStackHistoryTest (line 41) | class MteStackHistoryTest : public ::testing::TestWithParam { method SetUp (line 42) | void SetUp() override { function TEST (line 57) | TEST(MteStackHistoryUnwindTest, TestOne) { function FindMapping (line 87) | static std::optional FindMapping(void* data) { function TEST_P (line 99) | TEST_P(MteStackHistoryTest, TestFree) { function TEST_P (line 114) | TEST_P(MteStackHistoryTest, TestEmpty) { function TEST_P (line 127) | TEST_P(MteStackHistoryTest, TestFull) { function TEST_P (line 155) | TEST_P(MteStackHistoryTest, TestHalfFull) { FILE: debuggerd/libdebuggerd/test/open_files_list_test.cpp function TEST (line 30) | TEST(OpenFilesListTest, BasicTest) { FILE: debuggerd/libdebuggerd/test/tombstone_proto_to_text_test.cpp class TombstoneProtoToTextTest (line 30) | class TombstoneProtoToTextTest : public ::testing::Test { method SetUp (line 32) | void SetUp() { method ProtoToString (line 62) | void ProtoToString() { function TEST_F (line 82) | TEST_F(TombstoneProtoToTextTest, tagged_addr_ctrl) { function TEST_F (line 106) | TEST_F(TombstoneProtoToTextTest, pac_enabled_keys) { function TEST_F (line 127) | TEST_F(TombstoneProtoToTextTest, crash_detail_string) { function TEST_F (line 135) | TEST_F(TombstoneProtoToTextTest, crash_detail_bytes) { function TEST_F (line 143) | TEST_F(TombstoneProtoToTextTest, stack_record) { function TEST_F (line 171) | TEST_F(TombstoneProtoToTextTest, symbolize) { function TEST_F (line 179) | TEST_F(TombstoneProtoToTextTest, uid) { FILE: debuggerd/libdebuggerd/tombstone.cpp function engrave_tombstone_ucontext (line 55) | void engrave_tombstone_ucontext(int tombstone_fd, int proto_fd, uint64_t... function engrave_tombstone (line 125) | void engrave_tombstone(unique_fd output_fd, unique_fd proto_fd, FILE: debuggerd/libdebuggerd/tombstone_proto.cpp function Architecture (line 88) | static Architecture get_arch() { function get_stack_overflow_cause (line 104) | static std::optional get_stack_overflow_cause(uint64_t faul... function set_human_readable_cause (line 140) | void set_human_readable_cause(Cause* cause, uint64_t fault_addr) { function dump_stack_history (line 213) | void dump_stack_history(unwindstack::AndroidUnwinder* unwinder, uintptr_... function pid_t (line 283) | static pid_t get_containing_thread(unwindstack::MapInfo* map_info, pid_t... function maybe_stack_mte_cause (line 297) | static std::optional maybe_stack_mte_cause( function dump_probable_cause (line 320) | static void dump_probable_cause(Tombstone* tombstone, unwindstack::Andro... function dump_crash_details (line 388) | static void dump_crash_details(Tombstone* tombstone, function dump_abort_message (line 428) | static void dump_abort_message(Tombstone* tombstone, function dump_open_fds (line 473) | static void dump_open_fds(Tombstone* tombstone, const OpenFilesList* ope... function fill_in_backtrace_frame (line 498) | void fill_in_backtrace_frame(BacktraceFrame* f, const unwindstack::Frame... function dump_registers (line 532) | static void dump_registers(unwindstack::AndroidUnwinder* unwinder, function dump_thread_backtrace (line 586) | static void dump_thread_backtrace(std::vector& f... function dump_thread (line 612) | static void dump_thread(Tombstone* tombstone, unwindstack::AndroidUnwind... function dump_mappings (line 664) | static void dump_mappings(Tombstone* tombstone, unwindstack::Maps* maps, function add_error_log_msg (line 695) | static void add_error_log_msg(Tombstone* tombstone, const std::string&& ... function dump_log_file (line 712) | static void dump_log_file(Tombstone* tombstone, const char* logger, pid_... function dump_logcat (line 790) | static void dump_logcat(Tombstone* tombstone, pid_t pid) { function dump_tags_around_fault_addr (line 795) | static void dump_tags_around_fault_addr(Signal* signal, const Tombstone&... function engrave_tombstone_proto (line 838) | void engrave_tombstone_proto(Tombstone* tombstone, unwindstack::AndroidU... FILE: debuggerd/libdebuggerd/tombstone_proto_to_text.cpp function describe_end (line 55) | static std::string describe_end(long value, std::string& desc) { function pointer_width (line 79) | static int pointer_width(const Tombstone& tombstone) { function untag_address (line 96) | static uint64_t untag_address(Architecture arch, uint64_t addr) { function print_thread_header (line 103) | static void print_thread_header(CallbackType callback, const Tombstone& ... function print_register_row (line 125) | static void print_register_row(CallbackType callback, int word_size, function print_thread_registers (line 135) | static void print_thread_registers(CallbackType callback, const Tombston... function print_backtrace (line 190) | static void print_backtrace(CallbackType callback, SymbolizeCallbackType... function print_thread_backtrace (line 221) | static void print_thread_backtrace(CallbackType callback, SymbolizeCallb... function print_thread_memory_dump (line 234) | static void print_thread_memory_dump(CallbackType callback, const Tombst... function print_thread (line 284) | static void print_thread(CallbackType callback, SymbolizeCallbackType sy... function print_tag_dump (line 292) | static void print_tag_dump(CallbackType callback, const Tombstone& tombs... function print_memory_maps (line 347) | static void print_memory_maps(CallbackType callback, const Tombstone& to... function print_main_thread (line 423) | static void print_main_thread(CallbackType callback, SymbolizeCallbackTy... function print_logs (line 542) | void print_logs(CallbackType callback, const Tombstone& tombstone, int t... function print_guest_thread (line 566) | static void print_guest_thread(CallbackType callback, SymbolizeCallbackT... function tombstone_proto_to_text (line 581) | bool tombstone_proto_to_text(const Tombstone& tombstone, CallbackType ca... FILE: debuggerd/libdebuggerd/utility.cpp function is_allowed_in_logcat (line 50) | bool is_allowed_in_logcat(enum logtype ltype) { function should_write_to_kmsg (line 54) | static bool should_write_to_kmsg() { function _LOG (line 67) | __attribute__((__weak__, visibility("default"))) function _VLOG (line 75) | __attribute__((__weak__, visibility("default"))) function dump_memory (line 129) | ssize_t dump_memory(void* out, size_t len, uint8_t* tags, size_t tags_le... function dump_memory (line 204) | void dump_memory(log_t* log, unwindstack::Memory* memory, uint64_t addr,... function drop_capabilities (line 249) | void drop_capabilities() { function signal_has_si_addr (line 267) | bool signal_has_si_addr(const siginfo_t* si) { function signal_has_sender (line 286) | bool signal_has_sender(const siginfo_t* si, pid_t caller_pid) { function get_signal_sender (line 290) | void get_signal_sender(char* buf, size_t n, const siginfo_t* si) { function log_backtrace (line 449) | void log_backtrace(log_t* log, unwindstack::AndroidUnwinder* unwinder, FILE: debuggerd/libdebuggerd/utility_host.cpp function describe_end (line 77) | static std::string describe_end(long value, std::string& desc) { function describe_tagged_addr_ctrl (line 84) | std::string describe_tagged_addr_ctrl(long value) { function describe_pac_enabled_keys (line 96) | std::string describe_pac_enabled_keys(long value) { function oct_encode (line 106) | static std::string oct_encode(const std::string& data, bool (*should_enc... function oct_encode_non_ascii_printable (line 127) | std::string oct_encode_non_ascii_printable(const std::string& data) { function oct_encode_non_printable (line 131) | std::string oct_encode_non_printable(const std::string& data) { FILE: debuggerd/pbtombstone.cpp function usage (line 34) | [[noreturn]] void usage(bool error) { function main (line 43) | int main(int argc, char* argv[]) { FILE: debuggerd/protocol.h type class (line 32) | enum class type DumpRequest (line 47) | struct DumpRequest { type TombstonedCrashPacket (line 53) | struct TombstonedCrashPacket { type InterceptRequest (line 62) | struct InterceptRequest { type class (line 67) | enum class type InterceptResponse (line 78) | struct InterceptResponse { type CrashInfoHeader (line 84) | struct __attribute__((__packed__)) CrashInfoHeader { type CrashInfoDataStatic (line 88) | struct __attribute__((__packed__)) CrashInfoDataStatic { function CrashInfoDataStatic (line 94) | struct __attribute__((__packed__)) CrashInfoDataDynamic : public CrashIn... type CrashInfo (line 107) | struct __attribute__((__packed__)) CrashInfo { FILE: debuggerd/rust/tombstoned_client/src/lib.rs type Error (line 25) | pub struct Error; type TombstonedConnection (line 28) | pub struct TombstonedConnection { method from_raw_fds (line 45) | unsafe fn from_raw_fds( method connect (line 69) | pub fn connect(pid: i32, dump_type: DebuggerdDumpType) -> Result Result<(), Error> { type DebuggerdDumpType (line 101) | enum DebuggerdDumpType { function tombstoned_connect_files (line 124) | fn tombstoned_connect_files( function tombstoned_notify_completion (line 132) | fn tombstoned_notify_completion(tombstoned_socket: i32) -> bool; function test (line 144) | fn test() { FILE: debuggerd/rust/tombstoned_client/wrapper.cpp function tombstoned_connect_files (line 25) | bool tombstoned_connect_files(pid_t pid, int& tombstoned_socket, int& te... FILE: debuggerd/test_permissive_mte/mte_crash.cpp function main (line 20) | int main(int, char**) { FILE: debuggerd/test_permissive_mte/src/com/android/tests/debuggerd/PermissiveMteTest.java class PermissiveMteTest (line 35) | @RunWith(DeviceJUnit4ClassRunner.class) method setUp (line 39) | @Before method parseTombstone (line 47) | Tombstone parseTombstone(String tombstonePath) throws Exception { method tearDown (line 59) | @After method testCrash (line 77) | @Test method testReenableCrash (line 101) | @Test method testCrashProperty (line 128) | @Test FILE: debuggerd/tombstone_handler.cpp function is_microdroid (line 36) | static bool is_microdroid() { function connect_tombstone_server_microdroid (line 40) | static bool connect_tombstone_server_microdroid(unique_fd* text_output_fd, function notify_completion_microdroid (line 96) | static bool notify_completion_microdroid(int vsock_out, int vsock_proto) { function connect_tombstone_server (line 100) | bool connect_tombstone_server(pid_t pid, unique_fd* tombstoned_socket, u... function notify_completion (line 108) | bool notify_completion(int tombstoned_socket, int vsock_out, int vsock_p... FILE: debuggerd/tombstone_symbolize.cpp function symbolize_backtrace_frame (line 151) | void symbolize_backtrace_frame(const BacktraceFrame& frame, Symbolizer& ... FILE: debuggerd/tombstone_symbolize.h function class (line 26) | class Symbolizer { FILE: debuggerd/tombstoned/intercept_manager.cpp function intercept_close_cb (line 41) | static void intercept_close_cb(evutil_socket_t sockfd, short event, void... function intercept_request_cb (line 83) | static void intercept_request_cb(evutil_socket_t sockfd, short ev, void*... function intercept_accept_cb (line 155) | static void intercept_accept_cb(evconnlistener* listener, evutil_socket_... function DebuggerdDumpType (line 182) | static DebuggerdDumpType canonical_dump_type(const DebuggerdDumpType dum... function Intercept (line 191) | Intercept* InterceptManager::Get(const pid_t pid, const DebuggerdDumpTyp... FILE: debuggerd/tombstoned/intercept_manager.h type InterceptManager (line 30) | struct InterceptManager type InterceptRequest (line 31) | struct InterceptRequest type InterceptResponse (line 32) | struct InterceptResponse type InterceptManager (line 47) | struct InterceptManager { FILE: debuggerd/tombstoned/tombstoned.cpp type CrashStatus (line 57) | enum CrashStatus { type CrashArtifact (line 62) | struct CrashArtifact { method CrashArtifact (line 65) | static CrashArtifact devnull() { type CrashArtifactPaths (line 72) | struct CrashArtifactPaths { type CrashOutput (line 77) | struct CrashOutput { type Crash (line 85) | struct Crash { class CrashQueue (line 96) | class CrashQueue { method CrashQueue (line 98) | CrashQueue(const std::string& dir_path, const std::string& file_name_p... method CrashQueue (line 120) | static CrashQueue* for_crash(const Crash* crash) { method CrashQueue (line 124) | static CrashQueue* for_crash(const std::unique_ptr& crash) { method CrashQueue (line 128) | static CrashQueue* for_tombstones() { method CrashQueue (line 136) | static CrashQueue* for_anrs() { method CrashArtifact (line 144) | CrashArtifact create_temporary_file() const { method get_output (line 163) | std::optional get_output(DebuggerdDumpType dump_type) { method borrowed_fd (line 193) | borrowed_fd dir_fd() { return dir_fd_; } method CrashArtifactPaths (line 195) | CrashArtifactPaths get_next_artifact_paths() { method maybe_enqueue_crash (line 208) | bool maybe_enqueue_crash(std::unique_ptr&& crash) { method maybe_dequeue_crashes (line 217) | void maybe_dequeue_crashes(void (*handler)(std::unique_ptr cras... method on_crash_started (line 225) | void on_crash_started() { ++num_concurrent_dumps_; } method on_crash_completed (line 227) | void on_crash_completed() { --num_concurrent_dumps_; } method find_oldest_artifact (line 230) | void find_oldest_artifact() { function perform_request (line 285) | static void perform_request(std::unique_ptr crash) { function crash_accept_cb (line 335) | static void crash_accept_cb(evconnlistener* listener, evutil_socket_t so... function crash_request_cb (line 349) | static void crash_request_cb(evutil_socket_t sockfd, short ev, void* arg) { function rename_tombstone_fd (line 410) | static bool rename_tombstone_fd(borrowed_fd fd, borrowed_fd dirfd, const... function crash_completed (line 431) | static void crash_completed(borrowed_fd sockfd, std::unique_ptr c... function crash_completed_cb (line 478) | static void crash_completed_cb(evutil_socket_t sockfd, short ev, void* a... function main (line 492) | int main(int, char* []) { FILE: debuggerd/tombstoned/tombstoned_client.cpp function tombstoned_connect (line 35) | bool tombstoned_connect(pid_t pid, unique_fd* tombstoned_socket, unique_... function tombstoned_connect (line 40) | bool tombstoned_connect(pid_t pid, unique_fd* tombstoned_socket, unique_... function tombstoned_notify_completion (line 100) | bool tombstoned_notify_completion(int tombstoned_socket) { FILE: debuggerd/util.cpp function get_command_line (line 30) | std::vector get_command_line(pid_t pid) { function get_process_name (line 50) | std::string get_process_name(pid_t pid) { function get_thread_name (line 57) | std::string get_thread_name(pid_t tid) { function get_timestamp (line 63) | std::string get_timestamp() { function iterate_tids (line 79) | bool iterate_tids(pid_t pid, std::function callback) { FILE: diagnose_usb/diagnose_usb.cpp function GetUdevProblem (line 37) | static std::string GetUdevProblem() { function UsbNoPermissionsShortHelpText (line 83) | std::string UsbNoPermissionsShortHelpText() { function UsbNoPermissionsLongHelpText (line 96) | std::string UsbNoPermissionsLongHelpText() { FILE: fastboot/bootimg_utils.cpp function bootimg_set_cmdline_v3_and_above (line 37) | static void bootimg_set_cmdline_v3_and_above(boot_img_hdr_v3* h, const s... function bootimg_set_cmdline (line 42) | void bootimg_set_cmdline(boot_img_hdr_v2* h, const std::string& cmdline) { function mkbootimg_v3_and_above (line 50) | static void mkbootimg_v3_and_above(const std::vector& kernel, function mkbootimg (line 79) | void mkbootimg(const std::vector& kernel, const std::vector&... FILE: fastboot/device/commands.cpp type VariableHandlers (line 65) | struct VariableHandlers { function IsSnapshotUpdateInProgress (line 72) | static bool IsSnapshotUpdateInProgress(FastbootDevice* device) { function IsProtectedPartitionDuringMerge (line 81) | static bool IsProtectedPartitionDuringMerge(FastbootDevice* device, cons... function GetAllVars (line 90) | static void GetAllVars(FastbootDevice* device, const std::string& name, function GetVarAll (line 154) | static bool GetVarAll(FastbootDevice* device) { function PostWipeData (line 161) | static void PostWipeData() { function GetVarHandler (line 174) | bool GetVarHandler(FastbootDevice* device, const std::vector... function OemCmdHandler (line 262) | bool OemCmdHandler(FastbootDevice* device, const std::vector() const { return builder_.get(); } function CreatePartitionHandler (line 489) | bool CreatePartitionHandler(FastbootDevice* device, const std::vector... function UpdateSuperHandler (line 632) | bool UpdateSuperHandler(FastbootDevice* device, const std::vector& ... function SnapshotUpdateHandler (line 693) | bool SnapshotUpdateHandler(FastbootDevice* device, const std::vector... FILE: fastboot/device/commands.h function FastbootResult (line 27) | enum class FastbootResult { FILE: fastboot/device/fastboot_device.cpp function get_health_service (line 48) | std::shared_ptr get_health_ser... function get_fastboot_service (line 68) | std::shared_ptr get_fastbo... function BootControlClient (line 153) | BootControlClient* FastbootDevice::boot1_1() const { FILE: fastboot/device/fastboot_device.h function class (line 33) | class FastbootDevice { FILE: fastboot/device/flashing.cpp function WipeOverlayfsForPartition (line 52) | void WipeOverlayfsForPartition(FastbootDevice* device, const std::string... function FlashRawDataChunk (line 79) | int FlashRawDataChunk(PartitionHandle* handle, const char* data, size_t ... function FlashRawData (line 113) | int FlashRawData(PartitionHandle* handle, const std::vector& downl... function WriteCallback (line 121) | int WriteCallback(void* priv, const void* data, size_t len) { function FlashSparseData (line 134) | int FlashSparseData(PartitionHandle* handle, std::vector& download... function FlashBlockDevice (line 145) | int FlashBlockDevice(PartitionHandle* handle, std::vector& downloa... function CopyAVBFooter (line 155) | static void CopyAVBFooter(std::vector* data, const uint64_t block_... function Flash (line 176) | int Flash(FastbootDevice* device, const std::string& partition_name) { function RemoveScratchPartition (line 206) | static void RemoveScratchPartition() { function UpdateSuper (line 211) | bool UpdateSuper(FastbootDevice* device, const std::string& super_name, ... FILE: fastboot/device/main.cpp function LogSparseVerboseMessage (line 25) | static void LogSparseVerboseMessage(const char* fmt, ...) { function main (line 36) | int main(int /*argc*/, char* argv[]) { FILE: fastboot/device/tcp_client.cpp function ExtractMessageLength (line 33) | static uint64_t ExtractMessageLength(const void* buffer) { function EncodeMessageLength (line 42) | static void EncodeMessageLength(uint64_t length, void* buffer) { FILE: fastboot/device/tcp_client.h function class (line 23) | class ClientTcpTransport : public Transport { FILE: fastboot/device/usb.cpp function aio_block_init (line 57) | static void aio_block_init(aio_block* aiob, unsigned num_bufs) { function getMaxPacketSize (line 71) | int getMaxPacketSize(int ffs_fd) { function usb_ffs_write (line 81) | static int usb_ffs_write(usb_handle* h, const void* data, int len) { function usb_ffs_read (line 101) | static int usb_ffs_read(usb_handle* h, void* data, int len, bool allow_p... function usb_ffs_do_aio (line 132) | static int usb_ffs_do_aio(usb_handle* h, const void* data, int len, bool... function usb_ffs_aio_read (line 188) | static int usb_ffs_aio_read(usb_handle* h, void* data, int len, bool /* ... function usb_ffs_aio_write (line 192) | static int usb_ffs_aio_write(usb_handle* h, const void* data, int len) { function usb_ffs_close (line 196) | static void usb_ffs_close(usb_handle* h) { function DoesKernelSupportIouring (line 212) | bool DoesKernelSupportIouring() { function create_usb_handle (line 226) | std::unique_ptr create_usb_handle(unsigned num_bufs, unsigne... FILE: fastboot/device/usb.h type aio_block (line 31) | struct aio_block { function AIOType (line 42) | enum class AIOType { SYNC_IO, AIO, IO_URING }; FILE: fastboot/device/usb_client.cpp type FuncDesc (line 42) | struct FuncDesc { type usb_interface_descriptor (line 43) | struct usb_interface_descriptor type usb_endpoint_descriptor_no_audio (line 44) | struct usb_endpoint_descriptor_no_audio type usb_endpoint_descriptor_no_audio (line 45) | struct usb_endpoint_descriptor_no_audio type SsFuncDesc (line 48) | struct SsFuncDesc { type usb_interface_descriptor (line 49) | struct usb_interface_descriptor type usb_endpoint_descriptor_no_audio (line 50) | struct usb_endpoint_descriptor_no_audio type usb_ss_ep_comp_descriptor (line 51) | struct usb_ss_ep_comp_descriptor type usb_endpoint_descriptor_no_audio (line 52) | struct usb_endpoint_descriptor_no_audio type usb_ss_ep_comp_descriptor (line 53) | struct usb_ss_ep_comp_descriptor type DescV2 (line 56) | struct DescV2 { type usb_functionfs_descs_head_v2 (line 57) | struct usb_functionfs_descs_head_v2 type FuncDesc (line 62) | struct FuncDesc type SsFuncDesc (line 63) | struct SsFuncDesc type usb_interface_descriptor (line 66) | struct usb_interface_descriptor type FuncDesc (line 77) | struct FuncDesc type usb_interface_descriptor (line 43) | struct usb_interface_descriptor type usb_endpoint_descriptor_no_audio (line 44) | struct usb_endpoint_descriptor_no_audio type usb_endpoint_descriptor_no_audio (line 45) | struct usb_endpoint_descriptor_no_audio type FuncDesc (line 97) | struct FuncDesc type usb_interface_descriptor (line 43) | struct usb_interface_descriptor type usb_endpoint_descriptor_no_audio (line 44) | struct usb_endpoint_descriptor_no_audio type usb_endpoint_descriptor_no_audio (line 45) | struct usb_endpoint_descriptor_no_audio type SsFuncDesc (line 117) | struct SsFuncDesc type usb_interface_descriptor (line 49) | struct usb_interface_descriptor type usb_endpoint_descriptor_no_audio (line 50) | struct usb_endpoint_descriptor_no_audio type usb_ss_ep_comp_descriptor (line 51) | struct usb_ss_ep_comp_descriptor type usb_endpoint_descriptor_no_audio (line 52) | struct usb_endpoint_descriptor_no_audio type usb_ss_ep_comp_descriptor (line 53) | struct usb_ss_ep_comp_descriptor type usb_functionfs_strings_head (line 152) | struct usb_functionfs_strings_head type DescV2 (line 172) | struct DescV2 type usb_functionfs_descs_head_v2 (line 57) | struct usb_functionfs_descs_head_v2 type FuncDesc (line 62) | struct FuncDesc type SsFuncDesc (line 63) | struct SsFuncDesc function CloseFunctionFs (line 189) | static void CloseFunctionFs(usb_handle* h) { function InitFunctionFs (line 195) | static bool InitFunctionFs(usb_handle* h) { FILE: fastboot/device/usb_client.h function class (line 24) | class ClientUsbTransport : public Transport { FILE: fastboot/device/usb_iouring.cpp function prep_async_read (line 22) | static int prep_async_read(struct io_uring* ring, int fd, void* data, si... function prep_async_write (line 36) | static int prep_async_write(struct io_uring* ring, int fd, const void* d... function prep_async_io (line 52) | int prep_async_io(struct io_uring* ring, int fd, T* data, size_t len, in... function T (line 61) | static constexpr T DivRoundup(T x, T y) { function usb_ffs_do_aio (line 68) | static int usb_ffs_do_aio(usb_handle* h, T* const data, const int len) { function usb_ffs_io_uring_read (line 118) | static int usb_ffs_io_uring_read(usb_handle* h, void* data, int len, boo... function usb_ffs_io_uring_write (line 122) | static int usb_ffs_io_uring_write(usb_handle* h, const void* data, int l... function exit_io_uring_ffs (line 126) | void exit_io_uring_ffs(usb_handle* h) { function init_io_uring_ffs (line 130) | bool init_io_uring_ffs(usb_handle* h, size_t queue_depth) { FILE: fastboot/device/utility.cpp function OpenPhysicalPartition (line 42) | bool OpenPhysicalPartition(const std::string& name, PartitionHandle* han... function OpenLogicalPartition (line 51) | bool OpenLogicalPartition(FastbootDevice* device, const std::string& par... function OpenPartition (line 79) | bool OpenPartition(FastbootDevice* device, const std::string& name, Part... function FindPhysicalPartition (line 95) | std::optional FindPhysicalPartition(const std::string& name) { function LpMetadataPartition (line 107) | static const LpMetadataPartition* FindLogicalPartition(const LpMetadata&... function LogicalPartitionExists (line 117) | bool LogicalPartitionExists(FastbootDevice* device, const std::string& n... function GetSlotNumber (line 139) | bool GetSlotNumber(const std::string& slot, int32_t* number) { function ListPartitions (line 150) | std::vector ListPartitions(FastbootDevice* device) { function GetDeviceLockStatus (line 197) | bool GetDeviceLockStatus() { function UpdateAllPartitionMetadata (line 201) | bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::strin... function GetSuperSlotSuffix (line 216) | std::string GetSuperSlotSuffix(FastbootDevice* device, const std::string... FILE: fastboot/device/utility.h function class (line 31) | class PartitionHandle { function class (line 96) | class AutoMountMetadata { FILE: fastboot/device/variables.cpp function GetVersion (line 50) | bool GetVersion(FastbootDevice* /* device */, const std::vector& ... function GetBatteryVoltageHelper (line 118) | bool GetBatteryVoltageHelper(FastbootDevice* device, int32_t* battery_vo... function GetBatterySoCHelper (line 133) | bool GetBatterySoCHelper(FastbootDevice* device, int32_t* battery_soc) { function GetBatterySoCOk (line 148) | bool GetBatterySoCOk(FastbootDevice* device, const std::vector... function GetSlotSuccessful (line 232) | bool GetSlotSuccessful(FastbootDevice* device, const std::vector& ... function GetPartitionSize (line 312) | bool GetPartitionSize(FastbootDevice* device, const std::vector> GetAllPartitionArgsWithSlot(Fastbo... function GetAllPartitionArgsNoSlot (line 423) | std::vector> GetAllPartitionArgsNoSlot(Fastboot... function GetHardwareRevision (line 448) | bool GetHardwareRevision(FastbootDevice* /* device */, const std::vector... function GetSuperPartitionName (line 454) | bool GetSuperPartitionName(FastbootDevice* device, const std::vector* out) { function match_fastboot_with_serial (line 243) | static int match_fastboot_with_serial(usb_ifc_info* info, const char* lo... function ifc_match_func (line 256) | static ifc_match_func match_fastboot(const char* local_serial = serial) { function PrintDevice (line 263) | static void PrintDevice(const char* local_serial, const char* status = n... function list_devices_callback (line 288) | static int list_devices_callback(usb_ifc_info* info) { function ParseNetworkSerial (line 308) | Result ParseNetworkSerial(const std::strin... function open_device (line 348) | static std::unique_ptr open_device(const char* local_serial, ... function NetworkDeviceConnected (line 390) | static std::unique_ptr NetworkDeviceConnected(bool print = fa... function open_device (line 427) | static std::unique_ptr open_device() { function Connect (line 455) | static int Connect(int argc, char* argv[]) { function Disconnect (line 479) | static int Disconnect(const char* local_serial) { function Disconnect (line 493) | static int Disconnect() { function Disconnect (line 503) | static int Disconnect(int argc, char* argv[]) { function list_devices (line 521) | static void list_devices() { function syntax_error (line 529) | void syntax_error(const char* fmt, ...) { function show_help (line 541) | static int show_help() { function LoadBootableImage (line 657) | static std::vector LoadBootableImage(const std::string& kernel, co... function UnzipToMemory (line 716) | static bool UnzipToMemory(ZipArchiveHandle zip, const std::string& entry... function FILE (line 747) | static FILE* win32_tmpfile() { function make_temporary_fd (line 764) | static int make_temporary_fd(const char* /*what*/) { function make_temporary_template (line 771) | static std::string make_temporary_template() { function make_temporary_fd (line 777) | static int make_temporary_fd(const char* what) { function unique_fd (line 790) | static unique_fd UnzipToFile(ZipArchiveHandle zip, const char* entry_nam... function CheckRequirement (line 817) | static bool CheckRequirement(const std::string& cur_product, const std::... function ParseRequirementLine (line 870) | bool ParseRequirementLine(const std::string& line, std::string* name, st... function HandlePartitionExists (line 911) | static void HandlePartitionExists(const std::vector& option... function CheckRequirements (line 931) | static void CheckRequirements(const std::string& data, bool force_flash) { function DisplayVarOrError (line 967) | static void DisplayVarOrError(const std::string& label, const std::strin... function DumpInfo (line 978) | static void DumpInfo() { function resparse_file (line 986) | std::vector resparse_file(sparse_file* s, int64_t max_size) { function load_sparse_files (line 1005) | static std::vector load_sparse_files(int fd, int64_t max_size) { function get_uint_var (line 1012) | static uint64_t get_uint_var(const char* var_name, fastboot::IFastBootDr... function get_sparse_limit (line 1031) | int64_t get_sparse_limit(int64_t size, const FlashingPlan* fp) { function load_buf_fd (line 1055) | static bool load_buf_fd(unique_fd fd, struct fastboot_buffer* buf, const... function load_buf (line 1091) | static bool load_buf(const char* fname, struct fastboot_buffer* buf, con... function rewrite_vbmeta_buffer (line 1110) | static void rewrite_vbmeta_buffer(struct fastboot_buffer* buf, bool vbme... function has_vbmeta_partition (line 1162) | static bool has_vbmeta_partition() { function is_vbmeta_partition (line 1169) | static bool is_vbmeta_partition(const std::string& partition) { function is_logical (line 1177) | bool is_logical(const std::string& partition) { function get_partition_size (line 1182) | static uint64_t get_partition_size(const std::string& partition) { function copy_avb_footer (line 1202) | static void copy_avb_footer(const ImageSource* source, const std::string... function flash_partition_files (line 1260) | void flash_partition_files(const std::string& partition, const std::vect... function flash_buf (line 1271) | static void flash_buf(const ImageSource* source, const std::string& part... function get_current_slot (line 1300) | std::string get_current_slot() { function get_slot_count (line 1307) | static int get_slot_count(fastboot::IFastBootDriver* fb) { function supports_AB (line 1317) | bool supports_AB(fastboot::IFastBootDriver* fb) { function get_other_slot (line 1322) | static std::string get_other_slot(const std::string& current_slot, int c... function get_other_slot (line 1329) | static std::string get_other_slot(const std::string& current_slot) { function get_other_slot (line 1333) | static std::string get_other_slot(int count) { function get_other_slot (line 1337) | static std::string get_other_slot() { function verify_slot (line 1341) | static std::string verify_slot(const std::string& slot_name, bool allow_... function verify_slot (line 1377) | static std::string verify_slot(const std::string& slot) { function do_for_partition (line 1381) | static void do_for_partition(const std::string& part, const std::string&... function do_for_partitions (line 1417) | void do_for_partitions(const std::string& part, const std::string& slot, function fetch_partition (line 1442) | static uint64_t fetch_partition(const std::string& partition, borrowed_f... function do_fetch (line 1465) | static void do_fetch(const std::string& partition, const std::string& sl... function repack_ramdisk (line 1476) | static std::string repack_ramdisk(const char* pname, struct fastboot_buf... function do_flash (line 1524) | void do_flash(const char* pname, const char* fname, const bool apply_vbm... function set_active (line 1557) | static void set_active(const std::string& slot_override) { function is_userspace_fastboot (line 1570) | bool is_userspace_fastboot() { function reboot_to_userspace_fastboot (line 1575) | void reboot_to_userspace_fastboot() { function CancelSnapshotIfNeeded (line 1598) | static void CancelSnapshotIfNeeded() { function GetPartitionName (line 1606) | std::string GetPartitionName(const ImageEntry& entry, const std::string&... function ParseFlashCommand (line 1620) | std::unique_ptr ParseFlashCommand(const FlashingPlan* fp, function ParseRebootCommand (line 1652) | std::unique_ptr ParseRebootCommand(const FlashingPlan* fp, function ParseWipeCommand (line 1663) | std::unique_ptr ParseWipeCommand(const FlashingPlan* fp, function ParseFastbootInfoLine (line 1673) | std::unique_ptr ParseFastbootInfoLine(const FlashingPlan* fp, function AddResizeTasks (line 1696) | bool AddResizeTasks(const FlashingPlan* fp, std::vector& command) { function CheckFastbootInfoRequirements (line 1737) | bool CheckFastbootInfoRequirements(const std::vector& command, function ParseFastbootInfo (line 1767) | std::vector> ParseFastbootInfo(const FlashingPlan*... function unique_fd (line 1960) | unique_fd ZipImageSource::OpenFile(const std::string& name) const { function do_update (line 1964) | static void do_update(const char* filename, FlashingPlan* fp) { function unique_fd (line 1985) | unique_fd LocalImageSource::OpenFile(const std::string& name) const { function do_flashall (line 1990) | static void do_flashall(FlashingPlan* fp) { function next_arg (line 1996) | static std::string next_arg(std::vector* args) { function do_oem_command (line 2003) | static void do_oem_command(const std::string& cmd, std::vector* response) { function RetCode (line 111) | RetCode FastBootDriver::Reboot(std::string* response, std::vector& buf, std::st... function RetCode (line 250) | RetCode FastBootDriver::Download(const std::string& partition, struct ... function RetCode (line 260) | RetCode FastBootDriver::Download(sparse_file* s, bool use_crc, std::st... function RetCode (line 300) | RetCode FastBootDriver::Upload(const std::string& outfile, std::string... function RetCode (line 311) | RetCode FastBootDriver::RunAndReadBuffer( function RetCode (line 345) | RetCode FastBootDriver::UploadInner(const std::string& outfile, std::s... function RetCode (line 366) | RetCode FastBootDriver::FetchToFd(const std::string& partition, androi... function RetCode (line 423) | RetCode FastBootDriver::WaitForDisconnect() { function RetCode (line 428) | RetCode FastBootDriver::RawCommand(const std::string& cmd, const std::... function RetCode (line 437) | RetCode FastBootDriver::RawCommand(const std::string& cmd, std::string... function RetCode (line 454) | RetCode FastBootDriver::DownloadCommand(uint32_t size, std::string* re... function RetCode (line 464) | RetCode FastBootDriver::HandleResponse(std::string* response, std::vec... function RetCode (line 532) | RetCode FastBootDriver::SendBuffer(android::base::borrowed_fd fd, size... function RetCode (line 558) | RetCode FastBootDriver::SendBuffer(const std::vector& buf) { function RetCode (line 563) | RetCode FastBootDriver::SendBuffer(const void* buf, size_t size) { function RetCode (line 583) | RetCode FastBootDriver::ReadBuffer(void* buf, size_t size) { FILE: fastboot/fastboot_driver.h function namespace (line 47) | namespace fastboot { function class (line 56) | class FastBootDriver : public IFastBootDriver { FILE: fastboot/fastboot_driver_interface.h function namespace (line 24) | namespace fastboot { FILE: fastboot/fastboot_driver_mock.h function namespace (line 21) | namespace fastboot { FILE: fastboot/fastboot_driver_test.cpp class DriverTest (line 28) | class DriverTest : public ::testing::Test { function TEST_F (line 33) | TEST_F(DriverTest, GetVar) { function TEST_F (line 48) | TEST_F(DriverTest, InfoMessage) { function TEST_F (line 65) | TEST_F(DriverTest, TextMessage) { FILE: fastboot/fastboot_test.cpp function TEST (line 22) | TEST(FastBoot, ParseOsPatchLevel) { function TEST (line 37) | TEST(FastBoot, ParseOsVersion) { function ParseRequirementLineTest (line 67) | static void ParseRequirementLineTest(const std::string& line, const std:... function TEST (line 83) | TEST(FastBoot, ParseRequirementLineSuccesses) { function ParseRequirementLineTestMalformed (line 174) | static void ParseRequirementLineTestMalformed(const std::string& line) { function TEST (line 183) | TEST(FastBoot, ParseRequirementLineMalformed) { function ParseNetworkSerialTest (line 206) | static void ParseNetworkSerialTest(const std::string& description, const... function ParseNetworkSerialNegativeTest (line 220) | static void ParseNetworkSerialNegativeTest(const std::string& description, function TEST (line 229) | TEST(FastBoot, ParseNetworkSerial) { function main (line 254) | int main(int argc, char* argv[]) { FILE: fastboot/filesystem.cpp function LockFile (line 37) | int LockFile(int fd) { function GetHomeDirPath (line 53) | std::string GetHomeDirPath() { function FileExists (line 86) | bool FileExists(const std::string& path) { function EnsureDirectoryExists (line 90) | bool EnsureDirectoryExists(const std::string& directory_path) { FILE: fastboot/filesystem.h function class (line 37) | class FileLock { FILE: fastboot/fs.cpp function exec_cmd (line 31) | static int exec_cmd(const char* path, const char** argv, const char** en... function exec_cmd (line 86) | static int exec_cmd(const char* path, const char** argv, const char** en... function generate_ext4_image (line 114) | static int generate_ext4_image(const char* fileName, long long partSize,... function generate_f2fs_image (line 181) | static int generate_f2fs_image(const char* fileName, long long partSize,... type fs_generator (line 222) | struct fs_generator { type fs_generator (line 234) | struct fs_generator function fs_generator_generate (line 243) | int fs_generator_generate(const struct fs_generator* gen, const char* fi... FILE: fastboot/fs.h type fs_generator (line 6) | struct fs_generator type FS_OPTION (line 8) | enum FS_OPTION { type fs_generator (line 14) | struct fs_generator type fs_generator (line 15) | struct fs_generator FILE: fastboot/fuzzer/fastboot_fuzzer.cpp class FastbootFuzzer (line 53) | class FastbootFuzzer { function string (line 164) | static string PacketValue(uint16_t value) { function string (line 168) | static string ErrorPacket(uint16_t sequence, const string& message = "", function string (line 173) | static string InitPacket(uint16_t sequence, uint16_t version, uint16_t m... function string (line 178) | static string QueryPacket(uint16_t sequence, uint16_t new_sequence) { function string (line 183) | static string QueryPacket(uint16_t sequence) { function string (line 187) | static string FastbootPacket(uint16_t sequence, const string& data = "", function LLVMFuzzerTestOneInput (line 274) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: fastboot/fuzzer/socket_mock_fuzz.h function class (line 28) | class SocketMockFuzz : public Socket { FILE: fastboot/fuzzy_fastboot/example/checksum_parser.py function main (line 13) | def main(): FILE: fastboot/fuzzy_fastboot/example/validator.py function eprint (line 7) | def eprint(msg): function main (line 15) | def main(): FILE: fastboot/fuzzy_fastboot/extensions.cpp type fastboot (line 44) | namespace fastboot { type extension (line 45) | namespace extension { function MakeRegex (line 51) | std::regex MakeRegex(const std::string& regex_str, int line_num, function XMLAssert (line 70) | bool XMLAssert(bool cond, const tinyxml2::XMLElement* elem, const ch... function XMLAttribute (line 77) | const std::string XMLAttribute(const tinyxml2::XMLElement* elem, con... function XMLYesNo (line 86) | bool XMLYesNo(const tinyxml2::XMLElement* elem, const std::string ke... function ExtractPartitions (line 100) | bool ExtractPartitions(tinyxml2::XMLConstHandle handle, Configuratio... function ExtractPacked (line 132) | bool ExtractPacked(tinyxml2::XMLConstHandle handle, Configuration* c... function ExtractGetVars (line 195) | bool ExtractGetVars(tinyxml2::XMLConstHandle handle, Configuration* ... function ExtractOem (line 212) | bool ExtractOem(tinyxml2::XMLConstHandle handle, Configuration* conf... function ExtractChecksum (line 262) | bool ExtractChecksum(tinyxml2::XMLConstHandle handle, Configuration*... function ParseXml (line 276) | bool ParseXml(const std::string& file, Configuration* config) { FILE: fastboot/fuzzy_fastboot/extensions.h function namespace (line 36) | namespace fastboot { FILE: fastboot/fuzzy_fastboot/fixtures.cpp type fastboot (line 62) | namespace fastboot { function RetCode (line 105) | RetCode FastBootTest::DownloadCommand(uint32_t size, std::string* resp... function RetCode (line 110) | RetCode FastBootTest::SendBuffer(const std::vector& buf) { function RetCode (line 114) | RetCode FastBootTest::HandleResponse(std::string* response, std::vecto... class ModeTest (line 287) | class ModeTest class ModeTest (line 288) | class ModeTest class ExtensionsPartition (line 341) | class ExtensionsPartition class ExtensionsPartition (line 342) | class ExtensionsPartition FILE: fastboot/fuzzy_fastboot/fixtures.h function namespace (line 36) | namespace fastboot { FILE: fastboot/fuzzy_fastboot/main.cpp type fastboot (line 63) | namespace fastboot { function PartitionHash (line 102) | bool PartitionHash(FastBootDriver* fb, const std::string& part, std::s... function SparseToBuf (line 145) | bool SparseToBuf(sparse_file* sf, std::vector* out, bool with_cr... function TEST (line 167) | TEST(USBFunctionality, USBConnect) { function TEST_F (line 184) | TEST_F(LogicalPartitionCompliance, SuperPartition) { function TEST_F (line 203) | TEST_F(LogicalPartitionCompliance, GetVarIsLogical) { function TEST_F (line 231) | TEST_F(LogicalPartitionCompliance, FastbootRebootTest) { function TEST_F (line 241) | TEST_F(LogicalPartitionCompliance, CreateResizeDeleteLP) { function TEST_F (line 274) | TEST_F(Conformance, GetVar) { function TEST_F (line 283) | TEST_F(Conformance, GetVarVersionBootloader) { function TEST_F (line 293) | TEST_F(Conformance, GetVarVersionBaseband) { function TEST_F (line 302) | TEST_F(Conformance, GetVarSerialNo) { function TEST_F (line 311) | TEST_F(Conformance, GetVarSecure) { function TEST_F (line 317) | TEST_F(Conformance, GetVarOffModeCharge) { function TEST_F (line 323) | TEST_F(Conformance, GetVarVariant) { function TEST_F (line 330) | TEST_F(Conformance, GetVarRevision) { function TEST_F (line 339) | TEST_F(Conformance, GetVarBattVoltage) { function TEST_F (line 349) | TEST_F(Conformance, GetVarBattVoltageOk) { function AssertHexUint32 (line 355) | void AssertHexUint32(const std::string& name, const std::string& var) { function TEST_F (line 371) | TEST_F(Conformance, GetVarDownloadSize) { function TEST_F (line 378) | TEST_F(Conformance, GetVarFetchSize) { function TEST_F (line 386) | TEST_F(Conformance, GetVarAll) { function TEST_F (line 396) | TEST_F(Conformance, UnlockAbility) { function TEST_F (line 419) | TEST_F(Conformance, PartitionInfo) { function TEST_F (line 447) | TEST_F(Conformance, Slots) { function TEST_F (line 505) | TEST_F(Conformance, SetActive) { function TEST_F (line 523) | TEST_F(Conformance, LockAndUnlockPrompt) { function TEST_F (line 550) | TEST_F(Conformance, SparseBlockSupport0) { function TEST_F (line 565) | TEST_F(Conformance, SparseBlockSupport1) { function TEST_F (line 584) | TEST_F(Conformance, SparseDownload0) { function TEST_F (line 591) | TEST_F(Conformance, SparseDownload1) { function TEST_F (line 601) | TEST_F(Conformance, SparseDownload2) { function TEST_F (line 614) | TEST_F(Conformance, SparseDownload3) { function TEST_F (line 645) | TEST_F(Conformance, SparseVersionCheck) { function TEST_F (line 662) | TEST_F(UnlockPermissions, Download) { function TEST_F (line 667) | TEST_F(UnlockPermissions, DownloadFlash) { function TEST_F (line 676) | TEST_F(UnlockPermissions, FetchVendorBoot) { function TEST_F (line 702) | TEST_F(LockPermissions, DownloadFlash) { function TEST_F (line 717) | TEST_F(LockPermissions, Erase) { function TEST_F (line 729) | TEST_F(LockPermissions, SetActive) { function TEST_F (line 753) | TEST_F(LockPermissions, Boot) { function TEST_F (line 763) | TEST_F(LockPermissions, FetchVendorBoot) { function TEST_F (line 773) | TEST_F(Fuzz, DownloadSize) { function TEST_F (line 789) | TEST_F(Fuzz, DownloadPartialBuf) { function TEST_F (line 805) | TEST_F(Fuzz, DownloadOverRun) { function TEST_F (line 830) | TEST_F(Fuzz, DownloadInvalid1) { function TEST_F (line 835) | TEST_F(Fuzz, DownloadInvalid2) { function TEST_F (line 841) | TEST_F(Fuzz, DownloadInvalid3) { function TEST_F (line 847) | TEST_F(Fuzz, DownloadInvalid4) { function TEST_F (line 853) | TEST_F(Fuzz, DownloadInvalid5) { function TEST_F (line 859) | TEST_F(Fuzz, DownloadInvalid6) { function TEST_F (line 865) | TEST_F(Fuzz, DownloadInvalid7) { function TEST_F (line 871) | TEST_F(Fuzz, DownloadInvalid8) { function TEST_F (line 878) | TEST_F(Fuzz, DownloadInvalid9) { function TEST_F (line 884) | TEST_F(Fuzz, GetVarAllSpam) { function TEST_F (line 898) | TEST_F(Fuzz, BadCommandTooLarge) { function TEST_F (line 936) | TEST_F(Fuzz, CommandTooLarge) { function TEST_F (line 951) | TEST_F(Fuzz, CommandMissingArgs) { function TEST_F (line 970) | TEST_F(Fuzz, SparseZeroLength) { function TEST_F (line 986) | TEST_F(Fuzz, SparseZeroBlkSize) { function TEST_F (line 1004) | TEST_F(Fuzz, SparseVeryLargeBlkSize) { function TEST_F (line 1018) | TEST_F(Fuzz, SparseTrimmed) { function TEST_F (line 1036) | TEST_F(Fuzz, SparseInvalidChurk) { function TEST_F (line 1054) | TEST_F(Fuzz, SparseTooManyChunks) { function TEST_F (line 1079) | TEST_F(Fuzz, USBResetSpam) { function TEST_F (line 1092) | TEST_F(Fuzz, USBResetCommandSpam) { function TEST_F (line 1105) | TEST_F(Fuzz, USBResetAfterDownload) { function TEST_P (line 1115) | TEST_P(ExtensionsGetVarConformance, VarExists) { function TEST_P (line 1120) | TEST_P(ExtensionsGetVarConformance, VarMatchesRegex) { function TEST_P (line 1131) | TEST_P(AnyPartition, ReportedGetVarAll) { function TEST_P (line 1151) | TEST_P(AnyPartition, Hashable) { function TEST_P (line 1172) | TEST_P(WriteablePartition, FlashCheck) { function TEST_P (line 1185) | TEST_P(WriteablePartition, EraseCheck) { function TEST_P (line 1193) | TEST_P(WriteHashNonParsedPartition, EraseZerosData) { function TEST_P (line 1262) | TEST_P(FuzzWriteablePartition, BoundsCheck) { function TEST_P (line 1296) | TEST_P(FuzzWriteableParsedPartition, FlashGarbageImageSmall) { function TEST_P (line 1324) | TEST_P(FuzzWriteableParsedPartition, FlashGarbageImageLarge) { function TEST_P (line 1352) | TEST_P(FuzzWriteableParsedPartition, FlashGarbageImageLarge2) { function TEST_P (line 1380) | TEST_P(FuzzWriteableParsedPartition, FlashGarbageImageLarge3) { function TEST_P (line 1412) | TEST_P(FuzzAnyPartitionLocked, RejectFlash) { function TEST_P (line 1424) | TEST_P(UserdataPartition, UnlockErases) { function TEST_P (line 1459) | TEST_P(ExtensionsPackedValid, TestDeviceUnpack) { function TEST_P (line 1550) | TEST_P(ExtensionsPackedInvalid, TestDeviceUnpack) { function TEST_P (line 1625) | TEST_P(ExtensionsOemConformance, RunOEMTest) { function TEST_P (line 1692) | TEST_P(SparseTestPartition, SparseSingleBlock) { function TEST_P (line 1717) | TEST_P(SparseTestPartition, SparseFill) { function TEST_P (line 1750) | TEST_P(SparseTestPartition, SparseMultiple) { function GenerateXmlTests (line 1794) | void GenerateXmlTests(const extension::Configuration& config) { function main (line 1860) | int main(int argc, char** argv) { FILE: fastboot/fuzzy_fastboot/test_listeners.h function class (line 32) | class MinimalistPrinter : public ::testing::EmptyTestEventListener { FILE: fastboot/fuzzy_fastboot/test_utils.cpp type fastboot (line 35) | namespace fastboot { function rand_legal (line 42) | char rand_legal() { function rand_illegal (line 46) | char rand_illegal() { function rand_char (line 50) | char rand_char() { function random_int (line 54) | int random_int(int start, int end) { function RandomString (line 59) | std::string RandomString(size_t length, std::function prov... function RandomBuf (line 65) | std::vector RandomBuf(size_t length, std::function p... function SplitBySpace (line 72) | std::vector SplitBySpace(const std::string& s) { function GeneratePartitionNames (line 78) | std::vector GeneratePartitionNames(const std::string& bas... function ParseArgs (line 90) | std::unordered_map ParseArgs(int argc, char*... function ConfigureSerial (line 114) | int ConfigureSerial(const std::string& port) { function StartProgram (line 147) | int StartProgram(const std::string program, const std::vector*) const override { method unique_fd (line 46) | unique_fd OpenFile(const std::string& name) const override { function TEST (line 51) | TEST(SuperFlashHelper, ImageEquality) { FILE: fastboot/task.h type FlashingPlan (line 23) | struct FlashingPlan type Image (line 24) | struct Image function class (line 33) | class Task { FILE: fastboot/task_test.cpp class ParseTest (line 30) | class ParseTest : public ::testing ::Test { method SetUp (line 32) | void SetUp() override { method TearDown (line 38) | void TearDown() override {} function collectTasks (line 45) | static std::vector> collectTasks(FlashingPlan* fp, function ParseCommand (line 58) | std::unique_ptr ParseCommand(FlashingPlan* fp, std::string command) { function compareTaskList (line 65) | static bool compareTaskList(std::vector>& tasks_a, function tasksToString (line 81) | static std::string tasksToString(std::vector>& tas... function TEST_F (line 90) | TEST_F(ParseTest, CorrectFlashTaskFormed) { function TEST_F (line 118) | TEST_F(ParseTest, VersionCheckCorrect) { function TEST_F (line 143) | TEST_F(ParseTest, BadFastbootInput) { function TEST_F (line 161) | TEST_F(ParseTest, CorrectTaskFormed) { function TEST_F (line 174) | TEST_F(ParseTest, CorrectDriverCalls) { function TEST_F (line 190) | TEST_F(ParseTest, CorrectTaskLists) { function TEST_F (line 236) | TEST_F(ParseTest, IsDynamicPartitiontest) { function TEST_F (line 265) | TEST_F(ParseTest, CanOptimizeTest) { function TEST_F (line 307) | TEST_F(ParseTest, OptimizedFlashSuperPatternMatchTest) { FILE: fastboot/tcp.cpp type tcp (line 34) | namespace tcp { function ExtractMessageLength (line 41) | static uint64_t ExtractMessageLength(const void* buffer) { function EncodeMessageLength (line 50) | static void EncodeMessageLength(uint64_t length, void* buffer) { class TcpTransport (line 56) | class TcpTransport : public Transport { method TcpTransport (line 70) | explicit TcpTransport(std::unique_ptr sock) : socket_(std::m... function Connect (line 186) | std::unique_ptr Connect(const std::string& hostname, int po... type internal (line 191) | namespace internal { function Connect (line 193) | std::unique_ptr Connect(std::unique_ptr sock, std... FILE: fastboot/tcp.h function namespace (line 39) | namespace tcp { FILE: fastboot/tcp_test.cpp function TEST (line 35) | TEST(TcpConnectTest, TestSuccess) { function TEST (line 45) | TEST(TcpConnectTest, TestNewerVersionSuccess) { function TEST (line 55) | TEST(TcpConnectTest, TestSendFailure) { function TEST (line 64) | TEST(TcpConnectTest, TestNoResponseFailure) { function TEST (line 74) | TEST(TcpConnectTest, TestBadResponseFailure) { function TEST (line 84) | TEST(TcpConnectTest, TestUnknownVersionFailure) { class TcpTest (line 95) | class TcpTest : public ::testing::Test { method SetUp (line 97) | void SetUp() override { method Write (line 109) | bool Write(const std::string& message) { method Read (line 115) | bool Read(const std::string& message) { function TEST_F (line 128) | TEST_F(TcpTest, TestWriteSuccess) { function TEST_F (line 134) | TEST_F(TcpTest, TestReadSuccess) { function TEST_F (line 142) | TEST_F(TcpTest, TestReadFragmentSuccess) { function TEST_F (line 152) | TEST_F(TcpTest, TestLargeWriteSuccess) { function TEST_F (line 163) | TEST_F(TcpTest, TestLargeReadSuccess) { function TEST_F (line 176) | TEST_F(TcpTest, TestFastbootProtocolSuccess) { function TEST_F (line 198) | TEST_F(TcpTest, TestReadLengthFailure) { function TEST_F (line 205) | TEST_F(TcpTest, TestReadDataFailure) { function TEST_F (line 213) | TEST_F(TcpTest, TestWriteFailure) { function TEST_F (line 219) | TEST_F(TcpTest, TestTransportClose) { FILE: fastboot/test_fastboot.py class DevicesTest (line 25) | class DevicesTest(unittest.TestCase): method test_devices (line 29) | def test_devices(self): FILE: fastboot/transport.h function class (line 23) | class Transport { FILE: fastboot/udp.cpp type udp (line 45) | namespace udp { type Index (line 52) | enum Index { function ExtractUint16 (line 60) | static uint16_t ExtractUint16(const uint8_t* bytes) { class Header (line 65) | class Header { method id (line 70) | uint8_t id() const { return bytes_[kIndexId]; } class UdpTransport (line 102) | class UdpTransport : public Transport { method UdpTransport (line 115) | explicit UdpTransport(std::unique_ptr socket) : socket_(std:... function Connect (line 378) | std::unique_ptr Connect(const std::string& hostname, int po... type internal (line 383) | namespace internal { function Connect (line 385) | std::unique_ptr Connect(std::unique_ptr sock, std... FILE: fastboot/udp.h function namespace (line 37) | namespace udp { FILE: fastboot/udp_test.cpp function PacketValue (line 32) | static std::string PacketValue(uint16_t value) { function ErrorPacket (line 37) | static std::string ErrorPacket(uint16_t sequence, const std::string& mes... function QueryPacket (line 43) | static std::string QueryPacket(uint16_t sequence) { function QueryPacket (line 48) | static std::string QueryPacket(uint16_t sequence, uint16_t new_sequence) { function InitPacket (line 54) | static std::string InitPacket(uint16_t sequence, uint16_t version, uint1... function FastbootPacket (line 60) | static std::string FastbootPacket(uint16_t sequence, const std::string& ... class UdpConnectTest (line 67) | class UdpConnectTest : public ::testing::Test { method UdpConnectTest (line 69) | UdpConnectTest() : mock_socket_(new SocketMock) {} method UdpConnect (line 73) | bool UdpConnect(std::string* error = nullptr) { function TEST_F (line 88) | TEST_F(UdpConnectTest, InitializationSuccess) { function TEST_F (line 100) | TEST_F(UdpConnectTest, InitializationContinuationSuccess) { function TEST_F (line 121) | TEST_F(UdpConnectTest, InitializationVersionMismatch) { function TEST_F (line 137) | TEST_F(UdpConnectTest, QueryResponseTimeoutFailure) { function TEST_F (line 146) | TEST_F(UdpConnectTest, QueryResponseReceiveFailure) { function TEST_F (line 153) | TEST_F(UdpConnectTest, InitResponseTimeoutFailure) { function TEST_F (line 164) | TEST_F(UdpConnectTest, InitResponseReceiveFailure) { function TEST_F (line 174) | TEST_F(UdpConnectTest, ResponseRecovery) { function TEST_F (line 195) | TEST_F(UdpConnectTest, ExtraResponseDataSuccess) { function TEST_F (line 206) | TEST_F(UdpConnectTest, WrongSequenceRecovery) { function TEST_F (line 219) | TEST_F(UdpConnectTest, WrongIdRecovery) { function TEST_F (line 232) | TEST_F(UdpConnectTest, InvalidQueryResponseFailure) { function TEST_F (line 249) | TEST_F(UdpConnectTest, InvalidInitResponseFailure) { function TEST_F (line 269) | TEST_F(UdpConnectTest, ErrorResponseFailure) { function TEST_F (line 288) | TEST_F(UdpConnectTest, ErrorContinuationFailure) { class UdpTest (line 303) | class UdpTest : public ::testing::Test { method SetUp (line 305) | void SetUp() override { method InitializeTransport (line 313) | bool InitializeTransport(uint16_t starting_sequence, int device_max_pa... method Write (line 328) | bool Write(const std::string& message) { method Read (line 334) | bool Read(const std::string& message) { function TEST_F (line 348) | TEST_F(UdpTest, SequenceIncrementCheck) { function TEST_F (line 365) | TEST_F(UdpTest, ReadAndWriteSmallPackets) { function TEST_F (line 392) | TEST_F(UdpTest, ResponseTimeoutFailure) { function TEST_F (line 401) | TEST_F(UdpTest, ResponseReceiveFailure) { function TEST_F (line 408) | TEST_F(UdpTest, ResponseTimeoutRecovery) { function TEST_F (line 423) | TEST_F(UdpTest, ContinuationPackets) { function TEST_F (line 458) | TEST_F(UdpTest, SmallContinuationPackets) { function TEST_F (line 468) | TEST_F(UdpTest, ContinuationPacketError) { function TEST_F (line 478) | TEST_F(UdpTest, ContinuationTimeoutRecovery) { function TEST_F (line 490) | TEST_F(UdpTest, MultipleReadPacket) { function TEST_F (line 499) | TEST_F(UdpTest, IgnoreOutOfOrderPackets) { function TEST_F (line 510) | TEST_F(UdpTest, ErrorResponse) { function TEST_F (line 526) | TEST_F(UdpTest, CloseTransport) { FILE: fastboot/usb.h type usb_ifc_info (line 36) | struct usb_ifc_info { function class (line 60) | class UsbTransport : public Transport { type std (line 67) | typedef std::function ifc_match_func; FILE: fastboot/usb_linux.cpp type usb_handle (line 99) | struct usb_handle class LinuxUsbTransport (line 107) | class LinuxUsbTransport : public UsbTransport { method LinuxUsbTransport (line 109) | explicit LinuxUsbTransport(std::unique_ptr handle, uint32_... function badname (line 132) | static inline int badname(const char *name) function check (line 143) | static int check(void *_desc, int len, unsigned type, int size) function filter_usb_device (line 155) | static int filter_usb_device(char* sysfs_name, function read_sysfs_string (line 301) | static int read_sysfs_string(const char *sysfs_name, const char *sysfs_n... function read_sysfs_number (line 326) | static int read_sysfs_number(const char *sysfs_name, const char *sysfs_n... function convert_to_devfs_name (line 343) | static int convert_to_devfs_name(const char* sysfs_name, function find_usb_device (line 360) | static std::unique_ptr find_usb_device(const char* base, ifc... type usbdevfs_urb (line 422) | struct usbdevfs_urb type usbdevfs_urb (line 460) | struct usbdevfs_urb type usbdevfs_bulktransfer (line 513) | struct usbdevfs_bulktransfer function usb_open (line 577) | std::unique_ptr usb_open(ifc_match_func callback, uint32_t... FILE: fastboot/usb_osx.cpp type usb_handle (line 56) | struct usb_handle class OsxUsbTransport (line 68) | class OsxUsbTransport : public UsbTransport { method OsxUsbTransport (line 71) | OsxUsbTransport(std::unique_ptr handle, uint32_t ms_timeou... function try_interfaces (line 89) | static int try_interfaces(IOUSBDeviceInterface500** dev, usb_handle* han... function try_device (line 285) | static int try_device(io_service_t device, usb_handle *handle) { function init_usb (line 407) | static int init_usb(ifc_match_func callback, std::unique_ptr... function usb_open (line 472) | std::unique_ptr usb_open(ifc_match_func callback, uint32_t... FILE: fastboot/usb_windows.cpp type usb_handle (line 55) | struct usb_handle { class WindowsUsbTransport (line 69) | class WindowsUsbTransport : public UsbTransport { method WindowsUsbTransport (line 71) | WindowsUsbTransport(std::unique_ptr handle) : handle_(std:... function do_usb_open (line 101) | std::unique_ptr do_usb_open(const wchar_t* interface_name) { function usb_cleanup_handle (line 231) | void usb_cleanup_handle(usb_handle* handle) { function usb_kick (line 247) | void usb_kick(usb_handle* handle) { function recognized_device (line 278) | int recognized_device(usb_handle* handle, ifc_match_func callback) { function find_usb_device (line 337) | static std::unique_ptr find_usb_device(ifc_match_func callba... function usb_open (line 384) | std::unique_ptr usb_open(ifc_match_func callback, uint32_t) { FILE: fastboot/util.cpp function now (line 45) | double now() { function die (line 51) | void die(const char* fmt, ...) { function die (line 61) | void die(const std::string& str) { function set_verbose (line 65) | void set_verbose() { function verbose (line 69) | void verbose(const char* fmt, ...) { function should_flash_in_userspace (line 82) | bool should_flash_in_userspace(const android::fs_mgr::LpMetadata& metadata, function is_sparse_file (line 100) | bool is_sparse_file(borrowed_fd fd) { function get_file_size (line 105) | int64_t get_file_size(borrowed_fd fd) { function fb_fix_numeric_var (line 113) | std::string fb_fix_numeric_var(std::string var) { FILE: fastboot/util.h function class (line 35) | class ImageSource { FILE: fastboot/vendor_boot_img_utils.cpp class DataUpdater (line 31) | class DataUpdater { method DataUpdater (line 33) | DataUpdater(const std::string& old_data) : old_data_(&old_data) { method Copy (line 39) | [[nodiscard]] Result Copy(uint32_t num_bytes) { method Replace (line 51) | [[nodiscard]] Result Replace(uint32_t old_num_bytes, const std::... method Replace (line 54) | [[nodiscard]] Result Replace(uint32_t old_num_bytes, const void*... method Skip (line 70) | [[nodiscard]] Result Skip(uint32_t old_skip, uint32_t new_skip) { method Seek (line 80) | [[nodiscard]] Result Seek(uint32_t offset) { method Finish (line 87) | std::string Finish() { method CheckOffset (line 92) | [[nodiscard]] Result CheckOffset(uint32_t old_offset, uint32_t n... method size (line 102) | uint64_t size() const { return old_data_->size(); } method CheckAdvance (line 112) | [[nodiscard]] Result CheckAdvance(const char* current, const cha... function get_vendor_boot_header_size (line 130) | [[nodiscard]] Result get_vendor_boot_header_size(const vendor_... function check_vendor_boot_hdr (line 137) | [[nodiscard]] Result check_vendor_boot_hdr(const std::string& cont... function load_file (line 165) | [[nodiscard]] Result load_file(android::base::borrowed_fd f... function store_file (line 182) | [[nodiscard]] Result store_file(android::base::borrowed_fd fd, con... function copy_avb_footer (line 197) | [[nodiscard]] Result copy_avb_footer(DataUpdater* updater) { function round_up (line 206) | inline uint32_t round_up(uint32_t value, uint32_t page_size) { function replace_default_vendor_ramdisk (line 211) | [[nodiscard]] Result replace_default_vendor_ramdisk(const s... function find_unique_ramdisk (line 290) | [[nodiscard]] Result find_unique_r... function replace_vendor_ramdisk_fragment (line 316) | [[nodiscard]] Result replace_vendor_ramdisk_fragment(const ... function replace_vendor_ramdisk (line 431) | [[nodiscard]] Result replace_vendor_ramdisk( FILE: fastboot/vendor_boot_img_utils_test.cpp function FileSize (line 68) | Result FileSize(borrowed_fd fd, std::filesystem::path path) { function ReadStartOfFdToString (line 75) | Result ReadStartOfFdToString(borrowed_fd fd, std::filesyste... function round_up (line 84) | inline uint32_t round_up(uint32_t value, uint32_t page_size) { type TestFileHandle (line 113) | struct TestFileHandle { method Open (line 116) | android::base::Result Open() { method size (line 122) | uint64_t size() { method fsize (line 128) | Result fsize() { method borrowed_fd (line 132) | borrowed_fd fd() { method Read (line 136) | Result Read() { method OpenImpl (line 148) | android::base::Result OpenImpl() { method TestFileHandle (line 165) | TestFileHandle(const std::filesystem::path& rel_path) type ReadOnlyTestFileHandle (line 174) | struct ReadOnlyTestFileHandle : TestFileHandle { method ReadOnlyTestFileHandle (line 175) | ReadOnlyTestFileHandle(const std::filesystem::path& rel_path) : TestFi... method Transform (line 179) | android::base::Result Transform(const std::filesystem::pa... type ReadWriteTestFileHandle (line 187) | struct ReadWriteTestFileHandle : TestFileHandle { method ReadWriteTestFileHandle (line 188) | ReadWriteTestFileHandle(const std::filesystem::path& rel_path) : TestF... method Transform (line 193) | android::base::Result Transform(const std::filesystem::pa... class RepackVendorBootImgTestEnv (line 209) | class RepackVendorBootImgTestEnv : public ::testing::Environment { method SetUp (line 211) | virtual void SetUp() { method OpenTestFile (line 231) | void OpenTestFile(const char* rel_path, std::unique_ptr BlockDeviceQueueDepth(const std::string& file_pa... function ConfigureQueueDepth (line 129) | Result ConfigureQueueDepth(const std::string& loop_device_path, FILE: fs_mgr/file_wait.cpp type android (line 35) | namespace android { type fs_mgr (line 36) | namespace fs_mgr { function PollForFile (line 41) | bool PollForFile(const std::string& path, const std::chrono::millise... function PollForFileDeleted (line 55) | bool PollForFileDeleted(const std::string& path, const std::chrono::... class OneShotInotify (line 70) | class OneShotInotify { type Result (line 82) | enum class Result { Success, Timeout, Error } type pollfd (line 154) | struct pollfd type inotify_event (line 193) | struct inotify_event function WaitForFile (line 218) | bool WaitForFile(const std::string& path, const std::chrono::millise... function WaitForFileDeleted (line 228) | bool WaitForFileDeleted(const std::string& path, const std::chrono::... FILE: fs_mgr/fs_mgr.cpp type FsStatFlags (line 117) | enum FsStatFlags { function log_fs_stat (line 137) | static void log_fs_stat(const std::string& blk_device, int fs_stat) { function is_extfs (line 147) | static bool is_extfs(const std::string& fs_type) { function is_f2fs (line 151) | static bool is_f2fs(const std::string& fs_type) { function realpath (line 155) | static std::string realpath(const std::string& blk_device) { function should_force_check (line 163) | static bool should_force_check(int fs_stat) { function umount_retry (line 171) | static bool umount_retry(const std::string& mount_point) { function check_fs (line 187) | static void check_fs(const std::string& blk_device, const std::string& f... function ext4_fsblk_t (line 295) | static ext4_fsblk_t ext4_blocks_count(const struct ext4_super_block* es) { function ext4_fsblk_t (line 300) | static ext4_fsblk_t ext4_r_blocks_count(const struct ext4_super_block* e... function is_ext4_superblock_valid (line 305) | static bool is_ext4_superblock_valid(const struct ext4_super_block* es) { function read_ext4_superblock (line 314) | static bool read_ext4_superblock(const std::string& blk_device, struct e... function fs_mgr_is_ext4 (line 343) | bool fs_mgr_is_ext4(const std::string& blk_device) { function tune2fs_available (line 355) | static bool tune2fs_available(void) { function run_command (line 359) | static bool run_command(const char* argv[], int argc) { function tune_quota (line 367) | static void tune_quota(const std::string& blk_device, const FstabEntry& ... function tune_reserved_size (line 408) | static void tune_reserved_size(const std::string& blk_device, const Fsta... function tune_encrypt (line 450) | static void tune_encrypt(const std::string& blk_device, const FstabEntry... function tune_verity (line 495) | static void tune_verity(const std::string& blk_device, const FstabEntry&... function tune_casefold (line 532) | static void tune_casefold(const std::string& blk_device, const FstabEntr... function resize2fs_available (line 567) | static bool resize2fs_available(void) { function tune_metadata_csum (line 572) | static void tune_metadata_csum(const std::string& blk_device, const Fsta... function read_f2fs_superblock (line 613) | static bool read_f2fs_superblock(const std::string& blk_device, int* fs_... function fs_mgr_is_f2fs (line 643) | bool fs_mgr_is_f2fs(const std::string& blk_device) { function SetReadAheadSize (line 659) | static void SetReadAheadSize(const std::string& entry_block_device, off6... function check_if_preventative_fsck_needed (line 706) | static bool check_if_preventative_fsck_needed(const FstabEntry& entry) { function prepare_fs_for_mount (line 731) | static int prepare_fs_for_mount(const std::string& blk_device, const Fst... function fs_mgr_set_blk_ro (line 795) | bool fs_mgr_set_blk_ro(const std::string& blockdev, bool readonly) { function fs_mgr_is_device_unlocked (line 807) | bool fs_mgr_is_device_unlocked() { function __mount (line 818) | static int __mount(const std::string& source, const std::string& target,... function fs_match (line 894) | static bool fs_match(const std::string& in1, const std::string& in2) { function should_use_metadata_encryption (line 922) | static bool should_use_metadata_encryption(const FstabEntry& entry) { function mount_with_alternatives (line 933) | static bool mount_with_alternatives(Fstab& fstab, int start_idx, bool in... function TranslateExtLabels (line 1024) | static bool TranslateExtLabels(FstabEntry* entry) { function handle_encryptable (line 1080) | static int handle_encryptable(const FstabEntry& entry) { function set_type_property (line 1095) | static void set_type_property(int status) { function call_vdc (line 1105) | static bool call_vdc(const std::vector& args, int* ret) { function fs_mgr_update_logical_partition (line 1124) | bool fs_mgr_update_logical_partition(FstabEntry* entry) { function SupportsCheckpoint (line 1142) | static bool SupportsCheckpoint(FstabEntry* entry) { class CheckpointManager (line 1146) | class CheckpointManager { method CheckpointManager (line 1148) | CheckpointManager(int needs_checkpoint = -1, bool metadata_encrypted =... method NeedsCheckpoint (line 1154) | bool NeedsCheckpoint() { method Update (line 1165) | bool Update(FstabEntry* entry, const std::string& block_device = std::... method Revert (line 1186) | bool Revert(FstabEntry* entry) { method UpdateCheckpointPartition (line 1208) | bool UpdateCheckpointPartition(FstabEntry* entry, const std::string& b... function fs_mgr_find_bow_device (line 1287) | std::string fs_mgr_find_bow_device(const std::string& block_device) { function WrapUserdata (line 1343) | static void WrapUserdata(FstabEntry* entry, dev_t dev, const std::string... function WrapUserdataIfNeeded (line 1382) | static void WrapUserdataIfNeeded(FstabEntry* entry, const std::string& a... function IsMountPointMounted (line 1418) | static bool IsMountPointMounted(const std::string& mount_point) { function fs_mgr_metadata_encryption_in_progress_file_name (line 1427) | std::string fs_mgr_metadata_encryption_in_progress_file_name(const Fstab... function WasMetadataEncryptionInterrupted (line 1431) | bool WasMetadataEncryptionInterrupted(const FstabEntry& entry) { function FstabEntry (line 1436) | static FstabEntry* LocateFormattableEntry(FstabEntry* const begin, Fstab... function fs_mgr_mount_all (line 1470) | int fs_mgr_mount_all(Fstab* fstab, int mount_mode) { function fs_mgr_umount_all (line 1742) | int fs_mgr_umount_all(android::fs_mgr::Fstab* fstab) { function fs_mgr_do_mount_one (line 1777) | int fs_mgr_do_mount_one(const FstabEntry& entry, const std::string& alt_... function fs_mgr_do_mount (line 1802) | int fs_mgr_do_mount(Fstab* fstab, const std::string& n_name, const std::... function ConfigureIoScheduler (line 1908) | static bool ConfigureIoScheduler(const std::string& device_path) { function InstallZramDevice (line 1937) | static bool InstallZramDevice(const std::string& device) { function ZramBackingDeviceSizeAvailable (line 1951) | static bool ZramBackingDeviceSizeAvailable(off64_t size) { function PrepareZramBackingDevice (line 1975) | static bool PrepareZramBackingDevice(off64_t size) { function IsRecovery (line 2032) | static bool IsRecovery() { function ShouldSkipZramSetup (line 2040) | static bool ShouldSkipZramSetup() { function fs_mgr_swapon_all (line 2104) | bool fs_mgr_swapon_all(const Fstab& fstab) { function fs_mgr_is_verity_enabled (line 2183) | bool fs_mgr_is_verity_enabled(const FstabEntry& entry) { function fs_mgr_get_hashtree_info (line 2208) | std::optional fs_mgr_get_hashtree_info(const android::fs_m... function fs_mgr_verity_is_check_at_most_once (line 2245) | bool fs_mgr_verity_is_check_at_most_once(const android::fs_mgr::FstabEnt... function fs_mgr_get_super_partition_name (line 2251) | std::string fs_mgr_get_super_partition_name(int slot) { function fs_mgr_create_canonical_mount_point (line 2275) | bool fs_mgr_create_canonical_mount_point(const std::string& mount_point) { function fs_mgr_mount_overlayfs_fstab_entry (line 2295) | bool fs_mgr_mount_overlayfs_fstab_entry(const FstabEntry& entry) { function fs_mgr_load_verity_state (line 2368) | bool fs_mgr_load_verity_state(int* mode) { function fs_mgr_filesystem_available (line 2387) | bool fs_mgr_filesystem_available(const std::string& filesystem) { function fs_mgr_get_context (line 2393) | std::string fs_mgr_get_context(const std::string& mount_point) { function fs_mgr_f2fs_ideal_block_size (line 2405) | int fs_mgr_f2fs_ideal_block_size() { type android (line 2413) | namespace android { type fs_mgr (line 2414) | namespace fs_mgr { function OverlayfsCheckResult (line 2416) | OverlayfsCheckResult CheckOverlayfs() { FILE: fs_mgr/fs_mgr_dm_linear.cpp type android (line 46) | namespace android { type fs_mgr (line 47) | namespace fs_mgr { function GetPhysicalPartitionDevicePath (line 55) | static bool GetPhysicalPartitionDevicePath(const CreateLogicalPartit... function CreateDmTableInternal (line 92) | bool CreateDmTableInternal(const CreateLogicalPartitionParams& param... function CreateDmTable (line 133) | bool CreateDmTable(CreateLogicalPartitionParams params, DmTable* tab... function CreateLogicalPartitions (line 139) | bool CreateLogicalPartitions(const std::string& block_device) { function ReadCurrentMetadata (line 149) | std::unique_ptr ReadCurrentMetadata(const std::string& b... function CreateLogicalPartitions (line 154) | bool CreateLogicalPartitions(const LpMetadata& metadata, const std::... function CreateLogicalPartition (line 234) | bool CreateLogicalPartition(CreateLogicalPartitionParams params, std... function UnmapDevice (line 262) | bool UnmapDevice(const std::string& name) { function DestroyLogicalPartition (line 270) | bool DestroyLogicalPartition(const std::string& name) { FILE: fs_mgr/fs_mgr_format.cpp function get_dev_sz (line 45) | static int get_dev_sz(const std::string& fs_blkdev, uint64_t* dev_sz) { function format_ext4 (line 61) | static int format_ext4(const std::string& fs_blkdev, const std::string& ... function format_f2fs (line 128) | static int format_f2fs(const std::string& fs_blkdev, uint64_t dev_sz, bo... function fs_mgr_do_format (line 189) | int fs_mgr_do_format(const FstabEntry& entry) { FILE: fs_mgr/fs_mgr_overlayfs_control.cpp function fs_mgr_boot_completed (line 71) | static bool fs_mgr_boot_completed() { function ScratchIsOnData (line 76) | static bool ScratchIsOnData() { function fs_mgr_rm_all (line 84) | static bool fs_mgr_rm_all(const std::string& path, bool* change = nullpt... function fs_mgr_overlayfs_setup_dir (line 125) | std::string fs_mgr_overlayfs_setup_dir(const std::string& dir) { function fs_mgr_overlayfs_setup_one (line 142) | bool fs_mgr_overlayfs_setup_one(const std::string& overlay, const std::s... function fs_mgr_overlayfs_slot_number (line 187) | static uint32_t fs_mgr_overlayfs_slot_number() { function fs_mgr_overlayfs_has_logical (line 191) | static bool fs_mgr_overlayfs_has_logical(const Fstab& fstab) { function OverlayfsTeardownResult (line 200) | OverlayfsTeardownResult TeardownDataScratch(IImageManager* images, function GetOverlaysActiveFlag (line 222) | bool GetOverlaysActiveFlag() { function SetOverlaysActiveFlag (line 233) | bool SetOverlaysActiveFlag(bool flag) { function OverlayfsTeardownResult (line 251) | OverlayfsTeardownResult fs_mgr_overlayfs_teardown_scratch(const std::str... function fs_mgr_overlayfs_teardown_one (line 313) | bool fs_mgr_overlayfs_teardown_one(const std::string& overlay, const std... function GetDsuScratchDevice (line 373) | static std::string GetDsuScratchDevice() { function MakeScratchFilesystem (line 383) | bool MakeScratchFilesystem(const std::string& scratch_device) { function TruncatePartitionsWithSuffix (line 411) | static void TruncatePartitionsWithSuffix(MetadataBuilder* builder, const... function CreateDynamicScratch (line 430) | static bool CreateDynamicScratch(std::string* scratch_device, bool* part... function GetIdealDataScratchSize (line 509) | static inline uint64_t GetIdealDataScratchSize() { function CreateScratchOnData (line 532) | static bool CreateScratchOnData(std::string* scratch_device, bool* parti... function CanUseSuperPartition (line 577) | static bool CanUseSuperPartition(const Fstab& fstab) { function fs_mgr_overlayfs_create_scratch (line 590) | bool fs_mgr_overlayfs_create_scratch(const Fstab& fstab, std::string* sc... function fs_mgr_overlayfs_setup_scratch (line 615) | bool fs_mgr_overlayfs_setup_scratch(const Fstab& fstab) { function OverlayfsTeardownAllowed (line 656) | constexpr bool OverlayfsTeardownAllowed() { function fs_mgr_overlayfs_setup (line 663) | bool fs_mgr_overlayfs_setup(const Fstab& fstab, const char* mount_point,... type MapInfo (line 730) | struct MapInfo { method MapInfo (line 738) | MapInfo() = default; method MapInfo (line 739) | MapInfo(MapInfo&&) = default; function EnsureScratchMapped (line 751) | static std::optional EnsureScratchMapped() { function MapDsuScratchDevice (line 807) | static bool MapDsuScratchDevice(std::string* device) { function OverlayfsTeardownResult (line 828) | static OverlayfsTeardownResult TeardownMountsAndScratch(const char* moun... function OverlayfsTeardownResult (line 860) | OverlayfsTeardownResult fs_mgr_overlayfs_teardown(const char* mount_poin... type android (line 885) | namespace android { type fs_mgr (line 886) | namespace fs_mgr { function MapScratchPartitionIfNeeded (line 888) | void MapScratchPartitionIfNeeded(Fstab* fstab, function CleanupOldScratchFiles (line 914) | void CleanupOldScratchFiles() { function GetBootScratchDevice (line 934) | std::string GetBootScratchDevice() { function TeardownAllOverlayForMountPoint (line 956) | void TeardownAllOverlayForMountPoint(const std::string& mount_point) { FILE: fs_mgr/fs_mgr_overlayfs_control.h function OverlayfsTeardownResult (line 28) | enum class OverlayfsTeardownResult { FILE: fs_mgr/fs_mgr_overlayfs_mount.cpp function fs_mgr_is_dsu_running (line 68) | bool fs_mgr_is_dsu_running() { function OverlayMountPoints (line 77) | std::vector OverlayMountPoints() { function GetEncodedBaseDirForMountPoint (line 96) | std::string GetEncodedBaseDirForMountPoint(const std::string& mount_poin... function fs_mgr_is_dir (line 109) | static bool fs_mgr_is_dir(const std::string& path) { function fs_mgr_filesystem_has_space (line 116) | bool fs_mgr_filesystem_has_space(const std::string& mount_point) { function fs_mgr_update_blk_device (line 132) | static bool fs_mgr_update_blk_device(FstabEntry* entry) { function fs_mgr_has_shared_blocks (line 155) | static bool fs_mgr_has_shared_blocks(const std::string& mount_point, con... function fs_mgr_is_read_only_f2fs (line 180) | static bool fs_mgr_is_read_only_f2fs(const std::string& dev) { function fs_mgr_overlayfs_enabled (line 195) | static bool fs_mgr_overlayfs_enabled(FstabEntry* entry) { function fs_mgr_mount_point (line 221) | const std::string fs_mgr_mount_point(const std::string& mount_point) { function fs_mgr_get_overlayfs_options (line 227) | static std::string fs_mgr_get_overlayfs_options(const FstabEntry& entry) { function fs_mgr_overlayfs_umount_scratch (line 278) | bool fs_mgr_overlayfs_umount_scratch() { function fs_mgr_overlayfs_set_shared_mount (line 288) | static bool fs_mgr_overlayfs_set_shared_mount(const std::string& mount_p... function fs_mgr_overlayfs_move_mount (line 299) | static bool fs_mgr_overlayfs_move_mount(const std::string& source, const... function fs_mgr_overlayfs_mount (line 308) | static bool fs_mgr_overlayfs_mount(const std::string& mount_point, const... type mount_info (line 327) | struct mount_info { function ReadMountinfoFromFile (line 332) | static std::vector ReadMountinfoFromFile(const std::string& ... function fs_mgr_overlayfs_mount_one (line 399) | static bool fs_mgr_overlayfs_mount_one(const FstabEntry& fstab_entry) { function MountScratch (line 554) | bool MountScratch(const std::string& device_path, bool readonly) { function OverlayfsSetupAllowed (line 618) | bool OverlayfsSetupAllowed(bool verbose) { function fs_mgr_wants_overlayfs (line 642) | bool fs_mgr_wants_overlayfs(FstabEntry* entry) { function Fstab (line 663) | Fstab fs_mgr_overlayfs_candidate_list(const Fstab& fstab) { function TryMountScratch (line 697) | static void TryMountScratch() { function fs_mgr_overlayfs_mount_all (line 721) | bool fs_mgr_overlayfs_mount_all(Fstab* fstab) { function fs_mgr_overlayfs_is_setup (line 761) | bool fs_mgr_overlayfs_is_setup() { function fs_mgr_overlayfs_already_mounted (line 777) | bool fs_mgr_overlayfs_already_mounted(const std::string& mount_point, bo... type android (line 800) | namespace android { type fs_mgr (line 801) | namespace fs_mgr { function MountOverlayfs (line 803) | void MountOverlayfs(const FstabEntry& fstab_entry, bool* scratch_can... FILE: fs_mgr/fs_mgr_overlayfs_mount.h function class (line 36) | class AutoSetFsCreateCon final { FILE: fs_mgr/fs_mgr_priv.h function namespace (line 90) | namespace android { FILE: fs_mgr/fs_mgr_remount.cpp function usage (line 56) | void usage() { function system_mount_point (line 87) | const std::string system_mount_point(const android::fs_mgr::FstabEntry& ... class MyLogger (line 92) | class MyLogger { method MyLogger (line 94) | explicit MyLogger(bool verbose) : verbose_(verbose) {} function reboot (line 111) | [[noreturn]] void reboot(const std::string& name) { function GetVold (line 120) | static android::sp GetVold() { function ReadFstab (line 132) | static bool ReadFstab(const char* fstab_file, android::fs_mgr::Fstab* fs... function VerifyCheckpointing (line 152) | bool VerifyCheckpointing() { function IsRemountable (line 186) | static bool IsRemountable(Fstab& candidates, const FstabEntry& entry) { function FindPartition (line 203) | static Fstab::const_iterator FindPartition(const Fstab& fstab, const std... function Fstab (line 225) | static Fstab GetAllRemountablePartitions(Fstab& fstab) { function GetRemountList (line 237) | bool GetRemountList(const Fstab& fstab, const std::vector& ... type RemountCheckResult (line 270) | struct RemountCheckResult { function CheckOverlayfs (line 278) | bool CheckOverlayfs(Fstab* partitions, RemountCheckResult* result) { function EnableDsuIfNeeded (line 304) | bool EnableDsuIfNeeded() { function RemountPartition (line 342) | bool RemountPartition(Fstab& fstab, Fstab& mounts, FstabEntry& entry) { type SetVerityStateResult (line 399) | struct SetVerityStateResult { function SetVerityStateResult (line 404) | SetVerityStateResult SetVerityState(bool enable_verity) { function SetupOrTeardownOverlayfs (line 437) | bool SetupOrTeardownOverlayfs(bool enable) { function do_remount (line 469) | bool do_remount(Fstab& fstab, const std::vector& partition_... function main (line 539) | int main(int argc, char* argv[]) { FILE: fs_mgr/fs_mgr_roots.cpp type android (line 30) | namespace android { type fs_mgr (line 31) | namespace fs_mgr { function FstabEntry (line 37) | FstabEntry* GetEntryForPath(Fstab* fstab, const std::string& path) { function GetEntriesForPath (line 49) | std::vector GetEntriesForPath(Fstab* fstab, const std::... type MountState (line 63) | enum class MountState { function MountState (line 69) | static MountState GetMountState(const std::string& mount_point) { function TryPathMount (line 83) | bool TryPathMount(FstabEntry* rec, const std::string& mount_pt) { function EnsurePathMounted (line 142) | bool EnsurePathMounted(Fstab* fstab, const std::string& path, const ... function EnsurePathUnmounted (line 157) | bool EnsurePathUnmounted(Fstab* fstab, const std::string& path) { function GetSystemRoot (line 190) | std::string GetSystemRoot() { function LogicalPartitionsMapped (line 205) | bool LogicalPartitionsMapped() { FILE: fs_mgr/fs_mgr_vendor_overlay.cpp function fs_mgr_get_vendor_overlay_dirs (line 47) | std::vector> fs_mgr_get_vendor_overl... function fs_mgr_vendor_overlay_mount (line 70) | bool fs_mgr_vendor_overlay_mount(const std::pair ExtractBlockDeviceName(const std::string&... function DmNameFilter (line 708) | static int DmNameFilter(const dirent* de) { type utsname (line 768) | struct utsname type dm_ioctl (line 788) | struct dm_ioctl type dm_target_msg (line 788) | struct dm_target_msg type dm_ioctl (line 792) | struct dm_ioctl type dm_ioctl (line 792) | struct dm_ioctl type dm_ioctl (line 795) | struct dm_ioctl type dm_target_msg (line 796) | struct dm_target_msg type dm_target_msg (line 797) | struct dm_target_msg type dm_ioctl (line 797) | struct dm_ioctl FILE: fs_mgr/libdm/dm_table.cpp type android (line 22) | namespace android { type dm (line 23) | namespace dm { FILE: fs_mgr/libdm/dm_target.cpp type android (line 30) | namespace android { type dm (line 31) | namespace dm { type dm_target_spec (line 47) | struct dm_target_spec type dm_target_spec (line 47) | struct dm_target_spec FILE: fs_mgr/libdm/dm_test.cpp class DmTest (line 51) | class DmTest : public ::testing::Test { method SetUp (line 53) | void SetUp() override { method TearDown (line 61) | void TearDown() override { function TEST_F (line 74) | TEST_F(DmTest, HasMinimumTargets) { function TEST_F (line 81) | TEST_F(DmTest, DmLinear) { function TEST_F (line 157) | TEST_F(DmTest, DmSuspendResume) { function TEST_F (line 186) | TEST_F(DmTest, StripeArgs) { function TEST_F (line 193) | TEST_F(DmTest, DmVerityArgsAvb2) { function TEST_F (line 215) | TEST_F(DmTest, DmSnapshotArgs) { function TEST_F (line 237) | TEST_F(DmTest, DmSnapshotOriginArgs) { class SnapshotTestHarness (line 243) | class SnapshotTestHarness final { method origin_dev (line 248) | std::string origin_dev() const { return origin_dev_->path(); } method snapshot_dev (line 249) | std::string snapshot_dev() const { return snapshot_dev_->path(); } method base_fd (line 251) | int base_fd() const { return base_fd_; } function CheckSnapshotAvailability (line 348) | bool CheckSnapshotAvailability() { function TEST_F (line 367) | TEST_F(DmTest, DmSnapshot) { function TEST_F (line 411) | TEST_F(DmTest, DmSnapshotOverflow) { function TEST_F (line 458) | TEST_F(DmTest, ParseStatusText) { function TEST_F (line 485) | TEST_F(DmTest, DmSnapshotMergePercent) { function TEST_F (line 539) | TEST_F(DmTest, CryptArgs) { function TEST_F (line 555) | TEST_F(DmTest, DefaultKeyArgs) { function TEST_F (line 566) | TEST_F(DmTest, DefaultKeyLegacyArgs) { function TEST_F (line 574) | TEST_F(DmTest, DeleteDeviceWithTimeout) { function TEST_F (line 607) | TEST_F(DmTest, IsDmBlockDevice) { function TEST_F (line 626) | TEST_F(DmTest, GetDmDeviceNameByPath) { function TEST_F (line 647) | TEST_F(DmTest, GetParentBlockDeviceByPath) { function TEST_F (line 667) | TEST_F(DmTest, DeleteDeviceDeferredNoReferences) { function TEST_F (line 693) | TEST_F(DmTest, DeleteDeviceDeferredWaitsForLastReference) { function TEST_F (line 728) | TEST_F(DmTest, CreateEmptyDevice) { function TEST_F (line 738) | TEST_F(DmTest, UeventAfterLoadTable) { function TEST_F (line 766) | TEST_F(DmTest, GetNameAndUuid) { function TEST_F (line 779) | TEST_F(DmTest, ThinProvisioning) { function TEST_F (line 818) | TEST_F(DmTest, RedactDmCrypt) { FILE: fs_mgr/libdm/include/libdm/dm.h function namespace (line 49) | namespace dm { FILE: fs_mgr/libdm/include/libdm/dm_table.h function namespace (line 28) | namespace android { FILE: fs_mgr/libdm/include/libdm/dm_target.h function namespace (line 26) | namespace android { function SnapshotStorageMode (line 207) | enum class SnapshotStorageMode { function AllowEncryptOverride (line 282) | void AllowEncryptOverride() { allow_encrypt_override_ = true; } function SetIvLargeSectors (line 283) | void SetIvLargeSectors() { iv_large_sectors_ = true; } function SetSectorSize (line 284) | void SetSectorSize(uint32_t sector_size) { sector_size_ = sector_size; } function SetUseLegacyOptionsFormat (line 315) | void SetUseLegacyOptionsFormat() { use_legacy_options_format_ = true; } function SetSetDun (line 316) | void SetSetDun() { set_dun_ = true; } function SetWrappedKeyV0 (line 317) | void SetWrappedKeyV0() { is_hw_wrapped_ = true; } FILE: fs_mgr/libdm/include/libdm/loop_control.h function namespace (line 25) | namespace android { FILE: fs_mgr/libdm/loop_control.cpp type android (line 32) | namespace android { type dm (line 33) | namespace dm { type loop_info64 (line 137) | struct loop_info64 FILE: fs_mgr/libdm/loop_control_test.cpp function unique_fd (line 35) | static unique_fd TempFile() { function TEST (line 52) | TEST(libdm, LoopControl) { FILE: fs_mgr/libdm/test_util.cpp type android (line 26) | namespace android { type dm (line 27) | namespace dm { function unique_fd (line 33) | unique_fd CreateTempFile(const std::string& name, size_t size) { FILE: fs_mgr/libdm/test_util.h function namespace (line 29) | namespace android { FILE: fs_mgr/libdm/utility.cpp type android (line 26) | namespace android { type dm (line 27) | namespace dm { function WaitForCondition (line 29) | bool WaitForCondition(const std::function& condition, function WaitForFile (line 45) | bool WaitForFile(const std::string& path, const std::chrono::millise... function WaitForFileDeleted (line 61) | bool WaitForFileDeleted(const std::string& path, const std::chrono::... FILE: fs_mgr/libdm/utility.h function namespace (line 20) | namespace android { FILE: fs_mgr/libfiemap/binder.cpp type android (line 26) | namespace android { type fiemap (line 27) | namespace fiemap { class ProgressCallback (line 32) | class ProgressCallback final : public BnProgressCallback { method ProgressCallback (line 34) | ProgressCallback(std::function&& callback) method onProgress (line 38) | android::binder::Status onProgress(int64_t current, int64_t total) { class ImageManagerBinder (line 50) | class ImageManagerBinder final : public IImageManager { function FiemapStatus (line 79) | static FiemapStatus ToFiemapStatus(const char* func, const binder::S... function FiemapStatus (line 95) | FiemapStatus ImageManagerBinder::CreateBackingImage( function FiemapStatus (line 184) | FiemapStatus ImageManagerBinder::ZeroFillNewImage(const std::string&... FILE: fs_mgr/libfiemap/fiemap_status.cpp type android::fiemap (line 19) | namespace android::fiemap { FILE: fs_mgr/libfiemap/fiemap_writer.cpp type android (line 43) | namespace android { type fiemap (line 44) | namespace fiemap { function cleanup (line 60) | static inline void cleanup(const std::string& file_path, bool create... function ValidateDmTarget (line 67) | static bool ValidateDmTarget(const DeviceMapper::TargetInfo& target) { function DeviceMapperStackPop (line 92) | static bool DeviceMapperStackPop(const std::string& bdev, std::strin... type stat (line 173) | struct stat function GetBlockDeviceSize (line 215) | static bool GetBlockDeviceSize(int bdev_fd, const std::string& bdev_... function GetFileSize (line 227) | static uint64_t GetFileSize(const std::string& file_path) { function PerformFileChecks (line 237) | static bool PerformFileChecks(const std::string& file_path, uint64_t... function FiemapStatus (line 266) | static FiemapStatus FallocateFallback(int file_fd, uint64_t block_si... function IsFilePinned (line 319) | static bool IsFilePinned(int file_fd, const std::string& file_path, ... function PinFile (line 359) | static bool PinFile(int file_fd, const std::string& file_path, uint3... function FiemapStatus (line 386) | static FiemapStatus WriteZeroes(int file_fd, const std::string& file... function FiemapStatus (line 433) | static FiemapStatus AllocateFile(int file_fd, const std::string& fil... type statfs64 (line 519) | struct statfs64 function IsValidExtent (line 527) | static bool IsValidExtent(const fiemap_extent* extent, std::string_v... function IsLastExtent (line 536) | static bool IsLastExtent(const fiemap_extent* extent) { function FiemapToExtents (line 540) | static bool FiemapToExtents(struct fiemap* fiemap, std::vector GetBigFileLimit(const std::string& mou... class FsTest (line 456) | class FsTest : public ::testing::Test { method SetUp (line 462) | void SetUp() { method SetUpExt4 (line 481) | void SetUpExt4() { method SetUpF2fs (line 505) | void SetUpF2fs() { method TearDown (line 530) | void TearDown() override { function TEST_F (line 541) | TEST_F(FsTest, LowSpaceError) { function DetermineBlockSize (line 558) | bool DetermineBlockSize() { function main (line 578) | int main(int argc, char** argv) { FILE: fs_mgr/libfiemap/image_manager.cpp type android (line 36) | namespace android { type fiemap (line 37) | namespace fiemap { function GetStatusPropertyName (line 105) | static std::string GetStatusPropertyName(const std::string& image_na... function FiemapStatus (line 162) | FiemapStatus ImageManager::CreateBackingImage( function FiemapStatus (line 218) | FiemapStatus ImageManager::ZeroFillNewImage(const std::string& name,... function CreateLoopDevice (line 333) | static bool CreateLoopDevice(LoopControl& control, const std::string... class AutoDetachLoopDevices (line 349) | class AutoDetachLoopDevices final { method AutoDetachLoopDevices (line 351) | AutoDetachLoopDevices(LoopControl& control, const std::vector& devi... function CompareExtent (line 772) | static bool CompareExtent(android::fs_mgr::Extent* a, android::fs_mg... function CompareExtents (line 785) | static bool CompareExtents(android::fs_mgr::Partition* oldp, android... FILE: fs_mgr/libfiemap/image_test.cpp class TestPartitionOpener (line 58) | class TestPartitionOpener final : public PartitionOpener { method Open (line 60) | android::base::unique_fd Open(const std::string& partition_name, int f... method GetInfo (line 63) | bool GetInfo(const std::string& partition_name, BlockDeviceInfo* info)... method GetDeviceString (line 66) | std::string GetDeviceString(const std::string& partition_name) const o... method GetPathForBlockDeviceName (line 71) | static std::string GetPathForBlockDeviceName(const std::string& name) { class NativeTest (line 80) | class NativeTest : public ::testing::Test { method SetUp (line 82) | void SetUp() override { method TearDown (line 92) | void TearDown() override { method PropertyName (line 97) | std::string PropertyName() { return "gsid.mapped_image." + base_name_; } function TEST_F (line 103) | TEST_F(NativeTest, CreateAndMap) { function TEST_F (line 122) | TEST_F(NativeTest, DisableImage) { function TEST_F (line 131) | TEST_F(NativeTest, GetMappedImageDevice) { type IsSubdirTestParam (line 144) | struct IsSubdirTestParam { class IsSubdirTest (line 150) | class IsSubdirTest : public ::testing::TestWithParam {} function TEST_P (line 152) | TEST_P(IsSubdirTest, Test) { function IsSubdirTestValues (line 159) | std::vector IsSubdirTestValues() { class VfatTest (line 188) | class VfatTest : public ::testing::Test { method SetUp (line 194) | void SetUp() override { method TearDown (line 240) | void TearDown() override { function TEST_F (line 280) | TEST_F(VfatTest, DeviceIsRequestedSize) { function Mkdir (line 300) | bool Mkdir(const std::string& path) { function main (line 308) | int main(int argc, char** argv) { FILE: fs_mgr/libfiemap/include/libfiemap/fiemap_status.h function namespace (line 24) | namespace android::fiemap { FILE: fs_mgr/libfiemap/include/libfiemap/fiemap_writer.h function namespace (line 32) | namespace android { FILE: fs_mgr/libfiemap/include/libfiemap/image_manager.h function namespace (line 32) | namespace android { FILE: fs_mgr/libfiemap/include/libfiemap/split_fiemap_writer.h function namespace (line 31) | namespace android { FILE: fs_mgr/libfiemap/metadata.cpp type android (line 29) | namespace android { type fiemap (line 30) | namespace fiemap { function GetMetadataFile (line 37) | std::string GetMetadataFile(const std::string& metadata_dir) { function MetadataExists (line 41) | bool MetadataExists(const std::string& metadata_dir) { function OpenMetadata (line 52) | std::unique_ptr OpenMetadata(const std::string& metadata... function OpenOrCreateMetadata (line 63) | std::unique_ptr OpenOrCreateMetadata(const std::str... function SaveMetadata (line 101) | bool SaveMetadata(MetadataBuilder* builder, const std::string& metad... function RemoveAllMetadata (line 122) | bool RemoveAllMetadata(const std::string& dir) { function FillPartitionExtents (line 132) | bool FillPartitionExtents(MetadataBuilder* builder, Partition* parti... function RemoveImageMetadata (line 167) | bool RemoveImageMetadata(const std::string& metadata_dir, const std:... function UpdateMetadata (line 185) | bool UpdateMetadata(const std::string& metadata_dir, const std::stri... function AddAttributes (line 209) | bool AddAttributes(const std::string& metadata_dir, const std::strin... FILE: fs_mgr/libfiemap/metadata.h function namespace (line 26) | namespace android { FILE: fs_mgr/libfiemap/passthrough.cpp type android (line 19) | namespace android { type fiemap (line 20) | namespace fiemap { FILE: fs_mgr/libfiemap/split_fiemap_writer.cpp type android (line 37) | namespace android { type fiemap (line 38) | namespace fiemap { function FiemapStatus (line 55) | FiemapStatus SplitFiemap::Create(const std::string& file_path, uint6... type fiemap_extent (line 218) | struct fiemap_extent FILE: fs_mgr/libfiemap/utility.cpp type android (line 32) | namespace android { type fiemap (line 33) | namespace fiemap { function FiemapStatus (line 40) | FiemapStatus DetermineMaximumFileSize(const std::string& file_path, ... function GetDevicePathForFile (line 79) | std::string GetDevicePathForFile(SplitFiemap* file) { function JoinPaths (line 92) | std::string JoinPaths(const std::string& dir, const std::string& fil... function F2fsPinBeforeAllocate (line 99) | bool F2fsPinBeforeAllocate(int file_fd, bool* supported) { function BlockDeviceToName (line 126) | bool BlockDeviceToName(uint32_t major, uint32_t minor, std::string* ... function FilesystemHasReliablePinning (line 151) | bool FilesystemHasReliablePinning(const std::string& file, bool* sup... function IsSubdir (line 170) | bool IsSubdir(const std::string& child, const std::string& parent) { FILE: fs_mgr/libfiemap/utility.h function namespace (line 25) | namespace android { FILE: fs_mgr/libfs_avb/avb_ops.cpp type android (line 49) | namespace android { type fs_mgr (line 50) | namespace fs_mgr { function AvbIOResult (line 52) | static AvbIOResult read_from_partition(AvbOps* ops, const char* part... function DeriveMountPoint (line 112) | static std::string DeriveMountPoint(const std::string& partition_name, function AvbIOResult (line 191) | AvbIOResult FsManagerAvbOps::GetSizeOfPartition(const char* partition, function AvbIOResult (line 210) | AvbIOResult FsManagerAvbOps::ReadFromPartition(const char* partition... function AvbSlotVerifyResult (line 255) | AvbSlotVerifyResult FsManagerAvbOps::AvbSlotVerify(const std::string... FILE: fs_mgr/libfs_avb/avb_ops.h function namespace (line 34) | namespace android { FILE: fs_mgr/libfs_avb/avb_util.cpp type android (line 36) | namespace android { type fs_mgr (line 37) | namespace fs_mgr { function ConstructVerityTable (line 42) | bool ConstructVerityTable(const FsAvbHashtreeDescriptor& hashtree_desc, function HashtreeDmVeritySetup (line 92) | bool HashtreeDmVeritySetup(FstabEntry* fstab_entry, const FsAvbHasht... function GetHashtreeDescriptor (line 120) | std::unique_ptr GetHashtreeDescriptor( function LoadAvbHashtreeToEnableVerity (line 179) | bool LoadAvbHashtreeToEnableVerity(FstabEntry* fstab_entry, bool wai... function AvbPartitionToDevicePatition (line 210) | std::string AvbPartitionToDevicePatition(const std::string& avb_part... function DeriveAvbPartitionName (line 233) | std::string DeriveAvbPartitionName(const FstabEntry& fstab_entry, co... function off64_t (line 258) | off64_t GetTotalSize(int fd) { function GetAvbFooter (line 280) | std::unique_ptr GetAvbFooter(int fd) { function ValidatePublicKeyBlob (line 301) | bool ValidatePublicKeyBlob(const uint8_t* key, size_t length, function ValidatePublicKeyBlob (line 315) | bool ValidatePublicKeyBlob(const std::string& key_blob_to_validate, function VBMetaVerifyResult (line 330) | VBMetaVerifyResult VerifyVBMetaSignature(const VBMetaData& vbmeta, function VerifyVBMetaData (line 382) | std::unique_ptr VerifyVBMetaData(int fd, const std::stri... function RollbackDetected (line 432) | bool RollbackDetected(const std::string& partition_name ATTRIBUTE_UN... function GetChainPartitionInfo (line 438) | std::vector GetChainPartitionInfo(const VBMetaData& vbmet... function LoadAndVerifyVbmetaByPath (line 480) | std::unique_ptr LoadAndVerifyVbmetaByPath( function VBMetaVerifyResult (line 549) | VBMetaVerifyResult LoadAndVerifyVbmetaByPartition( FILE: fs_mgr/libfs_avb/avb_util.h function namespace (line 29) | namespace android { FILE: fs_mgr/libfs_avb/fs_avb.cpp type android (line 51) | namespace android { type fs_mgr (line 52) | namespace fs_mgr { function VerifyVbmetaDigest (line 55) | std::pair VerifyVbmetaDigest(const std::vector CalculateVbmetaDigest(const std::vect... class AvbVerifier (line 92) | class AvbVerifier { method AvbVerifier (line 99) | AvbVerifier() = default; function AvbUniquePtr (line 191) | AvbUniquePtr AvbHandle::LoadAndVerifyVbmeta( function IsAvbPermissive (line 280) | static bool IsAvbPermissive() { function IsPublicKeyMatching (line 292) | bool IsPublicKeyMatching(const FstabEntry& fstab_entry, const std::s... function IsHashtreeDescriptorRootDigestMatching (line 332) | bool IsHashtreeDescriptorRootDigestMatching(const FstabEntry& fstab_... function AvbUniquePtr (line 366) | AvbUniquePtr AvbHandle::LoadAndVerifyVbmeta(const FstabEntry& fstab_... function AvbUniquePtr (line 437) | AvbUniquePtr AvbHandle::LoadAndVerifyVbmeta(const std::string& slot_... function AvbUniquePtr (line 454) | AvbUniquePtr AvbHandle::Open() { function AvbHashtreeResult (line 539) | AvbHashtreeResult AvbHandle::SetUpStandaloneAvbHashtree(FstabEntry* ... function AvbHashtreeResult (line 549) | AvbHashtreeResult AvbHandle::SetUpAvbHashtree(FstabEntry* fstab_entr... FILE: fs_mgr/libfs_avb/fs_avb_util.cpp type android (line 32) | namespace android { type fs_mgr (line 33) | namespace fs_mgr { function LoadAndVerifyVbmeta (line 36) | std::unique_ptr LoadAndVerifyVbmeta(const FstabEntry& fs... function GetHashtreeDescriptor (line 69) | std::unique_ptr GetHashtreeDescriptor( function GetHashDescriptor (line 78) | std::unique_ptr GetHashDescriptor( function GetHashDescriptor (line 137) | std::unique_ptr GetHashDescriptor(const std::st... function GetAvbPropertyDescriptor (line 146) | std::string GetAvbPropertyDescriptor(const std::string& key, FILE: fs_mgr/libfs_avb/include/fs_avb/fs_avb.h function namespace (line 28) | namespace android { FILE: fs_mgr/libfs_avb/include/fs_avb/fs_avb_util.h function namespace (line 25) | namespace android { FILE: fs_mgr/libfs_avb/include/fs_avb/types.h type class (line 28) | enum class function AvbHashtreeResult (line 36) | enum class AvbHashtreeResult { FILE: fs_mgr/libfs_avb/sha.h function namespace (line 21) | namespace android { FILE: fs_mgr/libfs_avb/tests/avb_util_test.cpp type fs_avb_host_test (line 46) | namespace fs_avb_host_test { class AvbUtilTest (line 48) | class AvbUtilTest : public BaseFsAvbTest { method AvbUtilTest (line 50) | AvbUtilTest(){} function TEST_F (line 92) | TEST_F(AvbUtilTest, AvbPartitionToDevicePatition) { function TEST_F (line 103) | TEST_F(AvbUtilTest, DeriveAvbPartitionName) { function TEST_F (line 160) | TEST_F(AvbUtilTest, GetFdTotalSize) { function TEST_F (line 175) | TEST_F(AvbUtilTest, GetFdTotalSizeWithOffset) { function TEST_F (line 188) | TEST_F(AvbUtilTest, GetAvbFooter) { function TEST_F (line 254) | TEST_F(AvbUtilTest, GetAvbFooterErrorVerification) { function TEST_F (line 265) | TEST_F(AvbUtilTest, GetAvbFooterInsufficientSize) { function TEST_F (line 276) | TEST_F(AvbUtilTest, GetAvbPropertyDescriptor_Basic) { function TEST_F (line 295) | TEST_F(AvbUtilTest, GetAvbPropertyDescriptor_SecurityPatchLevel) { function TEST_F (line 337) | TEST_F(AvbUtilTest, GetVBMetaHeader) { function TEST_F (line 424) | TEST_F(AvbUtilTest, ValidatePublicKeyBlob) { function TEST_F (line 442) | TEST_F(AvbUtilTest, VerifyEmptyPublicKeyBlob) { function TEST_F (line 454) | TEST_F(AvbUtilTest, ValidatePublicKeyBlob_MultipleAllowedKeys) { function TEST_F (line 484) | TEST_F(AvbUtilTest, VerifyVBMetaSignature) { function TEST_F (line 504) | TEST_F(AvbUtilTest, VerifyVBMetaSignatureOutputPublicKeyData) { function TEST_F (line 545) | TEST_F(AvbUtilTest, VerifyVBMetaSignatureWithModification) { function TEST_F (line 574) | TEST_F(AvbUtilTest, VerifyVBMetaSignatureNotSigned) { function TEST_F (line 586) | TEST_F(AvbUtilTest, VerifyVBMetaSignatureInvalidVBMeta) { function TEST_F (line 629) | TEST_F(AvbUtilTest, VerifyVBMetaDataWithoutFooter) { function TEST_F (line 685) | TEST_F(AvbUtilTest, VerifyVBMetaDataWithFooter) { function TEST_F (line 745) | TEST_F(AvbUtilTest, VerifyVBMetaDataError) { function TEST_F (line 821) | TEST_F(AvbUtilTest, GetChainPartitionInfo) { function TEST_F (line 931) | TEST_F(AvbUtilTest, GetChainPartitionInfoNone) { function TEST_F (line 1002) | TEST_F(AvbUtilTest, LoadAndVerifyVbmetaByPath) { function TEST_F (line 1036) | TEST_F(AvbUtilTest, LoadAndVerifyVbmetaByPathErrorVerification) { function TEST_F (line 1111) | TEST_F(AvbUtilTest, LoadAndVerifyVbmetaByPathUnexpectedPublicKey) { function TEST_F (line 1169) | TEST_F(AvbUtilTest, LoadAndVerifyVbmetaByPathVerificationDisabled) { function TEST_F (line 1216) | TEST_F(AvbUtilTest, LoadAndVerifyVbmetaByPartition) { function TEST_F (line 1293) | TEST_F(AvbUtilTest, LoadAndVerifyVbmetaByPartitionWithSuffixes) { function TEST_F (line 1381) | TEST_F(AvbUtilTest, LoadAndVerifyVbmetaByPartitionErrorVerification) { function TEST_F (line 1498) | TEST_F(AvbUtilTest, LoadAndVerifyVbmetaByPartitionVerificationDisabled) { function TEST_F (line 1591) | TEST_F(AvbUtilTest, LoadAndVerifyVbmetaByPartitionUnexpectedPublicKey) { FILE: fs_mgr/libfs_avb/tests/basic_test.cpp type fs_avb_host_test (line 24) | namespace fs_avb_host_test { function TEST_F (line 26) | TEST_F(BaseFsAvbTest, GenerateImage) { function TEST_F (line 49) | TEST_F(BaseFsAvbTest, GenerateVBMetaImage) { function TEST_F (line 72) | TEST_F(BaseFsAvbTest, AddHashFooter) { function TEST_F (line 111) | TEST_F(BaseFsAvbTest, AddHashtreeFooter) { function TEST_F (line 157) | TEST_F(BaseFsAvbTest, GenerateVBMetaImageWithDescriptors) { function TEST_F (line 221) | TEST_F(BaseFsAvbTest, GenerateVBMetaImageWithChainDescriptors) { function main (line 281) | int main(int argc, char** argv) { FILE: fs_mgr/libfs_avb/tests/fs_avb_device_test.cpp type fs_avb_device_test (line 33) | namespace fs_avb_device_test { function TEST (line 37) | TEST(FsAvbUtilTest, DISABLED_LoadAndVerifyVbmeta_SystemVbmeta) { function TEST (line 57) | TEST(FsAvbUtilTest, GetHashtreeDescriptor_SystemOther) { function TEST (line 96) | TEST(AvbHandleTest, LoadAndVerifyVbmeta_SystemOther) { function TEST (line 125) | TEST(AvbHandleTest, GetSecurityPatchLevel) { FILE: fs_mgr/libfs_avb/tests/fs_avb_test.cpp type fs_avb_host_test (line 33) | namespace fs_avb_host_test { class PublicFsAvbTest (line 35) | class PublicFsAvbTest : public BaseFsAvbTest { method PublicFsAvbTest (line 37) | PublicFsAvbTest(){} function TEST_F (line 63) | TEST_F(PublicFsAvbTest, LoadAndVerifyVbmeta) { function TEST_F (line 134) | TEST_F(PublicFsAvbTest, LoadAndVerifyVbmetaWithModifications) { function TEST_F (line 239) | TEST_F(PublicFsAvbTest, LoadAndVerifyVbmetaWithPublicKeys) { FILE: fs_mgr/libfs_avb/tests/fs_avb_test_util.cpp type fs_avb_host_test (line 26) | namespace fs_avb_host_test { function VBMetaData (line 187) | VBMetaData BaseFsAvbTest::GenerateImageAndExtractVBMetaData( function VBMetaData (line 209) | VBMetaData BaseFsAvbTest::LoadVBMetaData(const std::string& file_name) { function VBMetaData (line 224) | VBMetaData BaseFsAvbTest::ExtractAndLoadVBMetaData(const base::FilePat... FILE: fs_mgr/libfs_avb/tests/fs_avb_test_util.h function namespace (line 47) | namespace fs_avb_host_test { FILE: fs_mgr/libfs_avb/tests/fs_avb_util_test.cpp type fs_avb_host_test (line 21) | namespace fs_avb_host_test { class PublicFsAvbUtilTest (line 23) | class PublicFsAvbUtilTest : public BaseFsAvbTest { method PublicFsAvbUtilTest (line 25) | PublicFsAvbUtilTest(){} function TEST_F (line 31) | TEST_F(PublicFsAvbUtilTest, GetHashtreeDescriptor) { function TEST_F (line 105) | TEST_F(PublicFsAvbUtilTest, GetHashtreeDescriptor_NotFound) { FILE: fs_mgr/libfs_avb/tests/util_test.cpp type fs_avb_host_test (line 38) | namespace fs_avb_host_test { function TEST (line 40) | TEST(BasicUtilTest, NibbleValue09) { function TEST (line 65) | TEST(BasicUtilTest, NibbleValueAF) { function TEST (line 95) | TEST(BasicUtilTest, NibbleValueInvalid) { function TEST (line 106) | TEST(BasicUtilTest, HexToBytes) { function TEST (line 116) | TEST(BasicUtilTest, HexToBytes2) { function TEST (line 126) | TEST(BasicUtilTest, BytesToHex) { function TEST (line 139) | TEST(BasicUtilTest, HexToBytesInValidOddLenHex) { function TEST (line 146) | TEST(BasicUtilTest, HexToBytesInsufficientByteLen) { function TEST (line 153) | TEST(BasicUtilTest, WaitForFile) { function TEST (line 169) | TEST(BasicUtilTest, WaitForFileNonExist) { function TEST (line 174) | TEST(BasicUtilTest, WaitForFileDeferCreation) { function TEST (line 195) | TEST(BasicUtilTest, WaitForFileDeferCreationFailure) { function TEST (line 216) | TEST(BasicUtilTest, ListFiles) { function TEST (line 247) | TEST(BasicUtilTest, ListFilesShouldDiscardSymlink) { function TEST (line 279) | TEST(BasicUtilTest, ListFilesOpenDirFailure) { function TEST (line 293) | TEST(BasicUtilTest, ListFilesEmptyDir) { FILE: fs_mgr/libfs_avb/types.cpp type android (line 19) | namespace android { type fs_mgr (line 20) | namespace fs_mgr { FILE: fs_mgr/libfs_avb/util.cpp type android (line 30) | namespace android { type fs_mgr (line 31) | namespace fs_mgr { function NibbleValue (line 33) | bool NibbleValue(const char& c, uint8_t* value) { function HexToBytes (line 53) | bool HexToBytes(uint8_t* bytes, size_t bytes_len, const std::string&... function BytesToHex (line 76) | std::string BytesToHex(const uint8_t* bytes, size_t bytes_len) { function WaitForFile (line 90) | bool WaitForFile(const std::string& filename, const std::chrono::mil... function IsDeviceUnlocked (line 110) | bool IsDeviceUnlocked() { function SetBlockDeviceReadOnly (line 119) | bool SetBlockDeviceReadOnly(const std::string& blockdev) { function ListFiles (line 129) | Result> ListFiles(const std::string& dir) { FILE: fs_mgr/libfs_avb/util.h function namespace (line 46) | namespace android { FILE: fs_mgr/libfstab/boot_config.cpp type android (line 28) | namespace android { type fs_mgr (line 29) | namespace fs_mgr { function ImportBootconfigFromString (line 52) | void ImportBootconfigFromString(const std::string& bootconfig, function GetBootconfigFromString (line 87) | bool GetBootconfigFromString(const std::string& bootconfig, const st... function ImportBootconfig (line 99) | void ImportBootconfig(const std::function ExtraBootDevices(const Fstab& fstab) { type FstabPtrEntry (line 504) | struct FstabPtrEntry { function GetEntriesByPred (line 511) | std::vector GetEntriesByPred(FstabPtr fstab, con... function GetRecoveryFstabPath (line 529) | std::string GetRecoveryFstabPath() { function GetFstabPath (line 551) | std::string GetFstabPath() { function ParseFstabFromString (line 575) | bool ParseFstabFromString(const std::string& fstab_str, bool proc_mo... function TransformFstabForDsu (line 630) | void TransformFstabForDsu(Fstab* fstab, const std::string& dsu_slot, function EnableMandatoryFlags (line 712) | void EnableMandatoryFlags(Fstab* fstab) { function ReadFstabFromFileCommon (line 735) | static bool ReadFstabFromFileCommon(const std::string& path, Fstab* ... function ReadFstabFromFile (line 754) | bool ReadFstabFromFile(const std::string& path, Fstab* fstab) { function ReadFstabFromProcMounts (line 781) | bool ReadFstabFromProcMounts(Fstab* fstab) { function ReadFstabFromDt (line 788) | bool ReadFstabFromDt(Fstab* fstab, bool verbose) { function SkipMountingPartitions (line 820) | bool SkipMountingPartitions(Fstab* fstab, bool verbose) { function SkipMountWithConfig (line 836) | bool SkipMountWithConfig(const std::string& skip_mount_config, Fstab... function ReadDefaultFstab (line 866) | bool ReadDefaultFstab(Fstab* fstab) { function GetEntriesForMountPoint (line 882) | std::vector GetEntriesForMountPoint(Fstab* fstab, const... function FstabEntry (line 887) | FstabEntry* GetEntryForMountPoint(Fstab* fstab, const std::string_vi... function GetEntriesForMountPoint (line 895) | std::vector GetEntriesForMountPoint(const Fstab* ... function FstabEntry (line 901) | FstabEntry* GetEntryForMountPoint(Fstab* fstab, const std::string& p... function FstabEntry (line 906) | const FstabEntry* GetEntryForMountPoint(const Fstab* fstab, const st... function GetBootDevices (line 911) | std::set GetBootDevices() { function GetBootPartUuid (line 950) | std::string GetBootPartUuid() { function GetVerityDeviceName (line 966) | std::string GetVerityDeviceName(const FstabEntry& entry) { function InRecovery (line 980) | bool InRecovery() { function is_dt_compatible (line 994) | bool is_dt_compatible() { FILE: fs_mgr/libfstab/fstab_priv.h function namespace (line 31) | namespace android { FILE: fs_mgr/libfstab/fuzz/fs_mgr_fstab_fuzzer.cpp function LLVMFuzzerTestOneInput (line 25) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: fs_mgr/libfstab/include/fstab/fstab.h function namespace (line 30) | namespace android { FILE: fs_mgr/libfstab/slotselect.cpp function other_suffix (line 30) | static std::string other_suffix(const std::string& slot_suffix) { function fs_mgr_get_other_slot_suffix (line 42) | std::string fs_mgr_get_other_slot_suffix() { function fs_mgr_get_slot_suffix (line 48) | std::string fs_mgr_get_slot_suffix() { function fs_mgr_update_for_slotselect (line 56) | bool fs_mgr_update_for_slotselect(Fstab* fstab) { type android (line 78) | namespace android { type fs_mgr (line 79) | namespace fs_mgr { function OtherSlotSuffix (line 81) | std::string OtherSlotSuffix(const std::string& suffix) { FILE: fs_mgr/liblp/builder.cpp type android (line 31) | namespace android { type fs_mgr (line 32) | namespace fs_mgr { function Interval (line 85) | Interval LinearExtent::AsInterval() const { function Partition (line 149) | Partition Partition::GetBeginningExtents(uint64_t aligned_size) const { function VerifyDeviceProperties (line 360) | static bool VerifyDeviceProperties(const BlockDeviceInfo& device_inf... function Partition (line 525) | Partition* MetadataBuilder::AddPartition(const std::string& name, ui... function Partition (line 529) | Partition* MetadataBuilder::AddPartition(std::string_view name, std:... function Partition (line 547) | Partition* MetadataBuilder::FindPartition(std::string_view name) con... function PartitionGroup (line 556) | PartitionGroup* MetadataBuilder::FindGroup(std::string_view group_na... function Interval (line 673) | Interval Interval::Intersect(const Interval& a, const Interval& b) { function CompareBlockDevices (line 1130) | static bool CompareBlockDevices(const LpMetadataBlockDevice& first, FILE: fs_mgr/liblp/builder_test.cpp class Environment (line 37) | class Environment : public ::testing::Environment { method SetUp (line 39) | void SetUp() override { ResetMockPropertyFetcher(); } function main (line 42) | int main(int argc, char** argv) { class BuilderTest (line 47) | class BuilderTest : public LiblpTest {} function TEST_F (line 49) | TEST_F(BuilderTest, BuildBasic) { function TEST_F (line 64) | TEST_F(BuilderTest, ResizePartition) { function TEST_F (line 125) | TEST_F(BuilderTest, PartitionAlignment) { function TEST_F (line 141) | TEST_F(BuilderTest, DiskAlignment) { function TEST_F (line 151) | TEST_F(BuilderTest, MetadataAlignment) { function TEST_F (line 160) | TEST_F(BuilderTest, InternalAlignment) { function TEST_F (line 208) | TEST_F(BuilderTest, InternalPartitionAlignment) { function TEST_F (line 243) | TEST_F(BuilderTest, UseAllDiskSpace) { function TEST_F (line 269) | TEST_F(BuilderTest, BuildComplex) { function TEST_F (line 303) | TEST_F(BuilderTest, AddInvalidPartition) { function TEST_F (line 318) | TEST_F(BuilderTest, BuilderExport) { function TEST_F (line 377) | TEST_F(BuilderTest, BuilderImport) { function TEST_F (line 415) | TEST_F(BuilderTest, ExportNameTooLong) { function TEST_F (line 426) | TEST_F(BuilderTest, MetadataTooLarge) { function TEST_F (line 451) | TEST_F(BuilderTest, UpdateBlockDeviceInfo) { function TEST_F (line 494) | TEST_F(BuilderTest, InvalidBlockSize) { function TEST_F (line 500) | TEST_F(BuilderTest, AlignedExtentSize) { function TEST_F (line 511) | TEST_F(BuilderTest, AlignedFreeSpace) { function TEST_F (line 518) | TEST_F(BuilderTest, HasDefaultGroup) { function TEST_F (line 526) | TEST_F(BuilderTest, GroupSizeLimits) { function TEST_F (line 543) | TEST_F(BuilderTest, ListPartitionsInGroup) { function TEST_F (line 566) | TEST_F(BuilderTest, ChangeGroups) { function TEST_F (line 595) | TEST_F(BuilderTest, RemoveAndAddFirstPartition) { function TEST_F (line 618) | TEST_F(BuilderTest, ListGroups) { function TEST_F (line 628) | TEST_F(BuilderTest, RemoveGroupAndPartitions) { function TEST_F (line 645) | TEST_F(BuilderTest, MultipleBlockDevices) { function TEST_F (line 690) | TEST_F(BuilderTest, ImportPartitionsOk) { function TEST_F (line 730) | TEST_F(BuilderTest, ImportPartitionsFail) { function TEST_F (line 751) | TEST_F(BuilderTest, ABExtents) { function TEST_F (line 789) | TEST_F(BuilderTest, PartialExtents) { function TEST_F (line 815) | TEST_F(BuilderTest, UpdateSuper) { type android (line 887) | namespace android { type fs_mgr (line 888) | namespace fs_mgr { function TEST_F (line 895) | TEST_F(BuilderTest, Interval) { function TEST_F (line 920) | TEST_F(BuilderTest, ExpandedHeader) { function Interval (line 939) | static Interval ToInterval(const std::unique_ptr& extent) { function AddPartition (line 946) | static void AddPartition(const std::unique_ptr& builder, function TEST_F (line 968) | TEST_F(BuilderTest, CollidedExtents) { function TEST_F (line 1004) | TEST_F(BuilderTest, LinearExtentOverlap) { function TEST_F (line 1022) | TEST_F(BuilderTest, AlignFreeRegion) { function TEST_F (line 1054) | TEST_F(BuilderTest, ResizeOverflow) { function TEST_F (line 1068) | TEST_F(BuilderTest, VerifyExtent) { FILE: fs_mgr/liblp/device_test.cpp class DeviceTest (line 33) | class DeviceTest : public LiblpTest { method SetUp (line 35) | void SetUp() override { function TEST_F (line 45) | TEST_F(DeviceTest, BlockDeviceInfo) { function TEST_F (line 56) | TEST_F(DeviceTest, ReadSuperPartitionCurrentSlot) { function TEST_F (line 64) | TEST_F(DeviceTest, ReadSuperPartitionOtherSlot) { FILE: fs_mgr/liblp/fuzzer/liblp_apis_fuzzer.cpp class LiplpApisFuzzer (line 59) | class LiplpApisFuzzer { method LiplpApisFuzzer (line 61) | LiplpApisFuzzer(const uint8_t* data, size_t size) : mFdp(data, size){} function BlockDeviceInfo (line 86) | BlockDeviceInfo LiplpApisFuzzer::getBlockDevice() { function LLVMFuzzerTestOneInput (line 238) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: fs_mgr/liblp/fuzzer/liblp_builder_fuzzer.cpp class BuilderFuzzer (line 65) | class BuilderFuzzer { method BuilderFuzzer (line 67) | BuilderFuzzer(const uint8_t* data, size_t size) : mFdp(data, size){} method T (line 97) | T getParamValue(T validValue) { function LLVMFuzzerTestOneInput (line 441) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: fs_mgr/liblp/fuzzer/liblp_super_layout_builder_fuzzer.cpp class SuperLayoutBuilderFuzzer (line 50) | class SuperLayoutBuilderFuzzer { method SuperLayoutBuilderFuzzer (line 52) | SuperLayoutBuilderFuzzer(const uint8_t* data, size_t size) : mFdp(data... function LLVMFuzzerTestOneInput (line 145) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: fs_mgr/liblp/images.cpp type android (line 28) | namespace android { type fs_mgr (line 29) | namespace fs_mgr { function IsEmptySuperImage (line 38) | static bool IsEmptySuperImage(borrowed_fd fd) { function IsEmptySuperImage (line 61) | bool IsEmptySuperImage(const std::string& file) { function ReadFromImageFile (line 70) | std::unique_ptr ReadFromImageFile(int fd) { function ReadFromImageBlob (line 87) | std::unique_ptr ReadFromImageBlob(const void* data, size... function ReadFromImageFile (line 104) | std::unique_ptr ReadFromImageFile(const std::string& ima... function WriteToImageFile (line 113) | bool WriteToImageFile(borrowed_fd fd, const LpMetadata& input) { function FsyncDirectory (line 127) | bool FsyncDirectory(const char* dirname) { function WriteToImageFile (line 146) | bool WriteToImageFile(const std::string& file, const LpMetadata& inp... function HasFillValue (line 337) | static inline bool HasFillValue(uint32_t* buffer, size_t count) { function WriteToImageFile (line 514) | bool WriteToImageFile(const std::string& file, const LpMetadata& met... function WriteSplitImageFiles (line 520) | bool WriteSplitImageFiles(const std::string& output_dir, const LpMet... FILE: fs_mgr/liblp/images.h function namespace (line 26) | namespace android { FILE: fs_mgr/liblp/include/liblp/builder.h function namespace (line 32) | namespace android { FILE: fs_mgr/liblp/include/liblp/liblp.h function namespace (line 32) | namespace android { FILE: fs_mgr/liblp/include/liblp/metadata_format.h type LpMetadataGeometry (line 116) | typedef struct LpMetadataGeometry { type LpMetadataTableDescriptor (line 152) | typedef struct LpMetadataTableDescriptor { type LpMetadataHeader (line 182) | typedef struct LpMetadataHeader { type LpMetadataPartition (line 249) | typedef struct LpMetadataPartition { type LpMetadataExtent (line 284) | typedef struct LpMetadataExtent { type LpMetadataPartitionGroup (line 311) | typedef struct LpMetadataPartitionGroup { type LpMetadataBlockDevice (line 332) | typedef struct LpMetadataBlockDevice { type LpMetadataHeaderV1_0 (line 386) | typedef struct LpMetadataHeaderV1_0 { type LpMetadataHeader (line 400) | typedef LpMetadataHeader LpMetadataHeaderV1_2; FILE: fs_mgr/liblp/include/liblp/mock_property_fetcher.h function namespace (line 23) | namespace android { FILE: fs_mgr/liblp/include/liblp/partition_opener.h function namespace (line 25) | namespace android { FILE: fs_mgr/liblp/include/liblp/property_fetcher.h function namespace (line 21) | namespace android { FILE: fs_mgr/liblp/include/liblp/super_layout_builder.h function namespace (line 29) | namespace android { FILE: fs_mgr/liblp/io_test.cpp function unique_fd (line 55) | static unique_fd CreateFakeDisk(off_t size) { function unique_fd (line 81) | static unique_fd CreateFakeDisk() { function CreateDefaultBuilder (line 86) | static unique_ptr CreateDefaultBuilder() { class DefaultPartitionOpener (line 92) | class DefaultPartitionOpener final : public TestPartitionOpener { method DefaultPartitionOpener (line 94) | explicit DefaultPartitionOpener(int fd) function AddDefaultPartitions (line 98) | static bool AddDefaultPartitions(MetadataBuilder* builder) { function unique_fd (line 107) | static unique_fd CreateFlashedDisk() { function TEST_F (line 130) | TEST_F(LiblpTest, CreateFakeDisk) { function TEST_F (line 146) | TEST_F(LiblpTest, ExportDiskTooSmall) { function TEST_F (line 163) | TEST_F(LiblpTest, FlashAndReadback) { function TEST_F (line 213) | TEST_F(LiblpTest, UpdateAnyMetadataSlot) { function TEST_F (line 258) | TEST_F(LiblpTest, InvalidMetadataSlot) { function TEST_F (line 277) | TEST_F(LiblpTest, NoChangingGeometry) { function TEST_F (line 306) | TEST_F(LiblpTest, BitFlipGeometry) { function TEST_F (line 325) | TEST_F(LiblpTest, ReadBackupGeometry) { function TEST_F (line 345) | TEST_F(LiblpTest, ReadBackupMetadata) { function TEST_F (line 372) | TEST_F(LiblpTest, TooManyPartitions) { function TEST_F (line 426) | TEST_F(LiblpTest, ImageFiles) { function TEST_F (line 442) | TEST_F(LiblpTest, ImageFilesInMemory) { class BadWriter (line 462) | class BadWriter { method Reset (line 480) | void Reset() { method FailOnWrite (line 485) | void FailOnWrite(int number) { method FailAfterWrite (line 489) | void FailAfterWrite(int number) { function TEST_F (line 502) | TEST_F(LiblpTest, UpdatePrimaryMetadataFailure) { function TEST_F (line 530) | TEST_F(LiblpTest, UpdateBackupMetadataFailure) { function TEST_F (line 559) | TEST_F(LiblpTest, UpdateMetadataCleanFailure) { function TEST_F (line 596) | TEST_F(LiblpTest, FlashSparseImage) { function TEST_F (line 630) | TEST_F(LiblpTest, AutoSlotSuffixing) { function TEST_F (line 673) | TEST_F(LiblpTest, UpdateRetrofit) { function TEST_F (line 705) | TEST_F(LiblpTest, UpdateNonRetrofit) { function TEST_F (line 721) | TEST_F(LiblpTest, UpdateVirtualAB) { function TEST_F (line 750) | TEST_F(LiblpTest, ReadExpandedHeader) { FILE: fs_mgr/liblp/liblp_test.h function namespace (line 23) | namespace android { FILE: fs_mgr/liblp/partition_opener.cpp type android (line 33) | namespace android { type fs_mgr (line 34) | namespace fs_mgr { function GetPartitionAbsolutePath (line 40) | std::string GetPartitionAbsolutePath(const std::string& path) { function GetBlockDeviceInfo (line 65) | bool GetBlockDeviceInfo(const std::string& block_device, BlockDevice... function unique_fd (line 111) | unique_fd PartitionOpener::Open(const std::string& partition_name, i... FILE: fs_mgr/liblp/property_fetcher.cpp type android (line 23) | namespace android { type fs_mgr (line 24) | namespace fs_mgr { function IPropertyFetcher (line 39) | IPropertyFetcher* IPropertyFetcher::GetInstance() { FILE: fs_mgr/liblp/reader.cpp type android (line 31) | namespace android { type fs_mgr (line 32) | namespace fs_mgr { class Reader (line 38) | class Reader { class FileReader (line 44) | class FileReader final : public Reader { method FileReader (line 46) | explicit FileReader(int fd) : fd_(fd) {} method ReadFully (line 47) | bool ReadFully(void* buffer, size_t length) override { class MemoryReader (line 55) | class MemoryReader final : public Reader { method MemoryReader (line 57) | MemoryReader(const void* buffer, size_t size) method ReadFully (line 59) | bool ReadFully(void* out, size_t length) override { function ParseGeometry (line 75) | bool ParseGeometry(const void* buffer, LpMetadataGeometry* geometry) { function ReadPrimaryGeometry (line 118) | bool ReadPrimaryGeometry(int fd, LpMetadataGeometry* geometry) { function ReadBackupGeometry (line 131) | bool ReadBackupGeometry(int fd, LpMetadataGeometry* geometry) { function ReadLogicalPartitionGeometry (line 148) | bool ReadLogicalPartitionGeometry(int fd, LpMetadataGeometry* geomet... function ValidateTableBounds (line 155) | static bool ValidateTableBounds(const LpMetadataHeader& header, function ReadMetadataHeader (line 167) | static bool ReadMetadataHeader(Reader* reader, LpMetadata* metadata) { function ParseMetadata (line 246) | static std::unique_ptr ParseMetadata(const LpMetadataGeo... function ParseMetadata (line 365) | std::unique_ptr ParseMetadata(const LpMetadataGeometry& ... function ParseMetadata (line 371) | std::unique_ptr ParseMetadata(const LpMetadataGeometry& ... function ReadPrimaryMetadata (line 376) | std::unique_ptr ReadPrimaryMetadata(int fd, const LpMeta... function ReadBackupMetadata (line 386) | std::unique_ptr ReadBackupMetadata(int fd, const LpMetad... function AdjustMetadataForSlot (line 398) | bool AdjustMetadataForSlot(LpMetadata* metadata, uint32_t slot_numbe... function ReadMetadata (line 439) | std::unique_ptr ReadMetadata(const IPartitionOpener& ope... function ReadMetadata (line 477) | std::unique_ptr ReadMetadata(const std::string& super_pa... function NameFromFixedArray (line 481) | static std::string NameFromFixedArray(const char* name, size_t buffe... function GetPartitionName (line 491) | std::string GetPartitionName(const LpMetadataPartition& partition) { function GetPartitionGroupName (line 495) | std::string GetPartitionGroupName(const LpMetadataPartitionGroup& gr... function GetBlockDevicePartitionName (line 499) | std::string GetBlockDevicePartitionName(const LpMetadataBlockDevice&... FILE: fs_mgr/liblp/reader.h function namespace (line 26) | namespace android { FILE: fs_mgr/liblp/super_layout_builder.cpp type android (line 29) | namespace android { type fs_mgr (line 30) | namespace fs_mgr { function AddGapExtents (line 88) | static bool AddGapExtents(std::vector* extents, Su... FILE: fs_mgr/liblp/super_layout_builder_test.cpp function TEST (line 29) | TEST(SuperImageTool, Layout) { function TEST (line 68) | TEST(SuperImageTool, NoWritablePartitions) { function TEST (line 82) | TEST(SuperImageTool, NoRetrofit) { function TEST (line 99) | TEST(SuperImageTool, NoRetrofit2) { function TEST (line 114) | TEST(SuperImageTool, NoFixedPartitions) { function TEST (line 129) | TEST(SuperImageTool, LargeAlignedMetadata) { FILE: fs_mgr/liblp/test_partition_opener.cpp type android (line 21) | namespace android { type fs_mgr (line 22) | namespace fs_mgr { function unique_fd (line 31) | unique_fd TestPartitionOpener::Open(const std::string& partition_nam... FILE: fs_mgr/liblp/test_partition_opener.h function namespace (line 25) | namespace android { FILE: fs_mgr/liblp/utility.cpp type android (line 44) | namespace android { type fs_mgr (line 45) | namespace fs_mgr { function GetDescriptorSize (line 47) | bool GetDescriptorSize(int fd, uint64_t* size) { function SeekFile64 (line 71) | int64_t SeekFile64(int fd, int64_t offset, int whence) { function GetPrimaryGeometryOffset (line 76) | int64_t GetPrimaryGeometryOffset() { function GetBackupGeometryOffset (line 80) | int64_t GetBackupGeometryOffset() { function GetPrimaryMetadataOffset (line 84) | int64_t GetPrimaryMetadataOffset(const LpMetadataGeometry& geometry,... function GetBackupMetadataOffset (line 91) | int64_t GetBackupMetadataOffset(const LpMetadataGeometry& geometry, ... function GetTotalMetadataSize (line 98) | uint64_t GetTotalMetadataSize(uint32_t metadata_max_size, uint32_t m... function LpMetadataBlockDevice (line 103) | const LpMetadataBlockDevice* GetMetadataSuperBlockDevice(const LpMet... function SHA256 (line 110) | void SHA256(const void* data, size_t length, uint8_t out[32]) { function SlotNumberForSlotSuffix (line 117) | uint32_t SlotNumberForSlotSuffix(const std::string& suffix) { function GetTotalSuperPartitionSize (line 129) | uint64_t GetTotalSuperPartitionSize(const LpMetadata& metadata) { function GetBlockDevicePartitionNames (line 137) | std::vector GetBlockDevicePartitionNames(const LpMetada... function LpMetadataPartition (line 145) | const LpMetadataPartition* FindPartition(const LpMetadata& metadata,... function GetPartitionSize (line 154) | uint64_t GetPartitionSize(const LpMetadata& metadata, const LpMetada... function GetPartitionSlotSuffix (line 163) | std::string GetPartitionSlotSuffix(const std::string& partition_name) { function SlotSuffixForSlotNumber (line 171) | std::string SlotSuffixForSlotNumber(uint32_t slot_number) { function UpdateBlockDevicePartitionName (line 176) | bool UpdateBlockDevicePartitionName(LpMetadataBlockDevice* device, c... function UpdatePartitionGroupName (line 184) | bool UpdatePartitionGroupName(LpMetadataPartitionGroup* group, const... function UpdatePartitionName (line 192) | bool UpdatePartitionName(LpMetadataPartition* partition, const std::... function SetBlockReadonly (line 200) | bool SetBlockReadonly(int fd, bool readonly) { function GetControlFileOrOpen (line 211) | base::unique_fd GetControlFileOrOpen(std::string_view path, int flag... function UpdateMetadataForInPlaceSnapshot (line 225) | bool UpdateMetadataForInPlaceSnapshot(LpMetadata* metadata, uint32_t... function ToHexString (line 291) | inline std::string ToHexString(uint64_t value) { function SetMetadataHeaderV0 (line 295) | void SetMetadataHeaderV0(LpMetadata* metadata) { FILE: fs_mgr/liblp/utility.h function namespace (line 40) | namespace android { FILE: fs_mgr/liblp/utility_test.cpp function TEST (line 28) | TEST(liblp, SlotNumberForSlotSuffix) { function TEST (line 38) | TEST(liblp, SlotSuffixForSlotNumber) { function TEST (line 43) | TEST(liblp, GetMetadataOffset) { function AlignTo (line 63) | std::optional AlignTo(uint64_t base, uint32_t alignment) { function TEST (line 71) | TEST(liblp, AlignTo) { function TEST (line 87) | TEST(liblp, GetPartitionSlotSuffix) { type android (line 95) | namespace android { type fs_mgr (line 96) | namespace fs_mgr { function GetPartitionExtents (line 106) | static std::vector GetPartitionExtents(Partition* p) { function TEST (line 116) | TEST(liblp, UpdateMetadataForInPlaceSnapshot) { FILE: fs_mgr/liblp/writer.cpp type android (line 31) | namespace android { type fs_mgr (line 32) | namespace fs_mgr { function SerializeGeometry (line 34) | std::string SerializeGeometry(const LpMetadataGeometry& input) { function CompareGeometry (line 44) | static bool CompareGeometry(const LpMetadataGeometry& g1, const LpMe... function SerializeMetadata (line 50) | std::string SerializeMetadata(const LpMetadata& input) { function ValidateAndSerializeMetadata (line 86) | static bool ValidateAndSerializeMetadata([[maybe_unused]] const IPar... function ValidateMetadataRegion (line 173) | static bool ValidateMetadataRegion(const LpMetadata& metadata, uint6... function WritePrimaryMetadata (line 187) | static bool WritePrimaryMetadata(int fd, const LpMetadata& metadata,... function WriteBackupMetadata (line 205) | static bool WriteBackupMetadata(int fd, const LpMetadata& metadata, ... function WriteMetadata (line 223) | static bool WriteMetadata(int fd, const LpMetadata& metadata, uint32... function DefaultWriter (line 240) | static bool DefaultWriter(int fd, const std::string& blob) { function FlashPartitionTable (line 248) | bool FlashPartitionTable(const IPartitionOpener& opener, const std::... function FlashPartitionTable (line 314) | bool FlashPartitionTable(const std::string& super_partition, const L... function CompareMetadata (line 318) | static bool CompareMetadata(const LpMetadata& a, const LpMetadata& b) { function UpdatePartitionTable (line 323) | bool UpdatePartitionTable(const IPartitionOpener& opener, const std:... function UpdatePartitionTable (line 402) | bool UpdatePartitionTable(const IPartitionOpener& opener, const std:... function UpdatePartitionTable (line 407) | bool UpdatePartitionTable(const std::string& super_partition, const ... FILE: fs_mgr/liblp/writer.h function namespace (line 25) | namespace android { FILE: fs_mgr/libsnapshot/device_info.cpp type android (line 23) | namespace android { type snapshot (line 24) | namespace snapshot { FILE: fs_mgr/libsnapshot/device_info.h function namespace (line 25) | namespace android { FILE: fs_mgr/libsnapshot/dm_snapshot_internals.h function namespace (line 24) | namespace android { FILE: fs_mgr/libsnapshot/include/libsnapshot/auto_device.h function namespace (line 21) | namespace android { FILE: fs_mgr/libsnapshot/include/libsnapshot/cow_compress.h function namespace (line 24) | namespace android { FILE: fs_mgr/libsnapshot/include/libsnapshot/cow_format.h function namespace (line 24) | namespace android { FILE: fs_mgr/libsnapshot/include/libsnapshot/cow_reader.h function namespace (line 27) | namespace chromeos_update_engine { function namespace (line 31) | namespace android { FILE: fs_mgr/libsnapshot/include/libsnapshot/cow_writer.h function namespace (line 34) | namespace android { FILE: fs_mgr/libsnapshot/include/libsnapshot/mock_cow_writer.h function namespace (line 20) | namespace android::snapshot { FILE: fs_mgr/libsnapshot/include/libsnapshot/mock_device_info.h function namespace (line 21) | namespace android::snapshot { FILE: fs_mgr/libsnapshot/include/libsnapshot/mock_snapshot.h function namespace (line 22) | namespace android::snapshot { FILE: fs_mgr/libsnapshot/include/libsnapshot/mock_snapshot_merge_stats.h function namespace (line 24) | namespace android::snapshot { FILE: fs_mgr/libsnapshot/include/libsnapshot/return.h function namespace (line 22) | namespace android::snapshot { FILE: fs_mgr/libsnapshot/include/libsnapshot/snapshot.h function namespace (line 48) | namespace aidl::android::hardware::boot { function namespace (line 54) | namespace fiemap { function namespace (line 58) | namespace fs_mgr { type AutoDeleteCowImage (line 68) | struct AutoDeleteCowImage type AutoDeleteSnapshot (line 69) | struct AutoDeleteSnapshot type AutoDeviceList (line 70) | struct AutoDeviceList type PartitionCowCreator (line 71) | struct PartitionCowCreator type class (line 85) | enum class type class (line 91) | enum class function virtual (line 106) | virtual ~IDeviceInfo() {} function virtual (line 107) | virtual std::string GetMetadataDir() const = 0; function BeginUpdate (line 373) | bool BeginUpdate() override; function NeedSnapshotsInFirstStageMount (line 385) | bool MapUpdateSnapshot(const CreateLogicalPartitionParams& params, type class (line 435) | enum class function IImageManager (line 499) | IImageManager* image_manager() const { return images_.get(); } function set_use_first_stage_snapuserd (line 500) | void set_use_first_stage_snapuserd(bool value) { use_first_stage_snapuse... function class (line 505) | class LockedFile final { type class (line 648) | enum class function MergeResult (line 672) | struct [[nodiscard]] MergeResult { type UpdateState (line 690) | enum UpdateState type class (line 692) | enum class function SnapshotContext (line 719) | enum class SnapshotContext { FILE: fs_mgr/libsnapshot/include/libsnapshot/snapshot_stats.h function class (line 45) | class Result { FILE: fs_mgr/libsnapshot/include/libsnapshot/snapshot_stub.h function namespace (line 20) | namespace android::snapshot { FILE: fs_mgr/libsnapshot/include_test/libsnapshot/test_helpers.h function namespace (line 35) | namespace android { FILE: fs_mgr/libsnapshot/libsnapshot_cow/cow_compress.cpp type android (line 40) | namespace android { type snapshot (line 41) | namespace snapshot { function CompressionAlgorithmFromString (line 43) | std::optional CompressionAlgorithmFromStrin... class GzCompressor (line 103) | class GzCompressor final : public ICompressor { method GzCompressor (line 105) | GzCompressor(int32_t compression_level, const uint32_t block_size) method Compress (line 108) | std::vector Compress(const void* data, size_t length) con... class Lz4Compressor (line 124) | class Lz4Compressor final : public ICompressor { method Lz4Compressor (line 126) | Lz4Compressor(int32_t compression_level, const uint32_t block_size) method Compress (line 129) | std::vector Compress(const void* data, size_t length) con... class BrotliCompressor (line 156) | class BrotliCompressor final : public ICompressor { method BrotliCompressor (line 158) | BrotliCompressor(int32_t compression_level, const uint32_t block_s... method Compress (line 161) | std::vector Compress(const void* data, size_t length) con... class ZstdCompressor (line 182) | class ZstdCompressor final : public ICompressor { method ZstdCompressor (line 184) | ZstdCompressor(int32_t compression_level, const uint32_t block_size) method Compress (line 191) | std::vector Compress(const void* data, size_t length) con... FILE: fs_mgr/libsnapshot/libsnapshot_cow/cow_decompress.cpp type android (line 31) | namespace android { type snapshot (line 32) | namespace snapshot { class StreamDecompressor (line 74) | class StreamDecompressor : public IDecompressor { method OutputFull (line 81) | bool OutputFull() const { return !ignore_bytes_ && !output_buffer_... class GzDecompressor (line 140) | class GzDecompressor final : public StreamDecompressor { class BrotliDecompressor (line 217) | class BrotliDecompressor final : public StreamDecompressor { class Lz4Decompressor (line 277) | class Lz4Decompressor final : public IDecompressor { method Decompress (line 281) | ssize_t Decompress(void* buffer, size_t buffer_size, size_t decomp... class ZstdDecompressor (line 337) | class ZstdDecompressor final : public IDecompressor { method Decompress (line 339) | ssize_t Decompress(void* buffer, size_t buffer_size, size_t decomp... method Decompress (line 360) | bool Decompress(void* output_buffer, const size_t output_size) { FILE: fs_mgr/libsnapshot/libsnapshot_cow/cow_decompress.h function namespace (line 21) | namespace android { FILE: fs_mgr/libsnapshot/libsnapshot_cow/cow_format.cpp type android (line 28) | namespace android { type snapshot (line 29) | namespace snapshot { function GetNextOpOffset (line 112) | int64_t GetNextOpOffset(const CowOperationV2& op, uint32_t cluster_o... function GetNextDataOffset (line 122) | int64_t GetNextDataOffset(const CowOperationV2& op, uint32_t cluster... function IsMetadataOp (line 132) | bool IsMetadataOp(const CowOperation& op) { function IsOrderedOp (line 144) | bool IsOrderedOp(const CowOperation& op) { function CreateCowWriter (line 154) | std::unique_ptr CreateCowWriter(uint32_t version, const ... function CreateCowEstimator (line 175) | std::unique_ptr CreateCowEstimator(uint32_t version, con... function CowOpCompressionSize (line 179) | size_t CowOpCompressionSize(const CowOperation* op, size_t block_siz... function GetBlockOffset (line 184) | bool GetBlockOffset(const CowOperation* op, uint64_t io_block, size_... FILE: fs_mgr/libsnapshot/libsnapshot_cow/cow_reader.cpp type android (line 37) | namespace android { type snapshot (line 38) | namespace snapshot { function ReadCowHeader (line 42) | bool ReadCowHeader(android::base::borrowed_fd fd, CowHeaderV3* heade... class CowOpIter (line 499) | class CowOpIter final : public ICowOpIter { function CowOperation (line 538) | const CowOperation* CowOpIter::Get() { class CowRevMergeOpIter (line 543) | class CowRevMergeOpIter final : public ICowOpIter { class CowMergeOpIter (line 562) | class CowMergeOpIter final : public ICowOpIter { function CowOperation (line 607) | const CowOperation* CowMergeOpIter::Get() { function CowOperation (line 639) | const CowOperation* CowRevMergeOpIter::Get() { class CowDataStream (line 690) | class CowDataStream final : public IByteStream { method CowDataStream (line 692) | CowDataStream(CowReader* reader, uint64_t offset, size_t data_length) method Read (line 697) | ssize_t Read(void* buffer, size_t length) override { method Size (line 711) | size_t Size() const override { return data_length_; } FILE: fs_mgr/libsnapshot/libsnapshot_cow/create_cow.cpp type android (line 47) | namespace android { type snapshot (line 48) | namespace snapshot { class CreateSnapshot (line 57) | class CreateSnapshot { method IsBlockAligned (line 102) | bool IsBlockAligned(uint64_t read_size) { return ((read_size & (BL... function CreateSnapshotLogger (line 128) | void CreateSnapshotLogger(android::base::LogId, android::base::LogSe... function main (line 637) | int main(int argc, char* argv[]) { FILE: fs_mgr/libsnapshot/libsnapshot_cow/inspect_cow.cpp type android (line 44) | namespace android { type snapshot (line 45) | namespace snapshot { function MyLogger (line 50) | void MyLogger(android::base::LogId, android::base::LogSeverity sever... function ShowBad (line 59) | static void ShowBad(CowReader& reader, const CowOperation* op) { function ShowRawOpStreamV2 (line 77) | static bool ShowRawOpStreamV2(borrowed_fd fd, const CowHeaderV3& hea... function ShowRawOpStream (line 93) | static bool ShowRawOpStream(borrowed_fd fd) { function Inspect (line 110) | static bool Inspect(const std::string& path) { function main (line 267) | int main(int argc, char** argv) { FILE: fs_mgr/libsnapshot/libsnapshot_cow/parser_base.h function namespace (line 25) | namespace android { FILE: fs_mgr/libsnapshot/libsnapshot_cow/parser_v2.cpp type android (line 23) | namespace android { type snapshot (line 24) | namespace snapshot { FILE: fs_mgr/libsnapshot/libsnapshot_cow/parser_v2.h function namespace (line 26) | namespace android { FILE: fs_mgr/libsnapshot/libsnapshot_cow/parser_v3.cpp type android (line 23) | namespace android { type snapshot (line 24) | namespace snapshot { FILE: fs_mgr/libsnapshot/libsnapshot_cow/parser_v3.h function namespace (line 40) | namespace android { FILE: fs_mgr/libsnapshot/libsnapshot_cow/snapshot_reader.cpp type android (line 22) | namespace android { type snapshot (line 23) | namespace snapshot { function borrowed_fd (line 85) | borrowed_fd CompressedSnapshotReader::GetSourceFd() { function off64_t (line 240) | off64_t CompressedSnapshotReader::Seek(off64_t offset, int whence) { FILE: fs_mgr/libsnapshot/libsnapshot_cow/snapshot_reader.h function namespace (line 26) | namespace android { FILE: fs_mgr/libsnapshot/libsnapshot_cow/snapshot_reader_test.cpp type android (line 22) | namespace android { type snapshot (line 23) | namespace snapshot { class OfflineSnapshotTest (line 31) | class OfflineSnapshotTest : public ::testing::Test { method SetUp (line 33) | virtual void SetUp() override { method TearDown (line 43) | virtual void TearDown() override { method WriteBaseDevice (line 49) | void WriteBaseDevice() { method WriteCow (line 62) | void WriteCow(ICowWriter* writer) { method TestBlockReads (line 73) | void TestBlockReads(ICowWriter* writer) { method TestByteReads (line 118) | void TestByteReads(ICowWriter* writer) { method TestReads (line 155) | void TestReads(ICowWriter* writer) { method MakeNewBlockString (line 160) | std::string MakeNewBlockString() { method MakeXorBlockString (line 167) | std::string MakeXorBlockString() { function TEST_F (line 178) | TEST_F(OfflineSnapshotTest, CompressedSnapshot) { FILE: fs_mgr/libsnapshot/libsnapshot_cow/test_v2.cpp type android (line 36) | namespace android { type snapshot (line 37) | namespace snapshot { class CowTest (line 39) | class CowTest : public ::testing::Test { method SetUp (line 41) | virtual void SetUp() override { method TearDown (line 46) | virtual void TearDown() override { cow_ = nullptr; } method unique_fd (line 48) | unique_fd GetCowFd() { return unique_fd{dup(cow_->fd)}; } function ReadData (line 54) | static inline bool ReadData(CowReader& reader, const CowOperation* o... function TEST_F (line 58) | TEST_F(CowTest, CopyContiguous) { function TEST_F (line 100) | TEST_F(CowTest, ReadWrite) { function TEST_F (line 175) | TEST_F(CowTest, ReadWriteXor) { function TEST_F (line 251) | TEST_F(CowTest, CompressGz) { class CompressionTest (line 287) | class CompressionTest : public CowTest, public testing::WithParamInt... function TEST_P (line 289) | TEST_P(CompressionTest, ThreadedBatchWrites) { function TEST_P (line 366) | TEST_P(CompressionTest, NoBatchWrites) { class HorribleStream (line 431) | class HorribleStream : public IByteStream { method HorribleStream (line 433) | HorribleStream(const std::vector& input) : input_(input) {} method Read (line 435) | ssize_t Read(void* buffer, size_t length) override { method Size (line 445) | size_t Size() const override { return input_.size(); } function TEST (line 452) | TEST(HorribleStream, ReadFully) { function TEST_P (line 463) | TEST_P(CompressionTest, HorribleStream) { function TEST_F (line 494) | TEST_F(CowTest, ClusterCompressGz) { function TEST_F (line 557) | TEST_F(CowTest, CompressTwoBlocks) { function TEST_F (line 590) | TEST_F(CowTest, GetSize) { function TEST_F (line 616) | TEST_F(CowTest, AppendLabelSmall) { function TEST_F (line 683) | TEST_F(CowTest, AppendLabelMissing) { function TEST_F (line 735) | TEST_F(CowTest, AppendExtendedCorrupted) { function TEST_F (line 786) | TEST_F(CowTest, AppendbyLabel) { function TEST_F (line 874) | TEST_F(CowTest, ClusterTest) { function TEST_F (line 971) | TEST_F(CowTest, ClusterAppendTest) { function TEST_F (line 1032) | TEST_F(CowTest, AppendAfterFinalize) { function AssertionResult (line 1056) | AssertionResult WriteDataBlock(ICowWriter* writer, uint64_t new_bloc... function AssertionResult (line 1064) | AssertionResult CompareDataBlock(CowReader* reader, const CowOperati... function TEST_F (line 1083) | TEST_F(CowTest, ResumeMidCluster) { function TEST_F (line 1139) | TEST_F(CowTest, ResumeEndCluster) { function TEST_F (line 1200) | TEST_F(CowTest, DeleteMidCluster) { function TEST_F (line 1251) | TEST_F(CowTest, BigSeqOp) { function TEST_F (line 1283) | TEST_F(CowTest, MissingSeqOp) { function TEST_F (line 1304) | TEST_F(CowTest, ResumeSeqOp) { function TEST_F (line 1352) | TEST_F(CowTest, RevMergeOpItrTest) { function TEST_F (line 1402) | TEST_F(CowTest, ParseOptionsTest) { function TEST_F (line 1414) | TEST_F(CowTest, LegacyRevMergeOpItrTest) { function TEST_F (line 1463) | TEST_F(CowTest, InvalidMergeOrderTest) { function unique_fd (line 1496) | unique_fd OpenTestFile(const std::string& file, int flags) { function TEST_F (line 1508) | TEST_F(CowTest, CompatibilityTest) { function TEST_F (line 1527) | TEST_F(CowTest, DecompressIncompressibleBlock) { function main (line 1561) | int main(int argc, char** argv) { FILE: fs_mgr/libsnapshot/libsnapshot_cow/test_v3.cpp type android (line 30) | namespace android { type snapshot (line 31) | namespace snapshot { class CowTestV3 (line 36) | class CowTestV3 : public ::testing::Test { method SetUp (line 38) | virtual void SetUp() override { method TearDown (line 43) | virtual void TearDown() override { cow_ = nullptr; } method unique_fd (line 45) | unique_fd GetCowFd() { return unique_fd{dup(cow_->fd)}; } function ReadData (line 51) | static inline bool ReadData(CowReader& reader, const CowOperation* o... function TEST_F (line 55) | TEST_F(CowTestV3, CowHeaderV2Test) { function TEST_F (line 77) | TEST_F(CowTestV3, Header) { function TEST_F (line 94) | TEST_F(CowTestV3, MaxOp) { function TEST_F (line 112) | TEST_F(CowTestV3, MaxOpSingleThreadCompression) { function TEST_F (line 129) | TEST_F(CowTestV3, MaxOpMultiThreadCompression) { function TEST_F (line 146) | TEST_F(CowTestV3, ZeroOp) { function TEST_F (line 177) | TEST_F(CowTestV3, ReplaceOp) { function TEST_F (line 212) | TEST_F(CowTestV3, BigReplaceOp) { function TEST_F (line 254) | TEST_F(CowTestV3, ConsecutiveReplaceOp) { function TEST_F (line 301) | TEST_F(CowTestV3, CopyOp) { function TEST_F (line 337) | TEST_F(CowTestV3, XorOp) { function TEST_F (line 370) | TEST_F(CowTestV3, ConsecutiveXorOp) { function TEST_F (line 416) | TEST_F(CowTestV3, AllOpsWithCompression) { function TEST_F (line 489) | TEST_F(CowTestV3, GzCompression) { function TEST_F (line 526) | TEST_F(CowTestV3, ResumePointTest) { function TEST_F (line 551) | TEST_F(CowTestV3, BufferMetadataSyncTest) { function TEST_F (line 589) | TEST_F(CowTestV3, SequenceTest) { function TEST_F (line 634) | TEST_F(CowTestV3, MissingSeqOp) { function TEST_F (line 653) | TEST_F(CowTestV3, ResumeSeqOp) { function TEST_F (line 701) | TEST_F(CowTestV3, SetSourceManyTimes) { function TEST_F (line 713) | TEST_F(CowTestV3, SetTypeManyTimes) { function TEST_F (line 725) | TEST_F(CowTestV3, SetTypeSourceInverleave) { function TEST_F (line 737) | TEST_F(CowTestV3, CowSizeEstimate) { function TEST_F (line 752) | TEST_F(CowTestV3, CopyOpMany) { function TEST_F (line 772) | TEST_F(CowTestV3, CheckOpCount) { type TestParam (line 782) | struct TestParam { class VariableBlockTest (line 789) | class VariableBlockTest : public ::testing::TestWithParam { method SetUp (line 791) | virtual void SetUp() override { method TearDown (line 796) | virtual void TearDown() override { cow_ = nullptr; } method unique_fd (line 798) | unique_fd GetCowFd() { return unique_fd{dup(cow_->fd)}; } function ReadBlockData (line 804) | static inline void ReadBlockData(CowReader& reader, const CowOperati... function TEST_P (line 813) | TEST_P(VariableBlockTest, VariableBlockCompressionTest) { function GetTestConfigs (line 935) | std::vector GetTestConfigs() { FILE: fs_mgr/libsnapshot/libsnapshot_cow/writer_base.cpp type android (line 34) | namespace android { type snapshot (line 35) | namespace snapshot { function GetFdPath (line 41) | std::string GetFdPath(borrowed_fd fd) { type stat (line 69) | struct stat FILE: fs_mgr/libsnapshot/libsnapshot_cow/writer_base.h function namespace (line 19) | namespace android { FILE: fs_mgr/libsnapshot/libsnapshot_cow/writer_v2.cpp type android (line 54) | namespace android { type snapshot (line 55) | namespace snapshot { type iovec (line 157) | struct iovec type iovec (line 158) | struct iovec type iovec (line 159) | struct iovec type iovec (line 160) | struct iovec function CowSizeInfo (line 579) | CowSizeInfo CowWriterV2::GetCowSizeInfo() const { type iovec (line 651) | struct iovec FILE: fs_mgr/libsnapshot/libsnapshot_cow/writer_v2.h function namespace (line 20) | namespace android { FILE: fs_mgr/libsnapshot/libsnapshot_cow/writer_v3.cpp type android (line 53) | namespace android { type snapshot (line 54) | namespace snapshot { function DivRoundUp (line 62) | constexpr uint64_t DivRoundUp(uint64_t x, uint64_t y) { type iovec (line 692) | struct iovec type iovec (line 695) | struct iovec function CowSizeInfo (line 760) | CowSizeInfo CowWriterV3::GetCowSizeInfo() const { FILE: fs_mgr/libsnapshot/libsnapshot_cow/writer_v3.h function namespace (line 27) | namespace android { FILE: fs_mgr/libsnapshot/partition_cow_creator.cpp type android (line 35) | namespace android { type snapshot (line 36) | namespace snapshot { function Intersect (line 43) | static std::unique_ptr Intersect(Extent* target_extent, Exte... function OptimizeSourceCopyOperation (line 70) | bool OptimizeSourceCopyOperation(const InstallOperation& operation, ... function WriteExtent (line 134) | bool WriteExtent(DmSnapCowSizeCalculator* sc, const chromeos_update_... FILE: fs_mgr/libsnapshot/partition_cow_creator.h function namespace (line 28) | namespace android { FILE: fs_mgr/libsnapshot/partition_cow_creator_test.cpp type android (line 39) | namespace android { type snapshot (line 40) | namespace snapshot { class PartitionCowCreatorTest (line 43) | class PartitionCowCreatorTest : public ::testing::Test { method SetUp (line 45) | void SetUp() override { method TearDown (line 49) | void TearDown() override { function TEST_F (line 55) | TEST_F(PartitionCowCreatorTest, IntersectSelf) { function TEST_F (line 82) | TEST_F(PartitionCowCreatorTest, Holes) { function TEST_F (line 123) | TEST_F(PartitionCowCreatorTest, CowSize) { function TEST_F (line 209) | TEST_F(PartitionCowCreatorTest, Zero) { function TEST_F (line 234) | TEST_F(PartitionCowCreatorTest, CompressionEnabled) { function TEST_F (line 261) | TEST_F(PartitionCowCreatorTest, CompressionWithNoManifest) { function TEST (line 286) | TEST(DmSnapshotInternals, CowSizeCalculator) { function BlocksToExtents (line 318) | void BlocksToExtents(const std::vector& blocks, function ExtentsToBlocks (line 326) | std::vector ExtentsToBlocks(const T& extents) { function InstallOperation (line 336) | InstallOperation CreateCopyOp(const std::vector& src_blocks, type OptimizeOperationTestParam (line 351) | struct OptimizeOperationTestParam { class OptimizeOperationTest (line 356) | class OptimizeOperationTest : public ::testing::TestWithParam GetOptimizeOperationTestPara... FILE: fs_mgr/libsnapshot/return.cpp type android::snapshot (line 21) | namespace android::snapshot { FILE: fs_mgr/libsnapshot/scratch_super.cpp type android (line 60) | namespace android { type snapshot (line 61) | namespace snapshot { function UmountScratch (line 63) | static bool UmountScratch() { function CleanupScratchOtaMetadataIfPresent (line 90) | bool CleanupScratchOtaMetadataIfPresent(const ISnapshotManager::IDev... function SetupOTADirs (line 139) | static bool SetupOTADirs() { function MountScratch (line 162) | static bool MountScratch(const std::string& device_path) { function MakeScratchFilesystem (line 211) | static bool MakeScratchFilesystem(const std::string& scratch_device) { function CreateDynamicScratch (line 234) | static bool CreateDynamicScratch(const ISnapshotManager::IDeviceInfo... function IsScratchOtaMetadataOnSuper (line 320) | bool IsScratchOtaMetadataOnSuper() { function GetScratchOtaMetadataPartition (line 359) | std::string GetScratchOtaMetadataPartition() { function ScratchAlreadyMounted (line 371) | static bool ScratchAlreadyMounted(const std::string& mount_point) { function MapScratchOtaMetadataPartition (line 384) | std::string MapScratchOtaMetadataPartition(const std::string& scratc... function CreateScratchOtaMetadataOnSuper (line 403) | bool CreateScratchOtaMetadataOnSuper(const ISnapshotManager::IDevice... FILE: fs_mgr/libsnapshot/scratch_super.h function namespace (line 17) | namespace android { FILE: fs_mgr/libsnapshot/scripts/dump_snapshot_proto.py function main (line 19) | def main(): FILE: fs_mgr/libsnapshot/snapshot.cpp type android (line 55) | namespace android { type snapshot (line 56) | namespace snapshot { function GetCowName (line 147) | static std::string GetCowName(const std::string& snapshot_name) { function GetDmUserCowName (line 159) | static std::string GetDmUserCowName(const std::string& snapshot_name, function GetCowImageDeviceName (line 181) | static std::string GetCowImageDeviceName(const std::string& snapshot... function GetBaseDeviceName (line 185) | static std::string GetBaseDeviceName(const std::string& partition_na... function GetSourceDeviceName (line 189) | static std::string GetSourceDeviceName(const std::string& partition_... function CancelResult (line 233) | CancelResult SnapshotManager::TryCancelUpdate() { function CancelResult (line 280) | CancelResult SnapshotManager::IsCancelUpdateSafe(UpdateState state) { function RemoveFileIfExists (line 337) | static bool RemoveFileIfExists(const std::string& path) { function Return (line 487) | Return SnapshotManager::CreateCowImage(LockedFile* lock, const std::... function MergeFailureCode (line 984) | MergeFailureCode SnapshotManager::SwitchSnapshotToMerge(LockedFile* ... function MergeFailureCode (line 1030) | MergeFailureCode SnapshotManager::RewriteSnapshotDeviceTable(const s... type UpdateState (line 1104) | enum UpdateState function UpdateState (line 1151) | UpdateState SnapshotManager::ProcessUpdateState(const std::function<... function GetMappedCowDeviceName (line 1475) | static std::string GetMappedCowDeviceName(const std::string& snapshot, function MergeFailureCode (line 1485) | MergeFailureCode SnapshotManager::MergeSecondPhaseSnapshots(LockedFi... function UpdateState (line 2140) | UpdateState SnapshotManager::GetUpdateState(double* progress) { type dirent (line 2385) | struct dirent function GetRemainingTime (line 2540) | static std::chrono::milliseconds GetRemainingTime( function UpdateState (line 3110) | static UpdateState UpdateStateFromString(const std::string& contents) { function UpdateState (line 3171) | UpdateState SnapshotManager::ReadUpdateState(LockedFile* lock) { function SnapshotUpdateStatus (line 3176) | SnapshotUpdateStatus SnapshotManager::ReadSnapshotUpdateStatus(Locke... function Return (line 3384) | static Return AddRequiredSpace(Return orig, function Return (line 3397) | Return SnapshotManager::CreateUpdateSnapshots(const DeltaArchiveMani... function Return (line 3649) | Return SnapshotManager::CreateUpdateSnapshotsInternal( function Return (line 3798) | Return SnapshotManager::InitializeUpdateSnapshots( function UpdateState (line 4266) | UpdateState SnapshotManager::ProcessUpdateStateOnDataWipe(const std:... function CreateResult (line 4340) | CreateResult SnapshotManager::RecoveryCreateSnapshotDevices() { function CreateResult (line 4354) | CreateResult SnapshotManager::RecoveryCreateSnapshotDevices( function ISnapshotMergeStats (line 4405) | ISnapshotMergeStats* SnapshotManager::GetSnapshotMergeStatsInstance() { function LpMetadata (line 4552) | const LpMetadata* SnapshotManager::ReadOldPartitionMetadata(LockedFi... function MergePhase (line 4566) | MergePhase SnapshotManager::DecideMergePhase(const SnapshotStatus& s... function MergeFailureCode (line 4676) | MergeFailureCode SnapshotManager::ReadMergeFailureCode() { type stat (line 4800) | struct stat FILE: fs_mgr/libsnapshot/snapshot_metadata_updater.cpp type android (line 37) | namespace android { type snapshot (line 38) | namespace snapshot { FILE: fs_mgr/libsnapshot/snapshot_metadata_updater.h function namespace (line 29) | namespace android { FILE: fs_mgr/libsnapshot/snapshot_metadata_updater_test.cpp type android (line 41) | namespace android { type snapshot (line 42) | namespace snapshot { class SnapshotMetadataUpdaterTest (line 44) | class SnapshotMetadataUpdaterTest : public ::testing::TestWithParam<... method SnapshotMetadataUpdaterTest (line 46) | SnapshotMetadataUpdaterTest() = default; method SetUp (line 48) | void SetUp() override { method TearDown (line 71) | void TearDown() override { method T (line 78) | std::string T(std::string_view name) { return std::string(name) + ... method AssertionResult (line 80) | AssertionResult UpdateAndExport() { method AssertionResult (line 94) | AssertionResult CheckSize(std::string_view name, uint64_t size) { method AssertionResult (line 107) | AssertionResult CheckGroupSize(std::string_view name, uint64_t siz... method AssertionResult (line 121) | AssertionResult CheckGroupName(std::string_view partition_name, st... function TEST_P (line 144) | TEST_P(SnapshotMetadataUpdaterTest, NoChange) { function TEST_P (line 154) | TEST_P(SnapshotMetadataUpdaterTest, GrowWithinBounds) { function TEST_P (line 164) | TEST_P(SnapshotMetadataUpdaterTest, GrowOverSuper) { function TEST_P (line 171) | TEST_P(SnapshotMetadataUpdaterTest, GrowOverGroup) { function TEST_P (line 178) | TEST_P(SnapshotMetadataUpdaterTest, Add) { function TEST_P (line 191) | TEST_P(SnapshotMetadataUpdaterTest, AddTooBig) { function TEST_P (line 200) | TEST_P(SnapshotMetadataUpdaterTest, ShrinkAll) { function TEST_P (line 210) | TEST_P(SnapshotMetadataUpdaterTest, ShrinkAndGrow) { function TEST_P (line 220) | TEST_P(SnapshotMetadataUpdaterTest, ShrinkAndAdd) { function TEST_P (line 235) | TEST_P(SnapshotMetadataUpdaterTest, Delete) { function TEST_P (line 246) | TEST_P(SnapshotMetadataUpdaterTest, DeleteAndGrow) { function TEST_P (line 255) | TEST_P(SnapshotMetadataUpdaterTest, DeleteAndAdd) { function TEST_P (line 269) | TEST_P(SnapshotMetadataUpdaterTest, GrowGroup) { function TEST_P (line 280) | TEST_P(SnapshotMetadataUpdaterTest, ShrinkGroup) { function TEST_P (line 291) | TEST_P(SnapshotMetadataUpdaterTest, MoveToNewGroup) { function TEST_P (line 311) | TEST_P(SnapshotMetadataUpdaterTest, DeleteAndAddGroup) { FILE: fs_mgr/libsnapshot/snapshot_stats.cpp type android (line 23) | namespace android { type snapshot (line 24) | namespace snapshot { function SnapshotMergeStats (line 26) | SnapshotMergeStats* SnapshotMergeStats::GetInstance(SnapshotManager&... function MergeFailureCode (line 126) | MergeFailureCode SnapshotMergeStats::merge_failure_code() { class SnapshotMergeStatsResultImpl (line 138) | class SnapshotMergeStatsResultImpl : public SnapshotMergeStats::Resu... method SnapshotMergeStatsResultImpl (line 140) | SnapshotMergeStatsResultImpl(const SnapshotMergeReport& report, method SnapshotMergeReport (line 143) | const SnapshotMergeReport& report() const override { return report... method merge_time (line 144) | std::chrono::steady_clock::duration merge_time() const override { ... FILE: fs_mgr/libsnapshot/snapshot_stub.cpp type android::snapshot (line 25) | namespace android::snapshot { function UpdateState (line 51) | UpdateState SnapshotManagerStub::ProcessUpdateState(const std::functio... function UpdateState (line 57) | UpdateState SnapshotManagerStub::GetUpdateState(double*) { function Return (line 62) | Return SnapshotManagerStub::CreateUpdateSnapshots(const DeltaArchiveMa... function CreateResult (line 98) | CreateResult SnapshotManagerStub::RecoveryCreateSnapshotDevices() { function CreateResult (line 103) | CreateResult SnapshotManagerStub::RecoveryCreateSnapshotDevices( class SnapshotMergeStatsStub (line 129) | class SnapshotMergeStatsStub : public ISnapshotMergeStats { method Start (line 130) | bool Start() override { return false; } method set_state (line 131) | void set_state(android::snapshot::UpdateState) override {} method cow_file_size (line 132) | uint64_t cow_file_size() override { return 0; } method Finish (line 133) | std::unique_ptr Finish() override { return nullptr; } method total_cow_size_bytes (line 134) | uint64_t total_cow_size_bytes() override { return 0; } method estimated_cow_size_bytes (line 135) | uint64_t estimated_cow_size_bytes() override { return 0; } method set_boot_complete_time_ms (line 136) | void set_boot_complete_time_ms(uint32_t) override {} method boot_complete_time_ms (line 137) | uint32_t boot_complete_time_ms() override { return 0; } method set_boot_complete_to_merge_start_time_ms (line 138) | void set_boot_complete_to_merge_start_time_ms(uint32_t) override {} method boot_complete_to_merge_start_time_ms (line 139) | uint32_t boot_complete_to_merge_start_time_ms() override { return 0; } method set_merge_failure_code (line 140) | void set_merge_failure_code(MergeFailureCode) override {} method MergeFailureCode (line 141) | MergeFailureCode merge_failure_code() override { return MergeFailure... method set_source_build_fingerprint (line 142) | void set_source_build_fingerprint(const std::string&) override {} method source_build_fingerprint (line 143) | std::string source_build_fingerprint() override { return {}; } method WriteState (line 144) | bool WriteState() override { return false; } method SnapshotMergeReport (line 145) | SnapshotMergeReport* report() override { return &report_; } function ISnapshotMergeStats (line 151) | ISnapshotMergeStats* SnapshotManagerStub::GetSnapshotMergeStatsInstanc... FILE: fs_mgr/libsnapshot/snapshot_test.cpp type android (line 70) | namespace android { type snapshot (line 71) | namespace snapshot { class SnapshotTest (line 107) | class SnapshotTest : public ::testing::Test { method SnapshotTest (line 109) | SnapshotTest() : dm_(DeviceMapper::Instance()) {} method Cleanup (line 112) | void Cleanup() { method SetUp (line 118) | void SetUp() override { method SetupProperties (line 140) | void SetupProperties() { method TearDown (line 171) | void TearDown() override { method DeviceSupportsMode (line 185) | bool DeviceSupportsMode() { method ShouldSkipLegacyMerging (line 195) | bool ShouldSkipLegacyMerging() { method InitializeState (line 206) | void InitializeState() { method CleanupTestArtifacts (line 215) | void CleanupTestArtifacts() { method CleanupSnapshotArtifacts (line 251) | void CleanupSnapshotArtifacts(const std::string& snapshot) { method AcquireLock (line 277) | bool AcquireLock() { method TestBody (line 283) | virtual void TestBody() override {} method FormatFakeSuper (line 285) | void FormatFakeSuper() { method CreatePartition (line 300) | bool CreatePartition(const std::string& name, uint64_t size, std::... method CreatePartition (line 313) | bool CreatePartition(MetadataBuilder* builder, const std::string& ... method AssertionResult (line 342) | AssertionResult MapUpdateSnapshot(const std::string& name, method AssertionResult (line 364) | AssertionResult MapUpdateSnapshot(const std::string& name, std::st... method AssertionResult (line 381) | AssertionResult DeleteSnapshotDevice(const std::string& snapshot) { method AssertionResult (line 397) | AssertionResult DeleteDevice(const std::string& device) { method AssertionResult (line 404) | AssertionResult CreateCowImage(const std::string& name) { method AssertionResult (line 422) | AssertionResult MapCowImage(const std::string& name, method AssertionResult (line 433) | AssertionResult PrepareOneSnapshot(uint64_t device_size, method AssertionResult (line 495) | AssertionResult SimulateReboot() { method NewManagerForFirstStageMount (line 512) | std::unique_ptr NewManagerForFirstStageMount( method NewManagerForFirstStageMount (line 518) | std::unique_ptr NewManagerForFirstStageMount(Test... function TEST_F (line 539) | TEST_F(SnapshotTest, CreateSnapshot) { function TEST_F (line 580) | TEST_F(SnapshotTest, MapSnapshot) { function TEST_F (line 607) | TEST_F(SnapshotTest, NoMergeBeforeReboot) { function TEST_F (line 614) | TEST_F(SnapshotTest, CleanFirstStageMount) { function TEST_F (line 622) | TEST_F(SnapshotTest, FirstStageMountAfterRollback) { function TEST_F (line 634) | TEST_F(SnapshotTest, Merge) { function TEST_F (line 734) | TEST_F(SnapshotTest, FirstStageMountAndMerge) { function TEST_F (line 769) | TEST_F(SnapshotTest, FlashSuperDuringUpdate) { function TEST_F (line 799) | TEST_F(SnapshotTest, FlashSuperDuringMerge) { function TEST_F (line 831) | TEST_F(SnapshotTest, UpdateBootControlHal) { function TEST_F (line 856) | TEST_F(SnapshotTest, MergeFailureCode) { type Request (line 868) | enum class Request { UNKNOWN, LOCK_SHARED, LOCK_EXCLUSIVE, UNLOCK, E... class LockTestConsumer (line 886) | class LockTestConsumer { method AssertionResult (line 888) | AssertionResult MakeRequest(Request new_request) { method AssertionResult (line 898) | AssertionResult WaitFulfill(std::chrono::duration timeout) { method StartHandleRequestsInBackground (line 908) | void StartHandleRequestsInBackground() { method HandleRequests (line 913) | void HandleRequests() { class LockTest (line 968) | class LockTest : public ::testing::Test { method SetUp (line 970) | void SetUp() { method TearDown (line 976) | void TearDown() { function TEST_F (line 987) | TEST_F(LockTest, SharedShared) { class LockTestP (line 995) | class LockTestP : public LockTest, public ::testing::WithParamInterf... function TEST_P (line 996) | TEST_P(LockTestP, Test) { class SnapshotUpdateTest (line 1018) | class SnapshotUpdateTest : public SnapshotTest { method SetUp (line 1020) | void SetUp() override { method TearDown (line 1103) | void TearDown() override { method Cleanup (line 1112) | void Cleanup() { method AssertionResult (line 1132) | AssertionResult IsPartitionUnchanged(const std::string& name) { method GetSnapshotSize (line 1151) | std::optional GetSnapshotSize(const std::string& name) { method AssertionResult (line 1164) | AssertionResult UnmapAll() { method AssertionResult (line 1176) | AssertionResult MapOneUpdateSnapshot(const std::string& name) { method AssertionResult (line 1186) | AssertionResult WriteSnapshots() { method AssertionResult (line 1196) | AssertionResult WriteSnapshotAndHash(PartitionUpdate* partition) { method WriteRandomSnapshotData (line 1228) | bool WriteRandomSnapshotData(ICowWriter* writer, std::string* hash) { method AssertionResult (line 1267) | AssertionResult ShiftAllSnapshotBlocks(const std::string& name, ui... method AssertionResult (line 1306) | AssertionResult MapUpdateSnapshots(const std::vector&... method AddOperation (line 1318) | void AddOperation(PartitionUpdate* partition_update, uint64_t size... method AddOperationForPartitions (line 1327) | void AddOperationForPartitions(std::vector parti... function TEST_F (line 1347) | TEST_F(SnapshotUpdateTest, SuperOtaMetadataTest) { function TEST_F (line 1361) | TEST_F(SnapshotUpdateTest, FullUpdateFlow) { function TEST_F (line 1446) | TEST_F(SnapshotUpdateTest, DuplicateOps) { function TEST_F (line 1492) | TEST_F(SnapshotUpdateTest, SpaceSwapUpdate) { function TEST_F (line 1614) | TEST_F(SnapshotUpdateTest, InterruptMergeDuringPhaseUpdate) { function TEST_F (line 1753) | TEST_F(SnapshotUpdateTest, DirectWriteEmptySpace) { function TEST_F (line 1763) | TEST_F(SnapshotUpdateTest, SnapshotOldPartitions) { function TEST_F (line 1774) | TEST_F(SnapshotUpdateTest, CowPartitionDoNotTakeOldPartitions) { function TEST_F (line 1814) | TEST_F(SnapshotUpdateTest, SnapshotStatusFileWithoutCow) { function TEST_F (line 1837) | TEST_F(SnapshotUpdateTest, TestRollback) { function TEST_F (line 1884) | TEST_F(SnapshotUpdateTest, CancelAfterApply) { function ToIntervals (line 1890) | static std::vector ToIntervals(const std::vector 0; } function TEST_F (line 2591) | TEST_F(SnapshotUpdateTest, DaemonTransition) { function TEST_F (line 2652) | TEST_F(SnapshotUpdateTest, MapAllSnapshotsWithoutSlotSwitch) { function TEST_F (line 2699) | TEST_F(SnapshotUpdateTest, MapAllSnapshots) { function TEST_F (line 2714) | TEST_F(SnapshotUpdateTest, CancelOnTargetSlot) { function TEST_F (line 2749) | TEST_F(SnapshotUpdateTest, QueryStatusError) { function TEST_F (line 2814) | TEST_F(SnapshotUpdateTest, BadCowVersion) { function TEST_F (line 2832) | TEST_F(SnapshotTest, FlagCheck) { class FlashAfterUpdateTest (line 2870) | class FlashAfterUpdateTest : public SnapshotUpdateTest, method AssertionResult (line 2873) | AssertionResult InitiateMerge(const std::string& slot_suffix) { function TEST_P (line 2885) | TEST_P(FlashAfterUpdateTest, FlashSlotAfterUpdate) { function Mkdir (line 2978) | bool Mkdir(const std::string& path) { class SnapshotTestEnvironment (line 2986) | class SnapshotTestEnvironment : public ::testing::Environment { function KillSnapuserd (line 3080) | void KillSnapuserd() { function main (line 3103) | int main(int argc, char** argv) { FILE: fs_mgr/libsnapshot/snapshotctl.cpp function Usage (line 76) | int Usage() { type android (line 112) | namespace android { type snapshot (line 113) | namespace snapshot { class MapSnapshots (line 116) | class MapSnapshots { function DumpCmdHandler (line 530) | bool DumpCmdHandler(int /*argc*/, char** argv) { function MapCmdHandler (line 535) | bool MapCmdHandler(int, char** argv) { function UnmapCmdHandler (line 541) | bool UnmapCmdHandler(int, char** argv) { function PauseSnapshotMerge (line 546) | bool PauseSnapshotMerge(int, char** argv) { function ResumeSnapshotMerge (line 551) | bool ResumeSnapshotMerge(int, char** argv) { function MergeCmdHandler (line 556) | bool MergeCmdHandler(int /*argc*/, char** argv) { function GetVerityPartitions (line 563) | bool GetVerityPartitions(std::vector& partitions) { function UnMapPrecreatedSnapshots (line 580) | bool UnMapPrecreatedSnapshots(int, char** argv) { function RemovePrecreatedSnapshots (line 602) | bool RemovePrecreatedSnapshots(int, char** argv) { function DeletePrecreatedSnapshots (line 618) | bool DeletePrecreatedSnapshots(int, char** argv) { function ApplyUpdate (line 630) | bool ApplyUpdate(int argc, char** argv) { function GetBlockHashFromMerkelTree (line 666) | static bool GetBlockHashFromMerkelTree(android::base::borrowed_fd im... function CalculateDigest (line 725) | static bool CalculateDigest(const void* buffer, size_t size, const v... function verify_data_blocks (line 743) | bool verify_data_blocks(android::base::borrowed_fd fd, const std::ve... function DumpVerityHash (line 774) | bool DumpVerityHash(int argc, char** argv) { function MapPrecreatedSnapshots (line 912) | bool MapPrecreatedSnapshots(int argc, char** argv) { function CreateTestUpdate (line 985) | bool CreateTestUpdate(SnapshotManager* sm) { function TestOtaHandler (line 1085) | bool TestOtaHandler(int /* argc */, char** /* argv */) { function main (line 1124) | int main(int argc, char** argv) { FILE: fs_mgr/libsnapshot/snapuserd/dm_user_block_server.cpp type android (line 22) | namespace android { type snapshot (line 23) | namespace snapshot { type dm_user_header (line 30) | struct dm_user_header type dm_user_header (line 34) | struct dm_user_header type dm_user_header (line 35) | struct dm_user_header type dm_user_header (line 94) | struct dm_user_header type dm_user_header (line 95) | struct dm_user_header type dm_user_header (line 115) | struct dm_user_header FILE: fs_mgr/libsnapshot/snapuserd/include/snapuserd/block_server.h function namespace (line 22) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/include/snapuserd/dm_user_block_server.h function namespace (line 25) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/include/snapuserd/snapuserd_buffer.h function namespace (line 25) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/include/snapuserd/snapuserd_client.h function namespace (line 24) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/include/snapuserd/snapuserd_kernel.h function namespace (line 19) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/snapuserd_buffer.cpp type android (line 22) | namespace android { type snapshot (line 23) | namespace snapshot { FILE: fs_mgr/libsnapshot/snapuserd/snapuserd_client.cpp type android (line 41) | namespace android { type snapshot (line 42) | namespace snapshot { function EnsureSnapuserdStarted (line 47) | bool EnsureSnapuserdStarted() { function IsRetryErrno (line 65) | static inline bool IsRetryErrno() { FILE: fs_mgr/libsnapshot/snapuserd/snapuserd_daemon.cpp type android (line 36) | namespace android { type snapshot (line 37) | namespace snapshot { function main (line 198) | int main(int argc, char** argv) { FILE: fs_mgr/libsnapshot/snapuserd/snapuserd_daemon.h function namespace (line 24) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/snapuserd_extractor.cpp function main (line 39) | int main([[maybe_unused]] int argc, [[maybe_unused]] char** argv) { FILE: fs_mgr/libsnapshot/snapuserd/testing/dm_user_harness.cpp type android (line 24) | namespace android { type snapshot (line 25) | namespace snapshot { function IBlockServerFactory (line 62) | IBlockServerFactory* DmUserTestHarness::GetBlockServerFactory() { FILE: fs_mgr/libsnapshot/snapuserd/testing/dm_user_harness.h function namespace (line 24) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/testing/harness.cpp type android (line 29) | namespace android { type snapshot (line 30) | namespace snapshot { class MemoryBackedDevice (line 39) | class MemoryBackedDevice final : public IBackingDevice { method Init (line 41) | bool Init(uint64_t size) { method GetSize (line 59) | uint64_t GetSize() override { class FileBackedDevice (line 74) | class FileBackedDevice final : public IBackingDevice { method Init (line 76) | bool Init(uint64_t size) { method GetSize (line 89) | uint64_t GetSize() override { FILE: fs_mgr/libsnapshot/snapuserd/testing/harness.h function namespace (line 25) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/testing/host_harness.cpp type android (line 19) | namespace android { type snapshot (line 20) | namespace snapshot { function IBlockServerFactory (line 107) | IBlockServerFactory* HostTestHarness::GetBlockServerFactory() { FILE: fs_mgr/libsnapshot/snapuserd/testing/host_harness.h function namespace (line 26) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/testing/temp_device.h function namespace (line 22) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/extractor.cpp type android (line 35) | namespace android { type snapshot (line 36) | namespace snapshot { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/extractor.h function namespace (line 26) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/handler_manager.cpp type android (line 27) | namespace android { type snapshot (line 28) | namespace snapshot { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/handler_manager.h function namespace (line 27) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/merge_worker.cpp type android (line 26) | namespace android { type snapshot (line 27) | namespace snapshot { type io_uring_sqe (line 264) | struct io_uring_sqe type io_uring_sqe (line 301) | struct io_uring_sqe type io_uring_cqe (line 337) | struct io_uring_cqe type io_uring (line 578) | struct io_uring FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/merge_worker.h function namespace (line 20) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/read_worker.cpp type android (line 27) | namespace android { type snapshot (line 28) | namespace snapshot { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/read_worker.h function namespace (line 23) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/snapuserd_core.cpp type android (line 29) | namespace android { type snapshot (line 30) | namespace snapshot { type CowHeader (line 81) | struct CowHeader type CowHeader (line 81) | struct CowHeader type CowHeader (line 94) | struct CowHeader type CowHeader (line 94) | struct CowHeader type BufferState (line 99) | struct BufferState type BufferState (line 138) | struct BufferState type CowHeader (line 156) | struct CowHeader type CowHeader (line 156) | struct CowHeader type CowHeader (line 268) | struct CowHeader type CowHeader (line 268) | struct CowHeader type ScratchMetadata (line 391) | struct ScratchMetadata type BufferState (line 416) | struct BufferState type BufferState (line 419) | struct BufferState type BufferState (line 420) | struct BufferState FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/snapuserd_core.h function namespace (line 54) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/snapuserd_readahead.cpp type android (line 25) | namespace android { type snapshot (line 26) | namespace snapshot { class AutoNotifyReadAheadFailed (line 132) | class [[nodiscard]] AutoNotifyReadAheadFailed { method AutoNotifyReadAheadFailed (line 134) | AutoNotifyReadAheadFailed(std::shared_ptr snapuse... method Cancel (line 143) | void Cancel() { cancelled_ = true; } type ScratchMetadata (line 164) | struct ScratchMetadata type ScratchMetadata (line 164) | struct ScratchMetadata type ScratchMetadata (line 178) | struct ScratchMetadata type io_uring_sqe (line 306) | struct io_uring_sqe type ScratchMetadata (line 396) | struct ScratchMetadata type ScratchMetadata (line 396) | struct ScratchMetadata type ScratchMetadata (line 407) | struct ScratchMetadata type ScratchMetadata (line 413) | struct ScratchMetadata type ScratchMetadata (line 420) | struct ScratchMetadata type io_uring_cqe (line 431) | struct io_uring_cqe type ScratchMetadata (line 582) | struct ScratchMetadata type ScratchMetadata (line 582) | struct ScratchMetadata type ScratchMetadata (line 635) | struct ScratchMetadata type ScratchMetadata (line 641) | struct ScratchMetadata type ScratchMetadata (line 651) | struct ScratchMetadata type io_uring (line 755) | struct io_uring function CowOperation (line 875) | const CowOperation* ReadAhead::GetRAOpIter() { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/snapuserd_readahead.h function namespace (line 30) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/snapuserd_server.cpp type android (line 40) | namespace android { type snapshot (line 41) | namespace snapshot { type pollfd (line 313) | struct pollfd FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/snapuserd_server.h function namespace (line 38) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/snapuserd_test.cpp type android (line 50) | namespace android { type snapshot (line 51) | namespace snapshot { type TestParam (line 64) | struct TestParam { class SnapuserdTestBase (line 73) | class SnapuserdTestBase : public ::testing::TestWithParam { method unique_fd (line 83) | unique_fd GetCowFd() { return unique_fd{dup(cow_system_->fd)}; } class SnapuserdTest (line 271) | class SnapuserdTest : public SnapuserdTestBase { type BufferState (line 439) | struct BufferState type BufferState (line 440) | struct BufferState function TEST_P (line 880) | TEST_P(SnapuserdTest, Snapshot_Passthrough) { function TEST_P (line 894) | TEST_P(SnapuserdTest, Snapshot_IO_TEST) { function TEST_P (line 908) | TEST_P(SnapuserdTest, Snapshot_MERGE_IO_TEST) { function TEST_P (line 922) | TEST_P(SnapuserdTest, Snapshot_MERGE_IO_TEST_1) { function TEST_P (line 937) | TEST_P(SnapuserdTest, Snapshot_MERGE_PAUSE_RESUME) { function TEST_P (line 957) | TEST_P(SnapuserdTest, Snapshot_Merge_Resume) { function TEST_P (line 963) | TEST_P(SnapuserdTest, Snapshot_COPY_Overlap_TEST_1) { function TEST_P (line 969) | TEST_P(SnapuserdTest, Snapshot_COPY_Overlap_TEST_2) { function TEST_P (line 975) | TEST_P(SnapuserdTest, Snapshot_COPY_Overlap_Merge_Resume_TEST) { function TEST_P (line 981) | TEST_P(SnapuserdTest, Snapshot_COPY_Overlap_Merge_Resume_IO_Validate... function TEST_P (line 990) | TEST_P(SnapuserdTest, Snapshot_Merge_Crash_Fixed_Ordered) { function TEST_P (line 996) | TEST_P(SnapuserdTest, Snapshot_Merge_Crash_Random_Ordered) { function TEST_P (line 1002) | TEST_P(SnapuserdTest, Snapshot_Merge_Crash_Fixed_Inverted) { function TEST_P (line 1008) | TEST_P(SnapuserdTest, Snapshot_Merge_Crash_Random_Inverted) { class SnapuserdVariableBlockSizeTest (line 1014) | class SnapuserdVariableBlockSizeTest : public SnapuserdTest { function TEST_P (line 1236) | TEST_P(SnapuserdVariableBlockSizeTest, Snapshot_Test_Variable_Block_... class HandlerTest (line 1248) | class HandlerTest : public SnapuserdTestBase { function AssertionResult (line 1310) | AssertionResult HandlerTest::ReadSectors(sector_t sector, uint64_t s... function TEST_P (line 1326) | TEST_P(HandlerTest, Read) { function TEST_P (line 1355) | TEST_P(HandlerTest, ReadUnalignedSector) { function TEST_P (line 1362) | TEST_P(HandlerTest, ReadUnalignedSize) { class HandlerTestV3 (line 1369) | class HandlerTestV3 : public HandlerTest { function TEST_P (line 1459) | TEST_P(HandlerTestV3, Read) { function GetIoUringConfigs (line 1514) | std::vector GetIoUringConfigs() { function GetTestConfigs (line 1526) | std::vector GetTestConfigs() { function GetVariableBlockTestConfigs (line 1546) | std::vector GetVariableBlockTestConfigs() { function main (line 1584) | int main(int argc, char** argv) { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/snapuserd_transitions.cpp type android (line 161) | namespace android { type snapshot (line 162) | namespace snapshot { function IsMergeBeginError (line 192) | static inline bool IsMergeBeginError(MERGE_IO_TRANSITION io_state) { type BufferState (line 237) | struct BufferState function MERGE_GROUP_STATE (line 693) | MERGE_GROUP_STATE SnapshotHandler::ProcessMergingBlock(uint64_t new_... FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/snapuserd_verify.cpp type android (line 27) | namespace android { type snapshot (line 28) | namespace snapshot { type iovec (line 129) | struct iovec type iovec (line 129) | struct iovec FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/snapuserd_verify.h function namespace (line 30) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/worker.cpp type android (line 19) | namespace android { type snapshot (line 20) | namespace snapshot { FILE: fs_mgr/libsnapshot/snapuserd/user-space-merge/worker.h function namespace (line 27) | namespace android { FILE: fs_mgr/libsnapshot/snapuserd/utility.cpp type android (line 29) | namespace android { type snapshot (line 30) | namespace snapshot { function SetThreadPriority (line 35) | bool SetThreadPriority([[maybe_unused]] int priority) { function SetProfiles (line 43) | bool SetProfiles([[maybe_unused]] std::initializer_list ... function HashSnapshot (line 133) | std::string HashSnapshot(ICowWriter::FileDescriptor* reader) { function GetHash (line 159) | std::optional GetHash(const std::string& path) { function AssertionResult (line 173) | AssertionResult FillFakeMetadata(MetadataBuilder* builder, const Del... function SetSize (line 204) | void SetSize(PartitionUpdate* partition_update, uint64_t size) { function GetSize (line 208) | uint64_t GetSize(PartitionUpdate* partition_update) { function IsVirtualAbEnabled (line 212) | bool IsVirtualAbEnabled() { FILE: fs_mgr/libsnapshot/tools/cow_benchmark.cpp type android (line 28) | namespace android { type snapshot (line 29) | namespace snapshot { function CompressionToString (line 31) | static std::string CompressionToString(CowCompression& compression) { function OneShotCompressionTest (line 53) | void OneShotCompressionTest() { function IncrementalCompressionTest (line 117) | void IncrementalCompressionTest() { function main (line 197) | int main() { FILE: fs_mgr/libsnapshot/tools/write_cow.cpp function write_legacy_cow_v2 (line 40) | static void write_legacy_cow_v2() { function WriteCow (line 69) | static bool WriteCow(const std::string& path) { function main (line 101) | int main(int argc, char** argv) { FILE: fs_mgr/libsnapshot/utility.cpp type android (line 45) | namespace android { type snapshot (line 46) | namespace snapshot { function ListPartitionsWithSuffix (line 80) | std::vector ListPartitionsWithSuffix(MetadataBuilder* bu... function Return (line 100) | Return InitializeKernelCow(const std::string& device) { function FsyncDirectory (line 157) | bool FsyncDirectory(const char* dirname) { function WriteStringToFileAtomic (line 175) | bool WriteStringToFileAtomic(const std::string& content, const std::... type tm (line 202) | struct tm function AppendExtent (line 224) | void AppendExtent(RepeatedPtrField* ... function GetLegacyCompressionEnabledProperty (line 239) | bool GetLegacyCompressionEnabledProperty() { function GetUserspaceSnapshotsEnabledProperty (line 244) | bool GetUserspaceSnapshotsEnabledProperty() { function IsVendorFromAndroid12 (line 249) | bool IsVendorFromAndroid12() { function CanUseUserspaceSnapshots (line 264) | bool CanUseUserspaceSnapshots() { function GetIouringEnabledProperty (line 281) | bool GetIouringEnabledProperty() { function GetXorCompressionEnabledProperty (line 286) | bool GetXorCompressionEnabledProperty() { function GetODirectEnabledProperty (line 291) | bool GetODirectEnabledProperty() { function GetOtherPartitionName (line 296) | std::string GetOtherPartitionName(const std::string& name) { function IsDmSnapshotTestingEnabled (line 304) | bool IsDmSnapshotTestingEnabled() { function KernelSupportsCompressedSnapshots (line 309) | bool KernelSupportsCompressedSnapshots() { FILE: fs_mgr/libsnapshot/utility.h function namespace (line 32) | namespace android { function AutoDevice (line 58) | struct AutoUnmapDevice : AutoDevice { function AutoDevice (line 70) | struct AutoUnmapImage : AutoDevice { function AutoDevice (line 83) | struct AutoDeleteSnapshot : AutoDevice { function AutoDevice (line 95) | struct AutoUnmountDevice : AutoDevice { type Now (line 123) | struct Now {} FILE: fs_mgr/libsnapshot/vts_ota_config_test.cpp function GetVsrLevel (line 20) | static int GetVsrLevel() { function TEST (line 25) | TEST(VAB, Enabled) { FILE: fs_mgr/libstorage_literals/storage_literals/storage_literals.h function explicit (line 26) | explicit constexpr Size(uint64_t count) : value_(count) {} function Dest (line 63) | Dest size_cast(Src src) { FILE: fs_mgr/libvbmeta/builder.cpp type android (line 31) | namespace android { type fs_mgr (line 32) | namespace fs_mgr { function WriteToSuperVBMetaFile (line 187) | bool WriteToSuperVBMetaFile(const std::string& super_vbmeta_file, FILE: fs_mgr/libvbmeta/builder.h function namespace (line 26) | namespace android { FILE: fs_mgr/libvbmeta/builder_test.cpp function TEST (line 25) | TEST(BuilderTest, VBMetaTableBasic) { FILE: fs_mgr/libvbmeta/include/libvbmeta/libvbmeta.h function namespace (line 22) | namespace android { FILE: fs_mgr/libvbmeta/reader.cpp type android (line 25) | namespace android { type fs_mgr (line 26) | namespace fs_mgr { function LoadAndVerifySuperVBMetaHeader (line 28) | Result LoadAndVerifySuperVBMetaHeader(const void* buffer, Supe... function LoadVBMetaDescriptors (line 44) | void LoadVBMetaDescriptors(const void* buffer, uint32_t size, function ReadVBMetaTable (line 58) | Result ReadVBMetaTable(int fd, uint64_t offset, VBMetaTable* t... function ReadPrimaryVBMetaTable (line 85) | Result ReadPrimaryVBMetaTable(int fd, VBMetaTable* table) { function ReadBackupVBMetaTable (line 90) | Result ReadBackupVBMetaTable(int fd, VBMetaTable* table) { function ReadVBMetaImage (line 95) | Result ReadVBMetaImage(int fd, int slot) { function ValidateVBMetaImage (line 104) | Result ValidateVBMetaImage(int super_vbmeta_fd, int vbmeta_index, FILE: fs_mgr/libvbmeta/reader.h function namespace (line 23) | namespace android { FILE: fs_mgr/libvbmeta/super_vbmeta_format.h function VBMetaDescriptor (line 26) | struct InternalVBMetaDescriptor : VBMetaDescriptor { type VBMetaTable (line 31) | struct VBMetaTable { FILE: fs_mgr/libvbmeta/super_vbmeta_format_c.h type SuperVBMetaHeader (line 79) | typedef struct SuperVBMetaHeader { type VBMetaDescriptor (line 113) | typedef struct VBMetaDescriptor { FILE: fs_mgr/libvbmeta/super_vbmeta_test.cpp function GeneratePartitionImage (line 39) | void GeneratePartitionImage(int fd, const std::string& file_name, function GenerateVBMetaImage (line 64) | void GenerateVBMetaImage(const std::string& vbmeta_file_name, function ReadVBMetaImageFromFile (line 76) | std::string ReadVBMetaImageFromFile(const std::string& file) { function TEST (line 86) | TEST(VBMetaTableTest, VBMetaTableBasic) { function main (line 188) | int main(int argc, char** argv) { FILE: fs_mgr/libvbmeta/utility.cpp type android (line 29) | namespace android { type fs_mgr (line 30) | namespace fs_mgr { function GetFileSize (line 32) | Result GetFileSize(int fd) { function IndexOffset (line 40) | uint64_t IndexOffset(const uint8_t vbmeta_index) { FILE: fs_mgr/libvbmeta/utility.h function namespace (line 29) | namespace android { FILE: fs_mgr/libvbmeta/writer.cpp type android (line 26) | namespace android { type fs_mgr (line 27) | namespace fs_mgr { function SerializeVBMetaTable (line 29) | std::string SerializeVBMetaTable(const VBMetaTable& input) { function WritePrimaryVBMetaTable (line 44) | Result WritePrimaryVBMetaTable(int fd, const std::string& tabl... function WriteBackupVBMetaTable (line 56) | Result WriteBackupVBMetaTable(int fd, const std::string& table) { function WriteVBMetaImage (line 68) | Result WriteVBMetaImage(int fd, const uint8_t slot_number, con... FILE: fs_mgr/libvbmeta/writer.h function namespace (line 25) | namespace android { FILE: fs_mgr/tests/file_wait_test.cpp class FileWaitTest (line 29) | class FileWaitTest : public ::testing::Test { method SetUp (line 31) | void SetUp() override { method TearDown (line 36) | void TearDown() override { unlink(test_file_.c_str()); } function TEST_F (line 42) | TEST_F(FileWaitTest, FileExists) { function TEST_F (line 50) | TEST_F(FileWaitTest, FileDoesNotExist) { function TEST_F (line 55) | TEST_F(FileWaitTest, CreateAsync) { function TEST_F (line 64) | TEST_F(FileWaitTest, CreateOtherAsync) { function TEST_F (line 73) | TEST_F(FileWaitTest, DeleteAsync) { function TEST_F (line 88) | TEST_F(FileWaitTest, BadPath) { FILE: fs_mgr/tests/fs_mgr_test.cpp function CompareFlags (line 199) | bool CompareFlags(FstabEntry::FsMgrFlags& lhs, FstabEntry::FsMgrFlags& r... function TEST (line 227) | TEST(fs_mgr, ImportKernelCmdline) { function TEST (line 234) | TEST(fs_mgr, GetKernelCmdline) { function TEST (line 255) | TEST(fs_mgr, ImportBootconfig) { function TEST (line 263) | TEST(fs_mgr, GetBootconfig) { function TEST (line 284) | TEST(fs_mgr, fs_mgr_read_fstab_file_proc_mounts) { function TEST (line 351) | TEST(fs_mgr, ReadFstabFromFile_MountOptions) { function TEST (line 437) | TEST(fs_mgr, ReadFstabFromFile_FsMgrFlags) { function TEST (line 512) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_AllBad) { function TEST (line 572) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_FDE) { function TEST (line 584) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_AdoptableStorage) { function TEST (line 605) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_VoldManaged) { function TEST (line 648) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_Length) { function TEST (line 674) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_Swapprio) { function TEST (line 700) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_ZramSize) { function TEST (line 756) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_FileEncryption) { function TEST (line 778) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_MaxCompStreams) { function TEST (line 804) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_ReservedSize) { function TEST (line 842) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_EraseBlk) { function TEST (line 880) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_Logicalblk) { function TEST (line 918) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_Avb) { function TEST (line 948) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_KeyDirectory) { function TEST (line 970) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_MetadataEncryption) { function TEST (line 987) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_MetadataEncryption_WrappedKe... function TEST (line 1008) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_SysfsPath) { function TEST (line 1030) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_Zram) { function TEST (line 1066) | TEST(fs_mgr, DefaultFstabContainsUserdata) { function TEST (line 1073) | TEST(fs_mgr, ReadFstabFromFile_FsMgrOptions_Readahead_Size_KB) { function TEST (line 1129) | TEST(fs_mgr, TransformFstabForDsu) { function TEST (line 1170) | TEST(fs_mgr, TransformFstabForDsu_synthesisExt4Entry) { function TEST (line 1207) | TEST(fs_mgr, TransformFstabForDsu_synthesisAllMissingEntries) { FILE: fs_mgr/tests/src/com/android/tests/vendoroverlay/VendorOverlayHostTest.java class VendorOverlayHostTest (line 36) | @RunWith(DeviceJUnit4ClassRunner.class) method setup (line 41) | @Before method cmdSucceeded (line 67) | private boolean cmdSucceeded(CommandResult result) { method assumeMkdirSuccess (line 71) | private void assumeMkdirSuccess(String dir) throws DeviceNotAvailableE... method testVendorOverlay (line 79) | @Test method testConditionsMet (line 111) | public boolean testConditionsMet() throws DeviceNotAvailableException { method tearDown (line 143) | @After FILE: fs_mgr/tests/vts_fs_test.cpp function GetVsrLevel (line 31) | static int GetVsrLevel() { function DeviceSupportsFeature (line 36) | bool DeviceSupportsFeature(const char* feature) { function TEST (line 53) | TEST(fs, ErofsSupported) { function TEST (line 78) | TEST(fs, PartitionTypes) { function TEST (line 145) | TEST(fs, NoDtFstab) { function TEST (line 154) | TEST(fs, NoLegacyVerifiedBoot) { FILE: fs_mgr/tools/dmctl.cpp function Usage (line 46) | static int Usage(void) { class TargetParser (line 72) | class TargetParser final { method TargetParser (line 74) | TargetParser(int argc, char** argv) : arg_index_(0), argc_(argc), argv... method More (line 76) | bool More() const { return arg_index_ < argc_; } method Next (line 77) | std::unique_ptr Next() { method HasArgs (line 254) | bool HasArgs(int count) { return arg_index_ + count <= argc_; } type TableArgs (line 270) | struct TableArgs { function parse_table_args (line 275) | static std::optional parse_table_args(int argc, char** argv) { function DmCreateCmdHandler (line 309) | static int DmCreateCmdHandler(int argc, char** argv) { function DmDeleteCmdHandler (line 338) | static int DmDeleteCmdHandler(int argc, char** argv) { function DmReplaceCmdHandler (line 353) | static int DmReplaceCmdHandler(int argc, char** argv) { function DmListTargets (line 377) | static int DmListTargets(DeviceMapper& dm, [[maybe_unused]] int argc, function DmListDevices (line 399) | static int DmListDevices(DeviceMapper& dm, int argc, char** argv) { function DmListCmdHandler (line 446) | static int DmListCmdHandler(int argc, char** argv) { function DmMessageCmdHandler (line 461) | static int DmMessageCmdHandler(int argc, char** argv) { function HelpCmdHandler (line 479) | static int HelpCmdHandler(int /* argc */, char** /* argv */) { function GetPathCmdHandler (line 484) | static int GetPathCmdHandler(int argc, char** argv) { function GetUuidCmdHandler (line 500) | static int GetUuidCmdHandler(int argc, char** argv) { function InfoCmdHandler (line 516) | static int InfoCmdHandler(int argc, char** argv) { function DumpTable (line 551) | static int DumpTable(const std::string& mode, int argc, char** argv) { function TableCmdHandler (line 592) | static int TableCmdHandler(int argc, char** argv) { function StatusCmdHandler (line 596) | static int StatusCmdHandler(int argc, char** argv) { function ImaCmdHandler (line 600) | static int ImaCmdHandler(int argc, char** argv) { function ResumeCmdHandler (line 604) | static int ResumeCmdHandler(int argc, char** argv) { function SuspendCmdHandler (line 618) | static int SuspendCmdHandler(int argc, char** argv) { function ReadFile (line 651) | static bool ReadFile(const char* filename, std::vector* args, function main (line 663) | int main(int argc, char** argv) { FILE: fs_mgr/tools/dmuserd.cpp type dm_user_message (line 67) | struct dm_user_message { function write_all (line 80) | ssize_t write_all(int fd, void* buf, size_t len) { function read_all (line 98) | ssize_t read_all(int fd, void* buf, size_t len) { function not_splice (line 116) | int not_splice(int from, int to, __u64 count) { function simple_daemon (line 137) | static int simple_daemon(const std::string& control_path, const std::str... function usage (line 280) | void usage(char* prog) { function main (line 289) | int main(int argc, char* argv[]) { FILE: gatekeeperd/GateKeeperResponse.cpp type android (line 26) | namespace android { type service (line 27) | namespace service { type gatekeeper (line 28) | namespace gatekeeper { function status_t (line 30) | status_t GateKeeperResponse::readFromParcel(const Parcel* in) { function status_t (line 57) | status_t GateKeeperResponse::writeToParcel(Parcel* out) const { FILE: gatekeeperd/fuzzer/GateKeeperServiceFuzzer.cpp function LLVMFuzzerTestOneInput (line 24) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: gatekeeperd/gatekeeperd.cpp type android (line 58) | namespace android { function Status (line 151) | Status GateKeeperProxy::adjust_userId(uint32_t userId, uint32_t* hw_us... function Status (line 171) | Status GateKeeperProxy::enroll(int32_t userId, function Status (line 286) | Status GateKeeperProxy::verify(int32_t userId, const ::std::vector&) { FILE: gatekeeperd/gatekeeperd.h function namespace (line 28) | namespace android { FILE: gatekeeperd/include/gatekeeper/GateKeeperResponse.h function namespace (line 23) | namespace android { FILE: gatekeeperd/main.cpp function main (line 24) | int main(int argc, char* argv[]) { FILE: healthd/AnimationParser.cpp type android (line 30) | namespace android { function can_ignore_line (line 33) | bool can_ignore_line(const char* str) { function remove_prefix (line 40) | bool remove_prefix(std::string_view line, const char* prefix, const ch... function parse_text_field (line 54) | bool parse_text_field(const char* in, animation::text_field* field) { function parse_animation_desc (line 82) | bool parse_animation_desc(const std::string& content, animation* anim) { FILE: healthd/AnimationParser.h function namespace (line 24) | namespace android { FILE: healthd/AnimationParser_test.cpp function TEST (line 23) | TEST(AnimationParserTest, Test_can_ignore_line) { function TEST (line 35) | TEST(AnimationParserTest, Test_remove_prefix) { function TEST (line 49) | TEST(AnimationParserTest, Test_parse_text_field) { function TEST (line 107) | TEST(AnimationParserTest, Test_parse_animation_desc_basic) { function TEST (line 118) | TEST(AnimationParserTest, Test_parse_animation_desc_bad_no_animation_lin... function TEST (line 128) | TEST(AnimationParserTest, Test_parse_animation_desc_bad_no_frame) { function TEST (line 138) | TEST(AnimationParserTest, Test_parse_animation_desc_bad_animation_line_f... function TEST (line 149) | TEST(AnimationParserTest, Test_parse_animation_desc_full) { FILE: healthd/BatteryMonitor.cpp function translateToHidl (line 70) | void translateToHidl(const ::aidl::android::hardware::health::HealthInfo... function translateToHidl (line 92) | void translateToHidl(const ::aidl::android::hardware::health::HealthInfo... function translateToHidl (line 99) | void translateToHidl(const ::aidl::android::hardware::health::HealthInfo... type android (line 110) | namespace android { type SysfsStringEnumMap (line 113) | struct SysfsStringEnumMap { function mapSysfsString (line 119) | static std::optional mapSysfsString(const char* str, SysfsStringEnu... function initHealthInfo (line 127) | static void initHealthInfo(HealthInfo* health_info) { function HealthInfo_1_0 (line 150) | HealthInfo_1_0 BatteryMonitor::getHealthInfo_1_0() const { function HealthInfo_2_0 (line 156) | HealthInfo_2_0 BatteryMonitor::getHealthInfo_2_0() const { function HealthInfo_2_1 (line 162) | HealthInfo_2_1 BatteryMonitor::getHealthInfo_2_1() const { function HealthInfo (line 168) | const HealthInfo& BatteryMonitor::getHealthInfo() const { function BatteryStatus (line 172) | BatteryStatus getBatteryStatus(const char* status) { function BatteryCapacityLevel (line 191) | BatteryCapacityLevel getBatteryCapacityLevel(const char* capacityLevel) { function BatteryHealth (line 211) | BatteryHealth getBatteryHealth(const char* status) { function BatteryHealth (line 237) | BatteryHealth getBatteryHealthStatus(int status) { function BatteryChargingPolicy (line 258) | BatteryChargingPolicy getBatteryChargingPolicy(const char* chargingPol... function BatteryChargingState (line 273) | BatteryChargingState getBatteryChargingState(const char* chargingState) { function readFromFile (line 289) | static int readFromFile(const String8& path, std::string* buf) { function writeToFile (line 297) | static bool writeToFile(const String8& path, int32_t in_value) { function readPowerSupplyType (line 301) | static BatteryMonitor::PowerSupplyType readPowerSupplyType(const Strin... function getBooleanField (line 334) | static bool getBooleanField(const String8& path) { function getIntField (line 345) | static int getIntField(const String8& path) { function isScopedPowerSupply (line 355) | static bool isScopedPowerSupply(const char* name) { function BatteryHealthData (line 364) | static BatteryHealthData *ensureBatteryHealthData(HealthInfo *info) { function doLogValues (line 508) | static void doLogValues(const HealthInfo& props, const struct healthd_... type healthd_config (line 546) | struct healthd_config function status_t (line 572) | status_t BatteryMonitor::setChargingPolicy(int value) { function status_t (line 616) | status_t BatteryMonitor::getProperty(int id, struct BatteryProperty *v... function status_t (line 708) | status_t BatteryMonitor::getSerialNumber(std::optional* o... type healthd_config (line 765) | struct healthd_config type dirent (line 774) | struct dirent FILE: healthd/BatteryMonitor_v1.cpp function translateToHidl (line 66) | void translateToHidl(const ::aidl::android::hardware::health::HealthInfo... function translateToHidl (line 88) | void translateToHidl(const ::aidl::android::hardware::health::HealthInfo... function translateToHidl (line 95) | void translateToHidl(const ::aidl::android::hardware::health::HealthInfo... type android (line 106) | namespace android { type SysfsStringEnumMap (line 109) | struct SysfsStringEnumMap { function mapSysfsString (line 115) | static std::optional mapSysfsString(const char* str, SysfsStringEnu... function initHealthInfo (line 123) | static void initHealthInfo(HealthInfo* health_info) { function HealthInfo_1_0 (line 144) | HealthInfo_1_0 BatteryMonitor::getHealthInfo_1_0() const { function HealthInfo_2_0 (line 150) | HealthInfo_2_0 BatteryMonitor::getHealthInfo_2_0() const { function HealthInfo_2_1 (line 156) | HealthInfo_2_1 BatteryMonitor::getHealthInfo_2_1() const { function HealthInfo (line 162) | const HealthInfo& BatteryMonitor::getHealthInfo() const { function BatteryStatus (line 166) | BatteryStatus getBatteryStatus(const char* status) { function BatteryCapacityLevel (line 185) | BatteryCapacityLevel getBatteryCapacityLevel(const char* capacityLevel) { function BatteryHealth (line 205) | BatteryHealth getBatteryHealth(const char* status) { function readFromFile (line 230) | static int readFromFile(const String8& path, std::string* buf) { function readPowerSupplyType (line 238) | static BatteryMonitor::PowerSupplyType readPowerSupplyType(const Strin... function getBooleanField (line 271) | static bool getBooleanField(const String8& path) { function getIntField (line 282) | static int getIntField(const String8& path) { function isScopedPowerSupply (line 292) | static bool isScopedPowerSupply(const char* name) { function doLogValues (line 411) | static void doLogValues(const HealthInfo& props, const struct healthd_... type healthd_config (line 449) | struct healthd_config function status_t (line 475) | status_t BatteryMonitor::getProperty(int id, struct BatteryProperty *v... type healthd_config (line 594) | struct healthd_config type dirent (line 603) | struct dirent FILE: healthd/animation.h type GRFont (line 25) | struct GRFont function namespace (line 27) | namespace android { FILE: healthd/charger.cpp function main (line 27) | int main(int argc, char** argv) { FILE: healthd/charger_test.cpp class Atomic (line 46) | class Atomic { method Atomic (line 48) | Atomic(T&& init) : mValue(std::move(init)) {} method set (line 49) | void set(T&& newVal) { method waitFor (line 56) | bool waitFor(long ms, const T& expectVal) { function energyCounter (line 72) | int energyCounter(int64_t* counter) { function openToString (line 88) | std::string openToString(const char* path) { function expectContains (line 97) | int expectContains(const std::string& content, const std::vector GetHealthServiceOrDefault() { FILE: healthd/charger_utils.h function namespace (line 21) | namespace android { FILE: healthd/healthd_draw.cpp function get_split_screen (line 31) | static bool get_split_screen() { function get_split_offset (line 39) | static int get_split_offset() { FILE: healthd/healthd_draw.h function class (line 27) | class HealthdDraw { FILE: healthd/healthd_mode_charger.cpp type android (line 100) | namespace android { function curr_time_ms (line 209) | static int64_t curr_time_ms() { function dump_last_kmsg (line 217) | static void dump_last_kmsg(void) { function kick_animation (line 282) | static void kick_animation(animation* anim) { function reset_animation (line 286) | static void reset_animation(animation* anim) { function charger_event_handler (line 667) | static void charger_event_handler(HealthLoop* /*charger_loop*/, uint32... type healthd_config (line 770) | struct healthd_config function set_resource_root_for (line 850) | void set_resource_root_for(const std::string& root, const std::string&... FILE: healthd/healthd_mode_charger_hidl.cpp type android (line 28) | namespace android { function healthd_charger_main (line 61) | int healthd_charger_main(int argc, char** argv) { FILE: healthd/healthd_mode_charger_hidl.h function namespace (line 23) | namespace android { FILE: healthd/healthd_mode_charger_nops.cpp function healthd_charger_nops (line 26) | int healthd_charger_nops(int /* argc */, char** /* argv */) { FILE: healthd/healthd_mode_charger_test.cpp type android (line 42) | namespace android { class ChildAssertHelper (line 46) | class ChildAssertHelper : public std::stringstream { method ChildAssertHelper (line 48) | ChildAssertHelper(bool res, const char* expr, const char* file, int ... function ForkTest (line 66) | void ForkTest(const std::string& subdir, const std::function() { return charger_; } function ExpectChargerResAt (line 135) | void ExpectChargerResAt(const std::string& root) { function TEST (line 161) | TEST(ChargerLoadAnimationRes, Empty) { function TEST (line 166) | TEST(ChargerLoadAnimationRes, Legacy) { function TEST (line 172) | TEST(ChargerLoadAnimationRes, LegacyTextSystemImages) { function TEST (line 178) | TEST(ChargerLoadAnimationRes, Product) { FILE: healthd/include/healthd/BatteryMonitor.h function namespace (line 29) | namespace aidl::android::hardware::health { function namespace (line 33) | namespace android { FILE: healthd/include/healthd/BatteryMonitor_v1.h function namespace (line 28) | namespace aidl::android::hardware::health { function namespace (line 32) | namespace android { FILE: healthd/include/healthd/healthd.h type healthd_config (line 56) | struct healthd_config { type EventWakeup (line 88) | enum EventWakeup { type healthd_mode_ops (line 97) | struct healthd_mode_ops { type healthd_mode_ops (line 104) | struct healthd_mode_ops type healthd_config (line 108) | struct healthd_config type android (line 112) | struct android type healthd_config (line 123) | struct healthd_config type android (line 137) | struct android FILE: healthd/include_charger/charger/healthd_mode_charger.h function namespace (line 34) | namespace android { FILE: init/action.cpp type android (line 28) | namespace android { type init (line 29) | namespace init { function RunBuiltinFunction (line 31) | Result RunBuiltinFunction(const BuiltinFunction& function, FILE: init/action.h function namespace (line 32) | namespace android { FILE: init/action_manager.cpp type android (line 21) | namespace android { type init (line 22) | namespace init { function ActionManager (line 34) | ActionManager& ActionManager::GetInstance() { FILE: init/action_manager.h function namespace (line 28) | namespace android { FILE: init/action_parser.cpp type android (line 34) | namespace android { type init (line 35) | namespace init { function IsActionableProperty (line 39) | bool IsActionableProperty(Subcontext* subcontext, const std::string&... function ParsePropertyTrigger (line 61) | Result ParsePropertyTrigger(const std::string& trigger, Subcon... function ValidateEventTrigger (line 83) | Result ValidateEventTrigger(const std::string& event_trigger) { function ParseTriggers (line 94) | Result ParseTriggers(const std::vector& args, Sub... FILE: init/action_parser.h function namespace (line 28) | namespace android { FILE: init/apex_init_util.cpp type android (line 36) | namespace android { type init (line 37) | namespace init { function CollectRcScriptsFromApex (line 39) | static Result> CollectRcScriptsFromApex( function GetApexListFrom (line 85) | std::set GetApexListFrom(const std::string& apex_dir) { function GetCurrentSdk (line 104) | static int GetCurrentSdk() { function ParseRcScripts (line 112) | static Result ParseRcScripts(const std::vector& f... function ParseRcScriptsFromApex (line 140) | Result ParseRcScriptsFromApex(const std::string& apex_name) { function ParseRcScriptsFromAllApexes (line 145) | Result ParseRcScriptsFromAllApexes(bool bootstrap) { FILE: init/apex_init_util.h function namespace (line 25) | namespace android { FILE: init/block_dev_initializer.cpp type android (line 26) | namespace android { type init (line 27) | namespace init { function ListenerAction (line 115) | ListenerAction BlockDevInitializer::HandleUevent(const Uevent& uevent, FILE: init/block_dev_initializer.h function namespace (line 24) | namespace android { FILE: init/bootchart.cpp type android (line 45) | namespace android { type init (line 46) | namespace init { function get_uptime_jiffies (line 54) | static long long get_uptime_jiffies() { function fopen_unique (line 60) | static std::unique_ptr fopen_unique(const c... function log_header (line 67) | static void log_header() { function log_uptime (line 93) | static void log_uptime(FILE* log) { function log_file (line 97) | static void log_file(FILE* log, const char* procfile) { function log_processes (line 106) | static void log_processes(FILE* log) { function bootchart_thread_main (line 140) | static void bootchart_thread_main() { function do_bootchart_start (line 182) | static Result do_bootchart_start() { function do_bootchart_stop (line 194) | static Result do_bootchart_stop() { function do_bootchart (line 210) | Result do_bootchart(const BuiltinArguments& args) { FILE: init/bootchart.h function namespace (line 26) | namespace android { FILE: init/builtin_arguments.h function namespace (line 23) | namespace android { FILE: init/builtins.cpp type android (line 105) | namespace android { type init (line 106) | namespace init { class ErrorIgnoreEnoent (line 112) | class ErrorIgnoreEnoent { method ErrorIgnoreEnoent (line 114) | ErrorIgnoreEnoent() method ErrorIgnoreEnoent (line 117) | explicit ErrorIgnoreEnoent(int errno_to_append) method ErrorIgnoreEnoent (line 131) | ErrorIgnoreEnoent& operator<<(T&& t) { function ErrorIgnoreEnoent (line 141) | inline ErrorIgnoreEnoent ErrnoErrorIgnoreEnoent() { method ErrorIgnoreEnoent (line 114) | ErrorIgnoreEnoent() method ErrorIgnoreEnoent (line 117) | explicit ErrorIgnoreEnoent(int errno_to_append) method ErrorIgnoreEnoent (line 131) | ErrorIgnoreEnoent& operator<<(T&& t) { function reboot_into_recovery (line 149) | static Result reboot_into_recovery(const std::vector do_class_start(const BuiltinArguments& args) { function do_class_stop (line 183) | static Result do_class_stop(const BuiltinArguments& args) { function do_class_reset (line 188) | static Result do_class_reset(const BuiltinArguments& args) { function do_class_restart (line 193) | static Result do_class_restart(const BuiltinArguments& args) { function do_domainname (line 225) | static Result do_domainname(const BuiltinArguments& args) { function do_enable (line 232) | static Result do_enable(const BuiltinArguments& args) { function do_exec (line 243) | static Result do_exec(const BuiltinArguments& args) { function do_exec_background (line 256) | static Result do_exec_background(const BuiltinArguments& args) { function do_exec_start (line 269) | static Result do_exec_start(const BuiltinArguments& args) { function do_export (line 282) | static Result do_export(const BuiltinArguments& args) { function do_load_exports (line 289) | static Result do_load_exports(const BuiltinArguments& args) { function do_hostname (line 321) | static Result do_hostname(const BuiltinArguments& args) { function do_ifup (line 328) | static Result do_ifup(const BuiltinArguments& args) { function do_insmod (line 349) | static Result do_insmod(const BuiltinArguments& args) { function do_interface_restart (line 370) | static Result do_interface_restart(const BuiltinArguments& arg... function do_interface_start (line 377) | static Result do_interface_start(const BuiltinArguments& args) { function do_interface_stop (line 386) | static Result do_interface_stop(const BuiltinArguments& args) { function make_dir_with_options (line 393) | static Result make_dir_with_options(const MkdirOptions& option... function do_mkdir (line 442) | static Result do_mkdir(const BuiltinArguments& args) { function do_umount (line 449) | static Result do_umount(const BuiltinArguments& args) { function do_mount (line 480) | static Result do_mount(const BuiltinArguments& args) { function import_late (line 549) | static void import_late(const std::vector& rc_paths) { function queue_fs_event (line 579) | static Result queue_fs_event(int code) { function do_mount_all (line 616) | static Result do_mount_all(const BuiltinArguments& args) { function do_umount_all (line 663) | static Result do_umount_all(const BuiltinArguments& args) { function do_swapon_all (line 685) | static Result do_swapon_all(const BuiltinArguments& args) { function do_setprop (line 707) | static Result do_setprop(const BuiltinArguments& args) { function do_setrlimit (line 721) | static Result do_setrlimit(const BuiltinArguments& args) { function do_start (line 731) | static Result do_start(const BuiltinArguments& args) { function do_stop (line 741) | static Result do_stop(const BuiltinArguments& args) { function do_restart (line 748) | static Result do_restart(const BuiltinArguments& args) { function do_trigger (line 768) | static Result do_trigger(const BuiltinArguments& args) { function MakeSymlink (line 773) | static int MakeSymlink(const std::string& target, const std::string&... function do_symlink (line 791) | static Result do_symlink(const BuiltinArguments& args) { function do_rm (line 800) | static Result do_rm(const BuiltinArguments& args) { function do_rmdir (line 807) | static Result do_rmdir(const BuiltinArguments& args) { function do_sysclktz (line 814) | static Result do_sysclktz(const BuiltinArguments& args) { function do_verity_update_state (line 826) | static Result do_verity_update_state(const BuiltinArguments& a... function do_write (line 860) | static Result do_write(const BuiltinArguments& args) { function readahead_file (line 869) | static Result readahead_file(const std::string& filename, bool... function do_readahead (line 892) | static Result do_readahead(const BuiltinArguments& args) { function do_copy (line 951) | static Result do_copy(const BuiltinArguments& args) { function do_copy_per_line (line 963) | static Result do_copy_per_line(const BuiltinArguments& args) { function do_chown (line 980) | static Result do_chown(const BuiltinArguments& args) { function mode_t (line 1004) | static mode_t get_mode(const char *s) { function do_chmod (line 1017) | static Result do_chmod(const BuiltinArguments& args) { function do_restorecon (line 1025) | static Result do_restorecon(const BuiltinArguments& args) { function do_restorecon_recursive (line 1044) | static Result do_restorecon_recursive(const BuiltinArguments& ... function do_loglevel (line 1050) | static Result do_loglevel(const BuiltinArguments& args) { function do_load_persist_props (line 1071) | static Result do_load_persist_props(const BuiltinArguments& ar... function do_load_system_props (line 1078) | static Result do_load_system_props(const BuiltinArguments& arg... function do_wait (line 1083) | static Result do_wait(const BuiltinArguments& args) { function do_wait_for_prop (line 1101) | static Result do_wait_for_prop(const BuiltinArguments& args) { function is_file_crypto (line 1118) | static bool is_file_crypto() { function ExecWithFunctionOnFailure (line 1122) | static Result ExecWithFunctionOnFailure(const std::vector ExecVdcRebootOnFailure(const std::string& vdc_ar... function do_installkey (line 1161) | static Result do_installkey(const BuiltinArguments& args) { function do_init_user0 (line 1171) | static Result do_init_user0(const BuiltinArguments& args) { function do_mark_post_data (line 1175) | static Result do_mark_post_data(const BuiltinArguments& args) { function GenerateLinkerConfiguration (line 1180) | static Result GenerateLinkerConfiguration() { function MountLinkerConfigForDefaultNamespace (line 1204) | static Result MountLinkerConfigForDefaultNamespace() { function do_update_linker_config (line 1217) | static Result do_update_linker_config(const BuiltinArguments&) { function create_apex_data_dirs (line 1224) | static void create_apex_data_dirs() { function do_perform_apex_config (line 1235) | static Result do_perform_apex_config(const BuiltinArguments& a... function do_enter_default_mount_ns (line 1264) | static Result do_enter_default_mount_ns(const BuiltinArguments... function do_swapoff (line 1275) | static Result do_swapoff(const BuiltinArguments& args) { function BuiltinFunctionMap (line 1283) | const BuiltinFunctionMap& GetBuiltinFunctionMap() { FILE: init/builtins.h function namespace (line 28) | namespace android { FILE: init/capabilities.cpp type android (line 27) | namespace android { type init (line 28) | namespace init { function ComputeCapAmbientSupported (line 76) | static bool ComputeCapAmbientSupported() { function ComputeLastValidCap (line 84) | static unsigned int ComputeLastValidCap() { function DropBoundingSet (line 98) | static bool DropBoundingSet(const CapSet& to_keep) { function SetProcCaps (line 119) | static bool SetProcCaps(const CapSet& to_keep, bool add_setpcap) { function SetAmbientCaps (line 151) | static bool SetAmbientCaps(const CapSet& to_raise) { function LookupCap (line 165) | int LookupCap(const std::string& cap_name) { function CapAmbientSupported (line 174) | bool CapAmbientSupported() { function GetLastValidCap (line 179) | unsigned int GetLastValidCap() { function SetCapsForExec (line 184) | bool SetCapsForExec(const CapSet& to_keep) { function DropInheritableCaps (line 209) | bool DropInheritableCaps() { FILE: init/capabilities.h function namespace (line 25) | namespace android { FILE: init/check_builtins.cpp type android (line 53) | namespace android { type init (line 54) | namespace init { function InitializeHostPropertyInfoArea (line 58) | Result InitializeHostPropertyInfoArea(const std::vector check_stub(const BuiltinArguments& args) { function check_chown (line 76) | Result check_chown(const BuiltinArguments& args) { function check_exec (line 95) | Result check_exec(const BuiltinArguments& args) { function check_exec_background (line 106) | Result check_exec_background(const BuiltinArguments& args) { function check_exec_reboot_on_failure (line 110) | Result check_exec_reboot_on_failure(const BuiltinArguments& ar... function check_interface_restart (line 119) | Result check_interface_restart(const BuiltinArguments& args) { function check_interface_start (line 126) | Result check_interface_start(const BuiltinArguments& args) { function check_interface_stop (line 130) | Result check_interface_stop(const BuiltinArguments& args) { function check_load_system_props (line 134) | Result check_load_system_props(const BuiltinArguments& args) { function check_loglevel (line 138) | Result check_loglevel(const BuiltinArguments& args) { function check_mount_all (line 149) | Result check_mount_all(const BuiltinArguments& args) { function check_mkdir (line 157) | Result check_mkdir(const BuiltinArguments& args) { function check_restorecon (line 165) | Result check_restorecon(const BuiltinArguments& args) { function check_restorecon_recursive (line 176) | Result check_restorecon_recursive(const BuiltinArguments& args) { function check_setprop (line 180) | Result check_setprop(const BuiltinArguments& args) { function check_setrlimit (line 220) | Result check_setrlimit(const BuiltinArguments& args) { function check_swapon_all (line 228) | Result check_swapon_all(const BuiltinArguments& args) { function check_sysclktz (line 236) | Result check_sysclktz(const BuiltinArguments& args) { function check_umount_all (line 246) | Result check_umount_all(const BuiltinArguments& args) { function check_wait (line 254) | Result check_wait(const BuiltinArguments& args) { function check_wait_for_prop (line 264) | Result check_wait_for_prop(const BuiltinArguments& args) { FILE: init/check_builtins.h function namespace (line 26) | namespace android { FILE: init/compare-bootcharts.py function analyze_process_maps (line 47) | def analyze_process_maps(process_map1, process_map2, jiffy_record): function parse_proc_file (line 78) | def parse_proc_file(pathname, process_map, jiffy_record=None): function main (line 134) | def main(): FILE: init/debug_ramdisk.h function namespace (line 19) | namespace android { FILE: init/devices.cpp type android (line 58) | namespace android { type init (line 59) | namespace init { function FindPciDevicePrefix (line 64) | static bool FindPciDevicePrefix(const std::string& path, std::string... function FindVbdDevicePrefix (line 95) | static bool FindVbdDevicePrefix(const std::string& path, std::string... function FindDmDevice (line 119) | static bool FindDmDevice(const Uevent& uevent, std::string* name, st... function BlockDeviceInfo (line 192) | BlockDeviceInfo DeviceHandler::GetBlockDeviceInfo(const std::string&... type stat (line 443) | struct stat function SanitizePartitionName (line 473) | void SanitizePartitionName(std::string* string) { function RemoveDeviceMapperLinks (line 548) | static void RemoveDeviceMapperLinks(const std::string& devpath) { FILE: init/devices.h function class (line 38) | class Permissions { function class (line 63) | class SysfsPermissions : public Permissions { function class (line 78) | class Subsystem { type BlockDeviceInfo (line 120) | struct BlockDeviceInfo { FILE: init/devices_test.cpp type android (line 27) | namespace android { type init (line 28) | namespace init { class DeviceHandlerTester (line 30) | class DeviceHandlerTester { method TestGetSymlinks (line 32) | void TestGetSymlinks(const std::string& platform_device, const Uev... function TEST (line 63) | TEST(device_handler, get_block_device_symlinks_success_platform) { function TEST (line 77) | TEST(device_handler, get_block_device_symlinks_success_platform_with... function TEST (line 94) | TEST(device_handler, get_block_device_symlinks_success_platform_with... function TEST (line 109) | TEST(device_handler, get_block_device_symlinks_success_platform_with... function TEST (line 125) | TEST(device_handler, get_block_device_symlinks_success_pci) { function TEST (line 136) | TEST(device_handler, get_block_device_symlinks_pci_bad_format) { function TEST (line 147) | TEST(device_handler, get_block_device_symlinks_success_vbd) { function TEST (line 158) | TEST(device_handler, get_block_device_symlinks_vbd_bad_format) { function TEST (line 169) | TEST(device_handler, get_block_device_symlinks_no_matches) { function TEST (line 182) | TEST(device_handler, sanitize_null) { function TEST (line 186) | TEST(device_handler, sanitize_empty) { function TEST (line 192) | TEST(device_handler, sanitize_allgood) { function TEST (line 203) | TEST(device_handler, sanitize_somebad) { function TEST (line 209) | TEST(device_handler, sanitize_allbad) { function TEST (line 215) | TEST(device_handler, sanitize_onebad) { function TEST (line 221) | TEST(device_handler, DevPermissionsMatchNormal) { function TEST (line 233) | TEST(device_handler, DevPermissionsMatchPrefix) { function TEST (line 246) | TEST(device_handler, DevPermissionsMatchWildcard) { function TEST (line 260) | TEST(device_handler, DevPermissionsMatchWildcardPrefix) { function TEST (line 277) | TEST(device_handler, DevPermissionsMatchWildcardPrefix_NoFnmPathName) { function TEST (line 294) | TEST(device_handler, SysfsPermissionsMatchWithSubsystemNormal) { function TEST (line 305) | TEST(device_handler, SysfsPermissionsMatchWithSubsystemClass) { function TEST (line 319) | TEST(device_handler, SysfsPermissionsMatchWithSubsystemBus) { FILE: init/epoll.cpp type android (line 28) | namespace android { type init (line 29) | namespace init { FILE: init/epoll.h function namespace (line 34) | namespace android { FILE: init/epoll_test.cpp type android (line 27) | namespace android { type init (line 28) | namespace init { class CatchDtor (line 32) | class CatchDtor final { method CatchDtor (line 34) | CatchDtor() { CHECK(sValidObjects.emplace(this).second); } method CatchDtor (line 35) | CatchDtor(const CatchDtor&) { CHECK(sValidObjects.emplace(this).se... method CatchDtor (line 36) | CatchDtor(const CatchDtor&&) { CHECK(sValidObjects.emplace(this).s... function TEST (line 40) | TEST(epoll, UnregisterHandler) { FILE: init/firmware_handler.cpp type android (line 52) | namespace android { type init (line 53) | namespace init { function PrefixMatch (line 56) | bool PrefixMatch(const std::string& pattern, const std::string& path) { function FnMatch (line 60) | bool FnMatch(const std::string& pattern, const std::string& path) { function EqualMatch (line 64) | bool EqualMatch(const std::string& pattern, const std::string& path) { function LoadFirmware (line 69) | static void LoadFirmware(const std::string& firmware, const std::str... function IsBooting (line 85) | static bool IsBooting() { function IsApexActivated (line 89) | static bool IsApexActivated() { function NeedsRerunExternalHandler (line 104) | static bool NeedsRerunExternalHandler() { type stat (line 206) | struct stat FILE: init/firmware_handler.h function namespace (line 30) | namespace android { FILE: init/firmware_handler_test.cpp type android (line 30) | namespace android { type init (line 31) | namespace init { function FirmwareTestWithExternalHandler (line 33) | void FirmwareTestWithExternalHandler(const std::string& test_name, b... function TEST (line 59) | TEST(firmware_handler, HandleChange) { function HandleChange (line 63) | int HandleChange(int argc, char** argv) { function TEST (line 77) | TEST(firmware_handler, HandleAbort) { function HandleAbort (line 81) | int HandleAbort(int argc, char** argv) { function TEST (line 88) | TEST(firmware_handler, HandleFailure) { function HandleFailure (line 92) | int HandleFailure(int argc, char** argv) { function TEST (line 97) | TEST(firmware_handler, HandleBadPath) { function HandleBadPath (line 101) | int HandleBadPath(int argc, char** argv) { function TEST (line 106) | TEST(firmware_handler, Matching) { function FirmwareTestChildMain (line 127) | int FirmwareTestChildMain(int argc, char** argv) { FILE: init/first_stage_console.cpp function KernelConsolePresent (line 34) | static bool KernelConsolePresent(const std::string& cmdline) { function SetupConsole (line 44) | static bool SetupConsole() { function pid_t (line 69) | static pid_t SpawnImage(const char* file) { type android (line 85) | namespace android { type init (line 86) | namespace init { function StartConsole (line 88) | void StartConsole(const std::string& cmdline) { function FirstStageConsole (line 117) | int FirstStageConsole(const std::string& cmdline, const std::string&... FILE: init/first_stage_console.h function namespace (line 21) | namespace android { FILE: init/first_stage_init.cpp type android (line 60) | namespace android { type init (line 61) | namespace init { type BootMode (line 65) | enum class BootMode { function FreeRamdisk (line 71) | void FreeRamdisk(DIR* dir, dev_t dev) { function ForceNormalBoot (line 116) | bool ForceNormalBoot(const std::string& cmdline, const std::string& ... function Copy (line 121) | static void Copy(const char* src, const char* dst) { function PrepareSwitchRoot (line 131) | void PrepareSwitchRoot() { function GetPageSizeSuffix (line 161) | std::string GetPageSizeSuffix() { function EndsWith (line 169) | constexpr bool EndsWith(const std::string_view str, const std::strin... function GetPageSizeSuffix (line 174) | constexpr std::string_view GetPageSizeSuffix(std::string_view dirnam... function GetModuleLoadList (line 186) | std::string GetModuleLoadList(BootMode boot_mode, const std::string&... function LoadKernelModules (line 214) | bool LoadKernelModules(BootMode boot_mode, bool want_console, bool w... function IsChargerMode (line 292) | static bool IsChargerMode(const std::string& cmdline, const std::str... function BootMode (line 297) | static BootMode GetBootMode(const std::string& cmdline, const std::s... function MaybeResumeFromHibernation (line 307) | static void MaybeResumeFromHibernation(const std::string& bootconfig) { function CreateFirstStageMount (line 323) | static std::unique_ptr CreateFirstStageMount(const ... function FirstStageMain (line 333) | int FirstStageMain(int argc, char** argv) { FILE: init/first_stage_init.h function namespace (line 19) | namespace android { FILE: init/first_stage_main.cpp function main (line 19) | int main(int argc, char** argv) { FILE: init/first_stage_mount.cpp type android (line 80) | namespace android { type init (line 81) | namespace init { class FirstStageMountVBootV2 (line 85) | class FirstStageMountVBootV2 : public FirstStageMount { function IsDtVbmetaCompatible (line 141) | static inline bool IsDtVbmetaCompatible(const Fstab& fstab) { function ReadFirstStageFstabAndroid (line 149) | static Result ReadFirstStageFstabAndroid() { function ReadFirstStageFstabMicrodroid (line 170) | static Result ReadFirstStageFstabMicrodroid(const std::string... function GetRootEntry (line 183) | static bool GetRootEntry(FstabEntry* root_entry) { function IsStandaloneImageRollback (line 212) | static bool IsStandaloneImageRollback(const AvbHandle& builtin_vbmeta, function IsMicrodroidStrictBoot (line 286) | static bool IsMicrodroidStrictBoot() { type dirent (line 502) | struct dirent function MaybeDeriveMicrodroidVendorDiceNode (line 561) | static bool MaybeDeriveMicrodroidVendorDiceNode(Fstab* fstab) { function IsHashtreeDisabled (line 805) | bool IsHashtreeDisabled(const AvbHandle& vbmeta, const std::string& ... function SetInitAvbVersionInRecovery (line 942) | void SetInitAvbVersionInRecovery() { FILE: init/first_stage_mount.h function namespace (line 23) | namespace android { FILE: init/fscrypt_init_extensions.cpp function delete_dir_contents (line 44) | static void delete_dir_contents(const std::string& dir) { function LookupPolicy (line 86) | static bool LookupPolicy(const std::string& ref_basename, EncryptionPoli... function EnsurePolicyOrLog (line 106) | static bool EnsurePolicyOrLog(const EncryptionPolicy& policy, const std:... function SetPolicyOn (line 116) | static bool SetPolicyOn(const std::string& ref_basename, const std::stri... function FscryptSetDirectoryPolicy (line 123) | bool FscryptSetDirectoryPolicy(const std::string& ref_basename, FscryptA... FILE: init/fscrypt_init_extensions.h function FscryptAction (line 21) | enum class FscryptAction { FILE: init/fuzzer/init_parser_fuzzer.cpp class InitParserFuzzer (line 36) | class InitParserFuzzer { method InitParserFuzzer (line 38) | InitParserFuzzer(const uint8_t* data, size_t size) : fdp_(data, size){} function LLVMFuzzerTestOneInput (line 81) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: init/fuzzer/init_property_fuzzer.cpp type PropertyType (line 37) | enum PropertyType { STRING, BOOL, INT, UINT, DOUBLE, SIZE, ENUM, RANDOM,... class InitPropertyFuzzer (line 39) | class InitPropertyFuzzer { method InitPropertyFuzzer (line 41) | InitPropertyFuzzer(const uint8_t* data, size_t size) : fdp_(data, size){} function LLVMFuzzerTestOneInput (line 136) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: init/fuzzer/init_ueventHandler_fuzzer.cpp function MakeFile (line 36) | void MakeFile(FuzzedDataProvider* fdp, std::string s) { function CreateDir (line 45) | void CreateDir(std::string Directory, FuzzedDataProvider* fdp) { function SelectRandomString (line 53) | std::string SelectRandomString(FuzzedDataProvider* fdp, std::string s) { function Uevent (line 64) | Uevent CreateUevent(FuzzedDataProvider* fdp) { function LLVMFuzzerTestOneInput (line 79) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: init/host_import_parser.cpp type android (line 23) | namespace android { type init (line 24) | namespace init { FILE: init/host_import_parser.h function namespace (line 24) | namespace android { FILE: init/host_init_stubs.h function namespace (line 40) | namespace android { FILE: init/host_init_verifier.cpp function GetVendorPasswd (line 68) | static std::vector> GetVendorPasswd(const st... function GetVendorPasswd (line 90) | static std::vector> GetVendorPasswd() { function passwd (line 100) | passwd* getpwnam(const char* login) { // NOLINT: implementing bad funct... type android (line 145) | namespace android { type init (line 146) | namespace init { function PrintUsage (line 148) | void PrintUsage() { function ReadInterfaceInheritanceHierarchy (line 169) | Result ReadInterfaceInheritanceHie... function HandlePropertyContexts (line 190) | void HandlePropertyContexts(const std::string& filename, function main (line 208) | int main(int argc, char** argv) { function main (line 341) | int main(int argc, char** argv) { FILE: init/import_parser.cpp type android (line 23) | namespace android { type init (line 24) | namespace init { FILE: init/import_parser.h function namespace (line 25) | namespace android { FILE: init/init.cpp type android (line 116) | namespace android { type init (line 117) | namespace init { type PendingControlMessage (line 124) | struct PendingControlMessage { function InstallInitNotifier (line 140) | static void InstallInitNotifier(Epoll* epoll) { function WakeMainInitThread (line 155) | static void WakeMainInitThread() { class PropWaiterState (line 160) | class PropWaiterState { method StartWaiting (line 162) | bool StartWaiting(const char* name, const char* value) { method ResetWaitForProp (line 179) | void ResetWaitForProp() { method CheckAndResetWait (line 184) | void CheckAndResetWait(const std::string& name, const std::string&... method MightBeWaiting (line 211) | bool MightBeWaiting() { method EXCLUSIVE_LOCKS_REQUIRED (line 217) | EXCLUSIVE_LOCKS_REQUIRED(lock_) { function start_waiting_for_property (line 230) | bool start_waiting_for_property(const char* name, const char* value) { function ResetWaitForProp (line 234) | void ResetWaitForProp() { class ShutdownState (line 238) | class ShutdownState { method TriggerShutdown (line 240) | void TriggerShutdown(const std::string& command) { method CheckShutdown (line 252) | std::optional CheckShutdown() __attribute__((warn_unu... function DumpState (line 267) | void DumpState() { function Parser (line 272) | Parser CreateParser(ActionManager& action_manager, ServiceList& serv... type LibXmlErrorHandler (line 285) | struct LibXmlErrorHandler { method LibXmlErrorHandler (line 288) | LibXmlErrorHandler(Handler&& handler) : handler_(std::move(handler... method ErrorHandler (line 292) | static void ErrorHandler(void*, const char* msg, ...) { function Parser (line 309) | Parser CreateApexConfigParser(ActionManager& action_manager, Service... function LoadBootScripts (line 336) | static void LoadBootScripts(ActionManager& action_manager, ServiceLi... function PropertyChanged (line 362) | void PropertyChanged(const std::string& name, const std::string& val... function HandleProcessActions (line 381) | static std::optional HandleProcessActions() { function DoControlStart (line 411) | static Result DoControlStart(Service* service) { function DoControlStop (line 415) | static Result DoControlStop(Service* service) { function DoControlRestart (line 420) | static Result DoControlRestart(Service* service) { function StopServicesFromApex (line 425) | int StopServicesFromApex(const std::string& apex_name) { function RemoveServiceAndActionFromApex (line 445) | void RemoveServiceAndActionFromApex(const std::string& apex_name) { function DoUnloadApex (line 461) | static Result DoUnloadApex(const std::string& apex_name) { function UpdateApexLinkerConfig (line 469) | static Result UpdateApexLinkerConfig(const std::string& apex_n... function DoLoadApex (line 488) | static Result DoLoadApex(const std::string& apex_name) { type ControlTarget (line 500) | enum class ControlTarget { function HandleApexControlMessage (line 523) | static Result HandleApexControlMessage(std::string_view action... function HandleControlMessage (line 534) | static bool HandleControlMessage(std::string_view message, const std... function QueueControlMessage (line 591) | bool QueueControlMessage(const std::string& message, const std::stri... function HandleControlMessages (line 603) | static void HandleControlMessages() { function wait_for_coldboot_done_action (line 629) | static Result wait_for_coldboot_done_action(const BuiltinArgum... function SetupCgroupsAction (line 637) | static Result SetupCgroupsAction(const BuiltinArguments&) { function export_oem_lock_status (line 649) | static void export_oem_lock_status() { function property_enable_triggers_action (line 658) | static Result property_enable_triggers_action(const BuiltinArg... function queue_property_triggers_action (line 664) | static Result queue_property_triggers_action(const BuiltinArgu... function SetUsbController (line 673) | static void SetUsbController() { function SetKernelVersion (line 691) | static void SetKernelVersion() { function HandleSigtermSignal (line 702) | static void HandleSigtermSignal(const signalfd_siginfo& siginfo) { function HandleSignalFd (line 712) | static void HandleSignalFd(int signal) { function UnblockSignals (line 734) | static void UnblockSignals() { function RegisterSignalFd (line 748) | static Result RegisterSignalFd(Epoll* epoll, int signal, int f... function CreateAndRegisterSignalFd (line 753) | static Result CreateAndRegisterSignalFd(Epoll* epoll, int signa... function InstallSignalFdHandler (line 770) | static void InstallSignalFdHandler(Epoll* epoll) { function HandleKeychord (line 796) | void HandleKeychord(const std::vector& keycodes) { function UmountDebugRamdisk (line 823) | static void UmountDebugRamdisk() { function UmountSecondStageRes (line 829) | static void UmountSecondStageRes() { function MountExtraFilesystems (line 835) | static void MountExtraFilesystems() { function RecordStageBoottimes (line 855) | static void RecordStageBoottimes(const boot_clock::time_point& secon... function SendLoadPersistentPropertiesMessage (line 884) | void SendLoadPersistentPropertiesMessage() { function ConnectEarlyStageSnapuserdAction (line 892) | static Result ConnectEarlyStageSnapuserdAction(const BuiltinAr... function SecondStageBootMonitor (line 926) | static void SecondStageBootMonitor(int timeout_sec) { function StartSecondStageBootMonitor (line 949) | static void StartSecondStageBootMonitor(int timeout_sec) { function SecondStageMain (line 954) | int SecondStageMain(int argc, char** argv) { FILE: init/init.h function namespace (line 28) | namespace android { FILE: init/init_test.cpp type android (line 54) | namespace android { type init (line 55) | namespace init { function TestInit (line 59) | void TestInit(const std::string& init_script_file, const BuiltinFunc... function TestInitText (line 80) | void TestInitText(const std::string& init_script, const BuiltinFunct... function TEST (line 89) | TEST(init, SimpleEventTrigger) { function TEST (line 115) | TEST(init, WrongEventTrigger) { function TEST (line 135) | TEST(init, EventTriggerOrder) { function TEST (line 178) | TEST(init, OverrideService) { function TEST (line 203) | TEST(init, StartConsole) { function GetSecurityContext (line 237) | static std::string GetSecurityContext() { function TestStartApexServices (line 247) | void TestStartApexServices(const std::vector& service_n... function TestStopApexServices (line 267) | void TestStopApexServices(const std::vector& service_na... function TestRemoveApexService (line 275) | void TestRemoveApexService(const std::vector& service_n... function InitApexService (line 282) | void InitApexService(const std::string_view& init_template) { function CleanupApexServices (line 290) | void CleanupApexServices() { function TestApexServicesInit (line 311) | void TestApexServicesInit(const std::vector& apex_servi... function TEST (line 338) | TEST(init, StopServiceByApexName) { function TEST (line 353) | TEST(init, StopMultipleServicesByApexName) { function TEST (line 373) | TEST(init, StopServicesFromMultipleApexes) { function TEST (line 402) | TEST(init, StopServicesFromApexAndNonApex) { function TEST (line 431) | TEST(init, StopServicesFromApexMixed) { function TEST (line 464) | TEST(init, EventTriggerOrderMultipleFiles) { function BuiltinFunctionMap (line 527) | BuiltinFunctionMap GetTestFunctionMapForLazyLoad(int& num_executed, ... function TEST (line 556) | TEST(init, LazilyLoadedActionsCantBeTriggeredByTheSameTrigger) { function TEST (line 585) | TEST(init, LazilyLoadedActionsCanBeTriggeredByTheNextTrigger) { function TEST (line 614) | TEST(init, RejectsNoUserStartingInV) { function TEST (line 638) | TEST(init, RejectsCriticalAndOneshotService) { function TEST (line 664) | TEST(init, MemLockLimit) { function CloseAllFds (line 678) | void CloseAllFds() { function pid_t (line 693) | pid_t ForkExecvpAsync(const char* argv[]) { function pid_t (line 711) | pid_t TracerPid(pid_t pid) { function TEST (line 723) | TEST(init, GentleKill) { class TestCaseLogger (line 773) | class TestCaseLogger : public ::testing::EmptyTestEventListener { method OnTestStart (line 774) | void OnTestStart(const ::testing::TestInfo& test_info) override { function main (line 790) | int main(int argc, char** argv) { FILE: init/interface_utils.cpp type android (line 29) | namespace android { type init (line 30) | namespace init { function FQNamesToString (line 34) | std::string FQNamesToString(const std::set& fqnames) { function CheckInterfaceInheritanceHierarchy (line 42) | Result CheckInterfaceInheritanceHierarchy(const std::set CheckInterfaceInheritanceHierarchy(const std::set IsKnownInterface(const std::string& instance) { function IsKnownInterface (line 110) | Result IsKnownInterface(const FQName& intf) { FILE: init/interface_utils.h function namespace (line 27) | namespace android { FILE: init/interprocess_fifo.cpp type android (line 27) | namespace android { type init (line 28) | namespace init { FILE: init/interprocess_fifo.h function namespace (line 23) | namespace android { FILE: init/interprocess_fifo_test.cpp type android (line 29) | namespace android { type init (line 30) | namespace init { function TEST (line 32) | TEST(FifoTest, WriteAndRead) { FILE: init/keychords.cpp type android (line 37) | namespace android { type init (line 38) | namespace init { FILE: init/keychords.h function namespace (line 28) | namespace init { FILE: init/keychords_test.cpp type android (line 39) | namespace android { type init (line 40) | namespace init { class EventHandler (line 45) | class EventHandler { method EventHandler (line 48) | EventHandler(const EventHandler&) = delete; method EventHandler (line 50) | EventHandler& operator=(const EventHandler&) = delete; type input_event (line 56) | struct input_event function EventHandler (line 70) | EventHandler& EventHandler::operator=(EventHandler&& rval) noexcept { method EventHandler (line 48) | EventHandler(const EventHandler&) = delete; method EventHandler (line 50) | EventHandler& operator=(const EventHandler&) = delete; type input_event (line 56) | struct input_event type uinput_user_dev (line 91) | struct uinput_user_dev type input_event (line 118) | struct input_event type input_event (line 124) | struct input_event function InitFds (line 132) | std::string InitFds(const char* prefix, pid_t pid = getpid()) { function InitInputFds (line 155) | std::string InitInputFds() { function InitInotifyFds (line 159) | std::string InitInotifyFds() { class TestFrame (line 178) | class TestFrame { function TEST (line 282) | TEST(keychords, not_instantiated) { function TEST (line 287) | TEST(keychords, instantiated) { function TEST (line 294) | TEST(keychords, init_inotify) { function TEST (line 307) | TEST(keychords, key) { function TEST (line 320) | TEST(keychords, keys_in_series) { function TEST (line 333) | TEST(keychords, keys_in_parallel) { FILE: init/keyword_map.h function namespace (line 25) | namespace android { FILE: init/libprefetch/prefetch/src/arch/android.rs constant PREFETCH_RECORD_PROPERTY_STOP (line 13) | const PREFETCH_RECORD_PROPERTY_STOP: &str = "prefetch_boot.record_stop"; function is_prefetch_enabled (line 15) | fn is_prefetch_enabled() -> Result { function wait_for_property_true (line 21) | fn wait_for_property_true( function wait_for_record_stop (line 31) | pub fn wait_for_record_stop() { function can_perform_replay (line 39) | pub fn can_perform_replay(pack_path: &Path, fingerprint_path: &Path) -> ... function ensure_record_is_ready (line 62) | pub fn ensure_record_is_ready( function write_build_fingerprint (line 83) | pub fn write_build_fingerprint(args: &RecordArgs) -> Result<(), Error> { FILE: init/libprefetch/prefetch/src/args.rs type ConfigFile (line 38) | pub struct ConfigFile { function verify_and_fix (line 49) | fn verify_and_fix(args: &mut MainArgs) -> Result<(), Error> { function ensure_path_doesnt_exist (line 74) | pub(crate) fn ensure_path_doesnt_exist(p: &Path) -> Result<(), Error> { function ensure_path_exists (line 87) | pub(crate) fn ensure_path_exists(p: &Path) -> Result<(), Error> { function args_from_env (line 101) | pub fn args_from_env() -> MainArgs { FILE: init/libprefetch/prefetch/src/args/args_argh.rs type MainArgs (line 27) | pub struct MainArgs { type SubCommands (line 36) | pub enum SubCommands { function default_ready_path (line 46) | fn default_ready_path() -> PathBuf { function default_build_finger_print_path (line 51) | fn default_build_finger_print_path() -> PathBuf { method default (line 56) | fn default() -> Self { function default_path (line 61) | fn default_path() -> PathBuf { function parse_tracing_instance (line 65) | fn parse_tracing_instance(value: &str) -> Result, String> { type RecordArgs (line 72) | pub struct RecordArgs { type TracerType (line 139) | pub enum TracerType { type Err (line 145) | type Err = Error; method from_str (line 146) | fn from_str(s: &str) -> std::result::Result { method default (line 161) | fn default() -> Self { type ReplayArgs (line 169) | pub struct ReplayArgs { type DumpArgs (line 202) | pub struct DumpArgs { type OutputFormat (line 213) | pub enum OutputFormat { type Err (line 219) | type Err = Error; method from_str (line 220) | fn from_str(s: &str) -> std::result::Result { method default (line 236) | fn default() -> Self { function args_from_env (line 242) | pub fn args_from_env() -> MainArgs { FILE: init/libprefetch/prefetch/src/error.rs type Error (line 21) | pub enum Error { FILE: init/libprefetch/prefetch/src/format.rs type InodeNumber (line 42) | pub(crate) type InodeNumber = u64; type DeviceNumber (line 45) | pub(crate) type DeviceNumber = u64; type PathString (line 48) | pub(crate) type PathString = String; type FileId (line 52) | pub struct FileId(pub u64); method fmt (line 55) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function serialize_hashmap (line 60) | fn serialize_hashmap( type SerializableHashMap (line 75) | pub(crate) struct SerializableHashMap< type Target (line 88) | type Target = HashMap; method deref (line 89) | fn deref(&self) -> &Self::Target { method deref_mut (line 99) | fn deref_mut(&mut self) -> &mut Self::Target { type InodeInfo (line 109) | pub struct InodeInfo { method new (line 136) | pub fn new( type FsInfo (line 150) | pub struct FsInfo { type Record (line 166) | pub struct Record { method overlaps (line 184) | fn overlaps(&self, other: &Self) -> Option { function group_record_by_file_id (line 206) | fn group_record_by_file_id(records: Vec) -> Vec { function coalesce_records (line 229) | pub(crate) fn coalesce_records(records: Vec, group_by_file_id: b... type Header (line 257) | pub struct Header { function check_version_number (line 277) | fn check_version_number<'de, D>( function check_major_number (line 295) | fn check_major_number<'de, D>(deserializer: D) -> Result function check_minor_number (line 302) | fn check_minor_number<'de, D>(deserializer: D) -> Result function check_magic (line 309) | fn check_magic<'de, D>(deserializer: D) -> Result<[u8; 16], D::Error> function check_inode_info_paths (line 323) | fn check_inode_info_paths<'de, D>(deserializer: D) -> Result ... method insert_record (line 388) | pub fn insert_record(&mut self, records: Record) { method insert_or_update_inode_info (line 393) | pub fn insert_or_update_inode_info(&mut self, id: FileId, info: InodeI... method check (line 411) | pub fn check(&self) -> Result<(), Error> { method insert_or_update_inode (line 441) | pub fn insert_or_update_inode(&mut self, id: FileId, stat: &Metadata, ... method serialize_records_to_csv (line 454) | pub fn serialize_records_to_csv(&self, writer: &mut dyn Write) -> Resu... method compute_digest (line 489) | fn compute_digest(&mut self) -> Result { method add_checksum_and_serialize (line 502) | pub fn add_checksum_and_serialize(&mut self) -> Result, Error> { method deserialize (line 523) | fn deserialize(deserializer: D) -> std::result::Result method default (line 510) | fn default() -> Self { method serialize (line 551) | fn serialize(&self, serializer: S) -> std::result::Result Re... function test_coalesced_without_group (line 667) | fn test_coalesced_without_group() { function test_coalesced_with_grouping (line 702) | fn test_coalesced_with_grouping() { function check_missing_records (line 737) | fn check_missing_records() { function check_missing_file (line 775) | fn check_missing_file() { function check_missing_paths (line 801) | fn check_missing_paths() { FILE: init/libprefetch/prefetch/src/lib.rs function record (line 59) | pub fn record(args: &RecordArgs) -> Result<(), Error> { function replay (line 116) | pub fn replay(args: &ReplayArgs) -> Result<(), Error> { function dump (line 129) | pub fn dump(args: &DumpArgs) -> Result<(), Error> { type LogLevel (line 147) | pub type LogLevel = Level; type LogLevel (line 151) | pub type LogLevel = LevelFilter; function init_logging (line 155) | pub fn init_logging(_level: LogLevel) { function init_logging (line 175) | pub fn init_logging(level: LogLevel) { FILE: init/libprefetch/prefetch/src/main.rs function main (line 29) | fn main() { FILE: init/libprefetch/prefetch/src/replay.rs constant READ_SZ (line 41) | const READ_SZ: usize = 1024 * 1024; type ScopedLog (line 43) | struct ScopedLog { function scoped_log (line 48) | fn scoped_log(ctx: usize, msg: T) -> ScopedLog { method drop (line 55) | fn drop(&mut self) { function readahead (line 60) | fn readahead( function worker_internal (line 105) | fn worker_internal( function worker (line 198) | fn worker( type SharedState (line 225) | pub struct SharedState { method next_record (line 232) | fn next_record(&mut self) -> usize { type Replay (line 241) | pub struct Replay { method new (line 251) | pub fn new(args: &ReplayArgs) -> Result { method replay (line 290) | pub fn replay(self) -> Result<(), Error> { function random_write (line 372) | fn random_write(file: &mut NamedTempFile, base: u64) -> Range { function create_file (line 380) | pub(crate) fn create_file( function generate_cached_files_and_record (line 400) | pub(crate) fn generate_cached_files_and_record( type RecordsFileBuilder (line 438) | pub struct RecordsFileBuilder { method add_file (line 447) | pub fn add_file(&mut self, path: &str) { method build (line 455) | pub fn build(&mut self) -> Result { type Mmap (line 487) | pub(crate) struct Mmap { method create (line 496) | pub fn create(path: &str, file_id: FileId) -> Result, Err... method get_records (line 534) | pub(crate) fn get_records(&self, records: &mut Vec) -> Result<... method drop (line 587) | fn drop(&mut self) { function rebuild_records_file (line 605) | fn rebuild_records_file(files: &[(PathBuf, Vec>)]) -> Records... function ensure_files_not_cached (line 614) | fn ensure_files_not_cached(files: &mut [(PathBuf, Vec>)]) { function has_record (line 618) | fn has_record(records: &[Record], key: &Record) -> bool { function compare_records (line 627) | fn compare_records(old: &[Record], new: &[Record]) { function create_test_config_file (line 635) | fn create_test_config_file(files_to_exclude_regex: Vec) -> String { function test_replay_internal (line 642) | fn test_replay_internal( function test_replay (line 729) | fn test_replay() { function test_replay_strict (line 734) | fn test_replay_strict() { function test_replay_no_symlink (line 739) | fn test_replay_no_symlink() { function test_replay_no_symlink_strict (line 744) | fn test_replay_no_symlink_strict() { function test_replay_fails_on_error (line 749) | fn test_replay_fails_on_error() { function test_replay_exclude_all_files (line 754) | fn test_replay_exclude_all_files() { function test_replay_empty_exclude_files_list (line 759) | fn test_replay_empty_exclude_files_list() { FILE: init/libprefetch/prefetch/src/tracer/mem.rs type MajorMinorType (line 72) | type MajorMinorType = u32; type MajorMinorType (line 74) | type MajorMinorType = i32; function major (line 77) | fn major(dev: DeviceNumber) -> MajorMinorType { function minor (line 82) | fn minor(dev: DeviceNumber) -> MajorMinorType { function makedev (line 87) | fn makedev(major: MajorMinorType, minor: MajorMinorType) -> DeviceNumber { function build_device_number (line 96) | fn build_device_number(major: &str, minor: &str) -> Result Result bool { function is_highly_privileged_path (line 124) | fn is_highly_privileged_path(path: &Path) -> bool { type DeviceState (line 163) | enum DeviceState { type MountInfo (line 171) | struct MountInfo { method create (line 181) | fn create(path: &str) -> Result { method with_buf (line 188) | fn with_buf(buf: &str) -> Result { method parse_line (line 210) | fn parse_line( method get_regex (line 251) | fn get_regex() -> Result { method is_excluded (line 269) | fn is_excluded(&self, device: &DeviceNumber) -> bool { method get_included (line 273) | fn get_included(&self) -> Iter { type TraceLineInfo (line 279) | struct TraceLineInfo { method from_trace_line (line 287) | pub fn from_trace_line(re: &Regex, line: &str) -> Result,... method from_fields (line 310) | pub fn from_fields( method get_trace_line_regex (line 322) | pub fn get_trace_line_regex() -> Result { type MissingFile (line 345) | struct MissingFile { type DebugInfo (line 353) | struct DebugInfo { type MemTraceSubsystem (line 371) | pub(crate) struct MemTraceSubsystem { method update_configs (line 400) | pub fn update_configs(configs: &mut TracerConfigs) { method create_with_configs (line 411) | pub fn create_with_configs(tracer_configs: TracerConfigs) -> Result FileId { method get_trace_info (line 450) | fn get_trace_info(&self, line: &str) -> Result, ... method is_excluded (line 457) | fn is_excluded(&self, entry: &DirEntry, device: u64, privileged: &mut ... method add_line (line 506) | fn add_line(&mut self, line: &str) -> Result<(), Error> { method build_records_file (line 537) | fn build_records_file(&mut self) -> Result { method serialize (line 664) | fn serialize(&self, write: &mut dyn Write) -> Result<(), Error> { function sample_mem_traces (line 705) | fn sample_mem_traces() -> (String, Vec>) { function test_parse_trace_line (line 729) | fn test_parse_trace_line() { function test_add_line (line 743) | fn test_add_line() { function new_record (line 826) | fn new_record(file: u64, offset: u64, length: u64, timestamp: u64) -> Re... function test_get_records_file (line 831) | fn test_get_records_file() { FILE: init/libprefetch/prefetch/src/tracer/mod.rs type TraceEventFile (line 66) | pub(crate) struct TraceEventFile { method open_and_write (line 72) | fn open_and_write(path: &Path, value: &str) -> Result<(), Error> { method write (line 82) | pub fn write(path: PathBuf, value: &str) -> Result { method enable (line 98) | pub fn enable(path: PathBuf) -> Result { method restore (line 102) | pub fn restore(&self) -> Result<(), Error> { method drop (line 112) | fn drop(&mut self) { type TracerConfigs (line 125) | pub(crate) struct TracerConfigs { method new (line 139) | pub fn new( function nanoseconds_since_boot (line 206) | pub fn nanoseconds_since_boot() -> u64 { type TraceSubsystem (line 215) | pub(crate) trait TraceSubsystem { method add_line (line 219) | fn add_line(&mut self, line: &str) -> Result<(), Error>; method build_records_file (line 223) | fn build_records_file(&mut self) -> Result; method serialize (line 228) | fn serialize(&self, writer: &mut dyn Write) -> Result<(), Error>; function page_size (line 232) | pub(crate) fn page_size() -> Result { type Tracer (line 239) | pub struct Tracer { method create (line 258) | pub fn create( method create_with_config (line 292) | fn create_with_config( method save_intermediate_state (line 304) | fn save_intermediate_state(&self, intermediate_file: Option<&PathBuf>)... method trace (line 339) | pub fn trace(&mut self, intermediate_file: Option<&PathBuf>) -> Result... function trace_event_file_enable_and_restore (line 414) | fn trace_event_file_enable_and_restore() { function trace_event_file_write_and_restore (line 425) | fn trace_event_file_write_and_restore() { function setup_trace_mount_point (line 435) | fn setup_trace_mount_point( function test_configs_no_setup (line 487) | fn test_configs_no_setup() { function test_configs_no_setup_no_mount_point (line 500) | fn test_configs_no_setup_no_mount_point() { function test_configs_no_setup_no_instances (line 520) | fn test_configs_no_setup_no_instances() { function test_configs_setup_without_instances (line 540) | fn test_configs_setup_without_instances() { function test_configs_setup_with_instances (line 553) | fn test_configs_setup_with_instances() { function setup_test_dir (line 565) | pub(crate) fn setup_test_dir() -> PathBuf { function modify_records_file (line 580) | fn modify_records_file(rf: &RecordsFile, target: &str) -> RecordsFile { type AlignedBuffer (line 599) | struct AlignedBuffer { method new (line 606) | fn new(size: usize, alignment: usize) -> Result { type Target (line 624) | type Target = [u8]; method deref (line 628) | fn deref(&self) -> &Self::Target { method deref_mut (line 637) | fn deref_mut(&mut self) -> &mut Self::Target { method drop (line 643) | fn drop(&mut self) { function copy_uncached_files_and_record_from (line 661) | pub(crate) fn copy_uncached_files_and_record_from( function mem_generate_trace_line_for_open (line 709) | fn mem_generate_trace_line_for_open(path: &Path, time: u16, _op: Option<... function generate_trace_line_for_open (line 801) | fn generate_trace_line_for_open( function create_fake_mountinfo_for (line 814) | fn create_fake_mountinfo_for(path: &Path) -> NamedTempFile { function create_tracer (line 851) | fn create_tracer( function test_trace_of_type (line 889) | fn test_trace_of_type(tracing_type: TracerType) { function test_trace_mem (line 962) | fn test_trace_mem() { FILE: init/lmkd_service.cpp type android (line 26) | namespace android { type init (line 27) | namespace init { type LmkdRegistrationResult (line 29) | enum LmkdRegistrationResult { function LmkdRegistrationResult (line 37) | static LmkdRegistrationResult RegisterProcess(uid_t uid, pid_t pid, ... function UnregisterProcess (line 62) | static bool UnregisterProcess(pid_t pid) { function RegisterServices (line 81) | static void RegisterServices(pid_t exclude_pid) { function LmkdRegister (line 98) | void LmkdRegister(const std::string& name, uid_t uid, pid_t pid, int... function LmkdUnregister (line 124) | void LmkdUnregister(const std::string& name, pid_t pid) { FILE: init/lmkd_service.h function namespace (line 23) | namespace android { FILE: init/main.cpp function __sanitizer_report_error_summary (line 41) | __sanitizer_report_error_summary(const char* summary) { function AsanReportCallback (line 45) | __attribute__((no_sanitize("address", "memory", "thread", "undefined")))... function main (line 53) | int main(int argc, char** argv) { FILE: init/modalias_handler.cpp type android (line 24) | namespace android { type init (line 25) | namespace init { FILE: init/modalias_handler.h function namespace (line 27) | namespace android { FILE: init/mount_handler.cpp type android (line 47) | namespace android { type init (line 48) | namespace init { function MountHandlerEntry (line 52) | MountHandlerEntry ParseMount(const std::string& line) { function GetDiskPart (line 76) | std::string GetDiskPart(std::string blockdev) { function GetRootDisk (line 92) | std::string GetRootDisk(std::string blockdev) { function SetMountProperty (line 106) | void SetMountProperty(const MountHandlerEntry& entry, bool add) { FILE: init/mount_handler.h function namespace (line 27) | namespace android { FILE: init/mount_namespace.cpp type android (line 32) | namespace android { type init (line 33) | namespace init { function BindMount (line 36) | static bool BindMount(const std::string& source, const std::string& ... function ChangeMount (line 44) | static bool ChangeMount(const std::string& mount_point, unsigned lon... function OpenMountNamespace (line 52) | static int OpenMountNamespace() { function GetMountNamespaceId (line 60) | static std::string GetMountNamespaceId() { function NeedsTwoMountNamespaces (line 79) | bool NeedsTwoMountNamespaces() { function SetupMountNamespaces (line 86) | bool SetupMountNamespaces() { function SwitchToMountNamespaceIfNeeded (line 195) | Result SwitchToMountNamespaceIfNeeded(MountNamespace target_mo... function GetCurrentMountNamespace (line 227) | base::Result GetCurrentMountNamespace() { FILE: init/mount_namespace.h function namespace (line 21) | namespace android { FILE: init/noop_builtins.cpp type android::init (line 24) | namespace android::init { function check_stub (line 26) | static base::Result check_stub(const BuiltinArguments&) { FILE: init/oneshot_on_test.cpp function TEST (line 28) | TEST(init, oneshot_on) { FILE: init/parser.cpp type android (line 32) | namespace android { type init (line 33) | namespace init { FILE: init/parser.h function namespace (line 48) | namespace android { FILE: init/parser/tokenizer.cpp type init (line 17) | namespace init { FILE: init/parser/tokenizer.h function namespace (line 20) | namespace init { FILE: init/parser/tokenizer_test.cpp type init (line 22) | namespace init { function TEST (line 38) | TEST(Tokenizer, Empty) { function TEST (line 43) | TEST(Tokenizer, Simple) { function TEST (line 49) | TEST(Tokenizer, LeadingWhiteSpace) { function TEST (line 55) | TEST(Tokenizer, TrailingWhiteSpace) { function TEST (line 61) | TEST(Tokenizer, WhiteSpace) { function TEST (line 68) | TEST(Tokenizer, TwoTokens) { function TEST (line 76) | TEST(Tokenizer, MultiToken) { function TEST (line 87) | TEST(Tokenizer, NewLine) { function TEST (line 94) | TEST(Tokenizer, TextNewLine) { function TEST (line 102) | TEST(Tokenizer, MultiTextNewLine) { function TEST (line 114) | TEST(Tokenizer, MultiTextNewLineNoLineEnding) { function TEST (line 125) | TEST(Tokenizer, Comment) { function TEST (line 130) | TEST(Tokenizer, CommentWhiteSpace) { function TEST (line 135) | TEST(Tokenizer, CommentNewLine) { function TEST (line 141) | TEST(Tokenizer, CommentTwoNewLine) { function TEST (line 147) | TEST(Tokenizer, CommentWithText) { function TEST (line 154) | TEST(Tokenizer, CommentWithTextNoSpace) { function TEST (line 161) | TEST(Tokenizer, CommentWithTextLineFeed) { function TEST (line 169) | TEST(Tokenizer, CommentWithMultiTextLineFeed) { function TEST (line 178) | TEST(Tokenizer, SimpleEscaped) { function TEST (line 185) | TEST(Tokenizer, EscapedLineContNoLineFeed) { function TEST (line 192) | TEST(Tokenizer, EscapedLineContLineFeed) { function TEST (line 199) | TEST(Tokenizer, EscapedLineCont) { function TEST (line 207) | TEST(Tokenizer, EscapedLineContWithBadChars) { function TEST (line 215) | TEST(Tokenizer, SimpleQuotes) { function TEST (line 223) | TEST(Tokenizer, BadQuotes) { FILE: init/perfboot.py class IntervalAdjuster (line 75) | class IntervalAdjuster(object): method __init__ (line 91) | def __init__(self, interval, device): method wait (line 99) | def wait(self): method _get_cpu_temp (line 109) | def _get_cpu_temp(self, threshold): method _wait_cpu_cool_down (line 118) | def _wait_cpu_cool_down(self, product, temp_paths): class WatchdogTimer (line 137) | class WatchdogTimer(object): method __init__ (line 139) | def __init__(self, timeout): method is_timedout (line 148) | def is_timedout(self): method cancel (line 151) | def cancel(self): function readlines_unbuffered (line 155) | def readlines_unbuffered(proc): function disable_dropbox (line 170) | def disable_dropbox(device): function restore_dropbox (line 181) | def restore_dropbox(device, original_dropbox_max_files): function init_perf (line 192) | def init_perf(device, output, record_list, tags): function check_dm_verity_settings (line 212) | def check_dm_verity_settings(device): function read_event_tags (line 222) | def read_event_tags(tags_file): function make_event_tags_re (line 237) | def make_event_tags_re(tags): function filter_event_tags (line 243) | def filter_event_tags(tags, device): function get_values (line 261) | def get_values(record, tag): function get_last_value (line 267) | def get_last_value(record, tag): function output_results (line 275) | def output_results(filename, record_list, tags): function median (line 325) | def median(data): function mean (line 336) | def mean(data): function stddev (line 341) | def stddev(data): function print_summary (line 347) | def print_summary(record_list, end_tag): function do_iteration (line 357) | def do_iteration(device, interval_adjuster, event_tags_re, end_tag): function parse_args (line 393) | def parse_args(): function install_apks (line 421) | def install_apks(device, apk_dir): function main (line 427) | def main(): FILE: init/persistent_properties.cpp type android (line 41) | namespace android { type init (line 42) | namespace init { function AddPersistentProperty (line 50) | void AddPersistentProperty(const std::string& name, const std::strin... function LoadLegacyPersistentProperties (line 57) | Result LoadLegacyPersistentProperties() { function RemoveLegacyPersistentPropertyFiles (line 106) | void RemoveLegacyPersistentPropertyFiles() { function ReadPersistentPropertyFile (line 126) | Result ReadPersistentPropertyFile() { function ParsePersistentPropertyFile (line 141) | Result ParsePersistentPropertyFile(const std::... function LoadPersistentPropertyFile (line 157) | Result LoadPersistentPropertyFile() { function WritePersistentPropertyFile (line 170) | Result WritePersistentPropertyFile(const PersistentProperties&... function PersistentProperties (line 207) | PersistentProperties LoadPersistentPropertiesFromMemory() { function WritePersistentProperty (line 227) | void WritePersistentProperty(const std::string& name, const std::str... function PersistentProperties (line 253) | PersistentProperties LoadPersistentProperties() { FILE: init/persistent_properties.h function namespace (line 25) | namespace android { FILE: init/persistent_properties_test.cpp type android (line 33) | namespace android { type init (line 34) | namespace init { function PersistentProperties (line 36) | PersistentProperties VectorToPersistentProperties( function CheckPropertiesEqual (line 49) | void CheckPropertiesEqual(std::vector PropertySet(const std::string& name, ... function PropertySetNoSocket (line 439) | static uint32_t PropertySetNoSocket(const std::string& name, const s... function SendControlMessage (line 446) | static uint32_t SendControlMessage(const std::string& msg, const std... function CheckControlPropertyPerms (line 475) | bool CheckControlPropertyPerms(const std::string& name, const std::s... function CheckPermissions (line 505) | uint32_t CheckPermissions(const std::string& name, const std::string... function HandlePropertySet (line 542) | std::optional HandlePropertySet(const std::string& name, c... function HandlePropertySetNoSocket (line 587) | uint32_t HandlePropertySetNoSocket(const std::string& name, const st... function handle_property_set_fd (line 595) | static void handle_property_set_fd(int fd) { function InitPropertySet (line 692) | uint32_t InitPropertySet(const std::string& name, const std::string&... function LoadProperties (line 710) | static void LoadProperties(char* data, const char* filter, const cha... function load_properties_from_file (line 815) | static Result load_properties_from_file(const char* filename, ... function LoadPropertiesFromSecondStageRes (line 830) | static void LoadPropertiesFromSecondStageRes(std::map CallVdc(const std::string& system, const std::st... function LogShutdownTime (line 208) | static void LogShutdownTime(UmountStat stat, Timer* t) { function IsDataMounted (line 213) | static bool IsDataMounted(const std::string& fstype) { function FindPartitionsToUmount (line 230) | static bool FindPartitionsToUmount(std::vector* block_de... function DumpUmountDebuggingInfo (line 257) | static void DumpUmountDebuggingInfo() { function UmountStat (line 271) | static UmountStat UmountPartitions(std::chrono::milliseconds timeout) { function KillAllProcesses (line 321) | static void KillAllProcesses() { function RebootMonitorThread (line 326) | void RebootMonitorThread(unsigned int cmd, const std::string& reboot... function UmountDynamicPartitions (line 411) | static bool UmountDynamicPartitions(const std::vector& ... function UmountStat (line 438) | static UmountStat TryUmountAndFsck(unsigned int cmd, bool run_fsck, function KillZramBackingDevice (line 515) | static Result KillZramBackingDevice() { function StopServices (line 587) | static void StopServices(const std::set& services, std:... function StopServicesAndLogViolations (line 616) | int StopServicesAndLogViolations(const std::set& services, function UnmountAllApexes (line 631) | static Result UnmountAllApexes() { function DoReboot (line 654) | static void DoReboot(unsigned int cmd, const std::string& reason, co... function EnterShutdown (line 853) | static void EnterShutdown() { function CommandIsPresent (line 873) | static bool CommandIsPresent(bootloader_message* boot) { function HandlePowerctlMessage (line 888) | void HandlePowerctlMessage(const std::string& command) { function IsShuttingDown (line 1007) | bool IsShuttingDown() { FILE: init/reboot.h function namespace (line 24) | namespace android { FILE: init/reboot_test.cpp type android (line 49) | namespace android { type init (line 50) | namespace init { class RebootTest (line 52) | class RebootTest : public ::testing::Test { method RebootTest (line 54) | RebootTest() { method GetServiceNames (line 75) | std::vector GetServiceNames() const { function GetSecurityContext (line 84) | std::string GetSecurityContext() { function AddTestService (line 94) | void AddTestService(const std::string& name) { function TEST_F (line 114) | TEST_F(RebootTest, StopServicesSIGTERM) { function TEST_F (line 154) | TEST_F(RebootTest, StopServicesSIGKILL) { FILE: init/reboot_utils.cpp type android (line 37) | namespace android { type init (line 38) | namespace init { function SetFatalRebootTarget (line 45) | void SetFatalRebootTarget(const std::optional& reboot_t... function IsRebootCapable (line 82) | bool IsRebootCapable() { function RebootSystem (line 102) | void __attribute__((noreturn)) function InitFatalReboot (line 140) | void __attribute__((noreturn)) InitFatalReboot(int signal_number) { function InstallRebootSignalHandlers (line 173) | void InstallRebootSignalHandlers() { FILE: init/reboot_utils.h function namespace (line 24) | namespace android { FILE: init/rlimit_parser.cpp type android (line 27) | namespace android { type init (line 28) | namespace init { function ParseRlimit (line 31) | Result> ParseRlimit(const std::vector input, function TestRlimitFailure (line 40) | void TestRlimitFailure(std::vector input, const std::st... function TEST (line 50) | TEST(rlimit, RlimitSuccess) { function TEST (line 129) | TEST(rlimit, RlimitFailure) { FILE: init/second_stage_resources.h function namespace (line 21) | namespace android { FILE: init/security.cpp type android (line 38) | namespace android { type init (line 39) | namespace init { function SetHighestAvailableOptionValue (line 41) | static bool SetHighestAvailableOptionValue(const std::string& path, ... function SetMmapRndBitsMin (line 81) | static bool SetMmapRndBitsMin(int start, int min, bool compat) { function SetMmapRndBitsAction (line 104) | Result SetMmapRndBitsAction(const BuiltinArguments&) { function SetKptrRestrictAction (line 154) | Result SetKptrRestrictAction(const BuiltinArguments&) { function TestPerfEventSelinuxAction (line 187) | Result TestPerfEventSelinuxAction(const BuiltinArguments&) { FILE: init/security.h function namespace (line 26) | namespace android { FILE: init/selabel.cpp type android (line 21) | namespace android { type init (line 22) | namespace init { function SelabelInitialize (line 33) | void SelabelInitialize() { function SelabelLookupFileContext (line 40) | bool SelabelLookupFileContext(const std::string& key, int type, std:... function SelabelLookupFileContextBestMatch (line 56) | bool SelabelLookupFileContextBestMatch(const std::string& key, FILE: init/selabel.h function namespace (line 22) | namespace android { FILE: init/selinux.cpp type android (line 93) | namespace android { type init (line 94) | namespace init { type EnforcingStatus (line 98) | enum EnforcingStatus { SELINUX_PERMISSIVE, SELINUX_ENFORCING } function EnforcingStatus (line 100) | EnforcingStatus StatusFromProperty() { function IsEnforcing (line 111) | bool IsEnforcing() { function ReadFirstLine (line 118) | bool ReadFirstLine(const char* file, std::string* line) { function FindPrecompiledSplitPolicy (line 130) | Result FindPrecompiledSplitPolicy() { function GetVendorMappingVersion (line 184) | bool GetVendorMappingVersion(std::string* plat_vers) { function IsSplitPolicyDevice (line 198) | bool IsSplitPolicyDevice() { function GetUserdebugPlatformPolicyFile (line 202) | std::optional GetUserdebugPlatformPolicyFile() { type PolicyFile (line 221) | struct PolicyFile { function OpenSplitPolicy (line 226) | bool OpenSplitPolicy(PolicyFile* policy_file) { function OpenMonolithicPolicy (line 398) | bool OpenMonolithicPolicy(PolicyFile* policy_file) { function ReadPolicy (line 411) | void ReadPolicy(std::string* policy) { function SelinuxSetEnforcement (line 425) | void SelinuxSetEnforcement() { function SelinuxAvcLog (line 438) | void SelinuxAvcLog(char* buf) { function RestoreconIfExists (line 457) | int RestoreconIfExists(const char* path, unsigned int flags) { function SelinuxRestoreContext (line 467) | void SelinuxRestoreContext() { function SelinuxKlogCallback (line 497) | int SelinuxKlogCallback(int type, const char* fmt, ...) { function SelinuxSetupKernelLogging (line 529) | void SelinuxSetupKernelLogging() { function SelinuxGetVendorAndroidVersion (line 535) | int SelinuxGetVendorAndroidVersion() { function MountMissingSystemPartitions (line 567) | void MountMissingSystemPartitions() { function LoadSelinuxPolicy (line 634) | static void LoadSelinuxPolicy(std::string& policy) { function LoadSelinuxPolicyMicrodroid (line 645) | void LoadSelinuxPolicyMicrodroid() { function LoadSelinuxPolicyAndroid (line 678) | void LoadSelinuxPolicyAndroid() { function SetupOverlays (line 704) | void SetupOverlays() { function SetupOverlays (line 759) | void SetupOverlays() {} function SetupSelinux (line 762) | int SetupSelinux(char** argv) { FILE: init/selinux.h function namespace (line 19) | namespace android { FILE: init/service.cpp type android (line 76) | namespace android { type init (line 77) | namespace init { function ComputeContextFromExecutable (line 79) | static Result ComputeContextFromExecutable(const std::s... function ExpandArgsAndExecv (line 117) | static bool ExpandArgsAndExecv(const std::vector& args,... type stat (line 635) | struct stat function ThreadCount (line 818) | static int ThreadCount() { function unique_fd (line 835) | unique_fd Service::CreateSigchldFd() { FILE: init/service.h function namespace (line 65) | namespace android { FILE: init/service_list.cpp type android (line 21) | namespace android { type init (line 22) | namespace init { function ServiceList (line 26) | ServiceList& ServiceList::GetInstance() { FILE: init/service_list.h function namespace (line 28) | namespace android { function Service (line 70) | Service* FindInterface(const std::string& interface_name) { FILE: init/service_parser.cpp type android (line 51) | namespace android { type init (line 52) | namespace init { function ConvertTaskFileToProfile (line 545) | static std::optional ConvertTaskFileToProfile(con... FILE: init/service_parser.h function namespace (line 26) | namespace android { FILE: init/service_test.cpp type android (line 47) | namespace android { type init (line 48) | namespace init { function GetSecurityContext (line 50) | static std::string GetSecurityContext() { function TEST (line 60) | TEST(service, pod_initialized) { function TEST (line 105) | TEST(service, make_temporary_oneshot_service_invalid_syntax) { function TEST (line 119) | TEST(service, make_temporary_oneshot_service_too_many_supplementary_... function Test_make_temporary_oneshot_service (line 133) | static void Test_make_temporary_oneshot_service(bool dash_dash, bool... function TEST (line 197) | TEST(service, make_temporary_oneshot_service_with_everything) { function TEST (line 201) | TEST(service, make_temporary_oneshot_service_with_seclabel_uid_gid) { function TEST (line 205) | TEST(service, make_temporary_oneshot_service_with_seclabel_uid) { function TEST (line 209) | TEST(service, make_temporary_oneshot_service_with_seclabel) { function TEST (line 213) | TEST(service, make_temporary_oneshot_service_with_just_command) { function TEST (line 217) | TEST(service, make_temporary_oneshot_service_with_just_command_no_da... function CgroupPath (line 222) | static std::string CgroupPath(pid_t pid) { class ServiceStopTest (line 234) | class ServiceStopTest : public testing::TestWithParam {} function TEST_P (line 239) | TEST_P(ServiceStopTest, stop) { function TEST (line 292) | TEST(service, enter_namespace_net_preserves_mounts) { FILE: init/service_utils.cpp type android (line 46) | namespace android { type init (line 47) | namespace init { function EnterNamespace (line 51) | Result EnterNamespace(int nstype, const char* path) { function SetUpMountNamespace (line 62) | Result SetUpMountNamespace(bool remount_proc, bool remount_sys) { function SetUpPidNamespace (line 123) | Result SetUpPidNamespace(const char* name) { function SetupStdio (line 156) | void SetupStdio(bool stdio_to_kmsg) { function OpenConsole (line 167) | void OpenConsole(const std::string& console) { function EnterNamespaces (line 226) | Result EnterNamespaces(const NamespaceInfo& info, const std::s... function SetProcessAttributes (line 263) | Result SetProcessAttributes(const ProcessAttributes& attr, Int... function WritePidToFiles (line 316) | Result WritePidToFiles(std::vector* files) { FILE: init/service_utils.h function namespace (line 33) | namespace android { FILE: init/sigchld_handler.cpp type android (line 46) | namespace android { type init (line 47) | namespace init { function pid_t (line 49) | static pid_t ReapOneProcess() { function ReapAnyOutstandingChildren (line 121) | std::set ReapAnyOutstandingChildren() { function ReapAndRemove (line 132) | static void ReapAndRemove(std::vector& alive_pids) { function HandleSignal (line 141) | static void HandleSignal(int signal_fd) { function WaitToBeReaped (line 150) | void WaitToBeReaped(int sigchld_fd, const std::vector& pids, FILE: init/sigchld_handler.h function namespace (line 24) | namespace android { FILE: init/snapuserd_transition.cpp type android (line 49) | namespace android { type init (line 50) | namespace init { function LaunchFirstStageSnapuserd (line 65) | void LaunchFirstStageSnapuserd() { function GetSnapuserdFirstStagePid (line 118) | std::optional GetSnapuserdFirstStagePid() { function RelabelLink (line 132) | static void RelabelLink(const std::string& link) { function RelabelDeviceMapper (line 141) | static void RelabelDeviceMapper() { function GetRamdiskSnapuserdFd (line 153) | static std::optional GetRamdiskSnapuserdFd() { function RestoreconRamdiskSnapuserd (line 167) | void RestoreconRamdiskSnapuserd(int fd) { function LockAllSystemPages (line 185) | static void LockAllSystemPages() { function KillFirstStageSnapuserd (line 391) | void KillFirstStageSnapuserd(pid_t pid) { function CleanupSnapuserdSocket (line 399) | void CleanupSnapuserdSocket() { function SaveRamdiskPathToSnapuserd (line 417) | void SaveRamdiskPathToSnapuserd() { function IsFirstStageSnapuserdRunning (line 429) | bool IsFirstStageSnapuserdRunning() { function GetSnapuserdFirstStageInfo (line 433) | std::vector GetSnapuserdFirstStageInfo() { FILE: init/snapuserd_transition.h function namespace (line 29) | namespace android { FILE: init/subcontext.cpp type android (line 54) | namespace android { type init (line 55) | namespace init { class SubcontextProcess (line 62) | class SubcontextProcess { method SubcontextProcess (line 64) | SubcontextProcess(const BuiltinFunctionMap* function_map, std::str... function SubcontextMain (line 177) | int SubcontextMain(int argc, char** argv, const BuiltinFunctionMap* ... function InitializeSubcontext (line 352) | void InitializeSubcontext() { function InitializeHostSubcontext (line 364) | void InitializeHostSubcontext(std::vector vendor_prefix... function Subcontext (line 368) | Subcontext* GetSubcontext() { function SubcontextChildReap (line 372) | bool SubcontextChildReap(pid_t pid) { function SubcontextTerminate (line 385) | void SubcontextTerminate() { FILE: init/subcontext.h function namespace (line 30) | namespace android { FILE: init/subcontext_benchmark.cpp type android (line 22) | namespace android { type init (line 23) | namespace init { function BenchmarkSuccess (line 25) | static void BenchmarkSuccess(benchmark::State& state) { function BuiltinFunctionMap (line 51) | BuiltinFunctionMap BuildTestFunctionMap() { function main (line 62) | int main(int argc, char** argv) { FILE: init/subcontext_test.cpp type android (line 39) | namespace android { type init (line 40) | namespace init { function RunTest (line 43) | void RunTest(F&& test_function) { function TEST (line 55) | TEST(subcontext, CheckDifferentPid) { function TEST (line 68) | TEST(subcontext, SetProp) { function TEST (line 90) | TEST(subcontext, MultipleCommands) { function TEST (line 117) | TEST(subcontext, RecoverAfterAbort) { function TEST (line 131) | TEST(subcontext, ContextString) { function TEST (line 139) | TEST(subcontext, TriggerShutdown) { function TEST (line 151) | TEST(subcontext, ExpandArgs) { function TEST (line 167) | TEST(subcontext, ExpandArgsFailure) { function TEST (line 180) | TEST(subcontext, PartitionMatchesSubcontext) { function BuiltinFunctionMap (line 193) | BuiltinFunctionMap BuildTestFunctionMap() { function SubcontextTestChildMain (line 255) | int SubcontextTestChildMain(int argc, char** argv) { FILE: init/switch_root.cpp type android (line 32) | namespace android { type init (line 33) | namespace init { function GetMounts (line 37) | std::vector GetMounts(const std::string& new_root) { function SwitchRoot (line 72) | void SwitchRoot(const std::string& new_root) { FILE: init/switch_root.h function namespace (line 21) | namespace android { FILE: init/test_kill_services/init_kill_services_test.cpp function ExpectKillingServiceRecovers (line 31) | void ExpectKillingServiceRecovers(const std::string& service_name) { class InitKillServicesTest (line 75) | class InitKillServicesTest : public ::testing::TestWithParam GetOnDeviceServiceInterf... FILE: init/tokenizer.cpp type android (line 5) | namespace android { type init (line 6) | namespace init { function next_token (line 8) | int next_token(struct parse_state *state) FILE: init/tokenizer.h function namespace (line 24) | namespace android { FILE: init/tokenizer_test.cpp type android (line 24) | namespace android { type init (line 25) | namespace init { function RunTest (line 29) | void RunTest(const std::string& data, const std::vector ParsePermissionsLine(std::vector&& args, function ParseFirmwareDirectoriesLine (line 90) | Result ParseFirmwareDirectoriesLine(std::vector&&... function ParseExternalFirmwareHandlerLine (line 101) | Result ParseExternalFirmwareHandlerLine( function ParseEnabledDisabledLine (line 138) | Result ParseEnabledDisabledLine(std::vector&& arg... function ParseParallelRestoreconDirsLine (line 154) | Result ParseParallelRestoreconDirsLine(std::vector ParseUeventSocketRcvbufSizeLine(std::vector* subsystems) : subsystems_(... function UeventdConfiguration (line 260) | UeventdConfiguration ParseConfig(const std::vector& con... FILE: init/ueventd_parser.h function namespace (line 25) | namespace android { FILE: init/ueventd_parser_test.cpp type android (line 25) | namespace android { type init (line 26) | namespace init { function TestSubsystems (line 28) | void TestSubsystems(const Subsystem& expected, const Subsystem& test) { function TestPermissions (line 34) | void TestPermissions(const Permissions& expected, const Permissions&... function TestSysfsPermissions (line 43) | void TestSysfsPermissions(const SysfsPermissions& expected, const Sy... function TestExternalFirmwareHandler (line 48) | void TestExternalFirmwareHandler(const ExternalFirmwareHandler& expe... function TestVector (line 57) | void TestVector(const T& expected, const T& test, F function) { function TestUeventdFile (line 67) | void TestUeventdFile(const std::string& content, const UeventdConfig... function TEST (line 83) | TEST(ueventd_parser, EmptyFile) { function TEST (line 87) | TEST(ueventd_parser, Subsystems) { function TEST (line 112) | TEST(ueventd_parser, Drivers) { function TEST (line 137) | TEST(ueventd_parser, Permissions) { function TEST (line 163) | TEST(ueventd_parser, FirmwareDirectories) { function TEST (line 179) | TEST(ueventd_parser, ExternalFirmwareHandlers) { function TEST (line 245) | TEST(ueventd_parser, ExternalFirmwareHandlersDuplicate) { function TEST (line 263) | TEST(ueventd_parser, ParallelRestoreconDirs) { function TEST (line 277) | TEST(ueventd_parser, UeventSocketRcvbufSize) { function TEST (line 286) | TEST(ueventd_parser, EnabledDisabledLines) { function TEST (line 304) | TEST(ueventd_parser, AllTogether) { function TEST (line 401) | TEST(ueventd_parser, ParseErrors) { FILE: init/ueventd_test.cpp function WriteFromMultipleThreads (line 40) | void WriteFromMultipleThreads(std::vector>& fi... function TEST (line 66) | TEST(ueventd, setegid_IsPerThread) { function TEST (line 90) | TEST(ueventd, setfscreatecon_IsPerThread) { function TEST (line 125) | TEST(ueventd, selabel_lookup_MultiThreaded) { FILE: init/util.cpp type android (line 65) | namespace android { type init (line 66) | namespace init { function DecodeUid (line 74) | Result DecodeUid(const std::string& name) { function CreateSocket (line 95) | Result CreateSocket(const std::string& name, int type, bool pas... function ReadFile (line 164) | Result ReadFile(const std::string& path) { function OpenFile (line 188) | static int OpenFile(const std::string& path, int flags, mode_t mode) { function WriteFile (line 205) | Result WriteFile(const std::string& path, const std::string& c... function mkdir_recursive (line 217) | bool mkdir_recursive(const std::string& path, mode_t mode) { function wait_for_file (line 232) | int wait_for_file(const char* filename, std::chrono::nanoseconds tim... function make_dir (line 246) | bool make_dir(const std::string& path, mode_t mode) { function is_dir (line 266) | bool is_dir(const char* pathname) { function ExpandProps (line 274) | Result ExpandProps(const std::string& src) { function read_android_dt_file (line 356) | bool read_android_dt_file(const std::string& sub_path, std::string* ... function is_android_dt_value_expected (line 369) | bool is_android_dt_value_expected(const std::string& sub_path, const... function IsLegalPropertyName (line 379) | bool IsLegalPropertyName(const std::string& name) { function IsLegalPropertyValue (line 404) | Result IsLegalPropertyValue(const std::string& name, const std... function CleanDirPath (line 418) | std::string CleanDirPath(const std::string& path) { function ParseMkdir (line 434) | Result ParseMkdir(const std::vector& args) { function ParseMountAll (line 521) | Result ParseMountAll(const std::vector... function ParseRestorecon (line 563) | Result>> ParseRestorecon( function ParseSwaponAll (line 605) | Result ParseSwaponAll(const std::vector& a... function ParseUmountAll (line 615) | Result ParseUmountAll(const std::vector& a... function InitAborter (line 625) | static void InitAborter(const char* abort_message) { function SetStdioToDevNull (line 651) | void SetStdioToDevNull(char** argv) { function InitKernelLogging (line 666) | void InitKernelLogging(char** argv) { function IsRecoveryMode (line 671) | bool IsRecoveryMode() { function IsDefaultMountNamespaceReady (line 678) | bool IsDefaultMountNamespaceReady() { function SetDefaultMountNamespaceReady (line 682) | void SetDefaultMountNamespaceReady() { function Has32BitAbi (line 686) | bool Has32BitAbi() { function GetApexNameFromFileName (line 691) | std::string GetApexNameFromFileName(const std::string& path) { function FilterVersionedConfigs (line 701) | std::vector FilterVersionedConfigs(const std::vector* self, const char* name,... function ResultOrAgain (line 53) | ResultOrAgain ReadInternal(FuseMessage* self, int fd, int sockfla... function ResultOrAgain (line 89) | ResultOrAgain WriteInternal(const FuseMessage* self, int fd, int ... function SetupMessageSockets (line 148) | bool SetupMessageSockets(base::unique_fd (*result)[2]) { function ResultOrAgain (line 178) | ResultOrAgain FuseMessage::ReadOrAgain(int fd) { function ResultOrAgain (line 194) | ResultOrAgain FuseMessage::WriteOrAgain(int fd) const { class FuseMessage (line 269) | class FuseMessage class FuseMessage (line 270) | class FuseMessage class FuseMessage (line 271) | class FuseMessage type FuseResponseBase<0u> (line 272) | struct FuseResponseBase<0u> type FuseResponseBase (line 273) | struct FuseResponseBase FILE: libappfuse/include/libappfuse/EpollController.h function namespace (line 27) | namespace android { FILE: libappfuse/include/libappfuse/FuseAppLoop.h function namespace (line 27) | namespace android { FILE: libappfuse/include/libappfuse/FuseBridgeLoop.h function namespace (line 29) | namespace android { FILE: libappfuse/include/libappfuse/FuseBuffer.h function namespace (line 24) | namespace fuse { FILE: libappfuse/tests/FuseAppLoopTest.cc type android (line 29) | namespace android { type fuse (line 30) | namespace fuse { type CallbackRequest (line 35) | struct CallbackRequest { class Callback (line 40) | class Callback : public FuseAppLoopCallback { method OnGetAttr (line 45) | void OnGetAttr(uint64_t seq, uint64_t inode) override { method OnLookup (line 50) | void OnLookup(uint64_t unique, uint64_t inode) override { method OnFsync (line 55) | void OnFsync(uint64_t seq, uint64_t inode) override { method OnWrite (line 60) | void OnWrite(uint64_t seq, uint64_t inode, uint64_t offset ATTRIBU... method OnRead (line 66) | void OnRead(uint64_t seq, uint64_t inode, uint64_t offset ATTRIBUT... method OnOpen (line 72) | void OnOpen(uint64_t seq, uint64_t inode) override { method OnRelease (line 77) | void OnRelease(uint64_t seq, uint64_t inode) override { class FuseAppLoopTest (line 83) | class FuseAppLoopTest : public ::testing::Test { method SetUp (line 92) | void SetUp() override { method CheckCallback (line 100) | void CheckCallback( method Close (line 120) | void Close() { method TearDown (line 128) | void TearDown() override { function TEST_F (line 135) | TEST_F(FuseAppLoopTest, LookUp) { function TEST_F (line 173) | TEST_F(FuseAppLoopTest, LookUp_InvalidName) { function TEST_F (line 186) | TEST_F(FuseAppLoopTest, LookUp_TooLargeName) { function TEST_F (line 199) | TEST_F(FuseAppLoopTest, GetAttr) { function TEST_F (line 232) | TEST_F(FuseAppLoopTest, GetAttr_Root) { function TEST_F (line 265) | TEST_F(FuseAppLoopTest, Open) { function TEST_F (line 269) | TEST_F(FuseAppLoopTest, Fsync) { function TEST_F (line 273) | TEST_F(FuseAppLoopTest, Release) { function TEST_F (line 277) | TEST_F(FuseAppLoopTest, Read) { function TEST_F (line 281) | TEST_F(FuseAppLoopTest, Write) { function TEST_F (line 285) | TEST_F(FuseAppLoopTest, Break) { FILE: libappfuse/tests/FuseBridgeLoopTest.cc type android (line 28) | namespace android { type fuse (line 29) | namespace fuse { class Callback (line 32) | class Callback : public FuseBridgeLoopCallback { method Callback (line 36) | Callback() : mounted(false), closed(false) {} method OnMount (line 38) | void OnMount(int /*mount_id*/) override { mounted = true; } method OnClosed (line 40) | void OnClosed(int /* mount_id */) override { closed = true; } class FuseBridgeLoopTest (line 43) | class FuseBridgeLoopTest : public ::testing::Test { method SetUp (line 53) | void SetUp() override { method CheckNotImpl (line 64) | void CheckNotImpl(uint32_t opcode) { method CheckProxy (line 78) | void CheckProxy(uint32_t opcode) { method SendInitRequest (line 104) | void SendInitRequest(uint64_t unique) { method Close (line 114) | void Close() { method TearDown (line 125) | void TearDown() override { function TEST_F (line 132) | TEST_F(FuseBridgeLoopTest, FuseInit) { function TEST_F (line 145) | TEST_F(FuseBridgeLoopTest, FuseForget) { function TEST_F (line 160) | TEST_F(FuseBridgeLoopTest, FuseNotImpl) { function TEST_F (line 198) | TEST_F(FuseBridgeLoopTest, Proxy) { FILE: libappfuse/tests/FuseBufferTest.cc type android (line 28) | namespace android { type fuse (line 29) | namespace fuse { function OpenTempFile (line 33) | void OpenTempFile(android::base::unique_fd* fd) { function TestReadInvalidLength (line 40) | void TestReadInvalidLength(size_t headerSize, size_t write_size) { function TestWriteInvalidLength (line 53) | void TestWriteInvalidLength(size_t size) { function TEST (line 65) | TEST(FuseMessageTest, ReadAndWrite) { function TEST (line 95) | TEST(FuseMessageTest, Read_InconsistentLength) { function TEST (line 99) | TEST(FuseMessageTest, Read_TooLong) { function TEST (line 103) | TEST(FuseMessageTest, Read_TooShort) { function TEST (line 107) | TEST(FuseMessageTest, Write_TooLong) { function TEST (line 111) | TEST(FuseMessageTest, Write_TooShort) { function TEST (line 115) | TEST(FuseResponseTest, Reset) { function TEST (line 139) | TEST(FuseResponseTest, ResetHeader) { function TEST (line 159) | TEST(FuseBufferTest, HandleInit) { function TEST (line 180) | TEST(FuseBufferTest, HandleNotImpl) { function TEST (line 190) | TEST(SetupMessageSocketsTest, Stress) { FILE: libasyncio/AsyncIO.cpp function io_setup (line 23) | int io_setup(unsigned nr, aio_context_t* ctxp) { function io_destroy (line 27) | int io_destroy(aio_context_t ctx) { function io_submit (line 31) | int io_submit(aio_context_t ctx, long nr, iocb** iocbpp) { function io_getevents (line 35) | int io_getevents(aio_context_t ctx, long min_nr, long max_nr, io_event* ... function io_cancel (line 39) | int io_cancel(aio_context_t ctx, iocb* iocbp, io_event* result) { function io_prep (line 43) | void io_prep(iocb* iocb, int fd, const void* buf, uint64_t count, int64_... function io_prep_pread (line 53) | void io_prep_pread(struct iocb* iocb, int fd, void* buf, size_t count, l... function io_prep_pwrite (line 57) | void io_prep_pwrite(struct iocb* iocb, int fd, void* buf, size_t count, ... FILE: libasyncio/include/asyncio/AsyncIO.h type iocb (line 38) | struct iocb type io_event (line 39) | struct io_event type timespec (line 40) | struct timespec type iocb (line 41) | struct iocb type io_event (line 41) | struct io_event type iocb (line 43) | struct iocb type iocb (line 44) | struct iocb type iocb (line 45) | struct iocb FILE: libcrypto_utils/android_pubkey.cpp type RSAPublicKey (line 38) | struct RSAPublicKey { function android_pubkey_decode (line 55) | bool android_pubkey_decode(const uint8_t* key_buffer, size_t size, RSA**... function android_pubkey_encode (line 111) | bool android_pubkey_encode(const RSA* key, uint8_t* key_buffer, size_t s... FILE: libcrypto_utils/tests/android_pubkey_test.cpp type AndroidPubkeyTest (line 109) | struct AndroidPubkeyTest : public ::testing::Test { method SetUp (line 110) | void SetUp() override { function TEST_F (line 119) | TEST_F(AndroidPubkeyTest, Decode) { function TEST_F (line 125) | TEST_F(AndroidPubkeyTest, Encode) { FILE: libcutils/android_get_control_file.cpp function __android_get_control_from_env (line 49) | int __android_get_control_from_env(const char* prefix, const char* name) { function android_get_control_file (line 79) | int android_get_control_file(const char* path) { FILE: libcutils/android_get_control_file_test.cpp function TEST (line 32) | TEST(FilesTest, android_get_control_file) { FILE: libcutils/android_get_control_socket_test.cpp function TEST (line 35) | TEST(SocketsTest, android_get_control_socket) { FILE: libcutils/android_reboot.cpp function android_reboot (line 26) | int android_reboot(unsigned cmd, int /*flags*/, const char* arg) { FILE: libcutils/ashmem-dev.cpp function check_vendor_memfd_allowed (line 91) | static bool check_vendor_memfd_allowed() { function __has_memfd_support (line 100) | static bool __has_memfd_support() { function has_memfd_support (line 154) | bool has_memfd_support() { function get_ashmem_device_path (line 159) | static std::string get_ashmem_device_path() { function __ashmem_open_locked (line 172) | static int __ashmem_open_locked() { function __ashmem_open (line 198) | static int __ashmem_open() { function __ashmem_is_ashmem (line 206) | static int __ashmem_is_ashmem(int fd, bool fatal) { function __ashmem_check_failure (line 253) | static int __ashmem_check_failure(int fd, int result) { function is_ashmem_fd (line 258) | static bool is_ashmem_fd(int fd) { function is_memfd_fd (line 273) | static bool is_memfd_fd(int fd) { function ashmem_valid (line 277) | int ashmem_valid(int fd) { function memfd_create_region (line 285) | static int memfd_create_region(const char* name, size_t size) { function ashmem_create_region (line 319) | int ashmem_create_region(const char* name, size_t size) { function memfd_set_prot_region (line 335) | static int memfd_set_prot_region(int fd, int prot) { function ashmem_set_prot_region (line 364) | int ashmem_set_prot_region(int fd, int prot) { function do_pin (line 372) | static int do_pin(int op, int fd, size_t offset, size_t length) { function ashmem_pin_region (line 388) | int ashmem_pin_region(int fd, size_t offset, size_t length) { function ashmem_unpin_region (line 392) | int ashmem_unpin_region(int fd, size_t offset, size_t length) { function ashmem_get_size_region (line 396) | int ashmem_get_size_region(int fd) { FILE: libcutils/ashmem-host.cpp function ashmem_validate_stat (line 42) | static bool ashmem_validate_stat(int fd, struct stat* buf) { function ashmem_valid (line 65) | int ashmem_valid(int fd) { function ashmem_create_region (line 70) | int ashmem_create_region(const char* /*ignored*/, size_t size) { function ashmem_set_prot_region (line 91) | int ashmem_set_prot_region(int /*fd*/, int /*prot*/) { function ashmem_pin_region (line 95) | int ashmem_pin_region(int /*fd*/, size_t /*offset*/, size_t /*len*/) { function ashmem_unpin_region (line 99) | int ashmem_unpin_region(int /*fd*/, size_t /*offset*/, size_t /*len*/) { function ashmem_get_size_region (line 103) | int ashmem_get_size_region(int fd) FILE: libcutils/ashmem_base_test.cpp function getpagesize (line 33) | static inline size_t getpagesize() { function TEST (line 40) | TEST(AshmemBaseTest, BasicTest) { FILE: libcutils/ashmem_test.cpp function TestCreateRegion (line 36) | static void TestCreateRegion(size_t size, unique_fd &fd, int prot) { function TestMmap (line 49) | static void TestMmap(const unique_fd& fd, size_t size, int prot, void** ... function TestProtDenied (line 56) | static void TestProtDenied(const unique_fd &fd, size_t size, int prot) { function TestProtIs (line 62) | static void TestProtIs(const unique_fd& fd, int prot) { function FillData (line 68) | static void FillData(std::vector& data) { function waitForChildProcessExit (line 74) | static void waitForChildProcessExit(pid_t pid) { function ForkTest (line 83) | static void ForkTest(const unique_fd &fd, size_t size) { function FileOperationsTest (line 126) | static void FileOperationsTest(const unique_fd &fd, size_t size) { function ProtTestROBuffer (line 184) | static void ProtTestROBuffer(const unique_fd &fd, size_t size) { function ProtTestRWBuffer (line 193) | static void ProtTestRWBuffer(const unique_fd &fd, size_t size) { function ForkProtTest (line 205) | static void ForkProtTest(const unique_fd &fd, size_t size) { function ForkMultiRegionTest (line 225) | static void ForkMultiRegionTest(unique_fd fds[], int nRegions, size_t si... function TEST (line 272) | TEST(AshmemTest, ForkTest) { function TEST (line 280) | TEST(AshmemTest, FileOperationsTest) { function TEST (line 291) | TEST(AshmemTest, ProtTest) { function TEST (line 302) | TEST(AshmemTest, ForkProtTest) { function TEST (line 310) | TEST(AshmemTest, ForkMultiRegionTest) { class AshmemTestMemfdAshmemCompat (line 322) | class AshmemTestMemfdAshmemCompat : public ::testing::Test { method SetUp (line 324) | void SetUp() override { function TEST_F (line 331) | TEST_F(AshmemTestMemfdAshmemCompat, SetNameTest) { function TEST_F (line 340) | TEST_F(AshmemTestMemfdAshmemCompat, GetNameTest) { function TEST_F (line 351) | TEST_F(AshmemTestMemfdAshmemCompat, SetSizeTest) { function TEST_F (line 360) | TEST_F(AshmemTestMemfdAshmemCompat, GetSizeTest) { function TEST_F (line 368) | TEST_F(AshmemTestMemfdAshmemCompat, ProtMaskTest) { function TEST_F (line 407) | TEST_F(AshmemTestMemfdAshmemCompat, FileIDTest) { function TEST_F (line 419) | TEST_F(AshmemTestMemfdAshmemCompat, UnpinningTest) { FILE: libcutils/canned_fs_config.cpp type Entry (line 40) | struct Entry { function load_canned_fs_config (line 50) | int load_canned_fs_config(const char* fn) { function canned_fs_config (line 109) | void canned_fs_config(const char* path, [[maybe_unused]] int dir, FILE: libcutils/config_utils.cpp function cnode (line 27) | cnode* config_node(const char *name, const char *value) function cnode (line 38) | cnode* config_find(cnode *root, const char *name) function cnode (line 50) | static cnode* _config_create(cnode *root, const char *name) function config_bool (line 66) | int config_bool(cnode *root, const char *name, int _default) function config_set (line 94) | void config_set(cnode *root, const char *name, const char *value) function _lex (line 121) | static int _lex(cstate *cs, int value) function lex (line 231) | static int lex(cstate *cs, int value) function parse_block (line 244) | static int parse_block(cstate *cs, cnode *node) function parse_expr (line 261) | static int parse_expr(cstate *cs, cnode *root) function config_load (line 291) | void config_load(cnode *root, char *data) function config_load_file (line 311) | void config_load_file(cnode *root, const char *fn) function config_free (line 318) | void config_free(cnode *root) FILE: libcutils/fs.cpp function fs_prepare_path_impl (line 42) | static int fs_prepare_path_impl(const char* path, mode_t mode, uid_t uid... function fs_prepare_dir (line 115) | int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { function fs_prepare_dir_strict (line 119) | int fs_prepare_dir_strict(const char* path, mode_t mode, uid_t uid, gid_... function fs_prepare_file_strict (line 123) | int fs_prepare_file_strict(const char* path, mode_t mode, uid_t uid, gid... function fs_read_atomic_int (line 127) | int fs_read_atomic_int(const char* path, int* out_value) { function fs_write_atomic_int (line 152) | int fs_write_atomic_int(const char* path, int value) { function fs_mkdirs (line 196) | int fs_mkdirs(const char* path, mode_t mode) { FILE: libcutils/fs_config.cpp type fs_path_config (line 55) | struct fs_path_config type fs_path_config (line 129) | struct fs_path_config function strip (line 233) | static size_t strip(const char* path, size_t len, const char suffix[]) { function fs_config_open (line 239) | static int fs_config_open(int dir, int which, const char* target_out_pat... function is_partition (line 263) | static bool is_partition(const std::string& path) { function fs_config_cmp (line 273) | static bool fs_config_cmp(bool dir, const char* prefix, size_t len, cons... function get_fs_config (line 316) | bool get_fs_config(const char* path, bool dir, const char* target_out_path, function fs_config (line 383) | void fs_config(const char* path, int dir, const char* target_out_path, u... FILE: libcutils/fs_config.h type fs_path_config_from_file (line 22) | struct fs_path_config_from_file { type fs_path_config (line 31) | struct fs_path_config { FILE: libcutils/fs_config_test.cpp type fs_config_cmp_test (line 40) | struct fs_config_cmp_test { function check_unique (line 77) | static bool check_unique(std::vector& paths, const std::str... function check_unique (line 128) | static bool check_unique(const fs_path_config* paths, const char* type_n... function check_fs_config_cmp (line 148) | static bool check_fs_config_cmp(const fs_config_cmp_test* tests) { function check_unique (line 166) | static bool check_unique(const std::string& config, const std::string& p... function check_two (line 223) | void check_two(const fs_path_config* paths, const char* type_name, const... function TEST (line 234) | TEST(fs_config, vendor_dirs_alias) { function TEST (line 238) | TEST(fs_config, vendor_files_alias) { function TEST (line 242) | TEST(fs_config, oem_dirs_alias) { function TEST (line 246) | TEST(fs_config, oem_files_alias) { function TEST (line 250) | TEST(fs_config, odm_dirs_alias) { function TEST (line 254) | TEST(fs_config, odm_files_alias) { function TEST (line 258) | TEST(fs_config, system_alias) { FILE: libcutils/hashmap.cpp type Entry (line 26) | struct Entry type Entry (line 27) | struct Entry { type Hashmap (line 34) | struct Hashmap { function Hashmap (line 43) | Hashmap* hashmapCreate(size_t initialCapacity, function hashKey (line 81) | __attribute__((no_sanitize("integer"))) function calculateIndex (line 96) | static inline size_t calculateIndex(size_t bucketCount, int hash) { function expandIfNecessary (line 100) | static void expandIfNecessary(Hashmap* map) { function hashmapLock (line 131) | void hashmapLock(Hashmap* map) { function hashmapUnlock (line 135) | void hashmapUnlock(Hashmap* map) { function hashmapFree (line 139) | void hashmapFree(Hashmap* map) { function hashmapHash (line 155) | __attribute__((no_sanitize("integer"))) function Entry (line 169) | static Entry* createEntry(void* key, int hash, void* value) { function equalKeys (line 181) | static inline bool equalKeys(void* keyA, int hashA, void* keyB, int hashB, function hashmapForEach (line 261) | void hashmapForEach(Hashmap* map, bool (*callback)(void* key, void* valu... FILE: libcutils/include/cutils/atomic.h function ANDROID_ATOMIC_INLINE (line 74) | ANDROID_ATOMIC_INLINE function ANDROID_ATOMIC_INLINE (line 90) | ANDROID_ATOMIC_INLINE function ANDROID_ATOMIC_INLINE (line 98) | ANDROID_ATOMIC_INLINE function ANDROID_ATOMIC_INLINE (line 105) | ANDROID_ATOMIC_INLINE function ANDROID_ATOMIC_INLINE (line 112) | ANDROID_ATOMIC_INLINE function ANDROID_ATOMIC_INLINE (line 119) | ANDROID_ATOMIC_INLINE function ANDROID_ATOMIC_INLINE (line 140) | ANDROID_ATOMIC_INLINE function ANDROID_ATOMIC_INLINE (line 147) | ANDROID_ATOMIC_INLINE function ANDROID_ATOMIC_INLINE (line 171) | ANDROID_ATOMIC_INLINE function ANDROID_ATOMIC_INLINE (line 180) | ANDROID_ATOMIC_INLINE function ANDROID_ATOMIC_INLINE (line 199) | ANDROID_ATOMIC_INLINE function ANDROID_ATOMIC_INLINE (line 210) | ANDROID_ATOMIC_INLINE function ANDROID_ATOMIC_INLINE (line 224) | ANDROID_ATOMIC_INLINE function ANDROID_ATOMIC_INLINE (line 232) | ANDROID_ATOMIC_INLINE FILE: libcutils/include/cutils/bitops.h function __BEGIN_DECLS (line 25) | __BEGIN_DECLS function popcountl (line 31) | static inline int popcountl(unsigned long x) { function popcountll (line 35) | static inline int popcountll(unsigned long long x) { FILE: libcutils/include/cutils/config_utils.h type cnode (line 24) | typedef struct cnode cnode; type cnode (line 27) | struct cnode FILE: libcutils/include/cutils/hashmap.h type Hashmap (line 35) | typedef struct Hashmap Hashmap; FILE: libcutils/include/cutils/iosched_policy.h type IoSchedClass (line 24) | typedef enum { FILE: libcutils/include/cutils/klog.h type iovec (line 30) | struct iovec FILE: libcutils/include/cutils/list.h type listnode (line 25) | struct listnode function list_init (line 52) | static inline void list_init(struct listnode *node) function list_add_tail (line 58) | static inline void list_add_tail(struct listnode *head, struct listnode ... function list_add_head (line 66) | static inline void list_add_head(struct listnode *head, struct listnode ... function list_remove (line 74) | static inline void list_remove(struct listnode *item) FILE: libcutils/include/cutils/multiuser.h type uid_t (line 26) | typedef uid_t userid_t; type uid_t (line 27) | typedef uid_t appid_t; FILE: libcutils/include/cutils/native_handle.h type native_handle_t (line 34) | typedef struct native_handle type native_handle_t (line 49) | typedef const native_handle_t* buffer_handle_t; FILE: libcutils/include/cutils/properties.h function __BIONIC_FORTIFY_INLINE (line 135) | __BIONIC_FORTIFY_INLINE FILE: libcutils/include/cutils/record_stream.h type RecordStream (line 30) | typedef struct RecordStream RecordStream; FILE: libcutils/include/cutils/sockets.h type socklen_t (line 31) | typedef int socklen_t; type SOCKET (line 32) | typedef SOCKET cutils_socket_t; type cutils_socket_t (line 39) | typedef int cutils_socket_t; type cutils_socket_buffer_t (line 124) | typedef struct { FILE: libcutils/include/cutils/str_parms.h type str_parms (line 27) | struct str_parms type str_parms (line 28) | struct str_parms type str_parms (line 29) | struct str_parms type str_parms (line 31) | struct str_parms type str_parms (line 33) | struct str_parms type str_parms (line 35) | struct str_parms type str_parms (line 37) | struct str_parms type str_parms (line 41) | struct str_parms type str_parms (line 46) | struct str_parms type str_parms (line 48) | struct str_parms type str_parms (line 50) | struct str_parms type str_parms (line 53) | struct str_parms type str_parms (line 56) | struct str_parms FILE: libcutils/include/cutils/trace.h function atrace_is_tag_enabled (line 179) | static inline uint64_t atrace_is_tag_enabled(uint64_t tag) function atrace_begin (line 189) | static inline void atrace_begin(uint64_t tag, const char* name) function atrace_end (line 201) | static inline void atrace_end(uint64_t tag) function atrace_async_begin (line 217) | static inline void atrace_async_begin(uint64_t tag, const char* name, function atrace_async_end (line 230) | static inline void atrace_async_end(uint64_t tag, const char* name, int3... function atrace_async_for_track_begin (line 247) | static inline void atrace_async_for_track_begin(uint64_t tag, const char... function atrace_async_for_track_end (line 260) | static inline void atrace_async_for_track_end(uint64_t tag, const char* ... function atrace_instant (line 277) | static inline void atrace_instant(uint64_t tag, const char* name) { function atrace_instant_for_track (line 292) | static inline void atrace_instant_for_track(uint64_t tag, const char* tr... function atrace_int (line 304) | static inline void atrace_int(uint64_t tag, const char* name, int32_t va... function atrace_int64 (line 316) | static inline void atrace_int64(uint64_t tag, const char* name, int64_t ... FILE: libcutils/include/private/fs_config.h type fs_config (line 40) | struct fs_config { type fs_config (line 57) | struct fs_config FILE: libcutils/iosched_policy.cpp function android_set_ioprio (line 34) | int android_set_ioprio(int pid __android_unused, IoSchedClass clazz __an... function android_get_ioprio (line 43) | int android_get_ioprio(int pid __android_unused, IoSchedClass *clazz, in... FILE: libcutils/klog.cpp function klog_set_level (line 33) | void klog_set_level(int level) { function __open_klog (line 37) | static int __open_klog(void) { function klog_writev (line 47) | void klog_writev(int level, const struct iovec* iov, int iov_count) { function klog_write (line 55) | void klog_write(int level, const char* fmt, ...) { FILE: libcutils/multiuser.cpp function userid_t (line 20) | userid_t multiuser_get_user_id(uid_t uid) { function appid_t (line 24) | appid_t multiuser_get_app_id(uid_t uid) { function uid_t (line 28) | uid_t multiuser_get_uid(userid_t user_id, appid_t app_id) { function uid_t (line 32) | uid_t multiuser_get_sdk_sandbox_uid(userid_t user_id, appid_t app_id) { function uid_t (line 41) | uid_t multiuser_convert_sdk_sandbox_to_app_uid(uid_t uid) { function gid_t (line 51) | gid_t multiuser_get_cache_gid(userid_t user_id, appid_t app_id) { function gid_t (line 59) | gid_t multiuser_get_ext_gid(userid_t user_id, appid_t app_id) { function gid_t (line 67) | gid_t multiuser_get_ext_cache_gid(userid_t user_id, appid_t app_id) { function gid_t (line 75) | gid_t multiuser_get_shared_gid(userid_t, appid_t app_id) { function gid_t (line 85) | gid_t multiuser_get_shared_app_gid(uid_t uid) { FILE: libcutils/multiuser_test.cpp function TEST (line 23) | TEST(MultiuserTest, TestMerge) { function TEST (line 34) | TEST(MultiuserTest, TestSdkSandboxUid) { function TEST (line 50) | TEST(MultiuserTest, TestSdkSandboxUidConvertation) { function TEST (line 68) | TEST(MultiuserTest, TestSplitUser) { function TEST (line 79) | TEST(MultiuserTest, TestSplitApp) { function TEST (line 90) | TEST(MultiuserTest, TestCache) { function TEST (line 101) | TEST(MultiuserTest, TestExt) { function TEST (line 109) | TEST(MultiuserTest, TestExtCache) { function TEST (line 117) | TEST(MultiuserTest, TestShared) { FILE: libcutils/native_handle.cpp function android_fdsan_create_owner_tag (line 36) | uint64_t android_fdsan_create_owner_tag(int /*type*/, uint64_t /*tag*/) { function android_fdsan_get_owner_tag (line 39) | uint64_t android_fdsan_get_owner_tag(int /*fd*/) { function android_fdsan_close_with_tag (line 42) | int android_fdsan_close_with_tag(int fd, uint64_t /*tag*/) { function android_fdsan_exchange_owner_tag (line 45) | void android_fdsan_exchange_owner_tag(int /*fd*/, uint64_t /*expected_ta... function get_fdsan_tag (line 48) | uint64_t get_fdsan_tag(const native_handle_t* handle) { function close_internal (line 53) | int close_internal(const native_handle_t* h, bool allowUntagged) { function swap_fdsan_tags (line 73) | void swap_fdsan_tags(const native_handle_t* handle, uint64_t expected_ta... function native_handle_t (line 86) | native_handle_t* native_handle_init(char* storage, int numFds, int numIn... function native_handle_t (line 99) | native_handle_t* native_handle_create(int numFds, int numInts) { function native_handle_set_fdsan_tag (line 116) | void native_handle_set_fdsan_tag(const native_handle_t* handle) { function native_handle_unset_fdsan_tag (line 120) | void native_handle_unset_fdsan_tag(const native_handle_t* handle) { function native_handle_t (line 124) | native_handle_t* native_handle_clone(const native_handle_t* handle) { function native_handle_delete (line 144) | int native_handle_delete(native_handle_t* h) { function native_handle_close (line 152) | int native_handle_close(const native_handle_t* h) { function native_handle_close_with_tag (line 156) | int native_handle_close_with_tag(const native_handle_t* h) { FILE: libcutils/native_handle_test.cpp function TEST (line 21) | TEST(native_handle, native_handle_delete) { function TEST (line 25) | TEST(native_handle, native_handle_close) { FILE: libcutils/partition_utils.cpp function only_one_char (line 28) | static int only_one_char(uint8_t *buf, int len, uint8_t c) function partition_wiped (line 42) | int partition_wiped(const char* source) { FILE: libcutils/properties.cpp function property_get_bool (line 27) | int8_t property_get_bool(const char* key, int8_t default_value) { function T (line 53) | static T property_get_int(const char* key, T default_value) { function property_get_int64 (line 73) | int64_t property_get_int64(const char* key, int64_t default_value) { function property_get_int32 (line 77) | int32_t property_get_int32(const char* key, int32_t default_value) { function property_set (line 81) | int property_set(const char* key, const char* value) { function property_get (line 85) | int property_get(const char* key, char* value, const char* default_value) { type callback_data (line 98) | struct callback_data { function trampoline (line 103) | static void trampoline(void* raw_data, const char* name, const char* val... function property_list_callback (line 108) | static void property_list_callback(const prop_info* pi, void* data) { function property_list (line 112) | int property_list(void (*fn)(const char* name, const char* value, void* ... FILE: libcutils/properties_test.cpp type android (line 30) | namespace android { function HexString (line 41) | static std::string HexString(T value) { function AssertEqualHex (line 48) | static ::testing::AssertionResult AssertEqualHex(const char *mExpr, class PropertiesTest (line 61) | class PropertiesTest : public testing::Test { method PropertiesTest (line 63) | PropertiesTest() : mValue() {} method SetUp (line 65) | virtual void SetUp() { method TearDown (line 69) | virtual void TearDown() { method ToString (line 76) | static std::string ToString(T value) { method SetAndGetProperty (line 84) | int SetAndGetProperty(const char* value, const char* defaultValue = ... method ResetValue (line 89) | void ResetValue(unsigned char c = 0xFF) { function TEST_F (line 96) | TEST_F(PropertiesTest, property_set_null_key) { function TEST_F (line 101) | TEST_F(PropertiesTest, property_set_null_value) { function TEST_F (line 112) | TEST_F(PropertiesTest, property_set) { function TEST_F (line 120) | TEST_F(PropertiesTest, property_set_empty) { function TEST_F (line 129) | TEST_F(PropertiesTest, property_set_max_length) { function TEST_F (line 139) | TEST_F(PropertiesTest, property_set_too_long) { function TEST_F (line 155) | TEST_F(PropertiesTest, property_get_too_long) { function TEST_F (line 169) | TEST_F(PropertiesTest, property_get_default_too_long) { function TEST_F (line 182) | TEST_F(PropertiesTest, property_get_default_okay) { function TEST_F (line 195) | TEST_F(PropertiesTest, property_get_default_empty) { function TEST_F (line 208) | TEST_F(PropertiesTest, property_get_default_NULL) { function TEST_F (line 218) | TEST_F(PropertiesTest, property_get_bool_0) { function TEST_F (line 223) | TEST_F(PropertiesTest, property_get_bool_1) { function TEST_F (line 228) | TEST_F(PropertiesTest, property_get_bool_false) { function TEST_F (line 233) | TEST_F(PropertiesTest, property_get_bool_n) { function TEST_F (line 238) | TEST_F(PropertiesTest, property_get_bool_no) { function TEST_F (line 243) | TEST_F(PropertiesTest, property_get_bool_off) { function TEST_F (line 248) | TEST_F(PropertiesTest, property_get_bool_on) { function TEST_F (line 253) | TEST_F(PropertiesTest, property_get_bool_true) { function TEST_F (line 258) | TEST_F(PropertiesTest, property_get_bool_y) { function TEST_F (line 263) | TEST_F(PropertiesTest, property_get_bool_yes) { function TEST_F (line 268) | TEST_F(PropertiesTest, property_get_bool_neither) { function TEST_F (line 285) | TEST_F(PropertiesTest, property_get_int64) { function TEST_F (line 332) | TEST_F(PropertiesTest, property_get_int32) { FILE: libcutils/qtaguid.cpp type netdHandler (line 29) | struct netdHandler { function stubTagSocket (line 34) | static int stubTagSocket(int, uint32_t, uid_t) { function stubUntagSocket (line 38) | static int stubUntagSocket(int) { function netdHandler (line 42) | static netdHandler initHandler(void) { function netdHandler (line 68) | static const netdHandler& getHandler() { function qtaguid_tagSocket (line 73) | int qtaguid_tagSocket(int sockfd, int tag, uid_t uid) { function qtaguid_untagSocket (line 78) | int qtaguid_untagSocket(int sockfd) { FILE: libcutils/record_stream.cpp type RecordStream (line 34) | struct RecordStream { function RecordStream (line 46) | extern RecordStream *record_stream_new(int fd, size_t maxRecordLen) function record_stream_free (line 66) | extern void record_stream_free(RecordStream *rs) function record_stream_get_next (line 128) | int record_stream_get_next (RecordStream *p_rs, void ** p_outRecord, FILE: libcutils/sched_policy_test.cpp function hasCapSysNice (line 28) | bool hasCapSysNice() { function medianSleepTime (line 44) | long long medianSleepTime() { function AssertPolicy (line 63) | static void AssertPolicy(SchedPolicy expected_policy) { function TEST (line 69) | TEST(SchedPolicy, set_sched_policy) { function TEST (line 79) | TEST(SchedPolicy, set_sched_policy_timerslack) { function TEST (line 103) | TEST(SchedPolicy, get_sched_policy_name) { function TEST (line 109) | TEST(SchedPolicy, get_cpuset_policy_profile_name) { function TEST (line 115) | TEST(SchedPolicy, get_sched_policy_profile_name) { FILE: libcutils/socket_inaddr_any_server_unix.cpp function socket_inaddr_any_server (line 33) | int socket_inaddr_any_server(int port, int type) FILE: libcutils/socket_inaddr_any_server_windows.cpp function SOCKET (line 37) | SOCKET socket_inaddr_any_server(int port, int type) { FILE: libcutils/socket_local_client_unix.cpp function socket_local_client (line 27) | int socket_local_client(const char *name, int namespaceId, int type) function socket_make_sockaddr_un (line 45) | int socket_make_sockaddr_un(const char *name, int namespaceId, function socket_local_client_connect (line 124) | int socket_local_client_connect(int fd, const char* name, int namespaceI... function socket_local_client (line 149) | int socket_local_client(const char *name, int namespaceId, int type) FILE: libcutils/socket_local_server_unix.cpp function socket_local_server (line 28) | int socket_local_server(const char *name, int namespaceId, int type) type sockaddr_un (line 57) | struct sockaddr_un type sockaddr (line 82) | struct sockaddr function socket_local_server (line 97) | int socket_local_server(const char *name, int namespaceId, int type) FILE: libcutils/socket_local_unix.h type sockaddr_un (line 39) | struct sockaddr_un FILE: libcutils/socket_network_client_unix.cpp function toggle_O_NONBLOCK (line 32) | static int toggle_O_NONBLOCK(int s) { function socket_network_client_timeout (line 46) | int socket_network_client_timeout(const char* host, int port, int type, ... function socket_network_client (line 122) | int socket_network_client(const char* host, int port, int type) { FILE: libcutils/socket_network_client_windows.cpp function SOCKET (line 33) | SOCKET socket_network_client(const char* host, int port, int type) { FILE: libcutils/sockets.cpp function socket_get_local_port (line 34) | int socket_get_local_port(cutils_socket_t sock) { FILE: libcutils/sockets_test.cpp function TestConnectedSockets (line 32) | static void TestConnectedSockets(cutils_socket_t server, cutils_socket_t... function TEST (line 75) | TEST(SocketsTest, TestGetLocalPort) { function TEST (line 96) | TEST(SocketsTest, TestIpv4UdpLoopback) { function TEST (line 105) | TEST(SocketsTest, TestIpv4TcpLoopback) { function TEST (line 118) | TEST(SocketsTest, TestIpv6UdpLoopback) { function TEST (line 127) | TEST(SocketsTest, TestIpv6TcpLoopback) { function TEST (line 140) | TEST(SocketsTest, TestSocketSendBuffersFailure) { FILE: libcutils/sockets_unix.cpp function socket_close (line 30) | int socket_close(int sock) { function socket_send_buffers (line 34) | ssize_t socket_send_buffers(cutils_socket_t sock, function android_get_control_socket (line 54) | int android_get_control_socket(const char* name) { function android_get_control_socket (line 75) | int android_get_control_socket(const char*) { FILE: libcutils/sockets_windows.cpp function initialize_windows_sockets (line 40) | bool initialize_windows_sockets() { function socket_close (line 53) | int socket_close(cutils_socket_t sock) { function socket_send_buffers (line 57) | ssize_t socket_send_buffers(cutils_socket_t sock, function android_get_control_socket (line 83) | int android_get_control_socket(const char*) { FILE: libcutils/str_parms.cpp type str_parms (line 47) | struct str_parms { function str_eq (line 52) | static bool str_eq(void *key_a, void *key_b) function str_hash_fn (line 59) | __attribute__((no_sanitize("integer"))) type str_parms (line 70) | struct str_parms type remove_ctxt (line 84) | struct remove_ctxt { type str_parms (line 85) | struct str_parms function remove_pair (line 89) | static bool remove_pair(void *key, void *value, void *context) function str_parms_del (line 119) | void str_parms_del(struct str_parms *str_parms, const char *key) function str_parms_destroy (line 128) | void str_parms_destroy(struct str_parms *str_parms) type str_parms (line 139) | struct str_parms type str_parms (line 141) | struct str_parms function str_parms_add_str (line 206) | int str_parms_add_str(struct str_parms *str_parms, const char *key, function str_parms_add_int (line 254) | int str_parms_add_int(struct str_parms *str_parms, const char *key, int ... function str_parms_add_float (line 267) | int str_parms_add_float(struct str_parms *str_parms, const char *key, function str_parms_has_key (line 281) | int str_parms_has_key(struct str_parms *str_parms, const char *key) { function str_parms_get_str (line 285) | int str_parms_get_str(struct str_parms *str_parms, const char *key, char... function str_parms_get_int (line 296) | int str_parms_get_int(struct str_parms *str_parms, const char *key, int ... function str_parms_get_float (line 312) | int str_parms_get_float(struct str_parms *str_parms, const char *key, function combine_strings (line 331) | static bool combine_strings(void *key, void *value, void *context) type str_parms (line 354) | struct str_parms function dump_entry (line 361) | static bool dump_entry(void* key, void* value, void* /*context*/) { function str_parms_dump (line 366) | void str_parms_dump(struct str_parms *str_parms) FILE: libcutils/str_parms_test.cpp function test_str_parms_str (line 20) | static void test_str_parms_str(const char* str, const char* expected) { function TEST (line 32) | TEST(str_parms, smoke) { function TEST (line 50) | TEST(str_parms, put_ENOMEM) { FILE: libcutils/strlcpy.c function strlcpy (line 32) | size_t FILE: libcutils/trace-container.cpp function atrace_seq_number_changed (line 42) | static void atrace_seq_number_changed(uint32_t, uint32_t seq_no) { function atrace_init_container_sock (line 47) | static bool atrace_init_container_sock() function atrace_close_container_sock (line 59) | static void atrace_close_container_sock() function atrace_set_tracing_enabled (line 70) | void atrace_set_tracing_enabled(bool enabled) function atrace_init_once (line 88) | static void atrace_init_once() function atrace_setup (line 120) | void atrace_setup() function gettime (line 125) | static inline uint64_t gettime(clockid_t clk_id) function atrace_begin_body (line 184) | void atrace_begin_body(const char* name) function atrace_end_body (line 196) | void atrace_end_body() function atrace_async_begin_body (line 208) | void atrace_async_begin_body(const char* name, int32_t cookie) function atrace_async_end_body (line 220) | void atrace_async_end_body(const char* name, int32_t cookie) function atrace_async_for_track_begin_body (line 232) | void atrace_async_for_track_begin_body(const char* track_name, const cha... function atrace_async_for_track_end_body (line 243) | void atrace_async_for_track_end_body(const char* track_name, int32_t coo... function atrace_instant_body (line 254) | void atrace_instant_body(const char* name) { function atrace_instant_for_track_body (line 265) | void atrace_instant_for_track_body(const char* track_name, const char* n... function atrace_int_body (line 276) | void atrace_int_body(const char* name, int32_t value) function atrace_int64_body (line 288) | void atrace_int64_body(const char* name, int64_t value) FILE: libcutils/trace-dev.cpp function atrace_set_tracing_enabled (line 25) | void atrace_set_tracing_enabled(bool enabled) function atrace_init_once (line 31) | static void atrace_init_once() function atrace_seq_number_changed (line 46) | static void atrace_seq_number_changed(uint32_t prev_seq_no, uint32_t seq... function atrace_setup (line 67) | void atrace_setup() function atrace_begin_body (line 72) | void atrace_begin_body(const char* name) function atrace_end_body (line 77) | void atrace_end_body() function atrace_async_begin_body (line 82) | void atrace_async_begin_body(const char* name, int32_t cookie) function atrace_async_end_body (line 87) | void atrace_async_end_body(const char* name, int32_t cookie) function atrace_async_for_track_begin_body (line 92) | void atrace_async_for_track_begin_body(const char* track_name, const cha... function atrace_async_for_track_end_body (line 96) | void atrace_async_for_track_end_body(const char* track_name, int32_t coo... function atrace_instant_body (line 100) | void atrace_instant_body(const char* name) { function atrace_instant_for_track_body (line 104) | void atrace_instant_for_track_body(const char* track_name, const char* n... function atrace_int_body (line 108) | void atrace_int_body(const char* name, int32_t value) function atrace_int64_body (line 113) | void atrace_int64_body(const char* name, int64_t value) FILE: libcutils/trace-dev_test.cpp class TraceDevTest (line 29) | class TraceDevTest : public ::testing::Test { method SetUp (line 31) | void SetUp() override { method TearDown (line 36) | void TearDown() override { method MakeName (line 42) | static std::string MakeName(size_t length) { function TEST_F (line 51) | TEST_F(TraceDevTest, atrace_begin_body_normal) { function TEST_F (line 62) | TEST_F(TraceDevTest, atrace_begin_body_exact) { function TEST_F (line 85) | TEST_F(TraceDevTest, atrace_begin_body_truncated) { function TEST_F (line 100) | TEST_F(TraceDevTest, atrace_async_begin_body_normal) { function TEST_F (line 111) | TEST_F(TraceDevTest, atrace_async_begin_body_exact) { function TEST_F (line 134) | TEST_F(TraceDevTest, atrace_async_begin_body_truncated) { function TEST_F (line 149) | TEST_F(TraceDevTest, atrace_async_end_body_normal) { function TEST_F (line 160) | TEST_F(TraceDevTest, atrace_async_end_body_exact) { function TEST_F (line 183) | TEST_F(TraceDevTest, atrace_async_end_body_truncated) { function TEST_F (line 198) | TEST_F(TraceDevTest, atrace_async_for_track_begin_body_normal) { function TEST_F (line 209) | TEST_F(TraceDevTest, atrace_async_for_track_begin_body_exact_track_name) { function TEST_F (line 236) | TEST_F(TraceDevTest, atrace_async_for_track_begin_body_truncated_track_n... function TEST_F (line 251) | TEST_F(TraceDevTest, atrace_async_for_track_begin_body_exact_name) { function TEST_F (line 276) | TEST_F(TraceDevTest, atrace_async_for_track_begin_body_truncated_name) { function TEST_F (line 291) | TEST_F(TraceDevTest, atrace_async_for_track_begin_body_truncated_both) { function TEST_F (line 308) | TEST_F(TraceDevTest, atrace_async_for_track_end_body_normal) { function TEST_F (line 319) | TEST_F(TraceDevTest, atrace_async_for_track_end_body_exact) { function TEST_F (line 343) | TEST_F(TraceDevTest, atrace_async_for_track_end_body_truncated) { function TEST_F (line 358) | TEST_F(TraceDevTest, atrace_instant_body_normal) { function TEST_F (line 369) | TEST_F(TraceDevTest, atrace_instant_body_exact) { function TEST_F (line 392) | TEST_F(TraceDevTest, atrace_instant_body_truncated) { function TEST_F (line 407) | TEST_F(TraceDevTest, atrace_instant_for_track_body_normal) { function TEST_F (line 418) | TEST_F(TraceDevTest, atrace_instant_for_track_body_exact_track_name) { function TEST_F (line 444) | TEST_F(TraceDevTest, atrace_instant_for_track_body_truncated_track_name) { function TEST_F (line 459) | TEST_F(TraceDevTest, atrace_instant_for_track_body_exact_name) { function TEST_F (line 483) | TEST_F(TraceDevTest, atrace_instant_for_track_body_truncated_name) { function TEST_F (line 498) | TEST_F(TraceDevTest, atrace_instant_for_track_body_truncated_both) { function TEST_F (line 515) | TEST_F(TraceDevTest, atrace_int_body_normal) { function TEST_F (line 526) | TEST_F(TraceDevTest, atrace_int_body_exact) { function TEST_F (line 549) | TEST_F(TraceDevTest, atrace_int_body_truncated) { function TEST_F (line 564) | TEST_F(TraceDevTest, atrace_int64_body_normal) { function TEST_F (line 575) | TEST_F(TraceDevTest, atrace_int64_body_exact) { function TEST_F (line 598) | TEST_F(TraceDevTest, atrace_int64_body_truncated) { FILE: libcutils/trace-host.cpp function atrace_set_tracing_enabled (line 23) | void atrace_set_tracing_enabled(bool /*enabled*/) {} function atrace_update_tags (line 24) | void atrace_update_tags() { } function atrace_setup (line 25) | void atrace_setup() { } function atrace_begin_body (line 26) | void atrace_begin_body(const char* /*name*/) {} function atrace_end_body (line 27) | void atrace_end_body() { } function atrace_async_begin_body (line 28) | void atrace_async_begin_body(const char* /*name*/, int32_t /*cookie*/) {} function atrace_async_end_body (line 29) | void atrace_async_end_body(const char* /*name*/, int32_t /*cookie*/) {} function atrace_async_for_track_begin_body (line 30) | void atrace_async_for_track_begin_body(const char* /*track_name*/, const... function atrace_async_for_track_end_body (line 32) | void atrace_async_for_track_end_body(const char* /*track_name*/, int32_t... function atrace_instant_body (line 33) | void atrace_instant_body(const char* /*name*/) {} function atrace_instant_for_track_body (line 34) | void atrace_instant_for_track_body(const char* /*track_name*/, const cha... function atrace_int_body (line 35) | void atrace_int_body(const char* /*name*/, int32_t /*value*/) {} function atrace_int64_body (line 36) | void atrace_int64_body(const char* /*name*/, int64_t /*value*/) {} function atrace_init (line 37) | void atrace_init() {} function atrace_get_enabled_tags (line 38) | uint64_t atrace_get_enabled_tags() FILE: libcutils/uevent.cpp function uevent_kernel_multicast_recv (line 35) | ssize_t uevent_kernel_multicast_recv(int socket, void* buffer, size_t le... function uevent_kernel_multicast_uid_recv (line 49) | ssize_t uevent_kernel_multicast_uid_recv(int socket, void* buffer, size_... function uevent_kernel_recv (line 53) | ssize_t uevent_kernel_recv(int socket, void* buffer, size_t length, bool... function uevent_create_socket (line 103) | int uevent_create_socket(int buf_sz, bool passcred) { function uevent_bind (line 141) | int uevent_bind(int socket) { function uevent_open_socket (line 158) | int uevent_open_socket(int buf_sz, bool passcred) { FILE: libgrallocusage/GrallocUsageConversion.cpp function android_convertGralloc0To1Usage (line 22) | void android_convertGralloc0To1Usage(int32_t usage, uint64_t* producerUs... function android_convertGralloc1To0Usage (line 51) | int32_t android_convertGralloc1To0Usage(uint64_t producerUsage, uint64_t... FILE: libkeyutils/keyutils.cpp function key_serial_t (line 37) | key_serial_t add_key(const char* type, const char* description, const vo... function key_serial_t (line 42) | key_serial_t keyctl_get_keyring_ID(key_serial_t id, int create) { function keyctl_revoke (line 46) | long keyctl_revoke(key_serial_t id) { function keyctl_search (line 50) | long keyctl_search(key_serial_t ring_id, const char* type, const char* d... function keyctl_setperm (line 55) | long keyctl_setperm(key_serial_t id, int permissions) { function keyctl_unlink (line 59) | long keyctl_unlink(key_serial_t key, key_serial_t keyring) { function keyctl_restrict_keyring (line 63) | long keyctl_restrict_keyring(key_serial_t keyring, const char* type, con... function keyctl_get_security (line 67) | long keyctl_get_security(key_serial_t id, char* buffer, size_t buflen) { FILE: libkeyutils/keyutils_test.cpp function TEST (line 35) | TEST(keyutils, smoke) { FILE: libmodprobe/exthandler.cpp function RunExternalHandler (line 38) | Result RunExternalHandler(const std::string& handler, uid_t... FILE: libmodprobe/include/modprobe/modprobe.h function class (line 29) | class Modprobe { FILE: libmodprobe/libmodprobe_ext.cpp type stat (line 87) | struct stat FILE: libmodprobe/libmodprobe_test.cpp function TEST (line 37) | TEST(libmodprobe, Test) { function TEST (line 210) | TEST(libmodprobe, ModuleDepLineWithoutColonIsSkipped) { FILE: libnetutils/dhcpclient.c type msecs_t (line 46) | typedef unsigned long long msecs_t; function msecs_t (line 51) | msecs_t get_msecs(void) function printerr (line 63) | void printerr(char *fmt, ...) function fatal (line 79) | int fatal(const char *reason) type in_addr (line 88) | struct in_addr type dhcp_info (line 96) | typedef struct dhcp_info dhcp_info; type dhcp_info (line 98) | struct dhcp_info { function get_dhcp_info (line 114) | void get_dhcp_info(uint32_t *ipaddr, uint32_t *gateway, uint32_t *prefix... function dhcp_configure (line 127) | static int dhcp_configure(const char *ifname, dhcp_info *info) function dump_dhcp_info (line 149) | void dump_dhcp_info(dhcp_info *info) function decode_dhcp_msg (line 164) | int decode_dhcp_msg(dhcp_msg *msg, int len, dhcp_info *info) function hex2str (line 237) | static void hex2str(char *buf, size_t buf_size, const unsigned char *arr... function dump_dhcp_msg (line 247) | void dump_dhcp_msg(dhcp_msg *msg, int len) function send_message (line 342) | static int send_message(int sock, int if_index, dhcp_msg *msg, int size) function is_valid_reply (line 351) | static int is_valid_reply(dhcp_msg *msg, dhcp_msg *reply, int sz) function dhcp_init_ifc (line 387) | int dhcp_init_ifc(const char *ifname) function do_dhcp (line 530) | int do_dhcp(char *iname) FILE: libnetutils/dhcpmsg.c function init_dhcp_discover_msg (line 55) | int init_dhcp_discover_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid) function init_dhcp_request_msg (line 73) | int init_dhcp_request_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid, FILE: libnetutils/dhcpmsg.h type dhcp_msg (line 26) | typedef struct dhcp_msg dhcp_msg; type dhcp_msg (line 35) | struct dhcp_msg FILE: libnetutils/dhcptool.c function main (line 27) | int main(int argc, char* argv[]) { FILE: libnetutils/ifc_utils.c function in_addr_t (line 65) | in_addr_t prefixLengthToIpv4Netmask(int prefix_length) function ipv4NetmaskToPrefixLength (line 80) | int ipv4NetmaskToPrefixLength(in_addr_t mask) type in_addr (line 93) | struct in_addr function string_to_ip (line 99) | int string_to_ip(const char *string, struct sockaddr_storage *ss) { function ifc_init (line 125) | int ifc_init(void) function ifc_init6 (line 142) | int ifc_init6(void) function ifc_close (line 154) | void ifc_close(void) function ifc_close6 (line 164) | void ifc_close6(void) function ifc_init_ifr (line 173) | static void ifc_init_ifr(const char *name, struct ifreq *ifr) function ifc_get_hwaddr (line 180) | int ifc_get_hwaddr(const char *name, void *ptr) function ifc_get_ifindex (line 193) | int ifc_get_ifindex(const char *name, int *if_indexp) function ifc_set_flags (line 206) | static int ifc_set_flags(const char *name, unsigned set, unsigned clr) function ifc_up (line 216) | int ifc_up(const char *name) function ifc_down (line 223) | int ifc_down(const char *name) function init_sockaddr_in (line 230) | static void init_sockaddr_in(struct sockaddr *sa, in_addr_t addr) function ifc_set_addr (line 238) | int ifc_set_addr(const char *name, in_addr_t addr) function ifc_act_on_address (line 260) | int ifc_act_on_address(int action, const char* name, const char* address... function ifc_add_address (line 367) | int ifc_add_address(const char *name, const char *address, int prefixlen) { function ifc_del_address (line 374) | int ifc_del_address(const char *name, const char * address, int prefixle... function ifc_clear_ipv6_addresses (line 383) | int ifc_clear_ipv6_addresses(const char *name) { function ifc_clear_ipv4_addresses (line 432) | void ifc_clear_ipv4_addresses(const char *name) { function ifc_clear_addresses (line 447) | int ifc_clear_addresses(const char *name) { function ifc_set_hwaddr (line 452) | int ifc_set_hwaddr(const char *name, const void *ptr) function ifc_set_mask (line 462) | int ifc_set_mask(const char *name, in_addr_t mask) function ifc_set_prefixLength (line 475) | int ifc_set_prefixLength(const char *name, int prefixLength) function ifc_get_addr (line 488) | int ifc_get_addr(const char *name, in_addr_t *addr) function ifc_get_info (line 505) | int ifc_get_info(const char *name, in_addr_t *addr, int *prefixLength, u... function ifc_act_on_ipv4_route (line 538) | int ifc_act_on_ipv4_route(int action, const char *ifname, struct in_addr... function ifc_create_default_route (line 584) | int ifc_create_default_route(const char *name, in_addr_t gw) function ifc_enable (line 597) | int ifc_enable(const char *ifname) function ifc_disable (line 608) | int ifc_disable(const char *ifname) function ifc_reset_connections (line 628) | int ifc_reset_connections(const char *ifname, const int reset_mask) function ifc_remove_default_route (line 676) | int ifc_remove_default_route(const char *ifname) function ifc_configure (line 693) | int FILE: libnetutils/packet.c function open_raw_socket (line 42) | int open_raw_socket(const char* ifname __unused, uint8_t hwaddr[ETH_ALEN... function checksum (line 62) | static uint32_t checksum(void *buffer, unsigned int count, uint32_t star... function finish_sum (line 81) | static uint32_t finish_sum(uint32_t sum) function send_packet (line 86) | int send_packet(int s, int if_index, struct dhcp_msg *msg, int size, function receive_packet (line 153) | int receive_packet(int s, struct dhcp_msg *msg) FILE: libnetutils/packet.h type dhcp_msg (line 23) | struct dhcp_msg type dhcp_msg (line 25) | struct dhcp_msg FILE: libpackagelistparser/include/packagelistparser/packagelistparser.h type gid_list (line 24) | struct gid_list { type pkg_info (line 32) | typedef struct pkg_info { FILE: libpackagelistparser/packagelistparser.cpp function parse_gids (line 32) | static bool parse_gids(const char* path, size_t line_number, const char*... function parse_line (line 66) | static bool parse_line(const char* path, size_t line_number, const char*... function packagelist_parse_file (line 94) | bool packagelist_parse_file(const char* path, bool (*callback)(pkg_info*... function packagelist_parse (line 121) | bool packagelist_parse(bool (*callback)(pkg_info*, void*), void* user_da... function packagelist_free (line 125) | void packagelist_free(pkg_info* info) { FILE: libpackagelistparser/packagelistparser_test.cpp function TEST (line 25) | TEST(packagelistparser, smoke) { function TEST (line 92) | TEST(packagelistparser, early_exit) { function TEST (line 118) | TEST(packagelistparser, system_package_list) { function TEST (line 132) | TEST(packagelistparser, packagelist_free_nullptr) { FILE: libprocessgroup/build_flags.h function namespace (line 23) | namespace android::libprocessgroup_flags { FILE: libprocessgroup/cgroup_map.cpp function CgroupMap (line 135) | CgroupMap& CgroupMap::GetInstance() { function CgroupControllerWrapper (line 167) | CgroupControllerWrapper CgroupMap::FindController(const std::string& nam... function CgroupControllerWrapper (line 181) | CgroupControllerWrapper CgroupMap::FindControllerByPath(const std::strin... FILE: libprocessgroup/cgroup_map.h function class (line 28) | class CgroupControllerWrapper { FILE: libprocessgroup/cgrouprc/a_cgroup_controller.cpp function ACgroupController_getVersion (line 25) | uint32_t ACgroupController_getVersion(const ACgroupController* controlle... function ACgroupController_getFlags (line 30) | uint32_t ACgroupController_getFlags(const ACgroupController* controller) { FILE: libprocessgroup/cgrouprc/a_cgroup_file.cpp function CgroupDescriptorMap (line 25) | static CgroupDescriptorMap* LoadDescriptors() { function CgroupDescriptorMap (line 34) | static const CgroupDescriptorMap* GetInstance() { function ACgroupFile_getVersion (line 41) | uint32_t ACgroupFile_getVersion() { function ACgroupFile_getControllerCount (line 49) | uint32_t ACgroupFile_getControllerCount() { function ACgroupController (line 55) | const ACgroupController* ACgroupFile_getController(uint32_t index) { FILE: libprocessgroup/cgrouprc/cgrouprc_internal.h function CgroupController (line 21) | struct ACgroupController : CgroupController {} FILE: libprocessgroup/cgrouprc/include/android/cgrouprc.h type ACgroupController (line 25) | typedef struct ACgroupController ACgroupController; FILE: libprocessgroup/include/processgroup/sched_policy.h type SchedPolicy (line 33) | typedef enum { FILE: libprocessgroup/processgroup.cpp function CgroupsAvailable (line 61) | bool CgroupsAvailable() { function CgroupGetControllerPath (line 66) | bool CgroupGetControllerPath(const std::string& cgroup_name, std::string... function CgroupKillAvailable (line 80) | static bool CgroupKillAvailable() { function CgroupGetMemcgAppsPath (line 96) | static bool CgroupGetMemcgAppsPath(std::string* path) { function CgroupGetControllerFromPath (line 113) | bool CgroupGetControllerFromPath(const std::string& path, std::string* c... function CgroupGetAttributePath (line 127) | bool CgroupGetAttributePath(const std::string& attr_name, std::string* p... function CgroupGetAttributePathForTask (line 142) | bool CgroupGetAttributePathForTask(const std::string& attr_name, pid_t t... function CgroupGetAttributePathForProcess (line 158) | bool CgroupGetAttributePathForProcess(std::string_view attr_name, uid_t ... function UsePerAppMemcg (line 175) | bool UsePerAppMemcg() { function isMemoryCgroupSupported (line 180) | static bool isMemoryCgroupSupported() { function DropTaskProfilesResourceCaching (line 186) | void DropTaskProfilesResourceCaching() { function SetProcessProfiles (line 191) | bool SetProcessProfiles(uid_t uid, pid_t pid, const std::vector& profiles... function SetTaskProfiles (line 215) | bool SetTaskProfiles(pid_t tid, std::initializer_list ... function SetTaskProfiles (line 221) | bool SetTaskProfiles(pid_t tid, std::span profil... function android_set_process_profiles (line 230) | bool android_set_process_profiles(uid_t uid, pid_t pid, size_t num_profi... function SetUserProfiles (line 240) | bool SetUserProfiles(uid_t uid, const std::vector& profiles) { function RemoveCgroup (line 245) | static int RemoveCgroup(const char* cgroup, uid_t uid, pid_t pid, bool v... function RemoveEmptyUidCgroups (line 265) | static bool RemoveEmptyUidCgroups(const std::string& uid_path) { function removeAllEmptyProcessGroups (line 292) | void removeAllEmptyProcessGroups() { function MkdirAndChown (line 339) | static bool MkdirAndChown(const std::string& path, mode_t mode, uid_t ui... function sendSignalToProcessGroup (line 383) | bool sendSignalToProcessGroup(uid_t uid, pid_t initialPid, int signal) { function toMillisec (line 487) | static std::chrono::milliseconds toMillisec(T&& duration) { type populated_status (line 491) | enum class populated_status function populated_status (line 498) | static populated_status cgroupIsPopulated(int events_fd) { function KillProcessGroup (line 537) | static int KillProcessGroup( function killProcessGroup (line 651) | int killProcessGroup(uid_t uid, pid_t initialPid, int signal) { function killProcessGroupOnce (line 655) | int killProcessGroupOnce(uid_t uid, pid_t initialPid, int signal) { function createProcessGroupInternal (line 659) | static int createProcessGroupInternal(uid_t uid, pid_t initialPid, std::... function createProcessGroup (line 705) | int createProcessGroup(uid_t uid, pid_t initialPid, bool memControl) { function SetProcessGroupValue (line 736) | static bool SetProcessGroupValue(pid_t tid, const std::string& attr_name... function setProcessGroupSwappiness (line 755) | bool setProcessGroupSwappiness(uid_t, pid_t pid, int swappiness) { function setProcessGroupSoftLimit (line 759) | bool setProcessGroupSoftLimit(uid_t, pid_t pid, int64_t soft_limit_in_by... function setProcessGroupLimit (line 763) | bool setProcessGroupLimit(uid_t, pid_t pid, int64_t limit_in_bytes) { function isProfileValidForProcess (line 767) | bool isProfileValidForProcess(const std::string& profile_name, uid_t uid... FILE: libprocessgroup/profiles/cgroups_test.h function namespace (line 28) | namespace android { FILE: libprocessgroup/profiles/task_profiles_test.h function namespace (line 26) | namespace android { FILE: libprocessgroup/profiles/test.cpp type android (line 27) | namespace android { type profiles (line 28) | namespace profiles { function JsonSchemaTestConfigFactory (line 31) | JsonSchemaTestConfigFactory MakeTestParam(const std::string& path) { function main (line 49) | int main(int argc, char** argv) { FILE: libprocessgroup/profiles/test_vendor.cpp type android (line 27) | namespace android { type profiles (line 28) | namespace profiles { class TestConfig (line 34) | class TestConfig : public JsonSchemaTestConfig { method TestConfig (line 36) | TestConfig(const std::string& path) : file_path_(path){} method CreateMessage (line 37) | std::unique_ptr CreateMessage() const o... method file_path (line 40) | std::string file_path() const override { return file_path_; } method optional (line 41) | bool optional() const override { function JsonSchemaTestConfigFactory (line 51) | JsonSchemaTestConfigFactory MakeTestParam(const std::string& path) { function main (line 68) | int main(int argc, char** argv) { FILE: libprocessgroup/sched_policy.cpp function SchedPolicy (line 36) | static inline SchedPolicy _policy(SchedPolicy p) { function set_cpuset_policy (line 42) | int set_cpuset_policy(pid_t tid, SchedPolicy policy) { function set_sched_policy (line 70) | int set_sched_policy(pid_t tid, SchedPolicy policy) { function cpusets_enabled (line 146) | bool cpusets_enabled() { function cpuctl_enabled (line 151) | static bool cpuctl_enabled() { function getCGroupSubsys (line 155) | static int getCGroupSubsys(pid_t tid, const char* subsys, std::string& s... function get_sched_policy_from_group (line 166) | static int get_sched_policy_from_group(const std::string& group, SchedPo... function get_sched_policy (line 188) | int get_sched_policy(pid_t tid, SchedPolicy* policy) { function set_sched_policy (line 220) | int set_sched_policy(int, SchedPolicy) { function get_sched_policy (line 224) | int get_sched_policy(int, SchedPolicy* policy) { FILE: libprocessgroup/setup/cgroup_descriptor.h function class (line 27) | class CgroupDescriptor { FILE: libprocessgroup/setup/cgroup_map_write.cpp function ChangeDirModeAndOwner (line 44) | static bool ChangeDirModeAndOwner(const std::string& path, mode_t mode, ... function Mkdir (line 99) | static bool Mkdir(const std::string& path, mode_t mode, const std::strin... function IsOptionalController (line 134) | static bool IsOptionalController(const CgroupController* controller) { function MountV2CgroupController (line 138) | static bool MountV2CgroupController(const CgroupDescriptor& descriptor) { function ActivateV2CgroupController (line 172) | static bool ActivateV2CgroupController(const CgroupDescriptor& descripto... function MountV1CgroupController (line 183) | static bool MountV1CgroupController(const CgroupDescriptor& descriptor) { function SetupCgroup (line 218) | static bool SetupCgroup(const CgroupDescriptor& descriptor) { function SetupCgroup (line 235) | static bool SetupCgroup(const CgroupDescriptor&) { function CreateV2SubHierarchy (line 260) | static bool CreateV2SubHierarchy(const std::string& path, const CgroupDe... function CgroupSetup (line 275) | bool CgroupSetup() { FILE: libprocessgroup/task_profiles.cpp class FdCacheHelper (line 60) | class FdCacheHelper { type FdState (line 62) | enum FdState { method IsCached (line 74) | static bool IsCached(const android::base::unique_fd& fd) { return fd >... function isSystemApp (line 140) | static bool isSystemApp(uid_t uid) { function ConvertUidToPath (line 144) | std::string ConvertUidToPath(const char* root_cgroup_path, uid_t uid, bo... function ConvertUidPidToPath (line 154) | std::string ConvertUidPidToPath(const char* root_cgroup_path, uid_t uid,... type dirent (line 555) | struct dirent type sched_param (line 674) | struct sched_param function TaskProfiles (line 818) | TaskProfiles& TaskProfiles::GetInstance() { function TaskProfile (line 1074) | TaskProfile* TaskProfiles::GetProfile(std::string_view name) const { function IProfileAttribute (line 1083) | const IProfileAttribute* TaskProfiles::GetAttribute(std::string_view nam... FILE: libprocessgroup/task_profiles.h function class (line 33) | class IProfileAttribute { FILE: libprocessgroup/task_profiles_test.cpp function IsCgroupV2MountedRw (line 40) | bool IsCgroupV2MountedRw() { class ScopedLogCapturer (line 57) | class ScopedLogCapturer { type log_args (line 59) | struct log_args { method ScopedLogCapturer (line 69) | ScopedLogCapturer() { method ScopedLogCapturer (line 89) | ScopedLogCapturer(const ScopedLogCapturer&) = delete; method ScopedLogCapturer (line 90) | ScopedLogCapturer& operator=(const ScopedLogCapturer&) = delete; class ProfileAttributeMock (line 101) | class ProfileAttributeMock : public IProfileAttribute { method ProfileAttributeMock (line 103) | ProfileAttributeMock(const std::string& file_name) : file_name_(file_n... method Reset (line 105) | void Reset(const CgroupControllerWrapper&, const std::string&, const s... method CgroupControllerWrapper (line 108) | const CgroupControllerWrapper* controller() const override { method GetPathForProcess (line 113) | bool GetPathForProcess(uid_t, pid_t pid, std::string* path) const over... method GetPathForTask (line 116) | bool GetPathForTask(int, std::string* path) const override { method GetPathForUID (line 131) | bool GetPathForUID(uid_t, std::string*) const override { return false; } type TestParam (line 137) | struct TestParam { class SetAttributeFixture (line 147) | class SetAttributeFixture : public TestWithParam { function TEST_P (line 152) | TEST_P(SetAttributeFixture, SetAttribute) { class TaskProfileFixture (line 179) | class TaskProfileFixture : public TestWithParam { function TEST_P (line 184) | TEST_P(TaskProfileFixture, TaskProfile) { FILE: libprocessgroup/tools/settaskprofile.cpp function usage (line 23) | [[noreturn]] static void usage(int exit_status) { function main (line 33) | int main(int argc, char* argv[]) { FILE: libprocessgroup/util/include/processgroup/cgroup_controller.h type CgroupController (line 24) | struct CgroupController { FILE: libprocessgroup/util/include/processgroup/cgroup_descriptor.h function class (line 27) | class CgroupDescriptor { FILE: libprocessgroup/util/tests/util.cpp function TEST (line 21) | TEST(EmptyInputs, bothEmpty) { function TEST (line 25) | TEST(EmptyInputs, rootEmpty) { function TEST (line 29) | TEST(EmptyInputs, pathEmpty) { function TEST (line 33) | TEST(InvalidInputs, pathNotInRoot) { function TEST (line 37) | TEST(InvalidInputs, rootLargerThanPath) { function TEST (line 41) | TEST(InvalidInputs, pathLargerThanRoot) { function TEST (line 45) | TEST(InvalidInputs, missingSeparator) { function TEST (line 49) | TEST(ExtraSeparators, root) { function TEST (line 62) | TEST(SeparatorEndings, rootEndsInSeparator) { function TEST (line 69) | TEST(SeparatorEndings, pathEndsInSeparator) { function TEST (line 76) | TEST(ValidInputs, rootHasZeroDepth) { function TEST (line 83) | TEST(ValidInputs, atLeastDepth10) { function TEST (line 87) | TEST(ValidInputs, androidCgroupNames) { function TEST (line 98) | TEST(ValidInputs, androidCgroupNames_nonDefaultRoot) { FILE: libprocessgroup/util/util.cpp function DeduplicateAndTrimSeparators (line 50) | std::string DeduplicateAndTrimSeparators(const std::string& path) { function MergeCgroupToDescriptors (line 69) | void MergeCgroupToDescriptors(CgroupDescriptorMap* descriptors, const Js... function ReadDescriptorsFromFile (line 113) | bool ReadDescriptorsFromFile(const std::string& file_name, CgroupDescrip... function ReadCgroupV1Mounts (line 157) | static std::optional> ReadCgroupV1Mounts() { function GetCgroupDepth (line 180) | unsigned int GetCgroupDepth(const std::string& controller_root, const st... function ReadDescriptors (line 190) | bool ReadDescriptors(CgroupDescriptorMap* descriptors) { function ActivateControllers (line 235) | bool ActivateControllers(const std::string& path, const CgroupDescriptor... FILE: libprocessgroup/vts/vts_libprocessgroup.cpp function isMemcgV2Enabled (line 39) | std::optional isMemcgV2Enabled() { function checkRootSubtreeState (line 70) | std::optional checkRootSubtreeState() { class MemcgV2SubdirTest (line 82) | class MemcgV2SubdirTest : public testing::Test { method SetUp (line 86) | void SetUp() override { method TearDown (line 115) | void TearDown() override { function TEST_F (line 135) | TEST_F(MemcgV2SubdirTest, CanActivateMemcgV2Subtree) { FILE: libsparse/append2simg.cpp function usage (line 43) | void usage() { function main (line 47) | int main(int argc, char* argv[]) { FILE: libsparse/backed_block.cpp type backed_block (line 26) | struct backed_block { type backed_block_type (line 29) | enum backed_block_type type backed_block (line 46) | struct backed_block type backed_block_list (line 49) | struct backed_block_list { type backed_block (line 50) | struct backed_block type backed_block (line 51) | struct backed_block type backed_block (line 55) | struct backed_block type backed_block_type (line 29) | enum backed_block_type type backed_block (line 46) | struct backed_block type backed_block_list (line 55) | struct backed_block_list type backed_block (line 50) | struct backed_block type backed_block (line 51) | struct backed_block type backed_block (line 59) | struct backed_block type backed_block_type (line 29) | enum backed_block_type type backed_block (line 46) | struct backed_block type backed_block (line 59) | struct backed_block type backed_block_type (line 29) | enum backed_block_type type backed_block (line 46) | struct backed_block function backed_block_len (line 63) | uint64_t backed_block_len(struct backed_block* bb) { function backed_block_block (line 67) | unsigned int backed_block_block(struct backed_block* bb) { type backed_block (line 71) | struct backed_block type backed_block_type (line 29) | enum backed_block_type type backed_block (line 46) | struct backed_block type backed_block (line 76) | struct backed_block type backed_block_type (line 29) | enum backed_block_type type backed_block (line 46) | struct backed_block function backed_block_fd (line 81) | int backed_block_fd(struct backed_block* bb) { function backed_block_file_offset (line 86) | int64_t backed_block_file_offset(struct backed_block* bb) { function backed_block_fill_val (line 95) | uint32_t backed_block_fill_val(struct backed_block* bb) { function backed_block_type (line 100) | enum backed_block_type backed_block_type(struct backed_block* bb) { function backed_block_destroy (line 104) | void backed_block_destroy(struct backed_block* bb) { type backed_block_list (line 112) | struct backed_block_list type backed_block (line 50) | struct backed_block type backed_block (line 51) | struct backed_block type backed_block_list (line 113) | struct backed_block_list type backed_block (line 50) | struct backed_block type backed_block (line 51) | struct backed_block type backed_block_list (line 114) | struct backed_block_list type backed_block (line 50) | struct backed_block type backed_block (line 51) | struct backed_block function backed_block_list_destroy (line 119) | void backed_block_list_destroy(struct backed_block_list* bbl) { function backed_block_list_move (line 132) | void backed_block_list_move(struct backed_block_list* from, struct backe... function merge_bb (line 177) | static int merge_bb(struct backed_block_list* bbl, struct backed_block* ... function queue_bb (line 230) | static int queue_bb(struct backed_block_list* bbl, struct backed_block* ... function backed_block_add_fill (line 273) | int backed_block_add_fill(struct backed_block_list* bbl, unsigned int fi... function backed_block_add_data (line 290) | int backed_block_add_data(struct backed_block_list* bbl, void* data, uin... function backed_block_add_file (line 307) | int backed_block_add_file(struct backed_block_list* bbl, const char* fil... function backed_block_add_fd (line 329) | int backed_block_add_fd(struct backed_block_list* bbl, int fd, int64_t o... function backed_block_split (line 346) | int backed_block_split(struct backed_block_list* bbl, struct backed_bloc... FILE: libsparse/backed_block.h type backed_block_list (line 22) | struct backed_block_list type backed_block (line 23) | struct backed_block type backed_block_type (line 25) | enum backed_block_type { type backed_block_list (line 32) | struct backed_block_list type backed_block_list (line 34) | struct backed_block_list type backed_block_list (line 36) | struct backed_block_list type backed_block_list (line 38) | struct backed_block_list type backed_block (line 41) | struct backed_block type backed_block_list (line 41) | struct backed_block_list type backed_block (line 42) | struct backed_block type backed_block (line 42) | struct backed_block type backed_block (line 43) | struct backed_block type backed_block (line 44) | struct backed_block type backed_block (line 45) | struct backed_block type backed_block (line 46) | struct backed_block type backed_block (line 47) | struct backed_block type backed_block (line 48) | struct backed_block type backed_block (line 49) | struct backed_block type backed_block_type (line 50) | enum backed_block_type type backed_block (line 50) | struct backed_block type backed_block_list (line 51) | struct backed_block_list type backed_block (line 51) | struct backed_block type backed_block (line 53) | struct backed_block type backed_block_list (line 53) | struct backed_block_list type backed_block (line 54) | struct backed_block type backed_block (line 54) | struct backed_block type backed_block_list (line 56) | struct backed_block_list type backed_block_list (line 57) | struct backed_block_list type backed_block_list (line 59) | struct backed_block_list type backed_block_list (line 59) | struct backed_block_list type backed_block (line 60) | struct backed_block type backed_block (line 60) | struct backed_block FILE: libsparse/img2simg.cpp function usage (line 40) | void usage() { function main (line 44) | int main(int argc, char* argv[]) { FILE: libsparse/include/sparse/sparse.h type sparse_file (line 28) | struct sparse_file type sparse_file (line 48) | struct sparse_file type sparse_file (line 58) | struct sparse_file type sparse_file (line 78) | struct sparse_file type sparse_file (line 95) | struct sparse_file type sparse_file (line 118) | struct sparse_file type sparse_file (line 144) | struct sparse_file type sparse_file (line 165) | struct sparse_file type sparse_file (line 180) | struct sparse_file type sparse_file (line 187) | struct sparse_file type sparse_file (line 207) | struct sparse_file type sparse_file (line 224) | struct sparse_file type sparse_read_mode (line 239) | enum sparse_read_mode { type sparse_file (line 263) | struct sparse_file type sparse_read_mode (line 263) | enum sparse_read_mode type sparse_file (line 278) | struct sparse_file type sparse_file (line 294) | struct sparse_file type sparse_file (line 311) | struct sparse_file type sparse_file (line 324) | struct sparse_file type sparse_file (line 325) | struct sparse_file type sparse_file (line 334) | struct sparse_file FILE: libsparse/output_file.cpp type output_file_ops (line 63) | struct output_file_ops { type output_file (line 64) | struct output_file type output_file (line 65) | struct output_file type output_file (line 66) | struct output_file type output_file (line 67) | struct output_file type output_file (line 68) | struct output_file type sparse_file_ops (line 71) | struct sparse_file_ops { type output_file (line 72) | struct output_file type output_file (line 73) | struct output_file type output_file (line 74) | struct output_file type output_file (line 75) | struct output_file type output_file (line 76) | struct output_file type output_file (line 79) | struct output_file { type output_file_ops (line 83) | struct output_file_ops type sparse_file_ops (line 84) | struct sparse_file_ops type output_file_gz (line 93) | struct output_file_gz { type output_file (line 94) | struct output_file type output_file_normal (line 100) | struct output_file_normal { type output_file (line 101) | struct output_file type output_file_callback (line 107) | struct output_file_callback { type output_file (line 108) | struct output_file function file_open (line 115) | static int file_open(struct output_file* out, int fd) { function file_skip (line 122) | static int file_skip(struct output_file* out, int64_t cnt) { function file_pad (line 134) | static int file_pad(struct output_file* out, int64_t len) { function file_write (line 146) | static int file_write(struct output_file* out, void* data, size_t len) { function file_close (line 167) | static void file_close(struct output_file* out) { type output_file_ops (line 173) | struct output_file_ops type output_file (line 64) | struct output_file type output_file (line 65) | struct output_file type output_file (line 66) | struct output_file type output_file (line 67) | struct output_file type output_file (line 68) | struct output_file function gz_file_open (line 181) | static int gz_file_open(struct output_file* out, int fd) { function gz_file_skip (line 193) | static int gz_file_skip(struct output_file* out, int64_t cnt) { function gz_file_pad (line 205) | static int gz_file_pad(struct output_file* out, int64_t len) { function gz_file_write (line 228) | static int gz_file_write(struct output_file* out, void* data, size_t len) { function gz_file_close (line 245) | static void gz_file_close(struct output_file* out) { type output_file_ops (line 252) | struct output_file_ops type output_file (line 64) | struct output_file type output_file (line 65) | struct output_file type output_file (line 66) | struct output_file type output_file (line 67) | struct output_file type output_file (line 68) | struct output_file function callback_file_open (line 260) | static int callback_file_open(struct output_file* out __unused, int fd _... function callback_file_skip (line 264) | static int callback_file_skip(struct output_file* out, int64_t off) { function callback_file_pad (line 281) | static int callback_file_pad(struct output_file* out __unused, int64_t l... function callback_file_write (line 285) | static int callback_file_write(struct output_file* out, void* data, size... function callback_file_close (line 291) | static void callback_file_close(struct output_file* out) { type output_file_ops (line 297) | struct output_file_ops type output_file (line 64) | struct output_file type output_file (line 65) | struct output_file type output_file (line 66) | struct output_file type output_file (line 67) | struct output_file type output_file (line 68) | struct output_file function read_all (line 305) | int read_all(int fd, void* buf, size_t len) { function write_fd_chunk_range (line 325) | static bool write_fd_chunk_range(int fd, int64_t offset, uint64_t len, T... function write_sparse_skip_chunk (line 344) | static int write_sparse_skip_chunk(struct output_file* out, uint64_t ski... function write_sparse_fill_chunk (line 368) | static int write_sparse_fill_chunk(struct output_file* out, uint64_t len... function write_sparse_data_chunk (line 399) | static int write_sparse_data_chunk(struct output_file* out, uint64_t len... function write_sparse_fd_chunk (line 450) | static int write_sparse_fd_chunk(struct output_file* out, uint64_t len, ... function write_sparse_end_chunk (line 505) | int write_sparse_end_chunk(struct output_file* out) { type sparse_file_ops (line 530) | struct sparse_file_ops type output_file (line 72) | struct output_file type output_file (line 73) | struct output_file type output_file (line 74) | struct output_file type output_file (line 75) | struct output_file type output_file (line 76) | struct output_file function write_normal_data_chunk (line 538) | static int write_normal_data_chunk(struct output_file* out, uint64_t len... function write_normal_fill_chunk (line 554) | static int write_normal_fill_chunk(struct output_file* out, uint64_t len... function write_normal_fd_chunk (line 577) | static int write_normal_fd_chunk(struct output_file* out, uint64_t len, ... function write_normal_skip_chunk (line 594) | static int write_normal_skip_chunk(struct output_file* out, uint64_t len) { function write_normal_end_chunk (line 598) | int write_normal_end_chunk(struct output_file* out) { type sparse_file_ops (line 602) | struct sparse_file_ops type output_file (line 72) | struct output_file type output_file (line 73) | struct output_file type output_file (line 74) | struct output_file type output_file (line 75) | struct output_file type output_file (line 76) | struct output_file function output_file_close (line 610) | void output_file_close(struct output_file* out) { function output_file_init (line 619) | static int output_file_init(struct output_file* out, int block_size, int... type output_file (line 682) | struct output_file type output_file_ops (line 83) | struct output_file_ops type sparse_file_ops (line 84) | struct sparse_file_ops type output_file_gz (line 683) | struct output_file_gz type output_file (line 94) | struct output_file type output_file_gz (line 684) | struct output_file_gz type output_file (line 94) | struct output_file type output_file_gz (line 684) | struct output_file_gz type output_file (line 94) | struct output_file type output_file (line 695) | struct output_file type output_file_ops (line 83) | struct output_file_ops type sparse_file_ops (line 84) | struct sparse_file_ops type output_file_normal (line 696) | struct output_file_normal type output_file (line 101) | struct output_file type output_file_normal (line 697) | struct output_file_normal type output_file (line 101) | struct output_file type output_file_normal (line 697) | struct output_file_normal type output_file (line 101) | struct output_file type output_file (line 708) | struct output_file type output_file_ops (line 83) | struct output_file_ops type sparse_file_ops (line 84) | struct sparse_file_ops type output_file_callback (line 712) | struct output_file_callback type output_file (line 108) | struct output_file type output_file_callback (line 715) | struct output_file_callback type output_file (line 108) | struct output_file type output_file_callback (line 715) | struct output_file_callback type output_file (line 108) | struct output_file type output_file (line 734) | struct output_file type output_file_ops (line 83) | struct output_file_ops type sparse_file_ops (line 84) | struct sparse_file_ops type output_file (line 737) | struct output_file type output_file_ops (line 83) | struct output_file_ops type sparse_file_ops (line 84) | struct sparse_file_ops function write_data_chunk (line 760) | int write_data_chunk(struct output_file* out, uint64_t len, void* data) { function write_fill_chunk (line 765) | int write_fill_chunk(struct output_file* out, uint64_t len, uint32_t fil... function write_fd_chunk (line 769) | int write_fd_chunk(struct output_file* out, uint64_t len, int fd, int64_... function write_file_chunk (line 774) | int write_file_chunk(struct output_file* out, uint64_t len, const char* ... function write_skip_chunk (line 789) | int write_skip_chunk(struct output_file* out, uint64_t len) { FILE: libsparse/output_file.h type output_file (line 26) | struct output_file type output_file (line 28) | struct output_file type output_file (line 30) | struct output_file type output_file (line 33) | struct output_file type output_file (line 34) | struct output_file type output_file (line 35) | struct output_file type output_file (line 36) | struct output_file type output_file (line 37) | struct output_file type output_file (line 38) | struct output_file FILE: libsparse/simg2img.cpp function usage (line 32) | void usage() { function main (line 36) | int main(int argc, char* argv[]) { FILE: libsparse/simg_dump.py function usage (line 26) | def usage(argv0): function main (line 36) | def main(): FILE: libsparse/sparse.cpp type sparse_file (line 30) | struct sparse_file type sparse_file (line 31) | struct sparse_file type sparse_file (line 31) | struct sparse_file function sparse_file_destroy (line 48) | void sparse_file_destroy(struct sparse_file* s) { function sparse_file_add_data (line 53) | int sparse_file_add_data(struct sparse_file* s, void* data, uint64_t len... function sparse_file_add_fill (line 57) | int sparse_file_add_fill(struct sparse_file* s, uint32_t fill_val, uint6... function sparse_file_add_file (line 62) | int sparse_file_add_file(struct sparse_file* s, const char* filename, in... function sparse_file_add_fd (line 67) | int sparse_file_add_fd(struct sparse_file* s, int fd, int64_t file_offse... function sparse_count_chunks (line 71) | unsigned int sparse_count_chunks(struct sparse_file* s) { function sparse_file_write_block (line 91) | static int sparse_file_write_block(struct output_file* out, struct backe... function write_all_blocks (line 114) | static int write_all_blocks(struct sparse_file* s, struct output_file* o... function sparse_file_write (line 145) | int sparse_file_write(struct sparse_file* s, int fd, bool gz, bool spars... function sparse_file_callback (line 168) | int sparse_file_callback(struct sparse_file* s, bool sparse, bool crc, type chunk_data (line 186) | struct chunk_data { function foreach_chunk_write (line 193) | static int foreach_chunk_write(void* priv, const void* data, size_t len) { function sparse_file_foreach_chunk (line 199) | int sparse_file_foreach_chunk(struct sparse_file* s, bool sparse, bool crc, function out_counter_write (line 230) | static int out_counter_write(void* priv, const void* data __unused, size... function sparse_file_len (line 236) | int64_t sparse_file_len(struct sparse_file* s, bool sparse, bool crc) { function sparse_file_block_size (line 259) | unsigned int sparse_file_block_size(struct sparse_file* s) { function move_chunks_up_to_len (line 263) | static int move_chunks_up_to_len(struct sparse_file* from, struct sparse... function sparse_file_resparse (line 326) | int sparse_file_resparse(struct sparse_file* in_s, unsigned int max_len,... function sparse_file_verbose (line 367) | void sparse_file_verbose(struct sparse_file* s) { FILE: libsparse/sparse_crc32.cpp function sparse_crc32 (line 90) | uint32_t sparse_crc32(uint32_t crc_in, const void* buf, size_t size) { FILE: libsparse/sparse_defs.h type u64 (line 36) | typedef unsigned long long u64; type s64 (line 37) | typedef signed long long s64; type u32 (line 38) | typedef unsigned int u32; type u16 (line 39) | typedef unsigned short int u16; type u8 (line 40) | typedef unsigned char u8; FILE: libsparse/sparse_err.cpp function sparse_default_print (line 23) | void sparse_default_print(const char* fmt, ...) { FILE: libsparse/sparse_file.h type sparse_file (line 26) | struct sparse_file { FILE: libsparse/sparse_format.h type sparse_header_t (line 25) | typedef struct sparse_header { type chunk_header_t (line 46) | typedef struct chunk_header { FILE: libsparse/sparse_fuzzer.cpp function WriteCallback (line 5) | int WriteCallback(void* priv __attribute__((__unused__)), const void* d... function LLVMFuzzerTestOneInput (line 21) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: libsparse/sparse_read.cpp function ErrorString (line 52) | static std::string ErrorString(int err) { class SparseFileSource (line 59) | class SparseFileSource { type sparse_file (line 73) | struct sparse_file class SparseFileFdSource (line 84) | class SparseFileFdSource : public SparseFileSource { method SparseFileFdSource (line 89) | SparseFileFdSource(int fd) : fd(fd) {} method Seek (line 92) | int Seek(int64_t off) override { method GetOffset (line 96) | int64_t GetOffset() override { return lseek64(fd, 0, SEEK_CUR); } method Rewind (line 98) | int Rewind() override { method AddToSparseFile (line 102) | int AddToSparseFile(struct sparse_file* s, int64_t len, unsigned int b... method ReadValue (line 106) | int ReadValue(void* ptr, int len) override { return read_all(fd, ptr, ... method GetCrc32 (line 108) | int GetCrc32(uint32_t* crc32, int64_t len) override { class SparseFileBufSource (line 124) | class SparseFileBufSource : public SparseFileSource { method AccessOkay (line 131) | int AccessOkay(int64_t len) { method SparseFileBufSource (line 141) | SparseFileBufSource(char* buf, uint64_t len) { method Seek (line 149) | int Seek(int64_t off) override { method GetOffset (line 159) | int64_t GetOffset() override { return offset; } method Rewind (line 161) | int Rewind() override { method AddToSparseFile (line 167) | int AddToSparseFile(struct sparse_file* s, int64_t len, unsigned int b... method ReadValue (line 175) | int ReadValue(void* ptr, int len) override { method GetCrc32 (line 186) | int GetCrc32(uint32_t* crc32, int64_t len) override { function verbose_error (line 198) | static void verbose_error(bool verbose, int err, const char* fmt, ...) { function process_raw_chunk (line 212) | static int process_raw_chunk(struct sparse_file* s, unsigned int chunk_s... function process_fill_chunk (line 246) | static int process_fill_chunk(struct sparse_file* s, unsigned int chunk_... function process_skip_chunk (line 287) | static int process_skip_chunk(struct sparse_file* s, unsigned int chunk_... function process_crc32_chunk (line 308) | static int process_crc32_chunk(SparseFileSource* source, unsigned int ch... function process_chunk (line 327) | static int process_chunk(struct sparse_file* s, SparseFileSource* source... function sparse_file_read_sparse (line 377) | static int sparse_file_read_sparse(struct sparse_file* s, SparseFileSour... function do_sparse_file_read_normal (line 460) | static int do_sparse_file_read_normal(struct sparse_file* s, int fd, uin... function sparse_file_read_normal (line 507) | static int sparse_file_read_normal(struct sparse_file* s, int fd) { function sparse_file_read_hole (line 520) | static int sparse_file_read_hole(struct sparse_file* s, int fd) { function sparse_file_read_hole (line 570) | static int sparse_file_read_hole(struct sparse_file* s __unused, int fd ... function sparse_file_read (line 575) | int sparse_file_read(struct sparse_file* s, int fd, enum sparse_read_mod... type sparse_file (line 594) | struct sparse_file type sparse_file (line 599) | struct sparse_file type sparse_file (line 658) | struct sparse_file type sparse_file (line 663) | struct sparse_file type sparse_file (line 668) | struct sparse_file type sparse_file (line 669) | struct sparse_file FILE: libstats/bootstrap/BootstrapClientInternal.cpp type android (line 21) | namespace android { type os (line 22) | namespace os { type stats (line 23) | namespace stats { FILE: libstats/bootstrap/BootstrapClientInternal.h function namespace (line 23) | namespace android { FILE: libstats/bootstrap/StatsBootstrapAtomClient.cpp type android (line 22) | namespace android { type os (line 23) | namespace os { type stats (line 24) | namespace stats { FILE: libstats/bootstrap/include/StatsBootstrapAtomClient.h function namespace (line 21) | namespace android { FILE: libstats/expresslog/Counter.cpp type android (line 23) | namespace android { type expresslog (line 24) | namespace expresslog { FILE: libstats/expresslog/Histogram.cpp type android (line 26) | namespace android { type expresslog (line 27) | namespace expresslog { FILE: libstats/expresslog/include/Counter.h function namespace (line 20) | namespace android { FILE: libstats/expresslog/include/Histogram.h function namespace (line 22) | namespace android { FILE: libstats/expresslog/tests/Histogram_test.cpp type android (line 21) | namespace android { type expresslog (line 22) | namespace expresslog { function TEST (line 25) | TEST(UniformOptions, getBinsCount) { function TEST (line 35) | TEST(UniformOptions, constructZeroBinsCount) { function TEST (line 41) | TEST(UniformOptions, constructNegativeBinsCount) { function TEST (line 47) | TEST(UniformOptions, constructMaxValueLessThanMinValue) { function TEST (line 53) | TEST(UniformOptions, testBinIndexForRangeEqual1) { function TEST (line 61) | TEST(UniformOptions, testBinIndexForRangeEqual2) { function TEST (line 70) | TEST(UniformOptions, testBinIndexForRangeEqual5) { function TEST (line 81) | TEST(UniformOptions, testBinIndexForRangeEqual10) { function TEST (line 94) | TEST(UniformOptions, testBinIndexForRangeEqual90) { FILE: libstats/pull_lazy/libstatspull_lazy.cpp type MethodIndex (line 34) | enum MethodIndex { function PreventLibstatspullLazyLoadingForTests (line 66) | void PreventLibstatspullLazyLoadingForTests() { function BindSymbol (line 80) | static void BindSymbol(void* handle, const char* name, enum MethodIndex ... function InitializeOnce (line 87) | static void InitializeOnce() { function EnsureInitialized (line 120) | static void EnsureInitialized() { function AStatsManager_PullAtomMetadata (line 136) | AStatsManager_PullAtomMetadata* AStatsManager_PullAtomMetadata_obtain() { function AStatsManager_PullAtomMetadata_release (line 140) | void AStatsManager_PullAtomMetadata_release(AStatsManager_PullAtomMetada... function AStatsManager_PullAtomMetadata_setCoolDownMillis (line 144) | void AStatsManager_PullAtomMetadata_setCoolDownMillis(AStatsManager_Pull... function AStatsManager_PullAtomMetadata_getCoolDownMillis (line 149) | int64_t AStatsManager_PullAtomMetadata_getCoolDownMillis(AStatsManager_P... function AStatsManager_PullAtomMetadata_setTimeoutMillis (line 153) | void AStatsManager_PullAtomMetadata_setTimeoutMillis(AStatsManager_PullA... function AStatsManager_PullAtomMetadata_getTimeoutMillis (line 158) | int64_t AStatsManager_PullAtomMetadata_getTimeoutMillis(AStatsManager_Pu... function AStatsManager_PullAtomMetadata_setAdditiveFields (line 162) | void AStatsManager_PullAtomMetadata_setAdditiveFields(AStatsManager_Pull... function AStatsManager_PullAtomMetadata_getNumAdditiveFields (line 169) | int32_t AStatsManager_PullAtomMetadata_getNumAdditiveFields( function AStatsManager_PullAtomMetadata_getAdditiveFields (line 174) | void AStatsManager_PullAtomMetadata_getAdditiveFields(AStatsManager_Pull... function AStatsEvent (line 179) | AStatsEvent* AStatsEventList_addStatsEvent(AStatsEventList* pull_data) { function AStatsManager_setPullAtomCallback (line 183) | void AStatsManager_setPullAtomCallback(int32_t atom_tag, AStatsManager_P... function AStatsManager_clearPullAtomCallback (line 188) | void AStatsManager_clearPullAtomCallback(int32_t atom_tag) { FILE: libstats/pull_lazy/tests/libstatspull_lazy_test.cpp class LibstatspullLazyTest (line 26) | class LibstatspullLazyTest : public ::testing::Test { method SetUp (line 28) | virtual void SetUp() { function TEST_F (line 36) | TEST_F(LibstatspullLazyTest, NoLibstatspullForPullAtomMetadata) { function TEST_F (line 49) | TEST_F(LibstatspullLazyTest, NoLibstatspullForAStatsEventList) { function TEST_F (line 54) | TEST_F(LibstatspullLazyTest, NoLibstatspullForPullAtomCallback) { FILE: libstats/pull_rust/stats_pull.rs type StatsPullResult (line 25) | pub type StatsPullResult = Vec>; type Metadata (line 29) | pub struct Metadata { method new (line 35) | pub fn new() -> Self { method set_cooldown_millis (line 46) | pub fn set_cooldown_millis(&mut self, cooldown_millis: i64) { method get_cooldown_millis (line 52) | pub fn get_cooldown_millis(&self) -> i64 { method set_timeout_millis (line 58) | pub fn set_timeout_millis(&mut self, timeout_millis: i64) { method get_timeout_millis (line 64) | pub fn get_timeout_millis(&self) -> i64 { method set_additive_fields (line 70) | pub fn set_additive_fields(&mut self, additive_fields: &mut [i32]) { method get_additive_fields (line 82) | pub fn get_additive_fields(&self) -> Vec { method drop (line 97) | fn drop(&mut self) { method default (line 104) | fn default() -> Self { function callback_wrapper (line 115) | unsafe extern "C" fn callback_wrapper( function set_pull_atom_callback (line 145) | pub fn set_pull_atom_callback( function clear_pull_atom_callback (line 167) | pub fn clear_pull_atom_callback(atom: Atoms) { FILE: libstats/push_compat/StatsEventCompat.cpp function elapsedRealtimeNano (line 39) | static int64_t elapsedRealtimeNano() { FILE: libstats/push_compat/include/StatsEventCompat.h type AStatsEventApi (line 29) | struct AStatsEventApi { function class (line 49) | class StatsEventCompat { FILE: libstats/push_compat/include/stats_event_list.h type iovec (line 30) | struct iovec function class (line 44) | class stats_event_list { function close (line 58) | int close() { function begin (line 72) | int begin() { function end (line 79) | int end() { function write (line 151) | int write(log_id_t id = LOG_ID_EVENTS) { function AppendInt (line 171) | bool AppendInt(int32_t value) { function AppendLong (line 179) | bool AppendLong(int64_t value) { function AppendString (line 187) | bool AppendString(const char* value) { function AppendString (line 195) | bool AppendString(const char* value, size_t len) { function AppendString (line 203) | bool AppendString(const std::string& value) { function Append (line 211) | bool Append(const std::string& value) { function AppendFloat (line 219) | bool AppendFloat(float value) { function Append (line 233) | bool Append(const char* value, size_t len) { function AppendCharArray (line 241) | bool AppendCharArray(const char* value, size_t len) { FILE: libstats/push_compat/stats_event_list.c type android_log_context_internal (line 25) | typedef struct { type android_log_transport_write (line 41) | struct android_log_transport_write type iovec (line 43) | struct iovec type iovec (line 44) | struct iovec function reset_log_context (line 48) | void reset_log_context(android_log_context ctx) { function stats_write_list (line 68) | int stats_write_list(android_log_context ctx) { function write_to_logger (line 103) | int write_to_logger(android_log_context ctx, log_id_t id) { function note_log_drop (line 123) | void note_log_drop(int error, int tag) { function stats_log_close (line 127) | void stats_log_close() { function __write_to_statsd_initialize_locked (line 137) | static int __write_to_statsd_initialize_locked() { function __write_to_stats_daemon (line 147) | static int __write_to_stats_daemon(struct iovec* vec, size_t nr) { function __write_to_statsd_init (line 174) | static int __write_to_statsd_init(struct iovec* vec, size_t nr) { function copy4LE (line 197) | static inline void copy4LE(uint8_t* buf, uint32_t val) { function android_log_write_char_array (line 206) | int android_log_write_char_array(android_log_context ctx, const char* va... FILE: libstats/push_compat/statsd_writer.cpp function statsd_writer_init_lock (line 44) | void statsd_writer_init_lock() { function statd_writer_trylock (line 52) | int statd_writer_trylock() { function statsd_writer_init_unlock (line 56) | void statsd_writer_init_unlock() { type timespec (line 63) | struct timespec type iovec (line 63) | struct iovec type android_log_transport_write (line 66) | struct android_log_transport_write function statsdOpen (line 77) | static int statsdOpen() { function __statsdClose (line 129) | static void __statsdClose(int negative_errno) { function statsdClose (line 136) | static void statsdClose() { function statsdAvailable (line 140) | static int statsdAvailable() { function statsdNoteDrop (line 150) | static void statsdNoteDrop(int error, int tag) { function statsdWrite (line 156) | static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr) { FILE: libstats/push_compat/statsd_writer.h type android_log_transport_write (line 35) | struct android_log_transport_write { FILE: libstats/push_compat/tests/StatsEventCompat_test.cpp function TEST (line 26) | TEST(StatsEventCompatTest, TestDynamicLoading) { FILE: libstats/socket_lazy/include/statssocket_lazy.h function namespace (line 19) | namespace android::statssocket::lazy { FILE: libstats/socket_lazy/libstatssocket_lazy.cpp type MethodIndex (line 37) | enum MethodIndex { function PreventLibstatssocketLazyLoadingForTests (line 71) | void PreventLibstatssocketLazyLoadingForTests() { type android::statssocket::lazy (line 82) | namespace android::statssocket::lazy { function IsAvailable (line 83) | bool IsAvailable() { function BindSymbol (line 92) | static void BindSymbol(void* handle, const char* name, enum MethodIndex ... function InitializeOnce (line 99) | static void InitializeOnce() { function EnsureInitialized (line 133) | static void EnsureInitialized() { function AStatsEvent (line 149) | AStatsEvent* AStatsEvent_obtain() { function AStatsEvent_build (line 153) | void AStatsEvent_build(AStatsEvent* event) { function AStatsEvent_write (line 157) | int AStatsEvent_write(AStatsEvent* event) { function AStatsEvent_release (line 161) | void AStatsEvent_release(AStatsEvent* event) { function AStatsEvent_setAtomId (line 165) | void AStatsEvent_setAtomId(AStatsEvent* event, uint32_t atomId) { function AStatsEvent_writeInt32 (line 169) | void AStatsEvent_writeInt32(AStatsEvent* event, int32_t value) { function AStatsEvent_writeInt64 (line 173) | void AStatsEvent_writeInt64(AStatsEvent* event, int64_t value) { function AStatsEvent_writeFloat (line 177) | void AStatsEvent_writeFloat(AStatsEvent* event, float value) { function AStatsEvent_writeBool (line 181) | void AStatsEvent_writeBool(AStatsEvent* event, bool value) { function AStatsEvent_writeByteArray (line 185) | void AStatsEvent_writeByteArray(AStatsEvent* event, const uint8_t* buf, ... function AStatsEvent_writeString (line 189) | void AStatsEvent_writeString(AStatsEvent* event, const char* value) { function AStatsEvent_writeStringArray (line 193) | void AStatsEvent_writeStringArray(AStatsEvent* event, const char* const*... function AStatsEvent_writeAttributionChain (line 198) | void AStatsEvent_writeAttributionChain(AStatsEvent* event, const uint32_... function AStatsEvent_addBoolAnnotation (line 203) | void AStatsEvent_addBoolAnnotation(AStatsEvent* event, uint8_t annotatio... function AStatsEvent_addInt32Annotation (line 207) | void AStatsEvent_addInt32Annotation(AStatsEvent* event, uint8_t annotati... function AStatsSocket_close (line 215) | void AStatsSocket_close() { FILE: libstats/socket_lazy/tests/libstatssocket_lazy_test.cpp class LibstatssocketLazyTest (line 28) | class LibstatssocketLazyTest : public ::testing::Test { method SetUp (line 30) | virtual void SetUp() { function TEST_F (line 38) | TEST_F(LibstatssocketLazyTest, NoLibstatssocketForStatsEvent) { function TEST_F (line 59) | TEST_F(LibstatssocketLazyTest, NoLibstatssocketForStatsSocket) { function TEST_F (line 63) | TEST_F(LibstatssocketLazyTest, IsAvailableFalse) { FILE: libsuspend/autosuspend.c type autosuspend_ops (line 27) | struct autosuspend_ops function autosuspend_init (line 30) | static int autosuspend_init(void) { function autosuspend_enable (line 45) | int autosuspend_enable(void) { function autosuspend_disable (line 68) | int autosuspend_disable(void) { function autosuspend_force_suspend (line 91) | int autosuspend_force_suspend(int timeout_ms) { function autosuspend_set_wakeup_callback (line 104) | void autosuspend_set_wakeup_callback(void (*func)(bool success)) { FILE: libsuspend/autosuspend_ops.h type autosuspend_ops (line 20) | struct autosuspend_ops { FILE: libsuspend/autosuspend_wakeup_count.cpp function update_sleep_time (line 56) | static void update_sleep_time(bool success) { function init_state_fd (line 115) | static int init_state_fd(void) { function autosuspend_init (line 131) | static int autosuspend_init(void) { function autosuspend_wakeup_count_enable (line 171) | static int autosuspend_wakeup_count_enable(void) { function autosuspend_wakeup_count_disable (line 190) | static int autosuspend_wakeup_count_disable(void) { function force_suspend (line 208) | static int force_suspend(int timeout_ms) { function autosuspend_set_wakeup_callback (line 219) | static void autosuspend_set_wakeup_callback(void (*func)(bool success)) { type autosuspend_ops (line 227) | struct autosuspend_ops type autosuspend_ops (line 234) | struct autosuspend_ops FILE: libsync/include/ndk/sync.h type sync_fence_info (line 86) | struct sync_fence_info type sync_file_info (line 86) | struct sync_file_info type sync_fence_info (line 91) | struct sync_fence_info type sync_file_info (line 100) | struct sync_file_info FILE: libsync/sync.c type sync_fence_info_data (line 38) | struct sync_fence_info_data { type sync_pt_info (line 44) | struct sync_pt_info { type sync_fence_info_data (line 52) | struct sync_fence_info_data type sync_pt_info (line 53) | struct sync_pt_info type sync_fence_info_data (line 53) | struct sync_fence_info_data type sync_pt_info (line 53) | struct sync_pt_info type sync_fence_info_data (line 54) | struct sync_fence_info_data type sync_legacy_merge_data (line 58) | struct sync_legacy_merge_data { type sw_sync_create_fence_data (line 96) | struct sw_sync_create_fence_data { type uapi_version (line 115) | enum uapi_version { function sync_wait (line 124) | int sync_wait(int fd, int timeout) function legacy_sync_merge (line 154) | static int legacy_sync_merge(const char *name, int fd1, int fd2) function modern_sync_merge (line 167) | static int modern_sync_merge(const char *name, int fd1, int fd2) function sync_merge (line 183) | int sync_merge(const char *name, int fd1, int fd2) type sync_fence_info_data (line 209) | struct sync_fence_info_data type sync_fence_info_data (line 211) | struct sync_fence_info_data type sync_pt_info (line 212) | struct sync_pt_info type sync_file_info (line 228) | struct sync_file_info type sync_file_info (line 230) | struct sync_file_info type sync_file_info (line 231) | struct sync_file_info type sync_file_info (line 239) | struct sync_file_info type sync_fence_info (line 240) | struct sync_fence_info type sync_fence_info_data (line 256) | struct sync_fence_info_data type sync_file_info (line 257) | struct sync_file_info type sync_fence_info_data (line 259) | struct sync_fence_info_data type sync_pt_info (line 260) | struct sync_pt_info type sync_fence_info (line 261) | struct sync_fence_info type sync_pt_info (line 268) | struct sync_pt_info type sync_pt_info (line 272) | struct sync_pt_info type sync_file_info (line 286) | struct sync_file_info type sync_fence_info_data (line 287) | struct sync_fence_info_data type sync_file_info (line 289) | struct sync_file_info type sync_pt_info (line 290) | struct sync_pt_info type sync_fence_info (line 291) | struct sync_fence_info type sync_file_info (line 300) | struct sync_file_info type sync_fence_info (line 301) | struct sync_fence_info type sync_fence_info_data (line 325) | struct sync_fence_info_data type sync_fence_info_data (line 327) | struct sync_fence_info_data type sync_file_info (line 343) | struct sync_file_info type sync_file_info (line 356) | struct sync_file_info type sync_file_info (line 358) | struct sync_file_info type sync_fence_info_data (line 374) | struct sync_fence_info_data type sync_pt_info (line 387) | struct sync_pt_info type sync_fence_info_data (line 387) | struct sync_fence_info_data type sync_pt_info (line 388) | struct sync_pt_info type sync_pt_info (line 391) | struct sync_pt_info type sync_pt_info (line 393) | struct sync_pt_info function sync_fence_info_free (line 401) | void sync_fence_info_free(struct sync_fence_info_data *info) function sync_file_info_free (line 406) | void sync_file_info_free(struct sync_file_info *info) function sw_sync_timeline_create (line 412) | int sw_sync_timeline_create(void) function sw_sync_timeline_inc (line 423) | int sw_sync_timeline_inc(int fd, unsigned count) function sw_sync_fence_create (line 430) | int sw_sync_fence_create(int fd, const char *name, unsigned value) FILE: libsync/tests/sync_test.cpp type sync_fence_info_data (line 25) | struct sync_fence_info_data { type sync_pt_info (line 32) | struct sync_pt_info { type sync_fence_info_data (line 41) | struct sync_fence_info_data type sync_pt_info (line 42) | struct sync_pt_info type sync_fence_info_data (line 42) | struct sync_fence_info_data type sync_pt_info (line 42) | struct sync_pt_info type sync_fence_info_data (line 43) | struct sync_fence_info_data class SyncTimeline (line 56) | class SyncTimeline { method SyncTimeline (line 60) | SyncTimeline(const SyncTimeline &) = delete; method SyncTimeline (line 61) | SyncTimeline& operator=(SyncTimeline&) = delete; method SyncTimeline (line 62) | SyncTimeline() noexcept { method destroy (line 69) | void destroy() { method isValid (line 79) | bool isValid() const { method getFd (line 91) | int getFd() const { method inc (line 94) | int inc(int val = 1) { type SyncPointInfo (line 99) | struct SyncPointInfo { class SyncFence (line 107) | class SyncFence { method setFd (line 112) | void setFd(int fd) { method clearFd (line 116) | void clearFd() { method isValid (line 121) | bool isValid() const { method SyncFence (line 133) | SyncFence& operator=(SyncFence &&rhs) noexcept { method SyncFence (line 141) | SyncFence(SyncFence &&fence) noexcept { method SyncFence (line 147) | SyncFence(const SyncFence &fence) noexcept { method SyncFence (line 157) | SyncFence(const SyncTimeline &timeline, method SyncFence (line 168) | SyncFence(const SyncFence &a, const SyncFence &b, const char *name = n... method SyncFence (line 177) | SyncFence(const vector &sources) noexcept { method destroy (line 188) | void destroy() { method getFd (line 197) | int getFd() const { method wait (line 200) | int wait(int timeout = -1) { method getInfo (line 203) | vector getInfo() const { method getSize (line 220) | int getSize() const { method getSignaledCount (line 223) | int getSignaledCount() const { method getActiveCount (line 226) | int getActiveCount() const { method getErrorCount (line 229) | int getErrorCount() const { method countWithStatus (line 233) | int countWithStatus(int status) const { function CheckModernLegacyInfoMatch (line 244) | static void CheckModernLegacyInfoMatch(const SyncFence& f) { function TEST (line 272) | TEST(AllocTest, Timeline) { function TEST (line 277) | TEST(AllocTest, Fence) { function TEST (line 286) | TEST(AllocTest, FenceNegative) { function TEST (line 301) | TEST(FenceTest, OneTimelineWait) { function TEST (line 330) | TEST(FenceTest, OneTimelinePoll) { function TEST (line 357) | TEST(FenceTest, OneTimelineMerge) { function TEST (line 397) | TEST(FenceTest, MergeSameFence) { function TEST (line 415) | TEST(FenceTest, PollOnDestroyedTimeline) { function TEST (line 445) | TEST(FenceTest, MultiTimelineWait) { function TEST (line 480) | TEST(FenceTest, GetInfoActive) { function TEST (line 496) | TEST(FenceTest, GetInfoSignaled) { function TEST (line 515) | TEST(StressTest, TwoThreadsSharedTimeline) { class ConsumerStressTest (line 549) | class ConsumerStressTest : public ::testing::TestWithParam {} function TEST_P (line 551) | TEST_P(ConsumerStressTest, MultiProducerSingleConsumer) { class MergeStressTest (line 623) | class MergeStressTest : public ::testing::TestWithParam> {} function TEST_P (line 627) | TEST_P(MergeStressTest, RandomMerge) { FILE: libsystem/include/system/camera.h type camera_face_t (line 243) | typedef struct camera_face { type camera_frame_metadata_t (line 293) | typedef struct camera_frame_metadata { FILE: libsystem/include/system/graphics-base-v1.0.h type android_pixel_format_t (line 12) | typedef enum { type android_transform_t (line 35) | typedef enum { type android_dataspace_t (line 43) | typedef enum { type android_color_mode_t (line 107) | typedef enum { type android_color_transform_t (line 120) | typedef enum { type android_hdr_t (line 130) | typedef enum { FILE: libsystem/include/system/graphics-base-v1.1.h type android_pixel_format_v1_1_t (line 12) | typedef enum { type android_dataspace_v1_1_t (line 22) | typedef enum { type android_color_mode_v1_1_t (line 31) | typedef enum { type android_render_intent_v1_1_t (line 37) | typedef enum { FILE: libsystem/include/system/graphics-base-v1.2.h type android_hdr_v1_2_t (line 12) | typedef enum { type android_dataspace_v1_2_t (line 16) | typedef enum { type android_color_mode_v1_2_t (line 23) | typedef enum { type android_pixel_format_v1_2_t (line 27) | typedef enum { FILE: libsystem/include/system/graphics-sw.h type android_pixel_format_sw_t (line 5) | typedef enum { FILE: libsystem/include/system/graphics.h type android_pixel_format_t (line 39) | typedef android_pixel_format_t android_pixel_format; type android_transform_t (line 40) | typedef android_transform_t android_transform; type android_dataspace_t (line 41) | typedef android_dataspace_t android_dataspace; type android_color_mode_t (line 42) | typedef android_color_mode_t android_color_mode; type android_color_transform_t (line 43) | typedef android_color_transform_t android_color_transform; type android_hdr_t (line 44) | typedef android_hdr_t android_hdr; type android_ycbcr (line 84) | struct android_ycbcr { type android_flex_component_t (line 128) | typedef enum android_flex_component { type android_flex_plane_t (line 147) | typedef struct android_flex_plane { type android_flex_format_t (line 170) | typedef enum android_flex_format { type android_flex_layout_t (line 180) | typedef struct android_flex_layout { type android_depth_points (line 225) | struct android_depth_points { type android_xy_color (line 247) | struct android_xy_color { type android_smpte2086_metadata (line 252) | struct android_smpte2086_metadata { type android_cta861_3_metadata (line 261) | struct android_cta861_3_metadata { FILE: libsystem/include/system/radio.h type radio_class_t (line 36) | typedef enum { type radio_band_t (line 43) | typedef enum { type radio_rds_t (line 56) | typedef unsigned int radio_rds_t; type radio_deemphasis_t (line 63) | typedef unsigned int radio_deemphasis_t; type radio_region_t (line 68) | typedef enum { type radio_direction_t (line 78) | typedef enum { type radio_handle_t (line 84) | typedef uint32_t radio_handle_t; type radio_metadata_t (line 87) | typedef struct radio_metadata radio_metadata_t; type radio_hal_fm_band_config_t (line 91) | typedef struct radio_hal_fm_band_config { type radio_hal_am_band_config_t (line 101) | typedef struct radio_hal_am_band_config { type radio_hal_band_config_t (line 109) | typedef struct radio_hal_band_config { type radio_band_config_t (line 123) | typedef struct radio_band_config { type radio_hal_properties_t (line 134) | typedef struct radio_hal_properties { type radio_properties_t (line 149) | typedef struct radio_properties { type radio_program_info_t (line 166) | typedef struct radio_program_info { type radio_event_type_t (line 194) | typedef unsigned int radio_event_type_t; type radio_hal_event_t (line 197) | typedef struct radio_hal_event { type radio_event_t (line 210) | typedef struct radio_event { function radio_rds_t (line 223) | static inline function radio_deemphasis_t (line 240) | static inline FILE: libsysutils/include/sysutils/FrameworkCommand.h function class (line 21) | class FrameworkCommand { FILE: libsysutils/include/sysutils/FrameworkListener.h function class (line 26) | class FrameworkListener : public SocketListener { FILE: libsysutils/include/sysutils/NetlinkEvent.h function class (line 23) | class NetlinkEvent { FILE: libsysutils/include/sysutils/NetlinkListener.h function class (line 23) | class NetlinkListener : public SocketListener { FILE: libsysutils/include/sysutils/ServiceManager.h function class (line 20) | class ServiceManager { FILE: libsysutils/include/sysutils/SocketClient.h function class (line 9) | class SocketClient { FILE: libsysutils/include/sysutils/SocketClientCommand.h function class (line 21) | class SocketClientCommand { FILE: libsysutils/include/sysutils/SocketListener.h function class (line 27) | class SocketListener { FILE: libsysutils/src/NetlinkEvent.cpp function checkRtNetlinkLength (line 132) | static bool checkRtNetlinkLength(const struct nlmsghdr *nh, size_t size) { function maybeLogDuplicateAttribute (line 143) | static bool maybeLogDuplicateAttribute(bool isDup, type nlmsghdr (line 156) | struct nlmsghdr type ifinfomsg (line 157) | struct ifinfomsg type ifinfomsg (line 157) | struct ifinfomsg type rtattr (line 166) | struct rtattr type nlmsghdr (line 190) | struct nlmsghdr type ifaddrmsg (line 191) | struct ifaddrmsg type ifaddrmsg (line 191) | struct ifaddrmsg type ifa_cacheinfo (line 192) | struct ifa_cacheinfo type rtattr (line 212) | struct rtattr type in_addr (line 223) | struct in_addr type in_addr (line 223) | struct in_addr type in6_addr (line 231) | struct in6_addr type in6_addr (line 231) | struct in6_addr type ifa_cacheinfo (line 259) | struct ifa_cacheinfo type nlmsghdr (line 294) | struct nlmsghdr function nlAttrLen (line 308) | static size_t nlAttrLen(const nlattr* nla) { function nlAttrU32 (line 316) | static uint32_t nlAttrU32(const nlattr* nla) { type nlmsghdr (line 323) | struct nlmsghdr type nlattr (line 328) | struct nlattr type genlmsghdr (line 328) | struct genlmsghdr type nlattr (line 333) | struct nlattr type genlmsghdr (line 333) | struct genlmsghdr type nlmsghdr (line 359) | struct nlmsghdr type rtmsg (line 368) | struct rtmsg type rtmsg (line 368) | struct rtmsg type rtattr (line 394) | struct rtattr type nlmsghdr (line 451) | struct nlmsghdr type nduseroptmsg (line 452) | struct nduseroptmsg type nduseroptmsg (line 452) | struct nduseroptmsg type nd_opt_hdr (line 489) | struct nd_opt_hdr type nd_opt_hdr (line 489) | struct nd_opt_hdr type nd_opt_rdnss (line 511) | struct nd_opt_rdnss type nd_opt_rdnss (line 511) | struct nd_opt_rdnss type in6_addr (line 526) | struct in6_addr type in6_addr (line 526) | struct in6_addr type nlmsghdr (line 573) | struct nlmsghdr type nlmsghdr (line 575) | struct nlmsghdr function nlattr (line 711) | nlattr* NetlinkEvent::findNlAttr(const nlmsghdr* nh, size_t hdrlen, uint... FILE: libsysutils/src/SocketClient.cpp type ucred (line 55) | struct ucred type iovec (line 113) | struct iovec type iovec (line 174) | struct iovec type iovec (line 185) | struct iovec type iovec (line 193) | struct iovec FILE: libsysutils/src/SocketListener.cpp type pollfd (line 201) | struct pollfd FILE: libsysutils/src/SocketListener_test.cpp function testSocketPath (line 39) | std::string testSocketPath() { function unique_fd (line 46) | unique_fd serverSocket(const std::string& path) { function unique_fd (line 62) | unique_fd clientSocket(const std::string& path) { function sendCmd (line 75) | void sendCmd(int fd, const char* cmd) { function recvReply (line 80) | std::string recvReply(int fd) { class TestCommand (line 100) | class TestCommand : public FrameworkCommand { method TestCommand (line 102) | TestCommand() : FrameworkCommand("test") {} method runCommand (line 105) | int runCommand(SocketClient* cli, int argc, char** argv) { class TestListener (line 114) | class TestListener : public FrameworkListener { method TestListener (line 116) | TestListener(int fd) : FrameworkListener(fd) { class FrameworkListenerTest (line 123) | class FrameworkListenerTest : public testing::Test { method FrameworkListenerTest (line 125) | FrameworkListenerTest() { method testCommand (line 139) | void testCommand(const char* command, const char* expected) { function TEST_F (line 153) | TEST_F(FrameworkListenerTest, DoesNothing) { function TEST_F (line 158) | TEST_F(FrameworkListenerTest, DispatchesValidCommands) { function TEST_F (line 169) | TEST_F(FrameworkListenerTest, RejectsInvalidCommands) { function TEST_F (line 175) | TEST_F(FrameworkListenerTest, MultipleClients) { FILE: libusbhost/include/usbhost/usbhost.h type usb_host_context (line 34) | struct usb_host_context type usb_endpoint_descriptor (line 35) | struct usb_endpoint_descriptor type usb_descriptor_iter (line 37) | struct usb_descriptor_iter { type usb_request (line 43) | struct usb_request type usb_host_context (line 71) | struct usb_host_context type usb_host_context (line 74) | struct usb_host_context type usb_host_context (line 77) | struct usb_host_context type usb_host_context (line 80) | struct usb_host_context type usb_host_context (line 87) | struct usb_host_context type usb_host_context (line 98) | struct usb_host_context type usb_device (line 105) | struct usb_device type usb_device (line 108) | struct usb_device type usb_device (line 111) | struct usb_device type usb_device (line 114) | struct usb_device type usb_device (line 119) | struct usb_device type usb_device (line 124) | struct usb_device type usb_device (line 136) | struct usb_device type usb_device (line 139) | struct usb_device type usb_device_descriptor (line 142) | struct usb_device_descriptor type usb_device (line 142) | struct usb_device type usb_device (line 158) | struct usb_device type usb_device (line 162) | struct usb_device type usb_device (line 165) | struct usb_device type usb_device (line 173) | struct usb_device type usb_device (line 178) | struct usb_device type usb_device (line 183) | struct usb_device type usb_device (line 187) | struct usb_device type usb_device (line 192) | struct usb_device type usb_device (line 197) | struct usb_device type usb_device (line 202) | struct usb_device type usb_descriptor_iter (line 202) | struct usb_descriptor_iter type usb_descriptor_header (line 207) | struct usb_descriptor_header type usb_descriptor_iter (line 207) | struct usb_descriptor_iter type usb_device (line 210) | struct usb_device type usb_device (line 213) | struct usb_device type usb_device (line 219) | struct usb_device type usb_device (line 223) | struct usb_device type usb_device (line 226) | struct usb_device type usb_device (line 230) | struct usb_device type usb_device (line 242) | struct usb_device type usb_device (line 249) | struct usb_device type usb_request (line 252) | struct usb_request type usb_device (line 252) | struct usb_device type usb_endpoint_descriptor (line 253) | struct usb_endpoint_descriptor type usb_request (line 256) | struct usb_request type usb_request (line 259) | struct usb_request type usb_request (line 265) | struct usb_request type usb_device (line 265) | struct usb_device type usb_request (line 268) | struct usb_request FILE: libusbhost/usbhost.c type usb_host_context (line 65) | struct usb_host_context { type usb_device (line 75) | struct usb_device { function badname (line 83) | static inline int badname(const char *name) function find_existing_devices_bus (line 91) | static int find_existing_devices_bus(char *busname, function find_existing_devices (line 115) | static int find_existing_devices(usb_device_added_cb added_cb, function watch_existing_subdirs (line 138) | static void watch_existing_subdirs(struct usb_host_context *context, type usb_host_context (line 157) | struct usb_host_context type usb_host_context (line 159) | struct usb_host_context type usb_host_context (line 159) | struct usb_host_context function usb_host_cleanup (line 173) | void usb_host_cleanup(struct usb_host_context *context) function usb_host_get_fd (line 179) | int usb_host_get_fd(struct usb_host_context *context) function usb_host_load (line 184) | int usb_host_load(struct usb_host_context *context, function usb_host_read_event (line 223) | int usb_host_read_event(struct usb_host_context *context) function usb_host_run (line 301) | void usb_host_run(struct usb_host_context *context, type usb_device (line 317) | struct usb_device type usb_device (line 352) | struct usb_device function usb_device_close (line 358) | void usb_device_close(struct usb_device *device) type usb_device (line 364) | struct usb_device type usb_device (line 366) | struct usb_device type usb_device (line 366) | struct usb_device function usb_device_reopen_writeable (line 393) | static int usb_device_reopen_writeable(struct usb_device *device) function usb_device_get_fd (line 409) | int usb_device_get_fd(struct usb_device *device) type usb_device (line 416) | struct usb_device function usb_device_get_unique_id (line 421) | int usb_device_get_unique_id(struct usb_device *device) function usb_device_get_unique_id_from_name (line 428) | int usb_device_get_unique_id_from_name(const char* name) function usb_device_get_vendor_id (line 444) | uint16_t usb_device_get_vendor_id(struct usb_device *device) function usb_device_get_product_id (line 450) | uint16_t usb_device_get_product_id(struct usb_device *device) type usb_device_descriptor (line 456) | struct usb_device_descriptor type usb_device (line 456) | struct usb_device type usb_device_descriptor (line 457) | struct usb_device_descriptor function usb_device_get_descriptors_length (line 460) | size_t usb_device_get_descriptors_length(const struct usb_device* device) { type usb_device (line 464) | struct usb_device function usb_device_get_string_ucs2 (line 482) | int usb_device_get_string_ucs2(struct usb_device* device, int id, int ti... type usb_device (line 531) | struct usb_device type usb_device (line 552) | struct usb_device type usb_device_descriptor (line 554) | struct usb_device_descriptor type usb_device_descriptor (line 554) | struct usb_device_descriptor type usb_device (line 558) | struct usb_device type usb_device_descriptor (line 560) | struct usb_device_descriptor type usb_device_descriptor (line 560) | struct usb_device_descriptor function usb_device_get_version (line 564) | int usb_device_get_version(struct usb_device *device) type usb_device (line 570) | struct usb_device type usb_device_descriptor (line 572) | struct usb_device_descriptor type usb_device_descriptor (line 572) | struct usb_device_descriptor function usb_device_is_writeable (line 576) | int usb_device_is_writeable(struct usb_device *device) function usb_descriptor_iter_init (line 581) | void usb_descriptor_iter_init(struct usb_device *device, struct usb_desc... type usb_descriptor_header (line 588) | struct usb_descriptor_header type usb_descriptor_iter (line 588) | struct usb_descriptor_iter type usb_descriptor_header (line 590) | struct usb_descriptor_header type usb_descriptor_header (line 593) | struct usb_descriptor_header function usb_device_claim_interface (line 603) | int usb_device_claim_interface(struct usb_device *device, unsigned int i... function usb_device_release_interface (line 608) | int usb_device_release_interface(struct usb_device *device, unsigned int... function usb_device_connect_kernel_driver (line 613) | int usb_device_connect_kernel_driver(struct usb_device *device, function usb_device_set_configuration (line 624) | int usb_device_set_configuration(struct usb_device *device, int configur... function usb_device_set_interface (line 629) | int usb_device_set_interface(struct usb_device *device, unsigned int int... function usb_device_control_transfer (line 639) | int usb_device_control_transfer(struct usb_device *device, function usb_device_bulk_transfer (line 665) | int usb_device_bulk_transfer(struct usb_device *device, function usb_device_reset (line 681) | int usb_device_reset(struct usb_device *device) type usb_request (line 686) | struct usb_request type usb_device (line 686) | struct usb_device type usb_endpoint_descriptor (line 687) | struct usb_endpoint_descriptor type usbdevfs_urb (line 689) | struct usbdevfs_urb type usbdevfs_urb (line 689) | struct usbdevfs_urb type usb_request (line 704) | struct usb_request type usb_request (line 704) | struct usb_request function usb_request_free (line 719) | void usb_request_free(struct usb_request *req) function usb_request_queue (line 725) | int usb_request_queue(struct usb_request *req) type usb_request (line 741) | struct usb_request type usb_device (line 741) | struct usb_device type pollfd (line 745) | struct pollfd type usbdevfs_urb (line 757) | struct usbdevfs_urb type usb_request (line 768) | struct usb_request type usb_request (line 768) | struct usb_request function usb_request_cancel (line 775) | int usb_request_cancel(struct usb_request *req) FILE: libusbhost/usbhost_jni.cpp function jbyteArray (line 25) | jbyteArray usb_jni_read_descriptors(JNIEnv* env, int fd) { FILE: libutils/BitSet_fuzz.cpp function getOperationsForType (line 26) | std::vector> getOperationsForType() { function runOperationFor32Bit (line 51) | void runOperationFor32Bit(android::BitSet32 bs, uint32_t bit, uint8_t op... function LLVMFuzzerTestOneInput (line 55) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: libutils/BitSet_test.cpp type android (line 25) | namespace android { class BitSet32Test (line 27) | class BitSet32Test : public testing::Test { method TearDown (line 31) | virtual void TearDown() { function TEST_F (line 38) | TEST_F(BitSet32Test, BitWiseOr) { function TEST_F (line 53) | TEST_F(BitSet32Test, BitWiseAnd_Disjoint) { function TEST_F (line 69) | TEST_F(BitSet32Test, BitWiseAnd_NonDisjoint) { function TEST_F (line 89) | TEST_F(BitSet32Test, MarkFirstUnmarkedBit) { function TEST_F (line 101) | TEST_F(BitSet32Test, ClearFirstMarkedBit) { function TEST_F (line 115) | TEST_F(BitSet32Test, ClearLastMarkedBit) { function TEST_F (line 129) | TEST_F(BitSet32Test, FillAndClear) { function TEST_F (line 139) | TEST_F(BitSet32Test, GetIndexOfBit) { class BitSet64Test (line 149) | class BitSet64Test : public testing::Test { method TearDown (line 153) | virtual void TearDown() { function TEST_F (line 160) | TEST_F(BitSet64Test, BitWiseOr) { function TEST_F (line 175) | TEST_F(BitSet64Test, BitWiseAnd_Disjoint) { function TEST_F (line 191) | TEST_F(BitSet64Test, BitWiseAnd_NonDisjoint) { function TEST_F (line 211) | TEST_F(BitSet64Test, MarkFirstUnmarkedBit) { function TEST_F (line 223) | TEST_F(BitSet64Test, ClearFirstMarkedBit) { function TEST_F (line 237) | TEST_F(BitSet64Test, ClearLastMarkedBit) { function TEST_F (line 251) | TEST_F(BitSet64Test, FillAndClear) { function TEST_F (line 261) | TEST_F(BitSet64Test, GetIndexOfBit) { FILE: libutils/CallStack.cpp type android (line 28) | namespace android { function String8 (line 74) | String8 CallStack::toString(const char* prefix) const { function String8 (line 106) | String8 CallStack::stackToStringInternal(const char* prefix, const Cal... FILE: libutils/CallStack_fuzz.cpp function LLVMFuzzerTestOneInput (line 25) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: libutils/CallStack_test.cpp function CurrentCaller (line 31) | CurrentCaller(android::String8& backtrace) { function TEST (line 37) | TEST(CallStackTest, current_backtrace) { function ThreadBusyWait (line 44) | ThreadBusyWait(std::atomic* tid, function TEST (line 51) | TEST(CallStackTest, thread_backtrace) { function TEST (line 72) | TEST(CallStackTest, log_stack) { FILE: libutils/FileMap.cpp function FileMap (line 88) | FileMap& FileMap::operator=(FileMap&& other) noexcept { FILE: libutils/FileMap_fuzz.cpp function LLVMFuzzerTestOneInput (line 25) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: libutils/FileMap_test.cpp function TEST (line 23) | TEST(FileMap, zero_length_mapping) { function TEST (line 36) | TEST(FileMap, large_offset) { function TEST (line 56) | TEST(FileMap, offset_overflow) { FILE: libutils/JenkinsHash.cpp type android (line 25) | namespace android { function hash_t (line 28) | __attribute__((no_sanitize("integer"))) function JenkinsHashMixBytes (line 37) | uint32_t JenkinsHashMixBytes(uint32_t hash, const uint8_t* bytes, size... function JenkinsHashMixShorts (line 56) | uint32_t JenkinsHashMixShorts(uint32_t hash, const uint16_t* shorts, s... FILE: libutils/LightRefBase.cpp type android (line 23) | namespace android { function LightRefBase_reportIncStrongRequireStrongFailed (line 25) | void LightRefBase_reportIncStrongRequireStrongFailed(const void* thiz) { FILE: libutils/Looper.cpp type android (line 25) | namespace android { function epoll_event (line 31) | epoll_event createEpollEvent(uint32_t events, uint64_t seq) { type epoll_event (line 221) | struct epoll_event FILE: libutils/Looper_fuzz.cpp function doNothing (line 33) | void doNothing() {} function noopCallback (line 36) | static int noopCallback(int, int, void*) { function LLVMFuzzerTestOneInput (line 71) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: libutils/Looper_test.cpp type android (line 22) | namespace android { class DelayedTask (line 31) | class DelayedTask : public Thread { method DelayedTask (line 35) | explicit DelayedTask(int delayMillis) : mDelayMillis(delayMillis) { } method threadLoop (line 42) | virtual bool threadLoop() { class DelayedWake (line 49) | class DelayedWake : public DelayedTask { method DelayedWake (line 53) | DelayedWake(int delayMillis, const sp looper) : method doTask (line 58) | virtual void doTask() { class DelayedWriteSignal (line 63) | class DelayedWriteSignal : public DelayedTask { method DelayedWriteSignal (line 67) | DelayedWriteSignal(int delayMillis, Pipe* pipe) : method doTask (line 72) | virtual void doTask() { class CallbackHandler (line 77) | class CallbackHandler { method setCallback (line 79) | void setCallback(const sp& looper, int fd, int events) { method staticHandler (line 89) | static int staticHandler(int fd, int events, void* data) { class StubCallbackHandler (line 94) | class StubCallbackHandler : public CallbackHandler { method StubCallbackHandler (line 102) | explicit StubCallbackHandler(int nextResult) : nextResult(nextResult), method handler (line 107) | virtual int handler(int fd, int events) { class StubMessageHandler (line 115) | class StubMessageHandler : public MessageHandler { method handleMessage (line 119) | virtual void handleMessage(const Message& message) { class LooperTest (line 124) | class LooperTest : public testing::Test { method SetUp (line 128) | virtual void SetUp() { method TearDown (line 132) | virtual void TearDown() { function TEST_F (line 138) | TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndNotAwoken_WaitsForTim... function TEST_F (line 149) | TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndAwokenBeforeWaiting_I... function TEST_F (line 162) | TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndAwokenWhileWaiting_Pr... function TEST_F (line 176) | TEST_F(LooperTest, PollOnce_WhenZeroTimeoutAndNoRegisteredFDs_Immediat... function TEST_F (line 187) | TEST_F(LooperTest, PollOnce_WhenZeroTimeoutAndNoSignalledFDs_Immediate... function TEST_F (line 205) | TEST_F(LooperTest, PollOnce_WhenZeroTimeoutAndSignalledFD_ImmediatelyI... function TEST_F (line 228) | TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndNoSignalledFDs_WaitsF... function TEST_F (line 246) | TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndSignalledFDBeforeWait... function TEST_F (line 271) | TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndSignalledFDWhileWaiti... function TEST_F (line 297) | TEST_F(LooperTest, PollOnce_WhenCallbackAddedThenRemoved_CallbackShoul... function TEST_F (line 319) | TEST_F(LooperTest, PollOnce_WhenCallbackReturnsFalse_CallbackShouldNot... function TEST_F (line 358) | TEST_F(LooperTest, PollOnce_WhenNonCallbackFdIsSignalled_ReturnsIdent) { function TEST_F (line 388) | TEST_F(LooperTest, AddFd_WhenCallbackAdded_ReturnsOne) { function TEST_F (line 396) | TEST_F(LooperTest, AddFd_WhenIdentIsNegativeAndCallbackIsNull_ReturnsE... function TEST_F (line 404) | TEST_F(LooperTest, AddFd_WhenNoCallbackAndAllowNonCallbacksIsFalse_Ret... class LooperCallbackStub (line 413) | class LooperCallbackStub final : public LooperCallback { method LooperCallbackStub (line 415) | LooperCallbackStub(std::function callback) : mCallback{callba... method handleEvent (line 417) | int handleEvent(int /*fd*/, int /*events*/, void* /*data*/) override... function TEST_F (line 423) | TEST_F(LooperTest, getFdStateDebug_WhenFdIsInRequests_ReturnsTrue) { function TEST_F (line 447) | TEST_F(LooperTest, getFdStateDebug_WhenFdIsNotInRequests_ReturnsFalse) { function TEST_F (line 459) | TEST_F(LooperTest, RemoveFd_WhenCallbackNotAdded_ReturnsZero) { function TEST_F (line 466) | TEST_F(LooperTest, RemoveFd_WhenCallbackAddedThenRemovedTwice_ReturnsO... function TEST_F (line 484) | TEST_F(LooperTest, PollOnce_WhenCallbackAddedTwice_OnlySecondCallbackS... function TEST_F (line 509) | TEST_F(LooperTest, SendMessage_WhenOneMessageIsEnqueue_ShouldInvokeHan... function TEST_F (line 527) | TEST_F(LooperTest, SendMessage_WhenMultipleMessagesAreEnqueued_ShouldI... function TEST_F (line 557) | TEST_F(LooperTest, SendMessageDelayed_WhenSentToTheFuture_ShouldInvoke... function TEST_F (line 593) | TEST_F(LooperTest, SendMessageDelayed_WhenSentToThePast_ShouldInvokeHa... function TEST_F (line 611) | TEST_F(LooperTest, SendMessageDelayed_WhenSentToThePresent_ShouldInvok... function TEST_F (line 629) | TEST_F(LooperTest, SendMessageAtTime_WhenSentToTheFuture_ShouldInvokeH... function TEST_F (line 666) | TEST_F(LooperTest, SendMessageAtTime_WhenSentToThePast_ShouldInvokeHan... function TEST_F (line 685) | TEST_F(LooperTest, SendMessageAtTime_WhenSentToThePresent_ShouldInvoke... function TEST_F (line 704) | TEST_F(LooperTest, RemoveMessage_WhenRemovingAllMessagesForHandler_Sho... function TEST_F (line 730) | TEST_F(LooperTest, RemoveMessage_WhenRemovingSomeMessagesForHandler_Sh... class LooperEventCallback (line 762) | class LooperEventCallback : public LooperCallback { method LooperEventCallback (line 765) | explicit LooperEventCallback(Callback callback) : mCallback(std::mov... method handleEvent (line 766) | int handleEvent(int fd, int events, void* /*data*/) override { retur... class ThreadedLooperUtil (line 774) | class ThreadedLooperUtil { method ThreadedLooperUtil (line 776) | explicit ThreadedLooperUtil(const sp& looper) : mLooper(loop... method createPipe (line 792) | std::pair createPipe() { method removePipe (line 825) | void removePipe(int id) { method hasPipe (line 835) | bool hasPipe(int id) { function TEST_F (line 850) | TEST_F(LooperTest, MultiThreaded_NoUnexpectedFdRemoval) { FILE: libutils/Looper_test_pipe.h function class (line 22) | class Pipe { FILE: libutils/LruCache_fuzz.cpp class NoopRemovedCallback (line 27) | class NoopRemovedCallback : public android::OnEntryRemoved& fuzzOps) { function spawnThreads (line 170) | void spawnThreads(FuzzedDataProvider* dataProvider) { function LLVMFuzzerTestOneInput (line 188) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: libutils/binder/RefBase_test.cpp class Foo (line 35) | class Foo : public RefBase { method Foo (line 37) | Foo(bool* deleted_check) : mDeleted(deleted_check) { class FooFixedAlloc (line 50) | class FooFixedAlloc : public RefBase { method FooFixedAlloc (line 70) | FooFixedAlloc(bool* deleted_check) : mDeleted(deleted_check) { function TEST (line 86) | TEST(RefBase, StrongMoves) { function TEST (line 114) | TEST(RefBase, WeakCopies) { function TEST (line 131) | TEST(RefBase, Comparisons) { function TEST (line 215) | TEST(RefBase, ReplacedComparison) { function TEST (line 244) | TEST(RefBase, AssertWeakRefExistsSuccess) { function TEST (line 257) | TEST(RefBase, AssertWeakRefExistsDeath) { function TEST (line 268) | TEST(RefBase, NoStrongCountPromoteFromWeak) { function TEST (line 299) | TEST(RefBase, DoubleOwnershipDeath) { function TEST (line 309) | TEST(RefBase, StackOwnershipDeath) { class Bar (line 317) | class Bar : public RefBase { method Bar (line 319) | Bar(std::atomic* delete_count) : mVisited1(false), mVisited2(false), function waitFor (line 338) | static inline void waitFor(bool val) { function setExclusiveCpus (line 347) | static bool setExclusiveCpus(cpu_set_t* origCpus /* out */, function visit2AndRemove (line 370) | static void visit2AndRemove() { function TEST (line 382) | TEST(RefBase, RacingDestructors) { function wpWaitFor (line 418) | static inline void wpWaitFor(bool val) { function visit3AndRemove (line 422) | static void visit3AndRemove() { function TEST (line 438) | TEST(RefBase, RacingPromotions) { FILE: libutils/binder/SharedBuffer.cpp type android (line 28) | namespace android { function SharedBuffer (line 30) | SharedBuffer* SharedBuffer::alloc(size_t size) function SharedBuffer (line 55) | SharedBuffer* SharedBuffer::edit() const function SharedBuffer (line 68) | SharedBuffer* SharedBuffer::editResize(size_t newSize) const function SharedBuffer (line 93) | SharedBuffer* SharedBuffer::attemptEdit() const function SharedBuffer (line 101) | SharedBuffer* SharedBuffer::reset(size_t new_size) const FILE: libutils/binder/SharedBuffer.h function namespace (line 30) | namespace android { FILE: libutils/binder/SharedBuffer_test.cpp function TEST (line 28) | TEST(SharedBufferTest, alloc_death) { function TEST (line 33) | TEST(SharedBufferTest, alloc_max) { function TEST (line 44) | TEST(SharedBufferTest, alloc_big) { function TEST (line 54) | TEST(SharedBufferTest, alloc_zero_size) { function TEST (line 61) | TEST(SharedBufferTest, editResize_death) { function TEST (line 68) | TEST(SharedBufferTest, editResize_null) { function TEST (line 81) | TEST(SharedBufferTest, editResize_zero_size) { FILE: libutils/binder/String16.cpp type android (line 38) | namespace android { function String16 (line 145) | String16& String16::operator=(String16&& other) noexcept { function status_t (line 168) | status_t String16::setTo(const String16& other, size_t len, size_t begin) function status_t (line 189) | status_t String16::setTo(const char16_t* other) function status_t (line 194) | status_t String16::setTo(const char16_t* other, size_t len) function status_t (line 212) | status_t String16::append(const String16& other) { function status_t (line 216) | status_t String16::append(const char16_t* chrs, size_t otherLen) { function status_t (line 238) | status_t String16::insert(size_t pos, const char16_t* chrs) { function status_t (line 242) | status_t String16::insert(size_t pos, const char16_t* chrs, size_t oth... function status_t (line 380) | status_t String16::replaceAll(char16_t replaceThis, char16_t withThis) FILE: libutils/binder/String16_fuzz.cpp function callFunc (line 79) | void callFunc(uint8_t index, FuzzedDataProvider& dataProvider, android::... function LLVMFuzzerTestOneInput (line 84) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: libutils/binder/String16_test.cpp function Char16_tStringEquals (line 26) | ::testing::AssertionResult Char16_tStringEquals(const char16_t* a, const... function TEST (line 36) | TEST(String16Test, FromChar16_t) { function TEST (line 41) | TEST(String16Test, FromChar16_tSized) { function TEST (line 46) | TEST(String16Test, FromChar) { function TEST (line 51) | TEST(String16Test, FromCharSized) { function TEST (line 56) | TEST(String16Test, Copy) { function TEST (line 63) | TEST(String16Test, CopyAssign) { function TEST (line 71) | TEST(String16Test, Move) { function TEST (line 77) | TEST(String16Test, MoveAssign) { function TEST (line 84) | TEST(String16Test, Size) { function TEST (line 89) | TEST(String16Test, setTo) { function TEST (line 96) | TEST(String16Test, Append) { function TEST (line 103) | TEST(String16Test, Insert) { function TEST (line 110) | TEST(String16Test, ReplaceAll) { function TEST (line 116) | TEST(String16Test, Compare) { function TEST (line 121) | TEST(String16Test, StaticString) { function TEST (line 129) | TEST(String16Test, StaticStringCopy) { function TEST (line 138) | TEST(String16Test, StaticStringMove) { function TEST (line 145) | TEST(String16Test, StaticStringSize) { function TEST (line 150) | TEST(String16Test, StaticStringSetTo) { function TEST (line 158) | TEST(String16Test, StaticStringAppend) { function TEST (line 166) | TEST(String16Test, StaticStringInsert) { function TEST (line 174) | TEST(String16Test, StaticStringReplaceAll) { function TEST (line 181) | TEST(String16Test, StaticStringCompare) { function TEST (line 186) | TEST(String16Test, StringSetToStaticString) { function TEST (line 194) | TEST(String16Test, StringCopyAssignFromStaticString) { function TEST (line 204) | TEST(String16Test, StringMoveAssignFromStaticString) { function TEST (line 212) | TEST(String16Test, EmptyStringIsStatic) { function TEST (line 217) | TEST(String16Test, OverreadUtf8Conversion) { function TEST (line 223) | TEST(String16Test, ValidUtf8Conversion) { function TEST (line 229) | TEST(String16Test, append) { function TEST (line 241) | TEST(String16Test, insert) { function TEST (line 263) | TEST(String16Test, comparisons) { FILE: libutils/binder/String8.cpp type android (line 37) | namespace android { function String8 (line 176) | String8 String8::format(const char* fmt, ...) function String8 (line 187) | String8 String8::formatV(const char* fmt, va_list args) function status_t (line 206) | status_t String8::setTo(const char* other) function status_t (line 217) | status_t String8::setTo(const char* other, size_t len) function status_t (line 228) | status_t String8::setTo(const char16_t* other, size_t len) function status_t (line 239) | status_t String8::setTo(const char32_t* other, size_t len) function status_t (line 250) | status_t String8::append(const String8& other) function status_t (line 263) | status_t String8::append(const char* other) function status_t (line 268) | status_t String8::append(const char* other, size_t otherLen) function status_t (line 279) | status_t String8::appendFormat(const char* fmt, ...) function status_t (line 290) | status_t String8::appendFormatV(const char* fmt, va_list args) function status_t (line 321) | status_t String8::real_append(const char* other, size_t otherLen) { function status_t (line 357) | status_t String8::unlockBuffer(size_t size) function String8 (line 437) | String8 String8::getPathDir(void) const function String8 (line 474) | String8 String8::getPathExtension(void) const FILE: libutils/binder/String8_fuzz.cpp function fuzzFormat (line 73) | void fuzzFormat(FuzzedDataProvider* dataProvider, android::String8* str1... function callFunc (line 177) | void callFunc(uint8_t index, FuzzedDataProvider* dataProvider, android::... function LLVMFuzzerTestOneInput (line 182) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: libutils/binder/String8_test.cpp class String8Test (line 29) | class String8Test : public testing::Test { method SetUp (line 31) | virtual void SetUp() { method TearDown (line 34) | virtual void TearDown() { function TEST_F (line 38) | TEST_F(String8Test, Cstr) { function TEST_F (line 44) | TEST_F(String8Test, OperatorPlus) { function TEST_F (line 62) | TEST_F(String8Test, OperatorPlusEquals) { function TEST_F (line 79) | TEST_F(String8Test, SetToSizeMaxReturnsNoMemory) { function TEST_F (line 85) | TEST_F(String8Test, CorrectInvalidSurrogate) { function TEST_F (line 94) | TEST_F(String8Test, CheckUtf32Conversion) { function TEST_F (line 102) | TEST_F(String8Test, ValidUtf16Conversion) { function TEST_F (line 108) | TEST_F(String8Test, append) { function TEST_F (line 120) | TEST_F(String8Test, removeAll) { function TEST_F (line 138) | TEST_F(String8Test, comparisons) { function TEST_F (line 180) | TEST_F(String8Test, SvCtor) { FILE: libutils/binder/StrongPointer.cpp type android (line 21) | namespace android { function sp_report_race (line 23) | void sp_report_race() { LOG_ALWAYS_FATAL("sp<> assignment detected dat... FILE: libutils/binder/StrongPointer_test.cpp class SPFoo (line 24) | class SPFoo : virtual public RefBase { method SPFoo (line 26) | explicit SPFoo(bool* deleted_check) : mDeleted(deleted_check) { class SPLightFoo (line 38) | class SPLightFoo : virtual public VirtualLightRefBase { method SPLightFoo (line 40) | explicit SPLightFoo(bool* deleted_check) : mDeleted(deleted_check) { *... class StrongPointer (line 49) | class StrongPointer : public ::testing::Test {} function TYPED_TEST (line 54) | TYPED_TEST(StrongPointer, move) { function TYPED_TEST (line 75) | TYPED_TEST(StrongPointer, NullptrComparison) { function TYPED_TEST (line 81) | TYPED_TEST(StrongPointer, PointerComparison) { function TYPED_TEST (line 90) | TYPED_TEST(StrongPointer, Deleted) { function TYPED_TEST (line 103) | TYPED_TEST(StrongPointer, AssertStrongRefExists) { function TYPED_TEST (line 110) | TYPED_TEST(StrongPointer, release) { FILE: libutils/binder/Unicode.cpp function utf32_codepoint_utf8_length (line 62) | static inline size_t utf32_codepoint_utf8_length(char32_t srcChar) function utf32_codepoint_to_utf8 (line 88) | static inline void utf32_codepoint_to_utf8(uint8_t* dstP, char32_t srcCh... function utf32_at_internal (line 103) | static inline int32_t utf32_at_internal(const char* cur, size_t *num_read) function utf32_from_utf8_at (line 127) | int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index... function utf32_to_utf8_length (line 145) | ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len) function utf32_to_utf8 (line 167) | void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_... function strcmp16 (line 191) | int strcmp16(const char16_t *s1, const char16_t *s2) function strncmp16 (line 205) | int strncmp16(const char16_t *s1, const char16_t *s2, size_t n) function strlen16 (line 224) | size_t strlen16(const char16_t *s) function strnlen16 (line 232) | size_t strnlen16(const char16_t *s, size_t maxlen) function strzcmp16 (line 263) | int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2) function is_any_surrogate (line 283) | static constexpr bool is_any_surrogate(char16_t w) { function is_surrogate_pair (line 288) | static constexpr bool is_surrogate_pair(char16_t w1, char16_t w2) { function utf16_to_utf8_length (line 295) | ssize_t utf16_to_utf8_length(const char16_t *src, size_t src_len) function utf16_to_utf8 (line 328) | void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst, size_... function utf8_4b_to_utf32 (line 393) | static char32_t utf8_4b_to_utf32(uint8_t c1, uint8_t c2, uint8_t c3, uin... function utf8_to_utf16_length (line 410) | ssize_t utf8_to_utf16_length(const uint8_t* u8str, size_t u8len, bool ov... FILE: libutils/binder/Unicode_test.cpp type android (line 27) | namespace android { class UnicodeTest (line 29) | class UnicodeTest : public testing::Test { method SetUp (line 31) | virtual void SetUp() { method TearDown (line 34) | virtual void TearDown() { method TestUTF8toUTF16 (line 41) | void TestUTF8toUTF16(std::initializer_list input, method TestUTF16toUTF8 (line 62) | void TestUTF16toUTF8(std::initializer_list input, function TEST_F (line 84) | TEST_F(UnicodeTest, UTF8toUTF16ZeroLength) { function TEST_F (line 89) | TEST_F(UnicodeTest, UTF8toUTF16ASCII) { function TEST_F (line 96) | TEST_F(UnicodeTest, UTF8toUTF16Plane1) { function TEST_F (line 103) | TEST_F(UnicodeTest, UTF8toUTF16Surrogate) { function TEST_F (line 110) | TEST_F(UnicodeTest, UTF8toUTF16TruncatedUTF8) { function TEST_F (line 118) | TEST_F(UnicodeTest, UTF8toUTF16Normal) { function TEST_F (line 132) | TEST_F(UnicodeTest, UTF8toUTF16Invalid) { function TEST_F (line 158) | TEST_F(UnicodeTest, UTF16toUTF8ZeroLength) { function TEST_F (line 169) | TEST_F(UnicodeTest, UTF16toUTF8ASCII) { function TEST_F (line 176) | TEST_F(UnicodeTest, UTF16toUTF8Plane1) { function TEST_F (line 183) | TEST_F(UnicodeTest, UTF16toUTF8Surrogate) { function TEST_F (line 190) | TEST_F(UnicodeTest, UTF16toUTF8UnpairedSurrogate) { function TEST_F (line 214) | TEST_F(UnicodeTest, UTF16toUTF8CorrectInvalidSurrogate) { function TEST_F (line 224) | TEST_F(UnicodeTest, UTF16toUTF8Normal) { function TEST_F (line 242) | TEST_F(UnicodeTest, strstr16EmptyTarget) { function TEST_F (line 247) | TEST_F(UnicodeTest, strstr16EmptyTarget_bug) { function TEST_F (line 272) | TEST_F(UnicodeTest, strstr16SameString) { function TEST_F (line 278) | TEST_F(UnicodeTest, strstr16TargetStartOfString) { function TEST_F (line 285) | TEST_F(UnicodeTest, strstr16TargetEndOfString) { function TEST_F (line 290) | TEST_F(UnicodeTest, strstr16TargetWithinString) { function TEST_F (line 295) | TEST_F(UnicodeTest, strstr16TargetNotPresent) { function TEST_F (line 302) | TEST_F(UnicodeTest, InvalidUtf8OverreadDetected) { FILE: libutils/binder/VectorImpl.cpp type android (line 32) | namespace android { function max (line 38) | static inline size_t max(size_t a, size_t b) { function VectorImpl (line 67) | VectorImpl& VectorImpl::operator = (const VectorImpl& rhs) function sortProxy (line 160) | static int sortProxy(const void* lhs, const void* rhs, void* func) function status_t (line 165) | status_t VectorImpl::sort(VectorImpl::compar_t cmp) function status_t (line 170) | status_t VectorImpl::sort(VectorImpl::compar_r_t cmp, void* state) function SortedVectorImpl (line 573) | SortedVectorImpl& SortedVectorImpl::operator = (const SortedVectorImpl... FILE: libutils/binder/Vector_benchmark.cpp function BM_fill_android_vector (line 21) | void BM_fill_android_vector(benchmark::State& state) { function BM_fill_std_vector (line 29) | void BM_fill_std_vector(benchmark::State& state) { function BM_prepend_android_vector (line 37) | void BM_prepend_android_vector(benchmark::State& state) { function BM_prepend_std_vector (line 45) | void BM_prepend_std_vector(benchmark::State& state) { FILE: libutils/binder/Vector_fuzz.cpp type NonTrivialDestructor (line 27) | struct NonTrivialDestructor { method NonTrivialDestructor (line 28) | NonTrivialDestructor() : mInit(1) {} type VectorFuzzerData (line 40) | struct VectorFuzzerData { method testVector (line 191) | Vector testVector(FuzzedDataProvider& provider) { method fuzz (line 197) | void fuzz(FuzzedDataProvider&& provider) { function LLVMFuzzerTestOneInput (line 205) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: libutils/binder/Vector_test.cpp type android (line 26) | namespace android { class VectorTest (line 28) | class VectorTest : public testing::Test { method SetUp (line 30) | virtual void SetUp() { method TearDown (line 33) | virtual void TearDown() { function TEST_F (line 40) | TEST_F(VectorTest, CopyOnWrite_CopyAndAddElements) { function TEST_F (line 76) | TEST_F(VectorTest, SetCapacity_Overflow) { function TEST_F (line 81) | TEST_F(VectorTest, SetCapacity_ShrinkBelowSize) { function TEST_F (line 94) | TEST_F(VectorTest, _grow_OverflowSize) { function TEST_F (line 103) | TEST_F(VectorTest, _grow_OverflowCapacityDoubling) { function TEST_F (line 111) | TEST_F(VectorTest, _grow_OverflowBufferAlloc) { function TEST_F (line 118) | TEST_F(VectorTest, editArray_Shared) { function TEST_F (line 138) | TEST_F(VectorTest, removeItemsAt_overflow) { FILE: libutils/binder/include/utils/Errors.h function namespace (line 24) | namespace android { FILE: libutils/binder/include/utils/LightRefBase.h function namespace (line 27) | namespace android { FILE: libutils/binder/include/utils/RefBase.h function namespace (line 228) | namespace android { function class (line 706) | class ReferenceMover { function namespace (line 782) | namespace libutilsinternal { function namespace (line 790) | namespace std { FILE: libutils/binder/include/utils/String16.h function namespace (line 34) | namespace android { function compare_type (line 252) | inline int compare_type(const String16& lhs, const String16& rhs) function strictly_order_type (line 257) | inline int strictly_order_type(const String16& lhs, const String16& rhs) function contains (line 282) | inline bool String16::contains(const String16& other) const function String16 (line 293) | inline String16& String16::operator+=(const String16& other) function compare (line 306) | inline int String16::compare(const String16& other) const function other (line 311) | inline bool String16::operator<(const String16& other) const function other (line 316) | inline bool String16::operator<=(const String16& other) const function other (line 321) | inline bool String16::operator==(const String16& other) const function other (line 326) | inline bool String16::operator!=(const String16& other) const function other (line 331) | inline bool String16::operator>=(const String16& other) const function other (line 336) | inline bool String16::operator>(const String16& other) const FILE: libutils/binder/include/utils/String8.h function namespace (line 37) | namespace android { FILE: libutils/binder/include/utils/StrongPointer.h function namespace (line 24) | namespace android { function m_ptr (line 226) | m_ptr(other) { function m_ptr (line 234) | m_ptr(other) { FILE: libutils/binder/include/utils/TypeHelpers.h function namespace (line 29) | namespace android { function splat_type (line 178) | void splat_type(TYPE* where, const TYPE* what, size_t n) { type KEY (line 259) | typedef KEY key_t; type VALUE (line 260) | typedef VALUE value_t; function explicit (line 272) | explicit key_value_pair_t(const KEY& k) : key(k) { } function operator (line 273) | inline bool operator < (const key_value_pair_t& o) const { type hash_t (line 302) | typedef uint32_t hash_t; function ANDROID_INT32_HASH (line 321) | ANDROID_INT32_HASH(bool) FILE: libutils/binder/include/utils/Vector.h function namespace (line 41) | namespace android { FILE: libutils/binder/include/utils/VectorImpl.h function class (line 40) | class VectorImpl FILE: libutils/include/utils/AndroidThreads.h function namespace (line 95) | namespace android { function thread_id_t (line 116) | inline thread_id_t getThreadId() { FILE: libutils/include/utils/BitSet.h function namespace (line 32) | namespace android { function ctz_checked (line 167) | static inline uint32_t ctz_checked(uint32_t value) { function BitSet64 (line 176) | ANDROID_BASIC_TYPES_TRAITS(BitSet32) FILE: libutils/include/utils/CallStack.h function namespace (line 43) | namespace android { FILE: libutils/include/utils/Compat.h type off_t (line 30) | typedef off_t off64_t; function off64_t (line 36) | static inline off64_t lseek64(int fd, off64_t offset, int whence) { function pread64 (line 40) | static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t ... function pwrite64 (line 44) | static inline ssize_t pwrite64(int fd, const void* buf, size_t nbytes, o... function ftruncate64 (line 48) | static inline int ftruncate64(int fd, off64_t length) { FILE: libutils/include/utils/Condition.h function namespace (line 34) | namespace android { FILE: libutils/include/utils/ErrorsMacros.h function namespace (line 32) | namespace android { function namespace (line 49) | namespace base { function SPECIALIZED_CONVERSION (line 139) | SPECIALIZED_CONVERSION(int) FILE: libutils/include/utils/FastStrcmp.h function fastcmp (line 43) | inline int fastcmp(const char* l, const char* r, const size_t s) { function fasticmp (line 50) | inline int fasticmp(const char* l, const char* r, const size_t s) { function fastcmp (line 57) | inline int fastcmp(const void* lv, const void* rv, const size_t s) { function fastcmp (line 66) | inline int fastcmp(const char* l, const char* r) { function fasticmp (line 71) | inline int fasticmp(const char* l, const char* r) { FILE: libutils/include/utils/FileMap.h function namespace (line 35) | namespace android { FILE: libutils/include/utils/Flattenable.h function namespace (line 30) | namespace android { function getFlattenedSize (line 161) | inline size_t getFlattenedSize() const; function status_t (line 206) | inline status_t flatten(void* buffer, size_t size) const { function status_t (line 211) | inline status_t unflatten(void const* buffer, size_t) { FILE: libutils/include/utils/Functor.h function namespace (line 22) | namespace android { FILE: libutils/include/utils/JenkinsHash.h function namespace (line 27) | namespace android { FILE: libutils/include/utils/KeyedVector.h function namespace (line 31) | namespace android { function mDefault (line 204) | mDefault(defValue) FILE: libutils/include/utils/List.h function namespace (line 33) | namespace android { FILE: libutils/include/utils/Looper.h type Message (line 55) | struct Message { function class (line 72) | class MessageHandler : public virtual RefBase { function class (line 87) | class WeakMessageHandler : public MessageHandler { function class (line 103) | class LooperCallback : public virtual RefBase { function class (line 123) | class SimpleLooperCallback : public LooperCallback { function class (line 141) | class Looper : public RefBase { FILE: libutils/include/utils/LruCache.h function namespace (line 25) | namespace android { FILE: libutils/include/utils/Mutex.h function namespace (line 79) | namespace android { FILE: libutils/include/utils/NativeHandle.h type native_handle_t (line 23) | typedef struct native_handle native_handle_t; function namespace (line 25) | namespace android { FILE: libutils/include/utils/Printer.h function namespace (line 22) | namespace android { FILE: libutils/include/utils/ProcessCallStack.h function namespace (line 28) | namespace android { FILE: libutils/include/utils/RWLock.h function namespace (line 31) | namespace android { FILE: libutils/include/utils/Singleton.h function namespace (line 29) | namespace android { FILE: libutils/include/utils/SortedVector.h function namespace (line 31) | namespace android { FILE: libutils/include/utils/StopWatch.h function namespace (line 24) | namespace android { FILE: libutils/include/utils/SystemClock.h function namespace (line 26) | namespace android { FILE: libutils/include/utils/Thread.h function namespace (line 36) | namespace android { FILE: libutils/include/utils/ThreadDefs.h type android_thread_id_t (line 33) | typedef uint32_t android_thread_id_t; function namespace (line 47) | namespace android { FILE: libutils/include/utils/Timers.h type nsecs_t (line 32) | typedef int64_t nsecs_t; function CONSTEXPR (line 34) | static CONSTEXPR inline nsecs_t seconds_to_nanoseconds(nsecs_t secs) function CONSTEXPR (line 39) | static CONSTEXPR inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs) function CONSTEXPR (line 44) | static CONSTEXPR inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs) function CONSTEXPR (line 49) | static CONSTEXPR inline nsecs_t nanoseconds_to_seconds(nsecs_t secs) function CONSTEXPR (line 54) | static CONSTEXPR inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs) function CONSTEXPR (line 59) | static CONSTEXPR inline nsecs_t nanoseconds_to_microseconds(nsecs_t secs) function CONSTEXPR (line 64) | static CONSTEXPR inline nsecs_t s2ns(nsecs_t v) {return seconds_to_nano... function CONSTEXPR (line 65) | static CONSTEXPR inline nsecs_t ms2ns(nsecs_t v) {return milliseconds_to... function CONSTEXPR (line 66) | static CONSTEXPR inline nsecs_t us2ns(nsecs_t v) {return microseconds_to... function CONSTEXPR (line 67) | static CONSTEXPR inline nsecs_t ns2s(nsecs_t v) {return nanoseconds_to_... function CONSTEXPR (line 68) | static CONSTEXPR inline nsecs_t ns2ms(nsecs_t v) {return nanoseconds_to_... function CONSTEXPR (line 69) | static CONSTEXPR inline nsecs_t ns2us(nsecs_t v) {return nanoseconds_to_... function CONSTEXPR (line 71) | static CONSTEXPR inline nsecs_t seconds(nsecs_t v) { return s2ns(v); } function CONSTEXPR (line 72) | static CONSTEXPR inline nsecs_t milliseconds(nsecs_t v) { return ms2ns(v... function CONSTEXPR (line 73) | static CONSTEXPR inline nsecs_t microseconds(nsecs_t v) { return us2ns(v... FILE: libutils/include/utils/Tokenizer.h function namespace (line 25) | namespace android { FILE: libutils/include/utils/Trace.h function namespace (line 34) | namespace android { FILE: libutils/include/utils/misc.h function namespace (line 32) | namespace android { FILE: libutils/misc.cpp type android (line 35) | namespace android { type sysprop_change_callback_info (line 37) | struct sysprop_change_callback_info { function add_sysprop_change_callback (line 48) | void add_sysprop_change_callback(sysprop_change_callback cb, int prior... function add_sysprop_change_callback (line 70) | void add_sysprop_change_callback(sysprop_change_callback, int) {} function report_sysprop_change (line 85) | void report_sysprop_change() { function do_report_sysprop_change (line 102) | void do_report_sysprop_change() { FILE: libvendorsupport/tests/version_props_test.cpp function TEST (line 24) | TEST(VendorSupport, GetCorrespondingVendorApiLevel) { function TEST (line 30) | TEST(VendorSupport, GetCorrespondingSdkApiLevel) { FILE: libvendorsupport/version_props.cpp function AVendorSupport_getVendorApiLevelOf (line 23) | int AVendorSupport_getVendorApiLevelOf(int sdkApiLevel) { function AVendorSupport_getSdkApiLevelOf (line 36) | int AVendorSupport_getSdkApiLevelOf(int vendorApiLevel) { function AVendorSupport_getVendorApiLevel (line 48) | int AVendorSupport_getVendorApiLevel() { FILE: libvndksupport/linker.cpp type VendorNamespace (line 33) | struct VendorNamespace { function VendorNamespace (line 40) | static VendorNamespace get_vendor_namespace() { function android_is_in_vendor_process (line 52) | int android_is_in_vendor_process() { function android_unload_sphal_library (line 83) | int android_unload_sphal_library(void* handle) { FILE: libvndksupport/tests/linker_test.cpp function find_sphal_lib (line 25) | static std::string find_sphal_lib() { function TEST (line 44) | TEST(linker, load_existing_lib) { function TEST (line 52) | TEST(linker, load_nonexisting_lib) { FILE: llkd/libllkd.cpp class dir (line 123) | class dir { type level (line 125) | enum level { proc, task, numLevels } method fill (line 135) | bool fill(enum level index) { method dir (line 148) | dir() : fd(-1), available_bytes(0), next(nullptr) {} method dir (line 150) | explicit dir(const char* directory) method dir (line 157) | explicit dir(const std::string&& directory) method dir (line 162) | explicit dir(const std::string& directory) method dir (line 168) | explicit dir(const dir& c) = delete; method dir (line 169) | explicit dir(dir& c) = delete; method dir (line 170) | explicit dir(dir&& c) = delete; method reset (line 180) | void reset(void) { method dir (line 189) | dir& reset(const char* directory) { method rewind (line 197) | void rewind(void) { method dirent (line 205) | dirent* read(enum level index = proc, dirent* def = nullptr) { function llkIsMissingExeLink (line 218) | bool llkIsMissingExeLink(pid_t tid) { function ReadFile (line 227) | std::string ReadFile(std::string&& path) { function llkProcGetName (line 236) | std::string llkProcGetName(pid_t tid, const char* node = "/cmdline") { function uid_t (line 246) | uid_t llkProcGetUid(pid_t tid) { type proc (line 280) | struct proc { method setComm (line 310) | void setComm(const char* _comm) { strncpy(comm + 1, _comm, sizeof(comm... method setFrozen (line 312) | void setFrozen(bool _frozen) { frozen = _frozen; } method proc (line 314) | proc(pid_t tid, pid_t pid, pid_t ppid, const char* _comm, int time, ch... method uid_t (line 374) | uid_t getUid(void) { method isFrozen (line 381) | bool isFrozen() { return frozen; } method reset (line 383) | void reset(void) { // reset cache, if we detected pid rollover function llkValidate (line 405) | void llkValidate() { function milliseconds (line 431) | milliseconds llkGetTimespecDiffMs(timespec* from, timespec* to) { function llkProcGetName (line 436) | std::string llkProcGetName(pid_t tid, const char* comm, const char* cmdl... function llkKillOneProcess (line 460) | int llkKillOneProcess(pid_t pid, char state, pid_t tid, const char* tcom... function llkKillOneProcess (line 480) | int llkKillOneProcess(pid_t pid, proc* tprocp) { function llkKillOneProcess (line 486) | int llkKillOneProcess(proc* kprocp, proc* tprocp) { function llkFileToWriteFd (line 498) | int llkFileToWriteFd(const std::string& file) { function llkWriteStringToFile (line 510) | bool llkWriteStringToFile(const std::string& string, const std::string& ... function llkWriteStringToFileConfirm (line 516) | bool llkWriteStringToFileConfirm(const std::string& string, const std::s... function llkPanicKernel (line 524) | void llkPanicKernel(bool dump, pid_t tid, const char* state, const std::... function llkAlarmHandler (line 574) | void llkAlarmHandler(int) { function milliseconds (line 580) | milliseconds GetUintProperty(const std::string& key, milliseconds def) { function seconds (line 585) | seconds GetUintProperty(const std::string& key, seconds def) { function proc (line 590) | proc* llkTidLookup(pid_t tid) { method setComm (line 310) | void setComm(const char* _comm) { strncpy(comm + 1, _comm, sizeof(comm... method setFrozen (line 312) | void setFrozen(bool _frozen) { frozen = _frozen; } method proc (line 314) | proc(pid_t tid, pid_t pid, pid_t ppid, const char* _comm, int time, ch... method uid_t (line 374) | uid_t getUid(void) { method isFrozen (line 381) | bool isFrozen() { return frozen; } method reset (line 383) | void reset(void) { // reset cache, if we detected pid rollover function llkTidRemove (line 598) | void llkTidRemove(pid_t tid) { function proc (line 602) | proc* llkTidAlloc(pid_t tid, pid_t pid, pid_t ppid, const char* comm, in... method setComm (line 310) | void setComm(const char* _comm) { strncpy(comm + 1, _comm, sizeof(comm... method setFrozen (line 312) | void setFrozen(bool _frozen) { frozen = _frozen; } method proc (line 314) | proc(pid_t tid, pid_t pid, pid_t ppid, const char* _comm, int time, ch... method uid_t (line 374) | uid_t getUid(void) { method isFrozen (line 381) | bool isFrozen() { return frozen; } method reset (line 383) | void reset(void) { // reset cache, if we detected pid rollover function llkFormat (line 608) | std::string llkFormat(milliseconds ms) { function llkFormat (line 621) | std::string llkFormat(seconds s) { function llkFormat (line 625) | std::string llkFormat(bool flag) { function llkFormat (line 629) | std::string llkFormat(const std::unordered_set& ignorelist) { function llkFormat (line 638) | std::string llkFormat( function llkSplit (line 658) | std::unordered_set llkSplit(const std::string& prop, const ... function llkSkipName (line 701) | bool llkSkipName(const std::string& name, function llkSkipProc (line 708) | bool llkSkipProc(proc* procp, function llkSkipPproc (line 728) | bool llkSkipPproc(proc* pprocp, proc* procp, function llkSkipPid (line 739) | bool llkSkipPid(pid_t pid) { function llkSkipPpid (line 743) | bool llkSkipPpid(pid_t ppid) { function llkSkipUid (line 747) | bool llkSkipUid(uid_t uid) { function getValidTidDir (line 759) | bool getValidTidDir(dirent* dp, std::string* piddir) { function llkIsMonitorState (line 780) | bool llkIsMonitorState(char state) { function getSchedValue (line 785) | long long getSchedValue(const std::string& schedString, const char* key) { function llkCheckStack (line 805) | bool llkCheckStack(proc* procp, const std::string& piddir) { function llkCheckSchedUpdate (line 849) | void llkCheckSchedUpdate(proc* procp, const std::string& piddir) { function llkLogConfig (line 902) | void llkLogConfig(void) { function milliseconds (line 955) | milliseconds llkCheck(bool checkRunning) { function llkCheckMilliseconds (line 1272) | unsigned llkCheckMilliseconds() { function llkCheckEng (line 1276) | bool llkCheckEng(const std::string& property) { function llkInit (line 1280) | bool llkInit(const char* threadname) { FILE: llkd/llkd.cpp function main (line 29) | int main(int, char**) { FILE: llkd/tests/llkd_test.cpp function milliseconds (line 41) | milliseconds GetUintProperty(const std::string& key, milliseconds def) { function seconds (line 46) | seconds GetUintProperty(const std::string& key, seconds def) { function rest (line 59) | void rest() { function execute (line 63) | void execute(const char* command) { function seconds (line 69) | seconds llkdSleepPeriod(char state) { function waitForPid (line 153) | inline void waitForPid(pid_t child_pid) { function checkKill (line 161) | bool checkKill(const char* reason) { function llkd_driver_ABA (line 188) | static void llkd_driver_ABA(const microseconds sleepfor) { function TEST (line 229) | TEST(llkd, driver_ABA_fast) { function TEST (line 233) | TEST(llkd, driver_ABA_slow) { function TEST (line 237) | TEST(llkd, driver_ABA_glacial) { function TEST (line 248) | TEST(llkd, zombie) { function TEST (line 272) | TEST(llkd, driver) { function TEST (line 293) | TEST(llkd, sleep) { function TEST (line 332) | TEST(llkd, adbd_and_setsid) { FILE: mini_keyctl/mini_keyctl.cpp function Usage (line 39) | static void Usage(int exit_code) { function key_serial_t (line 49) | static key_serial_t parseKeyOrDie(const char* str) { function Unlink (line 57) | int Unlink(key_serial_t key, const std::string& keyring) { function Add (line 66) | int Add(const std::string& type, const std::string& desc, const std::str... function Padd (line 85) | int Padd(const std::string& type, const std::string& desc, const std::st... function RestrictKeyring (line 108) | int RestrictKeyring(const std::string& keyring) { function RetrieveSecurityContext (line 117) | std::string RetrieveSecurityContext(key_serial_t key) { function main (line 135) | int main(int argc, const char** argv) { FILE: mini_keyctl/mini_keyctl_utils.cpp type android (line 28) | namespace android { function SplitBySpace (line 32) | std::vector SplitBySpace(const std::string& s) { function key_serial_t (line 45) | key_serial_t GetKeyringId(const std::string& keyring_desc) { FILE: mini_keyctl/mini_keyctl_utils.h function namespace (line 24) | namespace android { FILE: mkbootfs/mkbootfs.cpp type fs_config_entry (line 33) | struct fs_config_entry { type fs_config_entry (line 38) | struct fs_config_entry function fix_stat (line 45) | static void fix_stat(const char *path, struct stat *s) function _eject (line 81) | static void _eject(struct stat *s, const char *out, int olen, char *data... function _eject_trailer (line 131) | static void _eject_trailer() function compare (line 145) | static int compare(const void* a, const void* b) { function _archive_dir (line 149) | static void _archive_dir(char *in, char *out, int ilen, int olen) function _archive (line 212) | static void _archive(char *in, char *out, int ilen, int olen) function archive (line 241) | static void archive(const char* start, const char* prefix) { function read_canned_config (line 251) | static void read_canned_config(char* filename) function devnodes_desc_error (line 298) | static void devnodes_desc_error(const char* filename, unsigned long line... function append_devnodes_desc_dir (line 304) | static int append_devnodes_desc_dir(char* path, char* args) function append_devnodes_desc_nod (line 317) | static int append_devnodes_desc_nod(char* path, char* args) function append_devnodes_desc (line 343) | static void append_devnodes_desc(const char* filename) type option (line 390) | struct option function usage (line 398) | static void usage(void) function main (line 417) | int main(int argc, char *argv[]) FILE: overlay_remounter/overlay_remounter.cpp function main (line 24) | int main(int /*argc*/, char** argv) { FILE: property_service/libpropertyinfoparser/include/property_info_parser/property_info_parser.h function namespace (line 25) | namespace android { FILE: property_service/libpropertyinfoparser/property_info_parser.cpp type android (line 26) | namespace android { type properties (line 27) | namespace properties { function Find (line 33) | int Find(uint32_t array_length, F&& f) { type stat (line 202) | struct stat FILE: property_service/libpropertyinfoserializer/include/property_info_serializer/property_info_serializer.h function namespace (line 22) | namespace android { FILE: property_service/libpropertyinfoserializer/property_info_file.cpp type android (line 28) | namespace android { type properties (line 29) | namespace properties { function IsTypeValid (line 33) | bool IsTypeValid(const std::vector& type_strings) { function ParsePropertyInfoLine (line 59) | bool ParsePropertyInfoLine(const std::string& line, bool require_pre... function ParsePropertyInfoFile (line 106) | void ParsePropertyInfoFile(const std::string& file_contents, bool re... FILE: property_service/libpropertyinfoserializer/property_info_serializer.cpp type android (line 26) | namespace android { type properties (line 27) | namespace properties { function BuildTrie (line 29) | bool BuildTrie(const std::vector& property_info, FILE: property_service/libpropertyinfoserializer/property_info_serializer_test.cpp type android (line 23) | namespace android { type properties (line 24) | namespace properties { function TEST (line 26) | TEST(propertyinfoserializer, TrieNodeCheck) { function TEST (line 126) | TEST(propertyinfoserializer, GetPropertyInfo) { function TEST (line 251) | TEST(propertyinfoserializer, RealProperties) { function TEST (line 767) | TEST(propertyinfoserializer, GetPropertyInfo_prefix_without_dot) { function TEST (line 811) | TEST(propertyinfoserializer, GetPropertyInfo_prefix_with_dot_vs_with... function TEST (line 847) | TEST(propertyinfoserializer, GetPropertyInfo_empty_context_and_type) { FILE: property_service/libpropertyinfoserializer/space_tokenizer.h function namespace (line 20) | namespace android { FILE: property_service/libpropertyinfoserializer/trie_builder.cpp type android (line 23) | namespace android { type properties (line 24) | namespace properties { FILE: property_service/libpropertyinfoserializer/trie_builder.h type PropertyEntryBuilder (line 28) | struct PropertyEntryBuilder { FILE: property_service/libpropertyinfoserializer/trie_builder_test.cpp type android (line 21) | namespace android { type properties (line 22) | namespace properties { function TEST (line 24) | TEST(propertyinfoserializer, BuildTrie_Simple) { FILE: property_service/libpropertyinfoserializer/trie_node_arena.h function namespace (line 23) | namespace android { FILE: property_service/libpropertyinfoserializer/trie_serializer.cpp type android (line 21) | namespace android { type properties (line 22) | namespace properties { FILE: property_service/libpropertyinfoserializer/trie_serializer.h function namespace (line 28) | namespace android { FILE: property_service/property_info_checker/property_info_checker.cpp class ContextChecker (line 21) | class ContextChecker { method ContextChecker (line 23) | ContextChecker() method Initialize (line 47) | bool Initialize(const char* policy_file) { method CheckContext (line 90) | bool CheckContext(const char* context) { function main (line 138) | int main(int argc, char** argv) { FILE: reboot/reboot.c function main (line 24) | int main(int argc, char* argv[]) { FILE: run-as/run-as.cpp function packagelist_parse_callback (line 63) | static bool packagelist_parse_callback(pkg_info* this_package, void* use... function check_directory (line 73) | static void check_directory(const char* path, uid_t uid) { function check_data_path (line 99) | static void check_data_path(const char* package_name, const char* data_p... function get_supplementary_gids (line 142) | std::vector get_supplementary_gids(uid_t userAppId) { function main (line 161) | int main(int argc, char* argv[]) { FILE: sdcard/sdcard.cpp function supports_esdfs (line 50) | static bool supports_esdfs(void) { function should_use_sdcardfs (line 62) | static bool should_use_sdcardfs(void) { function drop_privs (line 92) | static void drop_privs(uid_t uid, gid_t gid) { function sdcardfs_setup (line 101) | static bool sdcardfs_setup(const std::string& source_path, const std::st... function sdcardfs_setup_bind_remount (line 132) | static bool sdcardfs_setup_bind_remount(const std::string& source_path, ... function sdcardfs_setup_secondary (line 153) | static bool sdcardfs_setup_secondary(const std::string& default_path, function run_sdcardfs (line 166) | static void run_sdcardfs(const std::string& source_path, const std::stri... function usage (line 223) | static int usage() { function main (line 235) | int main(int argc, char **argv) { FILE: storaged/include/storaged.h type storaged_config (line 73) | struct storaged_config { type HealthServicePair (line 81) | struct HealthServicePair { function class (line 87) | class hidl_health_death_recipient : public android::hardware::hidl_death... function class (line 97) | class storaged_t : public RefBase { FILE: storaged/include/storaged_diskstats.h type disk_stats (line 30) | struct disk_stats { function disk_stats (line 60) | disk_stats operator- (disk_stats curr, const disk_stats& prev) { type disk_perf (line 105) | struct disk_perf { function class (line 117) | class stream_stats { function class (line 144) | class disk_stats_monitor { FILE: storaged/include/storaged_info.h function class (line 38) | class storage_info_t { function virtual (line 75) | virtual ~storage_info_t(){} function virtual (line 76) | virtual void report() {} function class (line 85) | class emmc_info_t : public storage_info_t { function class (line 98) | class ufs_info_t : public storage_info_t { function class (line 106) | class health_storage_info_t : public storage_info_t { FILE: storaged/include/storaged_service.h function namespace (line 31) | namespace android { FILE: storaged/include/storaged_uid_monitor.h function class (line 40) | class uid_info : public UidInfo { function class (line 45) | class io_usage { type uid_io_usage (line 62) | struct uid_io_usage { type uid_record (line 69) | struct uid_record { type uid_records (line 74) | struct uid_records { function class (line 79) | class uid_monitor { FILE: storaged/include/storaged_utils.h type disk_stats (line 30) | struct disk_stats type disk_perf (line 31) | struct disk_perf type disk_stats (line 31) | struct disk_stats type disk_stats (line 32) | struct disk_stats type disk_stats (line 32) | struct disk_stats type disk_stats (line 32) | struct disk_stats type disk_stats (line 33) | struct disk_stats type disk_stats (line 33) | struct disk_stats FILE: storaged/include/uid_info.h function namespace (line 24) | namespace android { FILE: storaged/main.cpp function help_message (line 58) | void help_message(void) { function main (line 67) | int main(int argc, char** argv) { FILE: storaged/storaged.cpp function HealthServicePair (line 85) | HealthServicePair HealthServicePair::get() { function charger_stat_t (line 109) | inline charger_stat_t is_charger_on(BatteryStatus prop) { class HealthInfoCallback (line 114) | class HealthInfoCallback : public BnHealthInfoCallback { method HealthInfoCallback (line 116) | HealthInfoCallback(uid_monitor* uidm) : mUidm(uidm) {} method ScopedAStatus (line 117) | ScopedAStatus healthInfoChanged(const HealthInfo& info) override { function onHealthBinderDied (line 132) | static void onHealthBinderDied(void*) { type timespec (line 397) | struct timespec FILE: storaged/storaged_diskstats.cpp function log_debug_disk_perf (line 37) | void log_debug_disk_perf(struct disk_perf* perf, const char* type) { function log_debug_disk_perf (line 47) | void log_debug_disk_perf(struct disk_perf* perf, const char* type) {} function log_event_disk_stats (line 50) | void log_event_disk_stats(struct disk_stats* stats, const char* type) { function get_time (line 66) | bool get_time(struct timespec* ts) { function init_disk_stats_other (line 77) | void init_disk_stats_other(const struct timespec& ts, struct disk_stats*... function parse_disk_stats (line 84) | bool parse_disk_stats(const char* disk_stats_path, struct disk_stats* st... function convert_hal_disk_stats (line 107) | void convert_hal_disk_stats(struct disk_stats* dst, const DiskStats& src) { function get_disk_stats_from_health_hal (line 121) | bool get_disk_stats_from_health_hal(const std::shared_ptr& serv... function get_disk_perf (line 147) | struct disk_perf get_disk_perf(struct disk_stats* stats) function get_inc_disk_stats (line 176) | void get_inc_disk_stats(const struct disk_stats* prev, const struct disk... function add_disk_stats (line 187) | void add_disk_stats(struct disk_stats* src, struct disk_stats* dst) type disk_perf (line 231) | struct disk_perf type disk_perf (line 240) | struct disk_perf type disk_perf (line 248) | struct disk_perf type disk_stats (line 255) | struct disk_stats type disk_perf (line 261) | struct disk_perf type disk_perf (line 284) | struct disk_perf type disk_perf (line 313) | struct disk_perf type disk_stats (line 317) | struct disk_stats FILE: storaged/storaged_info.cpp function FileExists (line 51) | bool FileExists(const std::string& filename) function storage_info_t (line 59) | storage_info_t* storage_info_t::get_storage_info(const shared_ptr& args) { function status_t (line 188) | status_t StoragedPrivateService::start() { function get_storaged_pri_service (line 213) | sp get_storaged_pri_service() { FILE: storaged/storaged_uid_monitor.cpp function get_uid_names (line 120) | void get_uid_names(const vector& uids, const vector& ... function history_size (line 201) | inline size_t history_size( type uid_records (line 221) | struct uid_records type uid_record (line 223) | struct uid_record type uid_records (line 258) | struct uid_records type uid_records (line 267) | struct uid_records type uid_record (line 275) | struct uid_record type uid_records (line 276) | struct uid_records type uid_records (line 297) | struct uid_records type uid_io_usage (line 317) | struct uid_io_usage function set_io_usage_proto (line 382) | void set_io_usage_proto(IOUsage* usage_proto, const io_usage& usage) function get_io_usage_proto (line 394) | void get_io_usage_proto(io_usage* usage, const IOUsage& io_proto) type uid_records (line 412) | struct uid_records type uid_records (line 478) | struct uid_records type uid_record (line 497) | struct uid_record FILE: storaged/storaged_utils.cpp function cmp_uid_info (line 45) | bool cmp_uid_info(const UidInfo& l, const UidInfo& r) { function sort_running_uids_info (line 64) | void sort_running_uids_info(std::vector &uids) { function log_console_running_uids_info (line 69) | void log_console_running_uids_info(const std::vector& uids, boo... function log_console_perf_history (line 95) | void log_console_perf_history(const vector& perf_history) { function merge_io_usage (line 126) | map merge_io_usage(const vector& entries) { FILE: storaged/tests/fuzzers/storaged_private_service_fuzzer.cpp function LLVMFuzzerInitialize (line 24) | int LLVMFuzzerInitialize(int /**argc*/, char /****argv*/) { function LLVMFuzzerTestOneInput (line 30) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: storaged/tests/fuzzers/storaged_service_fuzzer.cpp function LLVMFuzzerInitialize (line 24) | int LLVMFuzzerInitialize(int /**argc*/, char /****argv*/) { function LLVMFuzzerTestOneInput (line 30) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: storaged/tests/storaged_test.cpp function write_and_pause (line 42) | void write_and_pause(uint32_t sec) { function TEST (line 77) | TEST(storaged_test, retvals) { function TEST (line 97) | TEST(storaged_test, disk_stats) { function mean (line 130) | double mean(std::deque nums) { function standard_deviation (line 138) | double standard_deviation(std::deque nums) { function TEST (line 147) | TEST(storaged_test, stream_stats) { function disk_perf_multiply (line 190) | struct disk_perf disk_perf_multiply(struct disk_perf perf, double mul) { function disk_stats_add (line 201) | struct disk_stats disk_stats_add(struct disk_stats stats1, struct disk_s... function expect_increasing (line 219) | void expect_increasing(struct disk_stats stats1, struct disk_stats stats... function TEST (line 243) | TEST(storaged_test, disk_stats_monitor) { function TEST (line 373) | TEST(storaged_test, storage_info_t) { function TEST (line 432) | TEST(storaged_test, storage_info_t_proto) { function TEST (line 457) | TEST(storaged_test, uid_monitor) { function TEST (line 644) | TEST(storaged_test, load_uid_io_proto) { FILE: storaged/tools/ranker.py function get_args (line 41) | def get_args(): function is_number (line 70) | def is_number(word): function combine_or_filter (line 78) | def combine_or_filter(args): function rank_uids (line 140) | def rank_uids(uids): function display_uids (line 155) | def display_uids(uid_rank, uids, args): function main (line 174) | def main(): FILE: storaged/uid_info.cpp function status_t (line 24) | status_t UidInfo::writeToParcel(Parcel* parcel) const { function status_t (line 38) | status_t UidInfo::readFromParcel(const Parcel* parcel) { FILE: toolbox/generate-input.h-labels.py function Dump (line 76) | def Dump(struct_name, values): FILE: toolbox/getevent.c type label (line 16) | struct label { type label (line 24) | struct label type pollfd (line 36) | struct pollfd type label (line 55) | struct label function print_input_props (line 63) | static int print_input_props(int fd) function print_possible_events (line 95) | static int print_possible_events(int fd, int print_flags) function print_event (line 210) | static void print_event(int type, int code, int value, int print_flags) function print_hid_descriptor (line 277) | static void print_hid_descriptor(int bus, int vendor, int product) function open_device (line 311) | static int open_device(const char *device, int print_flags) function close_device (line 410) | int close_device(const char *device, int print_flags) function read_notify (line 430) | static int read_notify(const char *dirname, int nfd, int print_flags) function scan_dir (line 472) | static int scan_dir(const char *dirname, int print_flags) function usage (line 496) | static void usage(char *name) function getevent_main (line 513) | int getevent_main(int argc, char *argv[]) FILE: toolbox/getprop.cpp type ResultType (line 33) | enum class ResultType { function PrintAllProperties (line 39) | void PrintAllProperties(ResultType result_type) { function PrintProperty (line 74) | void PrintProperty(const char* name, const char* default_value, ResultTy... function getprop_main (line 94) | int getprop_main(int argc, char** argv) { FILE: toolbox/modprobe.cpp type modprobe_mode (line 35) | enum modprobe_mode { function print_usage (line 42) | void print_usage(void) { function stripComments (line 69) | std::string stripComments(const std::string& str) { function MyLogger (line 82) | void MyLogger(android::base::LogId id, android::base::LogSeverity severi... function ModDirMatchesKernelPageSize (line 90) | static bool ModDirMatchesKernelPageSize(const char* mod_dir) { function ModDirMatchesKernelPageSizeLegacy (line 101) | static bool ModDirMatchesKernelPageSizeLegacy(const char* mod_dir) { function KernelVersionNameFilter (line 116) | static int KernelVersionNameFilter(const dirent* de) { function modprobe_main (line 150) | int modprobe_main(int argc, char** argv) { FILE: toolbox/setprop.cpp function setprop_main (line 29) | int setprop_main(int argc, char** argv) { FILE: toolbox/start.cpp function ControlService (line 30) | static void ControlService(bool start, const std::string& service) { function ControlDefaultServices (line 38) | static void ControlDefaultServices(bool start) { function StartStop (line 63) | static int StartStop(int argc, char** argv, bool start) { function start_main (line 88) | int start_main(int argc, char** argv) { function stop_main (line 92) | int stop_main(int argc, char** argv) { FILE: toolbox/toolbox.c function SIGPIPE_handler (line 21) | static void SIGPIPE_handler(int signal) { function main (line 28) | int main(int argc, char** argv) { function toolbox_main (line 48) | int toolbox_main(int argc, char** argv) { FILE: trusty/apploader/apploader.cpp type option (line 48) | struct option function print_usage_and_exit (line 62) | static void print_usage_and_exit(const char* prog, int code) { function parse_options (line 67) | static void parse_options(int argc, char** argv) { function unique_fd (line 92) | static unique_fd read_file(const char* file_name, off64_t* out_file_size) { function send_load_message (line 172) | static ssize_t send_load_message(int tipc_fd, int package_fd, off64_t pa... function read_response (line 187) | static ssize_t read_response(int tipc_fd) { function send_app_package (line 246) | static ssize_t send_app_package(const char* package_file_name) { function main (line 281) | int main(int argc, char** argv) { FILE: trusty/apploader/apploader_ipc.h type apploader_command (line 23) | enum apploader_command : uint32_t { type apploader_error (line 53) | enum apploader_error : uint32_t { type apploader_header (line 71) | struct apploader_header { type apploader_load_app_req (line 85) | struct apploader_load_app_req { type apploader_resp (line 97) | struct apploader_resp { FILE: trusty/apploader/fuzz/app_fuzzer.cpp type uuid (line 39) | struct uuid function SendLoadMsg (line 46) | static bool SendLoadMsg(int chan, int dma_buf, size_t dma_buf_size) { function LLVMFuzzerInitialize (line 86) | int LLVMFuzzerInitialize(int* /* argc */, char*** /* argv */) { function LLVMFuzzerTestOneInput (line 95) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: trusty/confirmationui/NotSoSecureInput.cpp class SecureInputHMacer (line 40) | class SecureInputHMacer { method hmac256 (line 42) | static optional hmac256(const AuthTokenKey& key, function Nonce (line 64) | Nonce generateNonce() { class NotSoSecureInput (line 91) | class NotSoSecureInput : public SecureInput { method NotSoSecureInput (line 93) | NotSoSecureInput(HsBeginCb hsBeginCb, HsFinalizeCb hsFinalizeCb, Deliv... method handleEvent (line 100) | void handleEvent(const EventDev& evdev) override { method start (line 158) | void start() override { method performDTUPHandshake (line 167) | teeui::ResponseCode performDTUPHandshake() { type secure_input (line 197) | namespace secure_input { function createSecureInput (line 199) | std::shared_ptr createSecureInput(SecureInput::HsBeginCb ... FILE: trusty/confirmationui/TrustyApp.cpp type android (line 27) | namespace android { type trusty (line 28) | namespace trusty { type confirmationui (line 29) | namespace confirmationui { FILE: trusty/confirmationui/TrustyApp.h function namespace (line 44) | namespace confirmationui { FILE: trusty/confirmationui/TrustyConfirmationUI.cpp type aidl::android::hardware::confirmationui (line 43) | namespace aidl::android::hardware::confirmationui { class Finalize (line 69) | class Finalize { method Finalize (line 74) | Finalize(std::function f) : f_(f) {} method release (line 78) | void release() { f_ = {}; } function convertRc (line 81) | int convertRc(TeeuiRc trc) { function convertUIOption (line 104) | teeui::UIOption convertUIOption(UIOption uio) { function MsgString (line 114) | inline MsgString stdString2MsgString(const string& s) { function stdVector2MsgVector (line 117) | inline MsgVector stdVector2MsgVector(const vector& v) { function stdVector2MsgVector (line 121) | inline MsgVector stdVector2MsgVector(const vector createTrustyConfirmationUI() { FILE: trusty/confirmationui/TrustyConfirmationUI.h function class (line 44) | class TrustyConfirmationUI : public BnConfirmationUI { FILE: trusty/confirmationui/fuzz/msg_fuzzer.cpp type uuid (line 43) | struct uuid function LLVMFuzzerInitialize (line 55) | int LLVMFuzzerInitialize(int* /* argc */, char*** /* argv */) { function Init (line 78) | static bool Init(int chan, int dma_buf) { function Msg (line 113) | static bool Msg(int chan, const uint8_t* data, size_t size) { function LLVMFuzzerTestOneInput (line 147) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: trusty/confirmationui/fuzzer.cpp function LLVMFuzzerTestOneInput (line 25) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: trusty/confirmationui/include/TrustyConfirmationuiHal.h function namespace (line 21) | namespace aidl::android::hardware::confirmationui { FILE: trusty/confirmationui/include/TrustyIpc.h type confirmationui_cmd (line 35) | enum confirmationui_cmd : uint32_t { type confirmationui_hdr (line 51) | struct confirmationui_hdr { type confirmationui_init_req (line 63) | struct confirmationui_init_req { type confirmationui_msg_args (line 76) | struct confirmationui_msg_args { FILE: trusty/confirmationui/service.cpp function main (line 26) | int main() { FILE: trusty/coverage/coverage.cpp type android (line 36) | namespace android { type trusty (line 37) | namespace trusty { type coverage (line 38) | namespace coverage { type uuid (line 46) | struct uuid type uuid (line 55) | struct uuid type coverage_record_header (line 201) | struct coverage_record_header FILE: trusty/coverage/coverage_test.cpp type android (line 33) | namespace android { type trusty (line 34) | namespace trusty { type coverage (line 35) | namespace coverage { type uuid (line 38) | struct uuid class CoverageTest (line 45) | class CoverageTest : public ::testing::Test { method SetUp (line 47) | void SetUp() override { method TearDown (line 53) | void TearDown() override { record_.reset(); } function TEST_F (line 58) | TEST_F(CoverageTest, CoverageReset) { function TEST_F (line 64) | TEST_F(CoverageTest, TestServerCoverage) { FILE: trusty/coverage/include/trusty/coverage/coverage.h function namespace (line 27) | namespace android { FILE: trusty/coverage/include/trusty/coverage/record.h type coverage_record_type (line 36) | enum coverage_record_type { type coverage_record_header (line 67) | struct coverage_record_header { FILE: trusty/coverage/include/trusty/coverage/tipc.h type coverage_client_cmd (line 26) | enum coverage_client_cmd { type coverage_client_hdr (line 33) | struct coverage_client_hdr { type coverage_client_open_req (line 37) | struct coverage_client_open_req { type coverage_client_open_resp (line 41) | struct coverage_client_open_resp { type coverage_client_share_record_req (line 45) | struct coverage_client_share_record_req { type coverage_client_req (line 49) | struct coverage_client_req { type coverage_client_resp (line 57) | struct coverage_client_resp { FILE: trusty/coverage/include/trusty/coverage/uuid.h type uuid (line 21) | struct uuid { type uuid (line 35) | struct uuid FILE: trusty/coverage/uuid.cpp function reverse_u16 (line 23) | static uint16_t reverse_u16(uint16_t u) { function reverse_u32 (line 27) | static uint32_t reverse_u32(uint32_t u) { function str_to_uuid (line 31) | bool str_to_uuid(const char* str, struct uuid* uuid) { FILE: trusty/fuzz/counters.cpp type android (line 39) | namespace android { type trusty (line 40) | namespace trusty { type fuzz (line 41) | namespace fuzz { FILE: trusty/fuzz/include/trusty/fuzz/counters.h function namespace (line 24) | namespace android { FILE: trusty/fuzz/include/trusty/fuzz/utils.h function namespace (line 26) | namespace android { FILE: trusty/fuzz/tipc_fuzzer.cpp function LLVMFuzzerInitialize (line 55) | int LLVMFuzzerInitialize(int* /* argc */, char*** /* argv */) { function abortResult (line 85) | void abortResult(Result result) { function testOneInput (line 93) | void testOneInput(FuzzedDataProvider& provider) { function LLVMFuzzerTestOneInput (line 147) | int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { FILE: trusty/fuzz/utils.cpp function PrintTrustyLog (line 43) | void PrintTrustyLog() { type android (line 73) | namespace android { type trusty (line 74) | namespace trusty { type fuzz (line 75) | namespace fuzz { function Abort (line 134) | void Abort() { FILE: trusty/gatekeeper/gatekeeper_ipc.h type gatekeeper_command (line 22) | enum gatekeeper_command { type gatekeeper_message (line 38) | struct gatekeeper_message { FILE: trusty/gatekeeper/service.cpp type option (line 29) | struct option function print_usage_and_exit (line 45) | static void print_usage_and_exit(const char* prog, int code, bool verbos... function parse_options (line 53) | static void parse_options(int argc, char** argv) { function main (line 78) | int main(int argc, char** argv) { FILE: trusty/gatekeeper/trusty_gatekeeper.cpp type aidl::android::hardware::gatekeeper (line 30) | namespace aidl::android::hardware::gatekeeper { function SizedBuffer (line 55) | SizedBuffer vec2sized_buffer(const std::vector& vec) { function sizedBuffer2AidlHWToken (line 62) | void sizedBuffer2AidlHWToken(SizedBuffer& buffer, function gatekeeper_error_t (line 187) | gatekeeper_error_t TrustyGateKeeperDevice::Send(uint32_t command, cons... FILE: trusty/gatekeeper/trusty_gatekeeper.h function namespace (line 28) | namespace aidl::android::hardware::gatekeeper { FILE: trusty/gatekeeper/trusty_gatekeeper_ipc.c function trusty_gatekeeper_set_dev_name (line 34) | void trusty_gatekeeper_set_dev_name(const char* device_name) { function trusty_gatekeeper_connect (line 38) | int trusty_gatekeeper_connect() { function trusty_gatekeeper_call (line 48) | int trusty_gatekeeper_call(uint32_t cmd, void *in, uint32_t in_size, uin... function trusty_gatekeeper_disconnect (line 92) | void trusty_gatekeeper_disconnect() { FILE: trusty/keymaster/3.0/TrustyKeymaster3Device.cpp type keymaster (line 50) | namespace keymaster { function keymaster_tag_t (line 54) | inline keymaster_tag_t legacy_enum_conversion(const Tag value) { function Tag (line 57) | inline Tag legacy_enum_conversion(const keymaster_tag_t value) { function keymaster_purpose_t (line 60) | inline keymaster_purpose_t legacy_enum_conversion(const KeyPurpose val... function keymaster_key_format_t (line 63) | inline keymaster_key_format_t legacy_enum_conversion(const KeyFormat v... function ErrorCode (line 66) | inline ErrorCode legacy_enum_conversion(const keymaster_error_t value) { function keymaster_tag_type_t (line 70) | inline keymaster_tag_type_t typeFromTag(const keymaster_tag_t tag) { class KmParamSet (line 74) | class KmParamSet : public keymaster_key_param_set_t { method KmParamSet (line 76) | KmParamSet(const hidl_vec& keyParams) { method KmParamSet (line 116) | KmParamSet(KmParamSet&& other) noexcept method KmParamSet (line 121) | KmParamSet(const KmParamSet&) = delete; function kmBlob2hidlVec (line 125) | inline hidl_vec kmBlob2hidlVec(const keymaster_key_blob_t& bl... function kmBlob2hidlVec (line 131) | inline hidl_vec kmBlob2hidlVec(const keymaster_blob_t& blob) { function kmBuffer2hidlVec (line 137) | inline hidl_vec kmBuffer2hidlVec(const ::keymaster::Buffer& b... function kmCertChain2Hidl (line 143) | inline static hidl_vec> kmCertChain2Hidl( function kmParamSet2Hidl (line 156) | static inline hidl_vec kmParamSet2Hidl(const keymaster_k... function addClientAndAppData (line 199) | void addClientAndAppData(const hidl_vec& clientId, const hidl... FILE: trusty/keymaster/3.0/service.cpp function main (line 24) | int main() { FILE: trusty/keymaster/4.0/TrustyKeymaster4Device.cpp type keymaster (line 54) | namespace keymaster { type V4_0 (line 55) | namespace V4_0 { function keymaster_tag_t (line 58) | inline keymaster_tag_t legacy_enum_conversion(const Tag value) { function Tag (line 61) | inline Tag legacy_enum_conversion(const keymaster_tag_t value) { function keymaster_purpose_t (line 64) | inline keymaster_purpose_t legacy_enum_conversion(const KeyPurpose v... function keymaster_key_format_t (line 67) | inline keymaster_key_format_t legacy_enum_conversion(const KeyFormat... function SecurityLevel (line 71) | inline SecurityLevel legacy_enum_conversion(const keymaster_security... function hw_authenticator_type_t (line 75) | inline hw_authenticator_type_t legacy_enum_conversion(const Hardware... function ErrorCode (line 79) | inline ErrorCode legacy_enum_conversion(const keymaster_error_t valu... function keymaster_tag_type_t (line 83) | inline keymaster_tag_type_t typeFromTag(const keymaster_tag_t tag) { function injectAuthToken (line 94) | inline hidl_vec injectAuthToken(const hidl_vec& keyParams) { method KmParamSet (line 168) | KmParamSet(KmParamSet&& other) noexcept method KmParamSet (line 173) | KmParamSet(const KmParamSet&) = delete; function kmBlob2hidlVec (line 177) | inline hidl_vec kmBlob2hidlVec(const keymaster_key_blob_t& ... function kmBlob2hidlVec (line 183) | inline hidl_vec kmBlob2hidlVec(const keymaster_blob_t& blob) { function kmBuffer2hidlVec (line 189) | inline hidl_vec kmBuffer2hidlVec(const ::keymaster::Buffer&... function kmCertChain2Hidl (line 195) | inline static hidl_vec> kmCertChain2Hidl( function kmParamSet2Hidl (line 208) | static inline hidl_vec kmParamSet2Hidl(const keymaster... function addClientAndAppData (line 251) | void addClientAndAppData(const hidl_vec& clientId, const hi... FILE: trusty/keymaster/4.0/service.cpp function main (line 24) | int main() { FILE: trusty/keymaster/TrustyKeymaster.cpp type keymaster (line 25) | namespace keymaster { function ForwardCommand (line 101) | static void ForwardCommand(enum keymaster_command command, const Keyma... function GetHmacSharingParametersResponse (line 246) | GetHmacSharingParametersResponse TrustyKeymaster::GetHmacSharingParame... function ComputeSharedHmacResponse (line 253) | ComputeSharedHmacResponse TrustyKeymaster::ComputeSharedHmac( function VerifyAuthorizationResponse (line 260) | VerifyAuthorizationResponse TrustyKeymaster::VerifyAuthorization( function GetVersion2Response (line 267) | GetVersion2Response TrustyKeymaster::GetVersion2(const GetVersion2Requ... function EarlyBootEndedResponse (line 273) | EarlyBootEndedResponse TrustyKeymaster::EarlyBootEnded() { function DeviceLockedResponse (line 279) | DeviceLockedResponse TrustyKeymaster::DeviceLocked(const DeviceLockedR... function ConfigureVendorPatchlevelResponse (line 285) | ConfigureVendorPatchlevelResponse TrustyKeymaster::ConfigureVendorPatc... function GetRootOfTrustResponse (line 292) | GetRootOfTrustResponse TrustyKeymaster::GetRootOfTrust(const GetRootOf... function SetAdditionalAttestationInfoResponse (line 298) | SetAdditionalAttestationInfoResponse TrustyKeymaster::SetAdditionalAtt... function GetHwInfoResponse (line 305) | GetHwInfoResponse TrustyKeymaster::GetHwInfo() { FILE: trusty/keymaster/include/trusty_keymaster/TrustyKeyMintDevice.h function namespace (line 25) | namespace aidl::android::hardware::security::keymint::trusty { FILE: trusty/keymaster/include/trusty_keymaster/TrustyKeyMintOperation.h function namespace (line 26) | namespace aidl::android::hardware::security::keymint { FILE: trusty/keymaster/include/trusty_keymaster/TrustyKeymaster.h function namespace (line 22) | namespace keymaster { FILE: trusty/keymaster/include/trusty_keymaster/TrustyKeymaster3Device.h function namespace (line 28) | namespace keymaster { FILE: trusty/keymaster/include/trusty_keymaster/TrustyKeymaster4Device.h function namespace (line 25) | namespace keymaster { FILE: trusty/keymaster/include/trusty_keymaster/TrustyRemotelyProvisionedComponentDevice.h function namespace (line 25) | namespace aidl::android::hardware::security::keymint::trusty { FILE: trusty/keymaster/include/trusty_keymaster/TrustySecureClock.h function namespace (line 25) | namespace aidl::android::hardware::security::secureclock::trusty { FILE: trusty/keymaster/include/trusty_keymaster/TrustySharedSecret.h function namespace (line 24) | namespace aidl::android::hardware::security::sharedsecret::trusty { FILE: trusty/keymaster/include/trusty_keymaster/ipc/keymaster_ipc.h type keymaster_command (line 25) | enum keymaster_command : uint32_t { type keymaster_message (line 93) | struct keymaster_message { FILE: trusty/keymaster/include/trusty_keymaster/ipc/trusty_keymaster_ipc.h type keymaster_message (line 27) | struct keymaster_message FILE: trusty/keymaster/include/trusty_keymaster/legacy/trusty_keymaster_device.h function namespace (line 23) | namespace keymaster { FILE: trusty/keymaster/ipc/trusty_keymaster_ipc.cpp function trusty_keymaster_set_dev_name (line 46) | void trusty_keymaster_set_dev_name(const char* device_name) { function trusty_keymaster_connect (line 49) | int trusty_keymaster_connect() { class VectorEraser (line 59) | class VectorEraser { method VectorEraser (line 61) | VectorEraser(std::vector* v) : _v(v) {} method disarm (line 68) | void disarm() { _v = nullptr; } method VectorEraser (line 69) | VectorEraser(const VectorEraser&) = delete; method VectorEraser (line 70) | VectorEraser& operator=(const VectorEraser&) = delete; method VectorEraser (line 71) | VectorEraser(VectorEraser&& other) = delete; method VectorEraser (line 72) | VectorEraser& operator=(VectorEraser&&) = delete; function trusty_keymaster_call_2 (line 78) | std::variant> trusty_keymaster_call_2(uint32_t... function trusty_keymaster_call (line 221) | int trusty_keymaster_call(uint32_t cmd, void* in, uint32_t in_size, uint... function trusty_keymaster_disconnect (line 242) | void trusty_keymaster_disconnect() { function keymaster_error_t (line 249) | keymaster_error_t translate_error(int err) { function keymaster_error_t (line 280) | keymaster_error_t trusty_keymaster_send(uint32_t command, const keymaste... FILE: trusty/keymaster/keymint/TrustyKeyMintDevice.cpp type aidl::android::hardware::security::keymint::trusty (line 30) | namespace aidl::android::hardware::security::keymint::trusty { function KeyCharacteristics (line 49) | KeyCharacteristics convertAuthSet(SecurityLevel securityLevel, function convertKeyCharacteristics (line 57) | vector convertKeyCharacteristics(const keymaster::... function Certificate (line 74) | Certificate convertCertificate(const keymaster_blob_t& cert) { function convertCertificateChain (line 78) | vector convertCertificateChain(const keymaster::Certifica... function addClientAndAppData (line 84) | void addClientAndAppData(const vector& clientId, const vector... function ScopedAStatus (line 93) | ScopedAStatus TrustyKeyMintDevice::getHardwareInfo(KeyMintHardwareInfo... function ScopedAStatus (line 102) | ScopedAStatus TrustyKeyMintDevice::addRngEntropy(const vector... function ScopedAStatus (line 118) | ScopedAStatus TrustyKeyMintDevice::generateKey(const vector& k... function ScopedAStatus (line 241) | ScopedAStatus TrustyKeyMintDevice::deleteKey(const vector& ke... function ScopedAStatus (line 251) | ScopedAStatus TrustyKeyMintDevice::deleteAllKeys() { function ScopedAStatus (line 260) | ScopedAStatus TrustyKeyMintDevice::destroyAttestationIds() { function ScopedAStatus (line 268) | ScopedAStatus TrustyKeyMintDevice::begin(KeyPurpose purpose, const vec... function ScopedAStatus (line 294) | ScopedAStatus TrustyKeyMintDevice::deviceLocked( function ScopedAStatus (line 307) | ScopedAStatus TrustyKeyMintDevice::earlyBootEnded() { function ScopedAStatus (line 312) | ScopedAStatus TrustyKeyMintDevice::convertStorageKeyToEphemeral( function ScopedAStatus (line 328) | ScopedAStatus TrustyKeyMintDevice::getRootOfTrustChallenge(array& in... function ScopedAStatus (line 114) | ScopedAStatus TrustyKeyMintOperation::finish(const optional addService(Args&&... args) { type option (line 45) | struct option function print_usage_and_exit (line 61) | static void print_usage_and_exit(const char* prog, int code, bool verbos... function parse_options (line 69) | static void parse_options(int argc, char** argv) { function main (line 94) | int main(int argc, char** argv) { FILE: trusty/keymaster/set_attestation_ids/set_attestation_ids.cpp type option (line 29) | struct option function exec_command (line 47) | std::string exec_command(const std::string& command) { function get_imei (line 69) | std::string get_imei(int slot) { function buf2string (line 94) | std::string buf2string(const keymaster::Buffer& buf) { function print_usage (line 98) | void print_usage(const char* prog, const keymaster::SetAttestationIdsKM3... function set_to (line 121) | void set_to(keymaster::Buffer* buf, const std::string& value) { function set_from_prop (line 127) | void set_from_prop(keymaster::Buffer* buf, const std::string& prop) { function populate_base_ids (line 132) | void populate_base_ids(keymaster::SetAttestationIdsRequest* req) { function populate_ids (line 143) | void populate_ids(keymaster::SetAttestationIdsKM3Request* req) { function main (line 156) | int main(int argc, char** argv) { FILE: trusty/keymaster/set_attestation_key/set_attestation_key.cpp type option (line 34) | struct option function print_usage_and_exit (line 46) | static void print_usage_and_exit(const char* prog, int code) { function parse_options (line 51) | static void parse_options(int argc, char** argv) { type SetAttestationKeyRequest (line 72) | struct SetAttestationKeyRequest : public keymaster::KeymasterMessage { method SetAttestationKeyRequest (line 73) | explicit SetAttestationKeyRequest(int32_t ver = keymaster::kDefaultMes... method SerializedSize (line 76) | size_t SerializedSize() const override { return sizeof(uint32_t) + key... method Deserialize (line 81) | bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { type KeymasterNoResponse (line 90) | struct KeymasterNoResponse : public keymaster::KeymasterResponse { method KeymasterNoResponse (line 91) | explicit KeymasterNoResponse(int32_t ver = keymaster::kDefaultMessageV... method NonErrorSerializedSize (line 94) | size_t NonErrorSerializedSize() const override { return 0; } method NonErrorDeserialize (line 96) | bool NonErrorDeserialize(const uint8_t**, const uint8_t*) override { r... type SetAttestationKeyResponse (line 99) | struct SetAttestationKeyResponse : public KeymasterNoResponse {} type ClearAttestationCertChainRequest (line 101) | struct ClearAttestationCertChainRequest : public keymaster::KeymasterMes... method ClearAttestationCertChainRequest (line 102) | explicit ClearAttestationCertChainRequest(int32_t ver = keymaster::kDe... method SerializedSize (line 105) | size_t SerializedSize() const override { return sizeof(uint32_t); } method Deserialize (line 109) | bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { type ClearAttestationCertChainResponse (line 116) | struct ClearAttestationCertChainResponse : public KeymasterNoResponse {} function set_attestation_key_or_cert_bin (line 118) | static int set_attestation_key_or_cert_bin(uint32_t cmd, keymaster_algor... function set_attestation_key_or_cert_pem (line 136) | static int set_attestation_key_or_cert_pem(uint32_t cmd, keymaster_algor... function set_attestation_key_or_cert_iecs (line 172) | static int set_attestation_key_or_cert_iecs(uint32_t cmd, keymaster_algo... function str_to_algorithm (line 214) | static int str_to_algorithm(keymaster_algorithm_t* algorithm, const xmlC... function set_attestation_key_or_cert (line 226) | static int set_attestation_key_or_cert(uint32_t cmd, const xmlChar* algo... function clear_cert_chain (line 247) | static int clear_cert_chain(const xmlChar* algorithm_str) { function process_xml (line 265) | static int process_xml(xmlTextReaderPtr xml) { function parse_xml_file (line 326) | static int parse_xml_file(const char* filename) { function provision_ids (line 345) | static int provision_ids(void) { function main (line 358) | int main(int argc, char** argv) { FILE: trusty/keymaster/set_uds_certs/set_uds_certificates.cpp type option (line 32) | struct option function print_usage_and_exit (line 44) | static void print_usage_and_exit(const char* prog, int code) { function parse_options (line 49) | static void parse_options(int argc, char** argv) { type AppendUdsCertificateRequest (line 70) | struct AppendUdsCertificateRequest : public keymaster::KeymasterMessage { method AppendUdsCertificateRequest (line 71) | explicit AppendUdsCertificateRequest(int32_t ver = keymaster::kDefault... method SerializedSize (line 74) | size_t SerializedSize() const override { return cert_data.SerializedSi... method Deserialize (line 78) | bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { type ClearUdsCertificateRequest (line 85) | struct ClearUdsCertificateRequest : public keymaster::KeymasterMessage { method ClearUdsCertificateRequest (line 86) | explicit ClearUdsCertificateRequest(int32_t ver = keymaster::kDefaultM... method SerializedSize (line 89) | size_t SerializedSize() const override { return 0; } method Deserialize (line 91) | bool Deserialize(const uint8_t**, const uint8_t*) override { return tr... type KeymasterNoResponse (line 94) | struct KeymasterNoResponse : public keymaster::KeymasterResponse{ method KeymasterNoResponse (line 95) | explicit KeymasterNoResponse(int32_t ver = keymaster::kDefaultMessageV... method NonErrorSerializedSize (line 98) | size_t NonErrorSerializedSize() const override { return 0; } method NonErrorDeserialize (line 100) | bool NonErrorDeserialize(const uint8_t**, const uint8_t*) override { r... type AppendUdsCertificateResponse (line 103) | struct AppendUdsCertificateResponse : public KeymasterNoResponse {} type ClearUdsCertificateResponse (line 104) | struct ClearUdsCertificateResponse : public KeymasterNoResponse {} function set_uds_cert_bin (line 106) | static int set_uds_cert_bin(uint32_t cmd, const void* cert_data, size_t ... function set_uds_cert_pem (line 122) | static int set_uds_cert_pem(uint32_t cmd, const xmlChar* pemkey) { function set_uds_cert (line 157) | static int set_uds_cert(uint32_t cmd, const xmlChar* format, const xmlCh... function clear_cert_chain (line 170) | static int clear_cert_chain() { function process_xml (line 183) | static int process_xml(xmlTextReaderPtr xml) { function parse_and_provision_xml_file (line 238) | static int parse_and_provision_xml_file(const char* filename) { function main (line 257) | int main(int argc, char** argv) { FILE: trusty/keymint/src/keymint_hal_main.rs constant TRUSTY_KEYMINT_RUST_SERVICE_NAME (line 30) | const TRUSTY_KEYMINT_RUST_SERVICE_NAME: &str = "com.android.trusty.keymi... type HalServiceError (line 41) | struct HalServiceError(String); type TipcChannel (line 44) | struct TipcChannel(trusty::TipcChannel); constant MAX_SIZE (line 47) | const MAX_SIZE: usize = 4000; method execute (line 48) | fn execute(&mut self, serialized_req: &[u8]) -> binder::Result> { type Args (line 86) | struct Args { function main (line 92) | fn main() { function inner_main (line 98) | fn inner_main() -> Result<(), HalServiceError> { FILE: trusty/libtrusty-rs/src/lib.rs constant DEFAULT_DEVICE (line 80) | pub const DEFAULT_DEVICE: &str = "/dev/trusty-ipc-dev0"; constant MAX_MESSAGE_SIZE (line 86) | pub const MAX_MESSAGE_SIZE: usize = 4096; type TipcChannel (line 92) | pub struct TipcChannel(File); method connect (line 107) | pub fn connect(device: &str, service: &str) -> Result { method connect_vsock (line 115) | fn connect_vsock(type_cid_port_str: &str, service: &str) -> Result, service: &str) -> Result Result<()> { method recv (line 245) | pub fn recv(&mut self, buf: &mut Vec) -> Result<()> { method recv_no_alloc (line 308) | pub fn recv_no_alloc(&mut self, buf: &mut [u8]) -> Result { FILE: trusty/libtrusty-rs/src/sys.rs constant TIPC_IOC_MAGIC (line 12) | const TIPC_IOC_MAGIC: u8 = b'r'; FILE: trusty/libtrusty-rs/tests/test.rs constant ECHO_NAME (line 3) | const ECHO_NAME: &str = "com.android.ipc-unittest.srv.echo"; function recv_no_alloc (line 6) | fn recv_no_alloc() { function recv_small_buf (line 30) | fn recv_small_buf() { function recv_empty_vec (line 53) | fn recv_empty_vec() { function recv_vec_existing_capacity (line 70) | fn recv_vec_existing_capacity() { FILE: trusty/libtrusty/include/trusty/ipc.h type transfer_kind (line 45) | enum transfer_kind { type trusty_shm (line 57) | struct trusty_shm { type tipc_send_msg_req (line 70) | struct tipc_send_msg_req { FILE: trusty/libtrusty/include/trusty/tipc.h type iovec (line 28) | struct iovec type trusty_shm (line 28) | struct trusty_shm FILE: trusty/libtrusty/tipc-test/tipc_test.c type option (line 72) | struct option type tipc_test_params (line 123) | struct tipc_test_params { type tipc_test_params (line 134) | struct tipc_test_params type tipc_test_def (line 136) | struct tipc_test_def { function init_params (line 141) | static void init_params(struct tipc_test_params* params) { function print_usage_and_exit (line 152) | static void print_usage_and_exit(const char *prog, int code, bool verbose) function parse_options (line 159) | static void parse_options(int argc, char** argv, struct tipc_test_params... function connect_test (line 214) | static int connect_test(const struct tipc_test_params* params) { function connect_foo (line 259) | static int connect_foo(const struct tipc_test_params* params) { function closer1_test (line 282) | static int closer1_test(const struct tipc_test_params* params) { function closer2_test (line 309) | static int closer2_test(const struct tipc_test_params* params) { function closer3_test (line 337) | static int closer3_test(const struct tipc_test_params* params) { function echo_test (line 398) | static int echo_test(const struct tipc_test_params* params) { function burst_write_test (line 457) | static int burst_write_test(const struct tipc_test_params* params) { function _wait_for_msg (line 501) | static int _wait_for_msg(int fd, int timeout, const struct tipc_test_par... function select_test (line 551) | static int select_test(const struct tipc_test_params* params) { function blocked_read_test (line 593) | static int blocked_read_test(const struct tipc_test_params* params) { function ta2ta_ipc_test (line 630) | static int ta2ta_ipc_test(const struct tipc_test_params* params) { type uuid_t (line 678) | typedef struct uuid function print_uuid (line 686) | static void print_uuid(const char *dev, uuid_t *uuid) function dev_uuid_test (line 696) | static int dev_uuid_test(const struct tipc_test_params* params) { function ta_access_test (line 722) | static int ta_access_test(const struct tipc_test_params* params) { function writev_test (line 749) | static int writev_test(const struct tipc_test_params* params) { function readv_test (line 827) | static int readv_test(const struct tipc_test_params* params) { function send_fd_test (line 905) | static int send_fd_test(const struct tipc_test_params* params) { function get_time_us (line 981) | uint64_t get_time_us(void) { type tipc_test_def (line 988) | struct tipc_test_def function tipc_test_func_t (line 1006) | tipc_test_func_t get_test_function(const struct tipc_test_params* params) { function run_as_bench (line 1016) | static int run_as_bench(const struct tipc_test_params* params) { function main (line 1048) | int main(int argc, char **argv) FILE: trusty/libtrusty/trusty.c function tipc_vsock_connect (line 45) | static int tipc_vsock_connect(const char* type_cid_port_str, const char*... function tipc_vsock_send (line 153) | static size_t tipc_vsock_send(int fd, const struct iovec* iov, int iovcn... function tipc_connect (line 172) | int tipc_connect(const char* dev_name, const char* srv_name) { function tipc_send (line 200) | ssize_t tipc_send(int fd, const struct iovec* iov, int iovcnt, struct tr... function tipc_close (line 219) | void tipc_close(int fd) { FILE: trusty/line-coverage/coverage.cpp type control (line 35) | struct control { type android (line 45) | namespace android { type trusty (line 46) | namespace trusty { type line_coverage (line 47) | namespace line_coverage { type uuid (line 53) | struct uuid type line_coverage_client_req (line 74) | struct line_coverage_client_req type line_coverage_client_resp (line 76) | struct line_coverage_client_resp type line_coverage_client_req (line 112) | struct line_coverage_client_req type line_coverage_client_resp (line 113) | struct line_coverage_client_resp type control (line 176) | struct control type control (line 177) | struct control FILE: trusty/line-coverage/include/trusty/line-coverage/coverage.h function namespace (line 27) | namespace android { FILE: trusty/line-coverage/include/trusty/line-coverage/tipc.h type line_coverage_client_cmd (line 35) | enum line_coverage_client_cmd { type line_coverage_client_hdr (line 51) | struct line_coverage_client_hdr { type line_coverage_client_open_req (line 63) | struct line_coverage_client_open_req { type line_coverage_client_open_resp (line 75) | struct line_coverage_client_open_resp { type line_coverage_client_send_list_resp (line 84) | struct line_coverage_client_send_list_resp { type line_coverage_client_send_list_req (line 93) | struct line_coverage_client_send_list_req { type line_coverage_client_share_record_req (line 108) | struct line_coverage_client_share_record_req { type line_coverage_client_req (line 119) | struct line_coverage_client_req { type line_coverage_client_resp (line 134) | struct line_coverage_client_resp { FILE: trusty/line-coverage/include/trusty/line-coverage/uuid.h type uuid (line 24) | struct uuid { FILE: trusty/metrics/include/trusty/metrics/metrics.h function namespace (line 26) | namespace android { FILE: trusty/metrics/include/trusty/metrics/tipc.h type metrics_cmd (line 57) | enum metrics_cmd { type metrics_error (line 72) | enum metrics_error { type metrics_req (line 82) | struct metrics_req { type metrics_resp (line 93) | struct metrics_resp { type metrics_report_exit_req (line 105) | struct metrics_report_exit_req { type metrics_report_crash_req (line 125) | struct metrics_report_crash_req { type TrustyStorageErrorType (line 135) | enum TrustyStorageErrorType { type TrustyFileSystem (line 152) | enum TrustyFileSystem { type TrustyBlockType (line 161) | enum TrustyBlockType { type metrics_report_storage_error_req (line 175) | struct metrics_report_storage_error_req { type metrics_msg (line 186) | struct metrics_msg { FILE: trusty/metrics/metrics.cpp type android (line 27) | namespace android { type trusty (line 28) | namespace trusty { type metrics (line 29) | namespace metrics { type pollfd (line 59) | struct pollfd type metrics_msg (line 81) | struct metrics_msg type metrics_report_crash_req (line 96) | struct metrics_report_crash_req FILE: trusty/metrics/metrics_test.cpp type android (line 27) | namespace android { type trusty (line 28) | namespace trusty { type metrics (line 29) | namespace metrics { function TriggerCrash (line 33) | static void TriggerCrash() { class TrustyMetricsTest (line 53) | class TrustyMetricsTest : public TrustyMetrics, public ::testing::... method TrustyMetricsTest (line 55) | TrustyMetricsTest() : TrustyMetrics(TIPC_DEV) {} method HandleCrash (line 57) | virtual void HandleCrash(const std::string& app_id) override { c... method HandleEventDrop (line 59) | virtual void HandleEventDrop() override { event_drop_count_++; } method SetUp (line 61) | virtual void SetUp() override { method DrainEvents (line 71) | void DrainEvents() { method WaitForAndHandleEvent (line 78) | void WaitForAndHandleEvent() { function TEST_F (line 90) | TEST_F(TrustyMetricsTest, Crash) { function TEST_F (line 101) | TEST_F(TrustyMetricsTest, PollSet) { function TEST_F (line 135) | TEST_F(TrustyMetricsTest, EventDrop) { FILE: trusty/secretkeeper/src/hal_main.rs constant SK_TIPC_SERVICE_PORT (line 32) | const SK_TIPC_SERVICE_PORT: &str = "com.android.trusty.secretkeeper"; constant AG_TIPC_SERVICE_PORT (line 33) | const AG_TIPC_SERVICE_PORT: &str = "com.android.trusty.secretkeeper.auth... constant TIPC_MAX_SIZE (line 34) | const TIPC_MAX_SIZE: usize = 4000; type HalServiceError (line 40) | struct HalServiceError(String); type TipcChannel (line 43) | struct TipcChannel { method new (line 48) | fn new(channel: trusty::TipcChannel) -> Self { function binderr (line 53) | fn binderr(msg: &str, e: E) -> binder::Status { constant MAX_SIZE (line 63) | const MAX_SIZE: usize = usize::MAX; method execute (line 65) | fn execute(&self, req_data: &[u8]) -> binder::Result> { function main (line 93) | fn main() { function inner_main (line 99) | fn inner_main() -> Result<(), HalServiceError> { FILE: trusty/secure_dpu/include/trusty/secure_dpu/SecureDpu.h type secure_dpu_cmd (line 59) | enum secure_dpu_cmd { type secure_dpu_allocate_buffer_req (line 73) | struct secure_dpu_allocate_buffer_req { type secure_dpu_allocate_buffer_resp (line 83) | struct secure_dpu_allocate_buffer_resp { type secure_dpu_req (line 91) | struct secure_dpu_req { type secure_dpu_resp (line 102) | struct secure_dpu_resp { type secure_dpu_error (line 107) | enum secure_dpu_error { FILE: trusty/stats/test/stats_test.cpp type TrustyAtoms (line 70) | enum TrustyAtoms : int32_t { type TestMsgHeader (line 76) | enum TestMsgHeader : int32_t { type android (line 82) | namespace android { type trusty (line 83) | namespace trusty { type stats (line 84) | namespace stats { class Stats (line 86) | class Stats : public BnStats { method Stats (line 88) | Stats() : BnStats() {} method Status (line 90) | Status reportVendorAtom(const VendorAtom& vendorAtom) override { method status_t (line 99) | status_t getVendorAtom(VendorAtom* pVendorAtom, int64_t waitForM... class TrustyStatsTestBase (line 130) | class TrustyStatsTestBase : public ::testing::Test { method TrustyStatsTestBase (line 132) | TrustyStatsTestBase(std::string&& portNameStatsSetter, std::stri... method SetUp (line 137) | void SetUp() override { method TearDown (line 161) | void TearDown() override { method StartPortTest (line 178) | void StartPortTest() { method WaitPortTestDone (line 187) | void WaitPortTestDone() { class TrustyStatsTest (line 224) | class TrustyStatsTest : public TrustyStatsTestBase { method TrustyStatsTest (line 226) | TrustyStatsTest() : TrustyStatsTestBase(kTrustyStatsSetterTest, ... class TrustyMetricsCrashTest (line 229) | class TrustyMetricsCrashTest : public TrustyStatsTestBase { method TrustyMetricsCrashTest (line 231) | TrustyMetricsCrashTest() function TEST_F (line 235) | TEST_F(TrustyStatsTest, CheckAtoms) { function TEST_F (line 289) | TEST_F(TrustyMetricsCrashTest, CheckTrustyCrashAtoms) { FILE: trusty/storage/lib/include/trusty/lib/storage.h type file_handle_t (line 27) | typedef uint64_t file_handle_t; type storage_off_t (line 28) | typedef uint64_t storage_off_t; type storage_ops_flags (line 36) | enum storage_ops_flags { FILE: trusty/storage/lib/storage.c function file_handle_t (line 32) | static inline file_handle_t make_file_handle(storage_session_t s, uint32... function storage_session_t (line 37) | static inline storage_session_t _to_session(file_handle_t fh) function _to_handle (line 42) | static inline uint32_t _to_handle(file_handle_t fh) function _to_msg_flags (line 47) | static inline uint32_t _to_msg_flags(uint32_t opflags) function check_response (line 57) | static ssize_t check_response(struct storage_msg *msg, ssize_t res) function send_reqv (line 104) | static ssize_t send_reqv(storage_session_t session, function storage_open_session (line 127) | int storage_open_session(const char *device, storage_session_t *session_p, function storage_close_session (line 137) | void storage_close_session(storage_session_t session) function storage_open_file (line 143) | int storage_open_file(storage_session_t session, file_handle_t *handle_p... function storage_close_file (line 166) | void storage_close_file(file_handle_t fh) function storage_delete_file (line 180) | int storage_delete_file(storage_session_t session, const char *name, uin... function _read_chunk (line 191) | static int _read_chunk(file_handle_t fh, storage_off_t off, void *buf, s... function storage_read (line 202) | ssize_t storage_read(file_handle_t fh, storage_off_t off, void *buf, siz... function _write_req (line 225) | static int _write_req(file_handle_t fh, storage_off_t off, function storage_write (line 238) | ssize_t storage_write(file_handle_t fh, storage_off_t off, function storage_set_file_size (line 268) | int storage_set_file_size(file_handle_t fh, storage_off_t file_size, uin... function storage_get_file_size (line 279) | int storage_get_file_size(file_handle_t fh, storage_off_t *size_p) function storage_end_transaction (line 301) | int storage_end_transaction(storage_session_t session, bool complete) FILE: trusty/storage/proxy/checkpoint_handling.cpp function is_data_checkpoint_active (line 33) | int is_data_checkpoint_active(bool* active) { function is_gsi_running (line 89) | bool is_gsi_running() { FILE: trusty/storage/proxy/ipc.c function ipc_connect (line 35) | int ipc_connect(const char *device, const char *port) function ipc_disconnect (line 59) | void ipc_disconnect(void) function ipc_get_msg (line 67) | ssize_t ipc_get_msg(struct storage_msg *msg, void *req_buf, size_t req_b... function ipc_respond (line 96) | int ipc_respond(struct storage_msg *msg, void *out, size_t out_size) FILE: trusty/storage/proxy/ipc.h type storage_msg (line 23) | struct storage_msg type storage_msg (line 24) | struct storage_msg FILE: trusty/storage/proxy/proxy.c type dev_type (line 46) | enum dev_type type storage_mapping_node (line 49) | struct storage_mapping_node function parse_dev_type (line 51) | static enum dev_type parse_dev_type(const char* dev_type_name) { function parse_and_append_file_mapping (line 65) | static int parse_and_append_file_mapping(const char* file_mapping) { type option (line 100) | struct option function show_usage_and_exit (line 109) | static void show_usage_and_exit(int code) { function handle_req (line 123) | static int handle_req(struct storage_msg* msg, const void* req, size_t r... function proxy_loop (line 216) | static int proxy_loop(void) { function parse_args (line 235) | static void parse_args(int argc, char* argv[]) { function main (line 297) | int main(int argc, char* argv[]) { FILE: trusty/storage/proxy/rpmb.c type sec_proto_cdb (line 88) | struct sec_proto_cdb { type dev_type (line 117) | enum dev_type function log_buf (line 131) | static int log_buf(int priority, const char* prefix, const uint8_t* buf,... function set_sg_io_hdr (line 178) | static void set_sg_io_hdr(sg_io_hdr_t* io_hdrp, int dxfer_direction, uns... type scsi_result (line 201) | enum scsi_result { function check_scsi_sense (line 207) | static enum scsi_result check_scsi_sense(const uint8_t* sense_buf, size_... function check_sg_io_hdr (line 280) | static enum scsi_result check_sg_io_hdr(const sg_io_hdr_t* io_hdrp) { function send_mmc_rpmb_req (line 324) | static int send_mmc_rpmb_req(int mmc_fd, const struct storage_rpmb_send_... function send_ufs_rpmb_req (line 388) | static int send_ufs_rpmb_req(int sg_fd, const struct storage_rpmb_send_r... function send_virt_rpmb_req (line 487) | static int send_virt_rpmb_req(int rpmb_fd, void* read_buf, size_t read_s... function rpmb_send (line 508) | int rpmb_send(struct storage_msg* msg, const void* r, size_t req_len, st... function rpmb_open (line 594) | int rpmb_open(const char* rpmb_devname, enum dev_type open_dev_type) { function rpmb_close (line 638) | void rpmb_close(void) { FILE: trusty/storage/proxy/rpmb.h type dev_type (line 23) | enum dev_type { UNKNOWN_RPMB, MMC_RPMB, VIRT_RPMB, UFS_RPMB, SOCK_RPMB } type dev_type (line 25) | enum dev_type type storage_msg (line 26) | struct storage_msg type watcher (line 26) | struct watcher FILE: trusty/storage/proxy/storage.c type sync_state (line 45) | enum sync_state { type storage_mapping_node (line 55) | struct storage_mapping_node function property_set_helper (line 80) | static bool property_set_helper(const char* prop) { type sync_state (line 93) | enum sync_state type sync_state (line 94) | enum sync_state type storage_file_read_resp (line 99) | struct storage_file_read_resp function insert_fd (line 103) | static uint32_t insert_fd(int open_flags, int fd, struct storage_mapping... function clear_fd_symlink_status (line 130) | static void clear_fd_symlink_status(uint32_t handle, struct storage_mapp... type storage_mapping_node (line 144) | struct storage_mapping_node type storage_mapping_node (line 151) | struct storage_mapping_node function possibly_symlink_and_clear_mapping (line 164) | static int possibly_symlink_and_clear_mapping(uint32_t handle) { function is_pending_symlink (line 195) | static bool is_pending_symlink(uint32_t handle) { function lookup_fd (line 200) | static int lookup_fd(uint32_t handle, bool dirty) function remove_fd (line 212) | static int remove_fd(uint32_t handle) function translate_errno (line 226) | static enum storage_err translate_errno(int error) function write_with_retry (line 258) | static ssize_t write_with_retry(int fd, const void *buf_, size_t size, o... function read_with_retry (line 274) | static ssize_t read_with_retry(int fd, void *buf_, size_t size, off_t of... function storage_file_delete (line 294) | int storage_file_delete(struct storage_msg* msg, const void* r, size_t r... function sync_parent (line 345) | static void sync_parent(const char* path, struct watcher* watcher) { type storage_mapping_node (line 360) | struct storage_mapping_node type storage_mapping_node (line 361) | struct storage_mapping_node function is_backing_storage_mapped (line 371) | static bool is_backing_storage_mapped(const char* source) { function open_possibly_mapped_file (line 385) | static int open_possibly_mapped_file(const char* short_path, const char*... function storage_file_open (line 421) | int storage_file_open(struct storage_msg* msg, const void* r, size_t req... function storage_file_close (line 570) | int storage_file_close(struct storage_msg* msg, const void* r, size_t re... function storage_file_write (line 610) | int storage_file_write(struct storage_msg* msg, const void* r, size_t re... function storage_file_read (line 657) | int storage_file_read(struct storage_msg* msg, const void* r, size_t req... function storage_file_get_size (line 704) | int storage_file_get_size(struct storage_msg* msg, const void* r, size_t... function storage_file_set_size (line 737) | int storage_file_set_size(struct storage_msg* msg, const void* r, size_t... function storage_file_get_max_size (line 766) | int storage_file_get_max_size(struct storage_msg* msg, const void* r, si... function determine_max_file_size (line 808) | int determine_max_file_size(const char* max_file_size_from) { function storage_init (line 861) | int storage_init(const char* dirname, struct storage_mapping_node* mappi... function storage_sync_checkpoint (line 884) | int storage_sync_checkpoint(struct watcher* watcher) { FILE: trusty/storage/proxy/storage.h type watcher (line 22) | struct watcher type storage_mapping_node (line 25) | struct storage_mapping_node { type storage_msg (line 32) | struct storage_msg type watcher (line 33) | struct watcher type storage_msg (line 35) | struct storage_msg type watcher (line 36) | struct watcher type storage_msg (line 38) | struct storage_msg type watcher (line 39) | struct watcher type storage_msg (line 41) | struct storage_msg type watcher (line 42) | struct watcher type storage_msg (line 44) | struct storage_msg type watcher (line 45) | struct watcher type storage_msg (line 47) | struct storage_msg type watcher (line 48) | struct watcher type storage_msg (line 50) | struct storage_msg type watcher (line 51) | struct watcher type storage_msg (line 53) | struct storage_msg type watcher (line 54) | struct watcher type storage_mapping_node (line 56) | struct storage_mapping_node type watcher (line 59) | struct watcher FILE: trusty/storage/proxy/watchdog.cpp type watcher (line 28) | struct watcher { type storage_msg (line 29) | struct storage_msg type storage_msg (line 48) | struct storage_msg class Watchdog (line 89) | class Watchdog { method Watchdog (line 95) | Watchdog() : watcher_(), done_(false) {} type watcher (line 97) | struct watcher type storage_msg (line 97) | struct storage_msg type watcher (line 98) | struct watcher type watcher (line 99) | struct watcher type watcher (line 106) | struct watcher type watcher (line 124) | struct watcher type storage_msg (line 29) | struct storage_msg type storage_msg (line 124) | struct storage_msg type watcher (line 133) | struct watcher type storage_msg (line 29) | struct storage_msg type watcher (line 136) | struct watcher type storage_msg (line 29) | struct storage_msg type watcher (line 143) | struct watcher type storage_msg (line 29) | struct storage_msg type watcher (line 159) | struct watcher type storage_msg (line 29) | struct storage_msg type watcher (line 199) | struct watcher type storage_msg (line 29) | struct storage_msg type storage_msg (line 199) | struct storage_msg function watch_progress (line 203) | void watch_progress(struct watcher* watcher, const char* state) { function watch_finish (line 207) | void watch_finish(struct watcher* watcher) { FILE: trusty/storage/proxy/watchdog.h type watcher (line 25) | struct watcher type watcher (line 36) | struct watcher type storage_msg (line 36) | struct storage_msg type watcher (line 45) | struct watcher type watcher (line 55) | struct watcher FILE: trusty/storage/tests/main.cpp function is_32bit_aligned (line 27) | static inline bool is_32bit_aligned(size_t sz) function is_valid_size (line 32) | static inline bool is_valid_size(size_t sz) { function is_valid_offset (line 36) | static bool is_valid_offset(storage_off_t off) function fill_pattern32 (line 41) | static void fill_pattern32(uint32_t *buf, size_t len, storage_off_t off) function check_pattern32 (line 50) | static bool check_pattern32(const uint32_t *buf, size_t len, storage_off... function check_value32 (line 63) | static bool check_value32(const uint32_t *buf, size_t len, uint32_t val) class StorageServiceTest (line 76) | class StorageServiceTest : public virtual TestWithParam { method StorageServiceTest (line 78) | StorageServiceTest() {} method SetUp (line 81) | virtual void SetUp() { method TearDown (line 89) | virtual void TearDown() { function TEST_P (line 249) | TEST_P(StorageServiceTest, CreateDelete) { function TEST_P (line 294) | TEST_P(StorageServiceTest, DeleteOpened) { function TEST_P (line 331) | TEST_P(StorageServiceTest, OpenNoCreate) { function TEST_P (line 365) | TEST_P(StorageServiceTest, OpenOrCreate) { function TEST_P (line 393) | TEST_P(StorageServiceTest, OpenCreateDeleteCharset) { function TEST_P (line 419) | TEST_P(StorageServiceTest, WriteReadSequential) { function TEST_P (line 460) | TEST_P(StorageServiceTest, OpenTruncate) { function TEST_P (line 503) | TEST_P(StorageServiceTest, OpenSame) { function TEST_P (line 536) | TEST_P(StorageServiceTest, OpenMany) { function TEST_P (line 586) | TEST_P(StorageServiceTest, ReadAtEOF) { function TEST_P (line 632) | TEST_P(StorageServiceTest, GetFileSize) { function TEST_P (line 675) | TEST_P(StorageServiceTest, SetFileSize) { function TEST_P (line 791) | TEST_P(StorageServiceTest, WriteReadAtOffset) { function TEST_P (line 819) | TEST_P(StorageServiceTest, WriteSparse) { function TEST_P (line 842) | TEST_P(StorageServiceTest, CreatePersistent32K) { function TEST_P (line 863) | TEST_P(StorageServiceTest, ReadPersistent32k) { function TEST_P (line 886) | TEST_P(StorageServiceTest, CleanUpPersistent32K) { function TEST_P (line 895) | TEST_P(StorageServiceTest, CreatePersistent1M_4040) { function TEST_P (line 915) | TEST_P(StorageServiceTest, CreatePersistent1M_2032) { function TEST_P (line 936) | TEST_P(StorageServiceTest, CreatePersistent1M_496) { function TEST_P (line 956) | TEST_P(StorageServiceTest, CreatePersistent1M_240) { function TEST_P (line 976) | TEST_P(StorageServiceTest, ReadPersistent1M_4040) { function TEST_P (line 993) | TEST_P(StorageServiceTest, ReadPersistent1M_2032) { function TEST_P (line 1010) | TEST_P(StorageServiceTest, ReadPersistent1M_496) { function TEST_P (line 1027) | TEST_P(StorageServiceTest, ReadPersistent1M_240) { function TEST_P (line 1044) | TEST_P(StorageServiceTest, CleanUpPersistent1M) { function TEST_P (line 1052) | TEST_P(StorageServiceTest, WriteReadLong) { function TEST_P (line 1079) | TEST_P(StorageServiceTest, OpenInvalidFileName) { function TEST_P (line 1122) | TEST_P(StorageServiceTest, BadFileHnadle) { function TEST_P (line 1161) | TEST_P(StorageServiceTest, ClosedFileHnadle) { function TEST_P (line 1210) | TEST_P(StorageServiceTest, TransactDiscardInactive) { function TEST_P (line 1222) | TEST_P(StorageServiceTest, TransactCommitInactive) { function TEST_P (line 1234) | TEST_P(StorageServiceTest, TransactDiscardWrite) { function TEST_P (line 1278) | TEST_P(StorageServiceTest, TransactDiscardWriteAppend) { function TEST_P (line 1324) | TEST_P(StorageServiceTest, TransactDiscardWriteRead) { function TEST_P (line 1374) | TEST_P(StorageServiceTest, TransactDiscardWriteMany) { function TEST_P (line 1443) | TEST_P(StorageServiceTest, TransactDiscardTruncate) { function TEST_P (line 1492) | TEST_P(StorageServiceTest, TransactDiscardSetSize) { function TEST_P (line 1547) | TEST_P(StorageServiceTest, TransactDiscardDelete) { function TEST_P (line 1594) | TEST_P(StorageServiceTest, TransactDiscardDelete2) { function TEST_P (line 1640) | TEST_P(StorageServiceTest, TransactDiscardCreate) { function TEST_P (line 1663) | TEST_P(StorageServiceTest, TransactCommitWrites) { function TEST_P (line 1742) | TEST_P(StorageServiceTest, TransactCommitWrites2) { function TEST_P (line 1850) | TEST_P(StorageServiceTest, TransactCommitSetSize) { function TEST_P (line 1942) | TEST_P(StorageServiceTest, TransactCommitDelete) { function TEST_P (line 1999) | TEST_P(StorageServiceTest, TransactCommitTruncate) { function TEST_P (line 2079) | TEST_P(StorageServiceTest, TransactCommitCreate) { function TEST_P (line 2133) | TEST_P(StorageServiceTest, TransactCommitCreateMany) { function TEST_P (line 2211) | TEST_P(StorageServiceTest, TransactCommitWriteMany) { function TEST_P (line 2328) | TEST_P(StorageServiceTest, TransactCommitDeleteCreate) { function TEST_P (line 2421) | TEST_P(StorageServiceTest, TransactRewriteExistingTruncate) { function TEST_P (line 2469) | TEST_P(StorageServiceTest, TransactRewriteExistingSetSize) { function TEST_P (line 2525) | TEST_P(StorageServiceTest, TransactResumeAfterNonFatalError) { function TEST_P (line 2594) | TEST_P(StorageServiceTest, Transact2_WriteNC) { function TEST_P (line 2641) | TEST_P(StorageServiceTest, Transact2_DeleteNC) { function TEST_P (line 2695) | TEST_P(StorageServiceTest, Transact2_Write_Read) { function TEST_P (line 2766) | TEST_P(StorageServiceTest, Transact2_Write_Write_Commit_Commit) { function TEST_P (line 2846) | TEST_P(StorageServiceTest, Transact2_Write_Write_Commit_Discard) { function TEST_P (line 2925) | TEST_P(StorageServiceTest, Transact2_Write_Write_Discard_Commit) { function TEST_P (line 2983) | TEST_P(StorageServiceTest, Transact2_Write_Write_Discard_Discard) { FILE: trusty/sysprops/example.rs function main (line 5) | fn main() { FILE: trusty/test/driver/trusty_driver_test.py function ReadFile (line 22) | def ReadFile(file_path): function WriteFile (line 27) | def WriteFile(file_path, s): function IsTrustySupported (line 31) | def IsTrustySupported(): function MatchTrustyDevice (line 34) | def MatchTrustyDevice(de: os.DirEntry, suffix: str): function FindTrustyDevice (line 44) | def FindTrustyDevice(suffix: str): class TrustyDriverTest (line 51) | class TrustyDriverTest(unittest.TestCase): method testIrqDriverBinding (line 52) | def testIrqDriverBinding(self): method testLogDriverBinding (line 57) | def testLogDriverBinding(self): method testVirtioDriverBinding (line 63) | def testVirtioDriverBinding(self): method testTrustyDriverBinding (line 69) | def testTrustyDriverBinding(self): method testTrustyDriverVersion (line 74) | def testTrustyDriverVersion(self): method testUntaintedLinux (line 79) | def testUntaintedLinux(self): method testStdCall (line 96) | def testStdCall(self): FILE: trusty/utils/acvp/acvp_ipc.h type acvp_req (line 58) | struct acvp_req { type acvp_resp (line 70) | struct acvp_resp { FILE: trusty/utils/acvp/trusty_modulewrapper.cpp class ModuleWrapper (line 49) | class ModuleWrapper { type acvp_req (line 102) | struct acvp_req type iovec (line 113) | struct iovec type acvp_req (line 115) | struct acvp_req type trusty_shm (line 136) | struct trusty_shm type acvp_req (line 142) | struct acvp_req type acvp_resp (line 150) | struct acvp_resp type acvp_resp (line 151) | struct acvp_resp type acvp_resp (line 156) | struct acvp_resp function EqString (line 207) | static bool EqString(bssl::Span cmd, const char *str) { function main (line 212) | int main() { FILE: trusty/utils/coverage-controller/controller.cpp type android (line 34) | namespace android { type trusty (line 35) | namespace trusty { type controller (line 36) | namespace controller { type control (line 42) | struct control type control (line 49) | struct control type line_coverage_client_req (line 84) | struct line_coverage_client_req type line_coverage_client_resp (line 85) | struct line_coverage_client_resp type uuid (line 87) | struct uuid type uuid (line 103) | struct uuid function main (line 150) | int main(int argc, char* argv[]) { FILE: trusty/utils/coverage-controller/controller.h type control (line 35) | struct control { function namespace (line 45) | namespace android { FILE: trusty/utils/rpmb_dev/rpmb.h type rpmb_key (line 24) | struct rpmb_key { type rpmb_state (line 28) | struct rpmb_state type rpmb_state (line 33) | struct rpmb_state type rpmb_key (line 35) | struct rpmb_key type rpmb_state (line 36) | struct rpmb_state type rpmb_state (line 37) | struct rpmb_state type rpmb_state (line 42) | struct rpmb_state FILE: trusty/utils/rpmb_dev/rpmb_dev.c function HMAC_CTX (line 42) | HMAC_CTX* HMAC_CTX_new(void) { function HMAC_CTX_free (line 50) | void HMAC_CTX_free(HMAC_CTX* ctx) { type rpmb_data_header (line 61) | struct rpmb_data_header { type rpmb_dev_state (line 72) | struct rpmb_dev_state { function rpmb_mac (line 82) | static int rpmb_mac(struct rpmb_key key, struct rpmb_packet* packet, siz... function rpmb_file_seek (line 117) | static int rpmb_file_seek(struct rpmb_dev_state* s, uint16_t addr) { function rpmb_dev_program_key (line 128) | static uint16_t rpmb_dev_program_key(struct rpmb_dev_state* s) { function rpmb_dev_get_counter (line 154) | static uint16_t rpmb_dev_get_counter(struct rpmb_dev_state* s) { function rpmb_dev_data_write (line 160) | static uint16_t rpmb_dev_data_write(struct rpmb_dev_state* s) { function rpmb_dev_data_read (line 215) | static uint16_t rpmb_dev_data_read(struct rpmb_dev_state* s) { type rpmb_dev_cmd (line 236) | struct rpmb_dev_cmd { type rpmb_dev_cmd (line 249) | struct rpmb_dev_cmd function rpmb_dev_process_cmd (line 288) | static void rpmb_dev_process_cmd(struct rpmb_dev_state* s) { function recv_until (line 420) | ssize_t recv_until(int sock, void* dest_in, size_t len) { function handle_conn (line 446) | int handle_conn(struct rpmb_dev_state* s, int conn_sock) { function usage (line 505) | void usage(const char* argv0) { function main (line 510) | int main(int argc, char** argv) { FILE: trusty/utils/rpmb_dev/rpmb_protocol.h type rpmb_nonce (line 35) | struct rpmb_nonce { type rpmb_u16 (line 39) | struct rpmb_u16 { type rpmb_u32 (line 43) | struct rpmb_u32 { type rpmb_packet (line 49) | struct rpmb_packet { type rpmb_request (line 61) | enum rpmb_request { type rpmb_response (line 69) | enum rpmb_response { type rpmb_result (line 76) | enum rpmb_result { function rpmb_u16 (line 89) | static inline struct rpmb_u16 rpmb_u16(uint16_t val) { function rpmb_u32 (line 97) | static inline struct rpmb_u32 rpmb_u32(uint32_t val) { function rpmb_get_u16 (line 107) | static inline uint16_t rpmb_get_u16(struct rpmb_u16 u16) { function rpmb_get_u32 (line 118) | static inline uint32_t rpmb_get_u32(struct rpmb_u32 u32) { FILE: trusty/utils/spiproxyd/main.c function handle_msg (line 28) | int handle_msg(int trusty_dev_fd, int spi_dev_fd) { function event_loop (line 66) | int event_loop(int trusty_dev_fd, int spi_dev_fd) { function show_usage (line 76) | static void show_usage() { function parse_args (line 80) | static void parse_args(int argc, char* argv[], const char** trusty_dev_n... function main (line 111) | int main(int argc, char* argv[]) { FILE: trusty/utils/trusty-ut-ctrl/ut-ctrl.c type option (line 34) | struct option function print_usage_and_exit (line 52) | static void print_usage_and_exit(const char* prog, int code, bool verbos... function parse_options (line 60) | static void parse_options(int argc, char** argv) { type test_message_header (line 93) | enum test_message_header { function get_msg_len (line 101) | static int get_msg_len(const char* buf, int max_buf_len) { function run_trusty_unitest (line 111) | static int run_trusty_unitest(const char* utapp) { function main (line 170) | int main(int argc, char** argv) { FILE: usbd/usbd.cpp function main (line 38) | int main(int /*argc*/, char** /*argv*/) { FILE: watchdogd/watchdogd.cpp function main (line 28) | int main(int argc, char** argv) {