Home
last modified time | relevance | path

Searched refs:Bitmap (Results 1 – 9 of 9) sorted by relevance

/art/runtime/gc/accounting/
Dbitmap.cc30 Bitmap* Bitmap::CreateFromMemMap(MemMap&& mem_map, size_t num_bits) { in CreateFromMemMap()
32 return new Bitmap(std::move(mem_map), num_bits); in CreateFromMemMap()
35 Bitmap::Bitmap(MemMap&& mem_map, size_t bitmap_size) in Bitmap() function in art::gc::accounting::Bitmap
43 Bitmap::~Bitmap() { in ~Bitmap()
47 MemMap Bitmap::AllocateMemMap(const std::string& name, size_t num_bits) { in AllocateMemMap()
62 Bitmap* Bitmap::Create(const std::string& name, size_t num_bits) { in Create()
70 void Bitmap::Clear() { in Clear()
76 void Bitmap::CopyFrom(Bitmap* source_bitmap) { in CopyFrom()
88 MemMap mem_map = Bitmap::AllocateMemMap(name, num_bits); in Create()
Dbitmap.h36 class Bitmap {
39 static Bitmap* Create(const std::string& name, size_t num_bits);
44 static Bitmap* CreateFromMemMap(MemMap&& mem_map, size_t num_bits);
81 void CopyFrom(Bitmap* source_bitmap);
103 Bitmap(MemMap&& mem_map, size_t bitmap_size);
104 ~Bitmap();
122 DISALLOW_IMPLICIT_CONSTRUCTORS(Bitmap);
127 class MemoryRangeBitmap : public Bitmap {
180 : Bitmap(std::move(mem_map), num_bits), in MemoryRangeBitmap()
Dbitmap-inl.h33 inline bool Bitmap::AtomicTestAndSetBit(uintptr_t bit_index) { in AtomicTestAndSetBit()
51 inline bool Bitmap::TestBit(uintptr_t bit_index) const { in TestBit()
57 inline void Bitmap::VisitSetBits(uintptr_t bit_start, uintptr_t bit_end, const Visitor& visitor) in VisitSetBits()
133 inline bool Bitmap::ModifyBit(uintptr_t bit_index) { in ModifyBit()
Dmod_union_table.cc539 card_bitmap_->Bitmap::Clear(); in ClearTable()
/art/test/079-phantom/src/
DMain.java20 Bitmap mBitmap1, mBitmap2, mBitmap3, mBitmap4;
76 Bitmap.shutDown(); in run()
89 Bitmap.NativeWrapper dataA = Bitmap.allocNativeStorage(10, 10); in createBitmaps()
91 Bitmap.NativeWrapper dataB = Bitmap.allocNativeStorage(20, 20); in createBitmaps()
94 mBitmap1 = new Bitmap("one", 10, 10, dataA); in createBitmaps()
95 mBitmap2 = new Bitmap("two", 20, 20, dataB); in createBitmaps()
96 mBitmap3 = mBitmap4 = new Bitmap("three/four", 20, 20, dataB); in createBitmaps()
DBitmap.java22 public class Bitmap { class
25 Bitmap.NativeWrapper mNativeWrapper;
37 Bitmap(String name, int width, int height, Bitmap.NativeWrapper nativeData) { in Bitmap() method in Bitmap
69 static Bitmap.NativeWrapper allocNativeStorage(int width, int height) { in allocNativeStorage()
72 synchronized (Bitmap.class) { in allocNativeStorage()
76 Bitmap.NativeWrapper wrapper = new Bitmap.NativeWrapper(nativeData); in allocNativeStorage()
120 PhantomWrapper(Bitmap.NativeWrapper wrapper, in PhantomWrapper()
149 Bitmap.freeNativeStorage(ref.mNativeData, ref.mFreeSignal); in run()
/art/test/079-phantom/
Dexpected.txt2 Created Bitmap one: 10x10 (100)
3 Created Bitmap two: 20x20 (101)
4 Created Bitmap three/four: 20x20 (101)
5 Drawing Bitmap two: 20x20 (101)
13 Bitmap has shut down
/art/tools/amm/models/
DBitmap.md1 # Bitmap Model
3 The value of the Bitmap model is the sum of bytes used for native pixel data
4 of instances of `android.graphics.Bitmap`. It is calculated by summing for
5 each instance `x` of `android.graphics.Bitmap`:
9 The actionable breakdown of the Bitmap model is a breakdown by
10 `android.graphics.Bitmap` instance, including width, height, and ideally a
/art/tools/amm/AmmTest/src/com/android/amm/test/
DBitmapUse.java19 import android.graphics.Bitmap;
27 private Bitmap mBitmap;