Home
last modified time | relevance | path

Searched refs:region (Results 1 – 8 of 8) sorted by relevance

/system/core/libcutils/
Dashmem_test.cpp40 void TestMmap(const unique_fd& fd, size_t size, int prot, void** region, off_t off = 0) { in TestMmap() argument
43 *region = mmap(nullptr, size, prot, MAP_SHARED, fd, off); in TestMmap()
44 ASSERT_NE(MAP_FAILED, *region); in TestMmap()
129 void* region; in TEST() local
136 ASSERT_NO_FATAL_FAILURE(TestMmap(fd, dataSize, PROT_READ | PROT_WRITE, &region, holeSize)); in TEST()
140 memcpy(region, data, dataSize); in TEST()
182 EXPECT_EQ(0, munmap(region, dataSize)); in TEST()
188 void *region; in TEST() local
193 ASSERT_NO_FATAL_FAILURE(TestMmap(fd, size, PROT_READ, &region)); in TEST()
194 EXPECT_EQ(0, munmap(region, size)); in TEST()
[all …]
/system/timezone/debug_tools/host/
DREADME.android16 there is a distinction between time zones, e.g. if a sub-region moved
17 from being the same as one major region to be the same as a different major
18 region, then a new time zone ID is required to represent the sub-region's
19 behavior because neither of the IDs for the major region describe the time
20 zone behavior of the sub-region throughout time. Once created, zone IDs
/system/core/libsystem/include/system/
Dradio.h124 radio_region_t region; member
224 radio_rds_t radio_rds_for_region(bool rds, radio_region_t region) { in radio_rds_for_region() argument
227 switch(region) { in radio_rds_for_region()
241 radio_deemphasis_t radio_demephasis_for_region(radio_region_t region) { in radio_demephasis_for_region() argument
242 switch(region) { in radio_demephasis_for_region()
/system/core/adb/coverage/
Dreport.sh15 --show-region-summary=false \
22 --show-region-summary=false
/system/core/fs_mgr/liblp/
Dbuilder.cpp737 for (auto& region : free_regions) { in GrowPartition() local
744 if (region.length() % sectors_per_block != 0) { in GrowPartition()
748 LERROR << "Region " << region.start << ".." << region.end in GrowPartition()
754 region.end = region.start + (region.length() / sectors_per_block) * sectors_per_block; in GrowPartition()
755 if (!region.length()) { in GrowPartition()
760 uint64_t sectors = std::min(sectors_needed, region.length()); in GrowPartition()
763 auto extent = std::make_unique<LinearExtent>(sectors, region.device_index, region.start); in GrowPartition()
796 for (const auto& region : free_list) { in PrioritizeSecondHalfOfSuper() local
800 if (region.device_index != 0 || region.end <= midpoint) { in PrioritizeSecondHalfOfSuper()
801 first_half.emplace_back(region); in PrioritizeSecondHalfOfSuper()
[all …]
/system/memory/libmemunreachable/
DREADME.md91 - `malloc_iterate()`: call a callback on each active allocation in a given heap region.
/system/memory/libmeminfo/testdata1/
Dsmaps1 …0000 rw-p 00000000 00:00 0 [anon:dalvik-main space (region space)]
2 Name: [anon:dalvik-main space (region space)]
22 …0000 ---p 00000000 00:00 0 [anon:dalvik-main space (region space)]
23 Name: [anon:dalvik-main space (region space)]
43 …0000 rw-p 00000000 00:00 0 [anon:dalvik-main space (region space)]
44 Name: [anon:dalvik-main space (region space)]
64 …0000 ---p 00000000 00:00 0 [anon:dalvik-main space (region space)]
65 Name: [anon:dalvik-main space (region space)]
85 …0000 rw-p 00000000 00:00 0 [anon:dalvik-main space (region space)]
86 Name: [anon:dalvik-main space (region space)]
[all …]
/system/core/libprocinfo/testdata/
Dmaps1 …0000 rw-p 00000000 00:05 10267643 [anon:dalvik-main space (region space)]
748 7064ad1000-7065ad1000 rw-p 00000000 00:05 10267644 [anon:dalvik-region space …