Home
last modified time | relevance | path

Searched refs:Read (Results 1 – 25 of 117) sorted by relevance

12345

/system/core/adb/
Dshell_service_protocol_test.cpp107 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
119 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
121 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
123 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
132 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
141 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
167 ASSERT_FALSE(read_protocol_->Read()); in TEST_F()
175 ASSERT_FALSE(read_protocol_->Read()); in TEST_F()
191 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
195 ASSERT_FALSE(read_protocol_->Read()); in TEST_F()
/system/tpm/attestation/server/
Dpkcs11_key_store_test.cc317 EXPECT_FALSE(key_store.Read(kDefaultUser, "test", &blob)); in TEST()
319 EXPECT_FALSE(key_store.Read("", "test", &blob)); in TEST()
328 EXPECT_FALSE(key_store.Read(kDefaultUser, "test", &blob)); in TEST_F()
330 EXPECT_TRUE(key_store.Read(kDefaultUser, "test", &blob)); in TEST_F()
333 EXPECT_FALSE(key_store.Read(kDefaultUser, "test2", &blob)); in TEST_F()
335 EXPECT_TRUE(key_store.Read(kDefaultUser, "test2", &blob)); in TEST_F()
338 EXPECT_TRUE(key_store.Read(kDefaultUser, "test", &blob)); in TEST_F()
342 EXPECT_TRUE(key_store.Read(kDefaultUser, "test", &blob)); in TEST_F()
346 EXPECT_FALSE(key_store.Read(kDefaultUser, "test2", &blob)); in TEST_F()
347 EXPECT_TRUE(key_store.Read(kDefaultUser, "test", &blob)); in TEST_F()
[all …]
Ddatabase_impl.h36 virtual bool Read(std::string* data) = 0;
63 bool Read(std::string* data) override;
/system/core/fastboot/
Dtcp_test.cpp115 bool Read(const std::string& message) { in Read() function in TcpTest
117 return transport_->Read(&buffer[0], buffer.length()) == in Read()
138 EXPECT_TRUE(Read("foo")); in TEST_F()
149 EXPECT_TRUE(Read("foo")); in TEST_F()
172 EXPECT_TRUE(Read(data)); in TEST_F()
190 EXPECT_TRUE(Read("OKAY0.4")); in TEST_F()
193 EXPECT_TRUE(Read("INFOversion: 0.4")); in TEST_F()
194 EXPECT_TRUE(Read("INFOfoo: bar")); in TEST_F()
195 EXPECT_TRUE(Read("OKAY")); in TEST_F()
202 EXPECT_EQ(-1, transport_->Read(buffer, sizeof(buffer))); in TEST_F()
[all …]
Dudp_test.cpp334 bool Read(const std::string& message) { in Read() function in UdpTest
336 return transport_->Read(&buffer[0], buffer.length()) == in Read()
359 EXPECT_TRUE(Read("bar")); in TEST_F()
372 EXPECT_TRUE(Read("bar")); in TEST_F()
388 EXPECT_TRUE(Read("foo bar baz")); in TEST_F()
389 EXPECT_TRUE(Read("\x01\x02\x03\x04\x05")); in TEST_F()
453 EXPECT_TRUE(Read(data)); in TEST_F()
464 EXPECT_TRUE(Read("foobar")); in TEST_F()
474 EXPECT_FALSE(Read("foo")); in TEST_F()
486 EXPECT_TRUE(Read("foobar")); in TEST_F()
[all …]
Dtransport.h31 virtual ssize_t Read(void* data, size_t len) = 0;
/system/core/debuggerd/
Delf_utils.cpp42 if (backtrace->Read(base_addr + EI_NIDENT, reinterpret_cast<uint8_t*>(&hdr) + EI_NIDENT, in get_build_id()
49 if (backtrace->Read(base_addr + hdr.e_phoff + i * hdr.e_phentsize, in get_build_id()
59 … if (backtrace->Read(addr, reinterpret_cast<uint8_t*>(&nhdr), sizeof(nhdr)) != sizeof(nhdr)) { in get_build_id()
72 if (backtrace->Read(addr, build_id_data, nhdr.n_descsz) != nhdr.n_descsz) { in get_build_id()
101 if (backtrace->Read(addr, e_ident, SELFMAG) != SELFMAG) { in elf_get_build_id()
110 …if (backtrace->Read(addr + SELFMAG, e_ident + SELFMAG, EI_NIDENT - SELFMAG) != EI_NIDENT - SELFMAG… in elf_get_build_id()
/system/sepolicy/
Ddomain_deprecated.te3 # Read access to properties mapping.
33 # Read files already opened under /data.
38 # Read apk files under /data/app.
43 # Read /data/dalvik-cache.
47 # Read already opened /cache files.
55 # Read access to pseudo filesystems.
Duncrypt.te9 # Read OTA zip file from /data/data/com.google.android.gsf/app_download
17 # Read /cache/recovery/command
18 # Read /cache/recovery/uncrypt_file
Dsystem_app.te11 # Read and write /data/data subdirectory.
15 # Read and write to /data/misc/user.
22 # Read wallpaper file.
25 # Read icon file.
Dsdcardd.te21 # Read /data/system/packages.list.
24 # Read /data/.layout_version
Dmdnsd.te8 # Read from /proc/net
Dhealthd.te8 # Read access to pseudo filesystems.
31 # Read /sys/fs/pstore/console-ramoops
/system/update_engine/common/
Dhwid_override_unittest.cc52 EXPECT_EQ(expected_hwid, HwidOverride::Read(tempdir_.path())); in TEST_F()
60 EXPECT_EQ(std::string(), HwidOverride::Read(tempdir_.path())); in TEST_F()
64 EXPECT_EQ(std::string(), HwidOverride::Read(tempdir_.path())); in TEST_F()
Dhwid_override.h36 static std::string Read(const base::FilePath& root);
/system/update_engine/payload_consumer/
Dfile_descriptor.h69 virtual ssize_t Read(void* buf, size_t count) = 0;
119 ssize_t Read(void* buf, size_t count) override;
Dmtd_file_descriptor.h40 ssize_t Read(void* buf, size_t count) override;
75 ssize_t Read(void* buf, size_t count) override;
/system/core/metricsd/
Dpersistent_integer.cc45 if (!synced_ && !Read()) in Get()
75 bool PersistentInteger::Read() { in Read() function in chromeos_metrics::PersistentInteger
/system/core/libziparchive/
Dzip_archive_stream_entry.cc54 const std::vector<uint8_t>* Read() override;
81 const std::vector<uint8_t>* ZipArchiveStreamEntryUncompressed::Read() { in Read() function in ZipArchiveStreamEntryUncompressed
116 const std::vector<uint8_t>* Read() override;
195 const std::vector<uint8_t>* ZipArchiveStreamEntryCompressed::Read() { in Read() function in ZipArchiveStreamEntryCompressed
/system/extras/tests/net_test/
Dnetlink.py115 nla, data = cstruct.Read(data, NLAttr)
160 hdr, data = cstruct.Read(response, NLMsgHdr)
187 nlmsghdr, data = cstruct.Read(data, NLMsgHdr)
194 nlmsg, data = cstruct.Read(data, msgtype)
/system/tpm/tpm_manager/server/
Dtpm2_initializer_test.cc79 EXPECT_CALL(mock_data_store_, Read(_)) in TEST_F()
111 EXPECT_CALL(mock_data_store_, Read(_)) in TEST_F()
133 EXPECT_CALL(mock_data_store_, Read(_)) in TEST_F()
Dlocal_data_store.h34 virtual bool Read(LocalData* data) = 0;
Dmock_local_data_store.h31 MOCK_METHOD1(Read, bool(LocalData*));
Dlocal_data_store_impl.h34 bool Read(LocalData* data) override;
/system/core/libbacktrace/
DBacktraceOffline.h40 size_t Read(uint64_t addr, uint8_t* buffer, size_t size);
83 size_t Read(uintptr_t addr, uint8_t* buffer, size_t bytes) override;

12345