Home
last modified time | relevance | path

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

12345678910>>...21

/system/unwinding/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/unwinding/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()
/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/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/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/31.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/.
42 # 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.
Dcrash_dump.te18 # Read/write IPC pipes inherited from crashing processes.
24 # Read information from /proc/$PID.
30 # Read /data/dalvik-cache.
34 # Read APEX data directories.
37 # Read APK files.
40 # Read all /vendor
/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/.
42 # 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.
Dcrash_dump.te18 # Read/write IPC pipes inherited from crashing processes.
24 # Read information from /proc/$PID.
30 # Read /data/dalvik-cache.
34 # Read APEX data directories.
37 # Read APK files.
40 # Read all /vendor
/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/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/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()

12345678910>>...21