Home
last modified time | relevance | path

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

12345678910>>...18

/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.cpp52 size_t bytes = ranges_->Read(0, dst.data(), dst.size()); in TEST_F()
58 bytes = ranges_->Read(2000, dst.data(), dst.size()); in TEST_F()
64 bytes = ranges_->Read(4000, dst.data(), dst.size()); in TEST_F()
73 ASSERT_EQ(0UL, ranges_->Read(1000, dst.data(), dst.size())); in TEST_F()
74 ASSERT_EQ(0UL, ranges_->Read(5000, dst.data(), dst.size())); in TEST_F()
75 ASSERT_EQ(0UL, ranges_->Read(8000, dst.data(), dst.size())); in TEST_F()
82 size_t bytes = ranges_->Read(6000, dst.data(), dst.size()); in TEST_F()
DMemoryOfflineTest.cpp51 ASSERT_EQ(0U, memory->Read(offset - 1, &buf, 1)); in TEST_F()
52 ASSERT_EQ(0U, memory->Read(offset + data.size(), &buf, 1)); in TEST_F()
53 ASSERT_EQ(1U, memory->Read(offset, &buf, 1)); in TEST_F()
55 ASSERT_EQ(1U, memory->Read(offset + data.size() - 1, &buf, 1)); in TEST_F()
62 ASSERT_EQ(data.size(), memory->Read(offset, buf.data(), buf.size())); 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.cpp157 size_t rc = Read(addr, dst, size); in ReadFully()
168 size = Read(addr + offset, buffer, read); in ReadString()
218 size_t MemoryBuffer::Read(uint64_t addr, void* dst, size_t size) { in Read() function in unwindstack::MemoryBuffer
289 size_t MemoryFileAtOffset::Read(uint64_t addr, void* dst, size_t size) { in Read() function in unwindstack::MemoryFileAtOffset
302 size_t MemoryRemote::Read(uint64_t addr, void* dst, size_t size) { in Read() function in unwindstack::MemoryRemote
333 size_t MemoryLocal::Read(uint64_t addr, void* dst, size_t size) { in Read() function in unwindstack::MemoryLocal
351 size_t MemoryRange::Read(uint64_t addr, void* dst, size_t size) { in Read() function in unwindstack::MemoryRange
367 return memory_->Read(read_addr, dst, read_length); in Read()
374 size_t MemoryRanges::Read(uint64_t addr, void* dst, size_t size) { in Read() function in unwindstack::MemoryRanges
377 return entry->second->Read(addr, dst, size); in Read()
[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.
/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/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/sepolicy/public/
Duncrypt.te12 # Read /cache/recovery/command
13 # Read /cache/recovery/uncrypt_file
18 # Read and write(for f2fs_pin_file) on OTA zip file at /data/ota_package/.
38 # 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/bt/test/headless/read/
Dread.h26 class Read : public HeadlessTest<int> {
28 Read(const bluetooth::test::headless::GetOpt& options);
Dread.cc28 Read::Read(const bluetooth::test::headless::GetOpt& options) in Read() function in Read
/system/sepolicy/prebuilts/api/30.0/public/
Duncrypt.te12 # Read /cache/recovery/command
13 # Read /cache/recovery/uncrypt_file
18 # Read and write(for f2fs_pin_file) on 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/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/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>>...18