Home
last modified time | relevance | path

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

12345678910>>...14

/system/core/adb/
Dshell_service_protocol_test.cpp108 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
120 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
122 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
124 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
133 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
143 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
169 ASSERT_FALSE(read_protocol_->Read()); in TEST_F()
177 ASSERT_FALSE(read_protocol_->Read()); in TEST_F()
193 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
197 ASSERT_FALSE(read_protocol_->Read()); in TEST_F()
/system/core/libunwindstack/tests/
DMemoryRangesTest.cpp53 size_t bytes = ranges_->Read(0, dst.data(), dst.size()); in TEST_F()
59 bytes = ranges_->Read(2000, dst.data(), dst.size()); in TEST_F()
65 bytes = ranges_->Read(4000, dst.data(), dst.size()); in TEST_F()
74 ASSERT_EQ(0UL, ranges_->Read(1000, dst.data(), dst.size())); in TEST_F()
75 ASSERT_EQ(0UL, ranges_->Read(5000, dst.data(), dst.size())); in TEST_F()
76 ASSERT_EQ(0UL, ranges_->Read(8000, dst.data(), dst.size())); in TEST_F()
83 size_t bytes = ranges_->Read(6000, dst.data(), dst.size()); in TEST_F()
DMemoryOfflineTest.cpp50 ASSERT_EQ(0U, memory->Read(offset - 1, &buf, 1)); in TEST_F()
51 ASSERT_EQ(0U, memory->Read(offset + data.size(), &buf, 1)); in TEST_F()
52 ASSERT_EQ(1U, memory->Read(offset, &buf, 1)); in TEST_F()
54 ASSERT_EQ(1U, memory->Read(offset + data.size() - 1, &buf, 1)); in TEST_F()
61 ASSERT_EQ(data.size(), memory->Read(offset, buf.data(), buf.size())); in TEST_F()
DMemoryRemoteTest.cpp137 remote.Read(reinterpret_cast<uint64_t>(mapping + getpagesize() - 1024), dst.data(), 4096); in TEST_F()
146 remote.Read(reinterpret_cast<uint64_t>(mapping + 3 * getpagesize() - 1024), dst.data(), 4096); in TEST_F()
257 size_t read_size = remote.Read(reinterpret_cast<uint64_t>(mapping), dst.data(), page_size * 3); in TEST_F()
292 size_t read_size = remote.Read(reinterpret_cast<uint64_t>(mapping), dst.data(), page_size * 3); in TEST_F()
329 size_t bytes = remote_ptrace.Read(reinterpret_cast<uint64_t>(mapping), &value, sizeof(value)); in TEST_F()
332 …bytes = remote_ptrace.Read(reinterpret_cast<uint64_t>(mapping) + page_size, &value, sizeof(value)); in TEST_F()
335 bytes = remote_ptrace.Read(reinterpret_cast<uint64_t>(mapping), &value, sizeof(value)); in TEST_F()
343 bytes = remote_readv.Read(reinterpret_cast<uint64_t>(mapping) + page_size, &value, sizeof(value)); in TEST_F()
346 bytes = remote_readv.Read(reinterpret_cast<uint64_t>(mapping), &value, sizeof(value)); in TEST_F()
348 bytes = remote_readv.Read(reinterpret_cast<uint64_t>(mapping) + page_size, &value, sizeof(value)); in TEST_F()
/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 …]
/system/core/libunwindstack/
DRegs.cpp59 return RegsX86::Read(buffer.data()); in RemoteGet()
61 return RegsX86_64::Read(buffer.data()); in RemoteGet()
63 return RegsArm::Read(buffer.data()); in RemoteGet()
65 return RegsArm64::Read(buffer.data()); in RemoteGet()
67 return RegsMips::Read(buffer.data()); in RemoteGet()
69 return RegsMips64::Read(buffer.data()); in RemoteGet()
DMemory.cpp149 size_t rc = Read(addr, dst, size); in ReadFully()
185 size_t MemoryBuffer::Read(uint64_t addr, void* dst, size_t size) { in Read() function in unwindstack::MemoryBuffer
256 size_t MemoryFileAtOffset::Read(uint64_t addr, void* dst, size_t size) { in Read() function in unwindstack::MemoryFileAtOffset
269 size_t MemoryRemote::Read(uint64_t addr, void* dst, size_t size) { in Read() function in unwindstack::MemoryRemote
300 size_t MemoryLocal::Read(uint64_t addr, void* dst, size_t size) { in Read() function in unwindstack::MemoryLocal
308 size_t MemoryRange::Read(uint64_t addr, void* dst, size_t size) { in Read() function in unwindstack::MemoryRange
324 return memory_->Read(read_addr, dst, read_length); in Read()
331 size_t MemoryRanges::Read(uint64_t addr, void* dst, size_t size) { in Read() function in unwindstack::MemoryRanges
334 return entry->second->Read(addr, dst, size); in Read()
360 size_t MemoryOffline::Read(uint64_t addr, void* dst, size_t size) { in Read() function in unwindstack::MemoryOffline
[all …]
/system/core/libunwindstack/include/unwindstack/
DMemory.h45 virtual size_t Read(uint64_t addr, void* dst, size_t size) = 0;
63 size_t Read(uint64_t addr, void* dst, size_t size) override;
81 size_t Read(uint64_t addr, void* dst, size_t size) override;
100 size_t Read(uint64_t addr, void* dst, size_t size) override;
117 size_t Read(uint64_t addr, void* dst, size_t size) override;
131 size_t Read(uint64_t addr, void* dst, size_t size) override;
143 size_t Read(uint64_t addr, void* dst, size_t size) override;
162 size_t Read(uint64_t addr, void* dst, size_t size) override;
175 size_t Read(uint64_t addr, void* dst, size_t size) override;
188 size_t Read(uint64_t addr, void* dst, size_t size) override;
[all …]
/system/sepolicy/prebuilts/api/28.0/public/
Duncrypt.te7 # Read OTA zip file from /data/data/com.google.android.gsf/app_download
15 # Read /cache/recovery/command
16 # Read /cache/recovery/uncrypt_file
21 # Read OTA zip file at /data/ota_package/.
44 # Read files in /sys
Dupdate_verifier.te8 # Read care map in /data/ota_package/.
12 # Read /sys/block to find all the DM directories like (/sys/block/dm-X).
15 # Read /sys/block/dm-X/dm/name (which is a symlink to
21 # Read all blocks in DM wrapped system partition.
Dhealthd.te8 # Read access to pseudo filesystems.
13 # Read access to system files for passthrough HALs in
26 # Read/write to /sys/power/state
38 # Read /sys/fs/pstore/console-ramoops
/system/sepolicy/prebuilts/api/27.0/private/
Ddomain_deprecated.te3 # Read files already opened under /data.
7 # Read apk files under /data/app.
12 # Read access to pseudo filesystems.
Dstoraged.te7 # Read access to pseudo filesystems
12 # Read /proc/uid_io/stats
15 # Read /data/system/packages.list
19 # Read access to debugfs
/system/sepolicy/prebuilts/api/26.0/public/
Duncrypt.te7 # Read OTA zip file from /data/data/com.google.android.gsf/app_download
15 # Read /cache/recovery/command
16 # Read /cache/recovery/uncrypt_file
20 # Read OTA zip file at /data/ota_package/.
/system/sepolicy/prebuilts/api/27.0/public/
Duncrypt.te7 # Read OTA zip file from /data/data/com.google.android.gsf/app_download
15 # Read /cache/recovery/command
16 # Read /cache/recovery/uncrypt_file
21 # Read OTA zip file at /data/ota_package/.
/system/sepolicy/public/
Duncrypt.te12 # Read /cache/recovery/command
13 # Read /cache/recovery/uncrypt_file
18 # Read OTA zip file at /data/ota_package/.
41 # Read files in /sys
Dupdate_verifier.te8 # Read care map in /data/ota_package/.
12 # Read /sys/block to find all the DM directories like (/sys/block/dm-X).
15 # Read /sys/block/dm-X/dm/name (which is a symlink to
21 # Read all blocks in DM wrapped system partition.
/system/sepolicy/prebuilts/api/29.0/public/
Duncrypt.te12 # Read /cache/recovery/command
13 # Read /cache/recovery/uncrypt_file
18 # Read OTA zip file at /data/ota_package/.
41 # Read files in /sys
Dupdate_verifier.te8 # Read care map in /data/ota_package/.
12 # Read /sys/block to find all the DM directories like (/sys/block/dm-X).
15 # Read /sys/block/dm-X/dm/name (which is a symlink to
21 # Read all blocks in DM wrapped system partition.
/system/update_engine/payload_consumer/
Dextent_reader_unittest.cc85 EXPECT_TRUE(reader.Read(blob1.data(), blob1.size())); in TEST_F()
97 EXPECT_TRUE(reader.Read(blob.data(), 0)); in TEST_F()
98 EXPECT_FALSE(reader.Read(blob.data(), 1)); in TEST_F()
106 EXPECT_TRUE(reader.Read(blob.data(), 0)); in TEST_F()
107 EXPECT_FALSE(reader.Read(blob.data(), 1)); in TEST_F()
116 EXPECT_FALSE(reader.Read(blob.data(), blob.size())); in TEST_F()
163 EXPECT_TRUE(reader.Read(blob.data(), size)); in TEST_F()
/system/sepolicy/prebuilts/api/26.0/private/
Dstoraged.te7 # Read access to pseudo filesystems
12 # Read /proc/uid_io/stats
15 # Read /data/system/packages.list
19 # Read access to debugfs
/system/update_engine/common/
Dhwid_override_unittest.cc53 EXPECT_EQ(expected_hwid, HwidOverride::Read(tempdir_.GetPath())); in TEST_F()
62 EXPECT_EQ(std::string(), HwidOverride::Read(tempdir_.GetPath())); in TEST_F()
66 EXPECT_EQ(std::string(), HwidOverride::Read(tempdir_.GetPath())); in TEST_F()
/system/sepolicy/private/
Dstoraged.te7 # Read access to pseudo filesystems
10 # Read /proc/uid_io/stats
13 # Read /data/system/packages.list
22 # Read access to debugfs
/system/sepolicy/prebuilts/api/29.0/private/
Dstoraged.te7 # Read access to pseudo filesystems
10 # Read /proc/uid_io/stats
13 # Read /data/system/packages.list
22 # Read access to debugfs
/system/sepolicy/prebuilts/api/28.0/private/
Dstoraged.te7 # Read access to pseudo filesystems
11 # Read /proc/uid_io/stats
14 # Read /data/system/packages.list
22 # Read access to debugfs

12345678910>>...14