/system/update_engine/payload_generator/ |
D | extent_ranges_unittest.cc | 35 void ExpectRangeEq(const ExtentRanges& ranges, in ExpectRangeEq() argument 43 EXPECT_EQ(blocks, ranges.blocks()) << "line: " << line; in ExpectRangeEq() 45 const ExtentRanges::ExtentSet& result = ranges.extent_set(); in ExpectRangeEq() 55 #define EXPECT_RANGE_EQ(ranges, var) \ argument 57 ExpectRangeEq(ranges, var, base::size(var), __LINE__); \ 126 ExtentRanges ranges; in TEST() local 130 ExpectRangeEq(ranges, expected, 0, __LINE__); in TEST() 132 ranges.SubtractBlock(2); in TEST() 136 ExpectRangeEq(ranges, expected, 0, __LINE__); in TEST() 139 ranges.AddBlock(0); in TEST() [all …]
|
D | extent_ranges.h | 63 void AddRanges(const ExtentRanges& ranges); 64 void SubtractRanges(const ExtentRanges& ranges); 93 const ExtentRanges& ranges);
|
D | extent_ranges.cc | 157 void ExtentRanges::AddRanges(const ExtentRanges& ranges) { in AddRanges() argument 158 for (ExtentSet::const_iterator it = ranges.extent_set_.begin(), in AddRanges() 159 e = ranges.extent_set_.end(); in AddRanges() 166 void ExtentRanges::SubtractRanges(const ExtentRanges& ranges) { in SubtractRanges() argument 167 for (ExtentSet::const_iterator it = ranges.extent_set_.begin(), in SubtractRanges() 168 e = ranges.extent_set_.end(); in SubtractRanges() 276 const ExtentRanges& ranges) { in FilterExtentRanges() argument 278 const ExtentRanges::ExtentSet& extent_set = ranges.extent_set(); in FilterExtentRanges()
|
D | ext2_filesystem.cc | 322 ExtentRanges ranges; in GetFiles() local 323 ranges.AddExtents(file.extents); in GetFiles() 324 file.extents = ranges.GetExtentsForBlockCount(ranges.blocks()); in GetFiles()
|
/system/update_engine/common/ |
D | http_fetcher_unittest.cc | 1126 const vector<pair<off_t, off_t>>& ranges, in MultiTest() argument 1137 for (vector<pair<off_t, off_t>>::const_iterator it = ranges.begin(), in MultiTest() 1138 e = ranges.end(); in MultiTest() 1171 vector<pair<off_t, off_t>> ranges; in TYPED_TEST() local 1172 ranges.push_back(make_pair(0, 25)); in TYPED_TEST() 1173 ranges.push_back(make_pair(99, 17)); in TYPED_TEST() 1177 ranges, in TYPED_TEST() 1191 vector<pair<off_t, off_t>> ranges; in TYPED_TEST() local 1192 ranges.push_back(make_pair(0, 25)); in TYPED_TEST() 1193 ranges.push_back(make_pair(99, 0)); in TYPED_TEST() [all …]
|
/system/core/libunwindstack/ |
D | MapInfo.cpp | 186 MemoryRanges* ranges = new MemoryRanges; in CreateMemory() local 187 ranges->Insert(new MemoryRange(process_memory, prev_real_map->start, in CreateMemory() 189 ranges->Insert(new MemoryRange(process_memory, start, end - start, elf_offset)); in CreateMemory() 192 return ranges; in CreateMemory()
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 1305 IncFsFilledRanges ranges; in IncFs_IsFullyLoaded() local 1307 &ranges); in IncFs_IsFullyLoaded() 1316 if (ranges.endIndex == 0) { in IncFs_IsFullyLoaded() 1320 if (ranges.dataRangesCount == 1 && ranges.hashRangesCount == 0) { in IncFs_IsFullyLoaded() 1321 return (ranges.dataRanges[0].begin == 0 && ranges.dataRanges[0].end == ranges.endIndex) in IncFs_IsFullyLoaded() 1326 if (ranges.dataRangesCount == 1 && ranges.hashRangesCount == 1) { in IncFs_IsFullyLoaded() 1329 if (ranges.hashRanges[0].begin != 0) { in IncFs_IsFullyLoaded() 1333 ranges.endIndex - (ranges.hashRanges[0].end - ranges.hashRanges[0].begin); in IncFs_IsFullyLoaded() 1334 return (ranges.dataRanges[0].begin == 0 && ranges.dataRanges[0].end == expectedDataBlocks) in IncFs_IsFullyLoaded()
|
/system/netd/server/ |
D | UidRanges.h | 32 UidRanges(const std::vector<android::net::UidRangeParcel>& ranges);
|
D | UidRanges.cpp | 114 UidRanges::UidRanges(const std::vector<UidRangeParcel>& ranges) { in UidRanges() argument 115 mRanges = ranges; in UidRanges()
|
/system/incremental_delivery/incfs/tests/ |
D | incfs_test.cpp | 732 auto [res, ranges] = getFilledRanges(fd.get()); in TEST_F() 734 EXPECT_EQ(size_t(5), ranges.totalSize()); in TEST_F() 735 ASSERT_EQ(size_t(3), ranges.dataRanges().size()); in TEST_F() 737 EXPECT_EQ(lastPage, ranges.dataRanges()[2].begin); in TEST_F() 738 EXPECT_EQ(size_t(1), ranges.dataRanges()[2].size()); in TEST_F() 739 ASSERT_EQ(size_t(2), ranges.hashRanges().size()); in TEST_F() 740 EXPECT_EQ(0, ranges.hashRanges()[0].begin); in TEST_F() 741 EXPECT_EQ(size_t(1), ranges.hashRanges()[0].size()); in TEST_F() 742 EXPECT_EQ(2, ranges.hashRanges()[1].begin); in TEST_F() 743 EXPECT_EQ(size_t(1), ranges.hashRanges()[1].size()); in TEST_F() [all …]
|
/system/incremental_delivery/incfs/include/ |
D | incfs.h | 146 FilledRanges(RangeBuffer&& buffer, IncFsFilledRanges ranges) in FilledRanges() argument 147 : buffer_(std::move(buffer)), rawFilledRanges_(ranges) {} in FilledRanges()
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | gsid.te | 81 # lp_metadata - LpMetadata blob describing the block ranges on userdata
|
/system/core/fs_mgr/libsnapshot/android/snapshot/ |
D | snapshot.proto | 48 // Size of the snapshot. This is the sum of lengths of ranges in the base
|
/system/sepolicy/private/ |
D | gsid.te | 106 # lp_metadata - LpMetadata blob describing the block ranges on userdata
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | gsid.te | 106 # lp_metadata - LpMetadata blob describing the block ranges on userdata
|
/system/extras/simpleperf/ |
D | Android.bp | 440 // It's linked to user's program, to get profile counters and samples for specific code ranges.
|