/system/tpm/tpm_manager/server/ |
H A D | local_data_store.h | 34 virtual bool Read(LocalData* data) = 0;
|
H A D | local_data_store_impl.h | 34 bool Read(LocalData* data) override;
|
H A D | mock_local_data_store.h | 31 MOCK_METHOD1(Read, bool(LocalData*));
|
H A D | mock_local_data_store.cc | 29 ON_CALL(*this, Read(_))
|
/system/core/fastboot/ |
H A D | transport.h | 31 virtual ssize_t Read(void* data, size_t len) = 0;
|
H A D | tcp_test.cpp | 115 bool Read(const std::string& message) { function in class:TcpTest 117 return transport_->Read(&buffer[0], buffer.length()) == 138 EXPECT_TRUE(Read("foo")); 149 EXPECT_TRUE(Read("foo")); 172 EXPECT_TRUE(Read(data)); 190 EXPECT_TRUE(Read("OKAY0.4")); 193 EXPECT_TRUE(Read("INFOversion: 0.4")); 194 EXPECT_TRUE(Read("INFOfoo: bar")); 195 EXPECT_TRUE(Read("OKAY")); 202 EXPECT_EQ(-1, transport_->Read(buffe [all...] |
/system/update_engine/common/ |
H A D | hwid_override.h | 34 // Read HWID from an /etc/lsb-release file under given root. 36 static std::string Read(const base::FilePath& root);
|
H A D | hwid_override_unittest.cc | 53 EXPECT_EQ(expected_hwid, HwidOverride::Read(tempdir_.GetPath())); 62 EXPECT_EQ(std::string(), HwidOverride::Read(tempdir_.GetPath())); 66 EXPECT_EQ(std::string(), HwidOverride::Read(tempdir_.GetPath()));
|
H A D | hwid_override.cc | 37 string HwidOverride::Read(const base::FilePath& root) { function in class:chromeos_update_engine::HwidOverride
|
/system/core/adb/ |
H A D | shell_service_protocol_test.cpp | 108 ASSERT_TRUE(read_protocol_->Read()); 120 ASSERT_TRUE(read_protocol_->Read()); 122 ASSERT_TRUE(read_protocol_->Read()); 124 ASSERT_TRUE(read_protocol_->Read()); 133 ASSERT_TRUE(read_protocol_->Read()); 143 ASSERT_TRUE(read_protocol_->Read()); 169 ASSERT_FALSE(read_protocol_->Read()); 177 ASSERT_FALSE(read_protocol_->Read()); 193 ASSERT_TRUE(read_protocol_->Read()); 197 ASSERT_FALSE(read_protocol_->Read()); [all...] |
/system/core/libunwindstack/tests/ |
H A D | MemoryOfflineTest.cpp | 51 ASSERT_EQ(0U, memory->Read(offset - 1, &buf, 1)); 52 ASSERT_EQ(0U, memory->Read(offset + data.size(), &buf, 1)); 53 ASSERT_EQ(1U, memory->Read(offset, &buf, 1)); 55 ASSERT_EQ(1U, memory->Read(offset + data.size() - 1, &buf, 1)); 62 ASSERT_EQ(data.size(), memory->Read(offset, buf.data(), buf.size()));
|
H A D | MemoryFake.h | 35 size_t Read(uint64_t addr, void* buffer, size_t size) override; 74 size_t Read(uint64_t, void* buffer, size_t size) override {
|
/system/core/debuggerd/libdebuggerd/ |
H A D | elf_utils.cpp | 42 if (memory->Read(base_addr + EI_NIDENT, reinterpret_cast<uint8_t*>(&hdr) + EI_NIDENT, 49 if (memory->Read(base_addr + hdr.e_phoff + i * hdr.e_phentsize, 59 if (memory->Read(addr, reinterpret_cast<uint8_t*>(&nhdr), sizeof(nhdr)) != sizeof(nhdr)) { 72 if (memory->Read(addr, build_id_data, nhdr.n_descsz) != nhdr.n_descsz) { 99 // Read and verify the elf magic number first. 101 if (memory->Read(addr, e_ident, SELFMAG) != SELFMAG) { 109 // Read the rest of EI_NIDENT. 110 if (memory->Read(addr + SELFMAG, e_ident + SELFMAG, EI_NIDENT - SELFMAG) != EI_NIDENT - SELFMAG) {
|
/system/core/libunwindstack/ |
H A D | Regs.cpp | 59 return RegsX86::Read(buffer.data()); 61 return RegsX86_64::Read(buffer.data()); 63 return RegsArm::Read(buffer.data()); 65 return RegsArm64::Read(buffer.data()); 67 return RegsMips::Read(buffer.data()); 69 return RegsMips64::Read(buffer.data());
|
H A D | Memory.cpp | 148 size_t rc = Read(addr, dst, size); 177 size_t MemoryBuffer::Read(uint64_t addr, void* dst, size_t size) { function in class:unwindstack::MemoryBuffer 248 size_t MemoryFileAtOffset::Read(uint64_t addr, void* dst, size_t size) { function in class:unwindstack::MemoryFileAtOffset 261 size_t MemoryRemote::Read(uint64_t addr, void* dst, size_t size) { function in class:unwindstack::MemoryRemote 292 size_t MemoryLocal::Read(uint64_t addr, void* dst, size_t size) { function in class:unwindstack::MemoryLocal 300 size_t MemoryRange::Read(uint64_t addr, void* dst, size_t size) { function in class:unwindstack::MemoryRange 316 return memory_->Read(read_addr, dst, read_length); 340 size_t MemoryOffline::Read(uint64_t addr, void* dst, size_t size) { function in class:unwindstack::MemoryOffline 345 return memory_->Read(addr, dst, size); 357 size_t MemoryOfflineBuffer::Read(uint64_ function in class:unwindstack::MemoryOfflineBuffer 373 size_t MemoryOfflineParts::Read(uint64_t addr, void* dst, size_t size) { function in class:unwindstack::MemoryOfflineParts [all...] |
/system/core/libbacktrace/ |
H A D | BacktracePtrace.h | 32 size_t Read(uint64_t addr, uint8_t* buffer, size_t bytes) override;
|
H A D | UnwindStack.h | 49 size_t Read(uint64_t addr, uint8_t* buffer, size_t bytes) override; 63 size_t Read(uint64_t addr, uint8_t* buffer, size_t bytes) override;
|
/system/core/libunwindstack/include/unwindstack/ |
H A D | Memory.h | 40 virtual size_t Read(uint64_t addr, void* dst, size_t size) = 0; 70 size_t Read(uint64_t addr, void* dst, size_t size) override; 89 size_t Read(uint64_t addr, void* dst, size_t size) override; 106 size_t Read(uint64_t addr, void* dst, size_t size) override; 120 size_t Read(uint64_t addr, void* dst, size_t size) override; 132 size_t Read(uint64_t addr, void* dst, size_t size) override; 148 size_t Read(uint64_t addr, void* dst, size_t size) override; 161 size_t Read(uint64_t addr, void* dst, size_t size) override; 176 size_t Read(uint64_t addr, void* dst, size_t size) override;
|
/system/core/libziparchive/include/ziparchive/ |
H A D | zip_archive_stream_entry.h | 17 // Read-only stream access to Zip archives entries. 29 virtual const std::vector<uint8_t>* Read() = 0;
|
/system/tpm/attestation/server/ |
H A D | mock_key_store.cc | 25 ON_CALL(*this, Read(_, _, _)).WillByDefault(Return(true));
|
H A D | pkcs11_key_store_test.cc | 312 EXPECT_FALSE(key_store.Read(kDefaultUser, "test", &blob)); 314 EXPECT_FALSE(key_store.Read("", "test", &blob)); 323 EXPECT_FALSE(key_store.Read(kDefaultUser, "test", &blob)); 325 EXPECT_TRUE(key_store.Read(kDefaultUser, "test", &blob)); 328 EXPECT_FALSE(key_store.Read(kDefaultUser, "test2", &blob)); 330 EXPECT_TRUE(key_store.Read(kDefaultUser, "test2", &blob)); 332 // Read the original key again. 333 EXPECT_TRUE(key_store.Read(kDefaultUser, "test", &blob)); 337 EXPECT_TRUE(key_store.Read(kDefaultUser, "test", &blob)); 341 EXPECT_FALSE(key_store.Read(kDefaultUse [all...] |
H A D | database_impl.h | 36 virtual bool Read(std::string* data) = 0; 62 bool Read(std::string* data) override;
|
/system/update_engine/payload_consumer/ |
H A D | cached_file_descriptor.h | 45 ssize_t Read(void* buf, size_t count) override { 46 return fd_->Read(buf, count);
|
H A D | extent_reader.h | 42 virtual bool Read(void* buffer, size_t count) = 0; 56 bool Read(void* bytes, size_t count) override;
|
H A D | extent_reader_unittest.cc | 85 EXPECT_TRUE(reader.Read(blob1.data(), blob1.size())); 97 EXPECT_TRUE(reader.Read(blob.data(), 0)); 98 EXPECT_FALSE(reader.Read(blob.data(), 1)); 106 EXPECT_TRUE(reader.Read(blob.data(), 0)); 107 EXPECT_FALSE(reader.Read(blob.data(), 1)); 116 EXPECT_FALSE(reader.Read(blob.data(), blob.size())); 163 EXPECT_TRUE(reader.Read(blob.data(), size));
|