Home
last modified time | relevance | path

Searched refs:machine_type (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/
Domaha_request_params_unittest.cc69 string machine_type; in GetMachineType() local
70 if (!utils::ReadPipe("uname -m", &machine_type)) in GetMachineType()
73 size_t newline_pos = machine_type.find('\n'); in GetMachineType()
75 machine_type.erase(newline_pos); in GetMachineType()
76 return machine_type; in GetMachineType()
/system/core/libunwindstack/
DRegs.cpp211 Regs* Regs::RemoteGet(pid_t pid, uint32_t* machine_type) { in RemoteGet() argument
224 *machine_type = EM_386; in RemoteGet()
227 *machine_type = EM_X86_64; in RemoteGet()
230 *machine_type = EM_ARM; in RemoteGet()
233 *machine_type = EM_AARCH64; in RemoteGet()
DElf.h60 uint32_t machine_type() { return machine_type_; } in machine_type() function
Dunwind_info.cpp115 if (elf.machine_type() == EM_ARM) { in main()
DRegs.h60 static Regs* RemoteGet(pid_t pid, uint32_t* machine_type);
/system/core/libunwindstack/tests/
DElfTest.cpp171 ASSERT_EQ(static_cast<uint32_t>(EM_ARM), elf.machine_type()); in TEST_F()
183 ASSERT_EQ(static_cast<uint32_t>(EM_386), elf.machine_type()); in TEST_F()
195 ASSERT_EQ(static_cast<uint32_t>(EM_AARCH64), elf.machine_type()); in TEST_F()
207 ASSERT_EQ(static_cast<uint32_t>(EM_X86_64), elf.machine_type()); in TEST_F()