/system/core/adb/ |
D | shell_service_protocol_test.cpp | 107 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/ |
D | pkcs11_key_store_test.cc | 317 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 …]
|
D | database_impl.h | 36 virtual bool Read(std::string* data) = 0; 63 bool Read(std::string* data) override;
|
/system/core/fastboot/ |
D | tcp_test.cpp | 115 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 …]
|
D | udp_test.cpp | 334 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 …]
|
D | transport.h | 31 virtual ssize_t Read(void* data, size_t len) = 0;
|
/system/core/debuggerd/ |
D | elf_utils.cpp | 42 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/ |
D | domain_deprecated.te | 3 # 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.
|
D | uncrypt.te | 9 # Read OTA zip file from /data/data/com.google.android.gsf/app_download 17 # Read /cache/recovery/command 18 # Read /cache/recovery/uncrypt_file
|
D | system_app.te | 11 # Read and write /data/data subdirectory. 15 # Read and write to /data/misc/user. 22 # Read wallpaper file. 25 # Read icon file.
|
D | sdcardd.te | 21 # Read /data/system/packages.list. 24 # Read /data/.layout_version
|
D | mdnsd.te | 8 # Read from /proc/net
|
D | healthd.te | 8 # Read access to pseudo filesystems. 31 # Read /sys/fs/pstore/console-ramoops
|
/system/update_engine/common/ |
D | hwid_override_unittest.cc | 52 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()
|
D | hwid_override.h | 36 static std::string Read(const base::FilePath& root);
|
/system/update_engine/payload_consumer/ |
D | file_descriptor.h | 69 virtual ssize_t Read(void* buf, size_t count) = 0; 119 ssize_t Read(void* buf, size_t count) override;
|
D | mtd_file_descriptor.h | 40 ssize_t Read(void* buf, size_t count) override; 75 ssize_t Read(void* buf, size_t count) override;
|
/system/core/metricsd/ |
D | persistent_integer.cc | 45 if (!synced_ && !Read()) in Get() 75 bool PersistentInteger::Read() { in Read() function in chromeos_metrics::PersistentInteger
|
/system/core/libziparchive/ |
D | zip_archive_stream_entry.cc | 54 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/ |
D | netlink.py | 115 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/ |
D | tpm2_initializer_test.cc | 79 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()
|
D | local_data_store.h | 34 virtual bool Read(LocalData* data) = 0;
|
D | mock_local_data_store.h | 31 MOCK_METHOD1(Read, bool(LocalData*));
|
D | local_data_store_impl.h | 34 bool Read(LocalData* data) override;
|
/system/core/libbacktrace/ |
D | BacktraceOffline.h | 40 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;
|