/aosp12/art/runtime/gc/space/ |
H A D | space_create_test.cc | 62 std::unique_ptr<Space> space(CreateSpace("test", 16 * MB, 32 * MB, 32 * MB)); in TEST_P() 65 space.reset(CreateSpace("test", 16 * MB, 16 * MB, 16 * MB)); in TEST_P() 68 space.reset(CreateSpace("test", 32 * MB, 16 * MB, 16 * MB)); in TEST_P() 71 space.reset(CreateSpace("test", 16 * MB, 16 * MB, 32 * MB)); in TEST_P() 74 space.reset(CreateSpace("test", 16 * MB, 8 * MB, 32 * MB)); in TEST_P() 77 space.reset(CreateSpace("test", 8 * MB, 16 * MB, 32 * MB)); in TEST_P() 80 space.reset(CreateSpace("test", 8 * MB, 32 * MB, 16 * MB)); in TEST_P() 91 MallocSpace* space(CreateSpace("test", 4 * MB, 16 * MB, 16 * MB)); in TEST_P() 189 1 * MB, in TEST_P() 225 MallocSpace* space(CreateSpace("test", 4 * MB, 16 * MB, 16 * MB)); in TEST_P() [all …]
|
H A D | space_test.h | 325 size_t initial_size = 4 * MB; in SizeFootPrintGrowthLimitAndTrimDriver() 326 size_t growth_limit = 8 * MB; in SizeFootPrintGrowthLimitAndTrimDriver() 327 size_t capacity = 16 * MB; in SizeFootPrintGrowthLimitAndTrimDriver() 370 TEST_SizeFootPrintGrowthLimitAndTrimStatic(1MB, spaceName, spaceFn, 1 * MB) \ 371 TEST_SizeFootPrintGrowthLimitAndTrimStatic(4MB, spaceName, spaceFn, 4 * MB) \ 372 TEST_SizeFootPrintGrowthLimitAndTrimStatic(8MB, spaceName, spaceFn, 8 * MB) 385 TEST_SizeFootPrintGrowthLimitAndTrimRandom(1MB, spaceName, spaceFn, 1 * MB) \ 386 TEST_SizeFootPrintGrowthLimitAndTrimRandom(4MB, spaceName, spaceFn, 4 * MB) \ 387 TEST_SizeFootPrintGrowthLimitAndTrimRandom(8MB, spaceName, spaceFn, 8 * MB)
|
H A D | large_object_space_test.cc | 41 const size_t capacity = 128 * MB; in LargeObjectTest() 115 mirror::Object* obj = los->Alloc(self, 100 * MB, &bytes_allocated, nullptr, in LargeObjectTest() 160 los = space::FreeListSpace::Create("large object space", 128 * MB); in RaceTest()
|
/aosp12/system/logging/logd/ |
H A D | README.compression.md | 53 ## Log Messages in 1MB 55 …sages still available in logcat after ‘Message Count’ messages have been logged to a 1MB log buffer 66 * Chatty uses significantly more CPU time at 1MB (the default Pixel configuration) 78 …tamp, etc) in its calculation of log buffer size, so a 1MB log buffer will consume more than 1MB. …
|
H A D | README.property | 19 logd.logpersistd.size persist logpersistd size in MB 24 persist.logd.logpersistd.size 256 logpersistd size in MB
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | DataUsageDetailView.java | 42 private static final double MB = 1024 * KB; field in DataUsageDetailView 43 private static final double GB = 1024 * MB; 130 if (b > 100 * MB) { in formatBytes() 134 val = b / MB; in formatBytes()
|
/aosp12/art/dex2oat/linker/arm64/ |
H A D | relative_patcher_arm64_test.cc | 132 constexpr uint32_t kSmallChunkSize = 2 * MB; in Create2MethodsWithGap() 397 ASSERT_LT(b_diff, 128 * MB); in TestNopsAdrpInsn2AndUseHasThunk() 658 ASSERT_LT(diff, 128 * MB); in TEST_F() 675 constexpr uint32_t max_positive_disp = 128 * MB - 4u; in TEST_F() 701 constexpr uint32_t max_negative_disp = 128 * MB; in TEST_F() 727 constexpr uint32_t just_over_max_positive_disp = 128 * MB; in TEST_F() 756 ASSERT_LT(diff, 128 * MB); in TEST_F() 786 ASSERT_LT(diff, 128 * MB); in TEST_F() 1022 ASSERT_LT(diff, 128 * MB); in TEST_F() 1192 EXPECT_EQ(2 * MB, last_method_offset - first_method_offset); in TEST_F() [all …]
|
/aosp12/packages/modules/Virtualization/microdroid/ |
H A D | uboot-env-x86_64.txt | 8 # U-Boot in x86_64 by defaults loads kernel at 0x20000000 (512MB), which is 10 # size of 256MB. To avoid that, explicitly set the kernel load addresss using
|
/aosp12/art/dex2oat/linker/arm/ |
H A D | relative_patcher_thumb2_test.cc | 165 constexpr uint32_t kSmallChunkSize = 2 * MB; in Create2MethodsWithGap() 970 1 * MB - (kLiteralOffset2 + kPcAdjustment) in TEST_F() 989 EXPECT_EQ(2 * MB, last_method_offset - first_method_offset); in TEST_F() 1070 1 * MB - (kReachableFromOffset2 + kPcAdjustment) in TEST_F() 1090 EXPECT_EQ(2 * MB, last_method_offset - first_method_offset); in TEST_F() 1292 code.reserve(1 * MB); in TEST_F() 1293 const size_t num_patches = 1 * MB / 8u; in TEST_F() 1304 ASSERT_EQ(1 * MB, code.size()); in TEST_F() 1312 DCHECK_ALIGNED(1 * MB, kArmAlignment); in TEST_F() 1316 PushBackInsn(&expected_code, BneWWithOffset(8u * i + 4u, 1 * MB)); in TEST_F() [all …]
|
/aosp12/art/libartbase/base/ |
H A D | utils_test.cc | 33 EXPECT_EQ("1024KB", PrettySize(1 * MB)); in TEST_F() 34 EXPECT_EQ("10MB", PrettySize(10 * MB)); in TEST_F() 35 EXPECT_EQ("100MB", PrettySize(100 * MB)); in TEST_F()
|
H A D | globals.h | 26 static constexpr size_t MB = KB * KB; variable
|
H A D | utils.cc | 220 10*MB, // MB up to... in PrettySize() 223 static const uint64_t kBytesPerUnit[] = { 1, KB, MB, GB }; in PrettySize()
|
/aosp12/art/runtime/gc/accounting/ |
H A D | space_bitmap_test.cc | 35 size_t heap_capacity = 16 * MB; in TEST_F() 62 size_t heap_capacity = 16 * MB; in TEST_F() 93 size_t heap_capacity = 16 * MB; in TEST_F() 159 size_t heap_capacity = 16 * MB; in RunTest()
|
H A D | mod_union_table_test.cc | 188 "other space", 128 * KB, 4 * MB, 4 * MB, /*can_move_objects=*/ false)); in RunTest()
|
/aosp12/art/tools/ |
H A D | buildbot-setup-device.sh | 95 buffer_size=16MB 97 buffer_size=32MB
|
/aosp12/art/runtime/ |
H A D | parsed_options_test.cc | 93 EXPECT_PARSED_EQ(1 * MB, Opt::StackSize); in TEST_F() 94 EXPECT_PARSED_EQ(200 * MB, Opt::StopForNativeAllocs); in TEST_F()
|
/aosp12/art/compiler/utils/ |
H A D | swap_space_test.cc | 41 SwapSpace pool(fd, 1 * MB); in SwapTest()
|
H A D | assembler.cc | 79 size_t new_capacity = std::min(old_capacity * 2, old_capacity + 1 * MB); in ExtendCapacity()
|
/aosp12/art/test/175-alloc-big-bignums/ |
H A D | info.txt | 5 The test allocates roughly 10GB of native memory, approximately 1MB of which
|
/aosp12/build/make/target/board/ |
H A D | go_defaults_512.prop | 17 # 512MB specific properties.
|
/aosp12/frameworks/base/libs/hwui/ |
H A D | Properties.h | 195 #define MB(s) ((s)*1024 * 1024) macro
|
/aosp12/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
H A D | dbreg.cpp | 250 #define MB 0 macro 271 #if MB in UpdateReference() 498 #if MB in AddFrame()
|
/aosp12/art/libdexfile/dex/ |
H A D | standard_dex_file.h | 110 return Size() + (HasHiddenapiClassData() ? 1 * MB : 0); in GetDequickenedSize()
|
/aosp12/art/runtime/gc/collector/ |
H A D | garbage_collector.cc | 211 throughput /= MB; in Run() 216 throughput = current_iteration->GetEstimatedThroughput() / MB; in Run()
|
/aosp12/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/ |
H A D | LocalImageFetcher.java | 66 private static final int MB = KB * KB; field in LocalImageFetcher 100 mMemoryCache = new LruCache<ImageKey, Drawable>(cacheSizeMB * MB) { in LocalImageFetcher()
|