Searched refs:NativeAllocation (Results 1 - 7 of 7) sorted by relevance

/art/test/004-NativeAllocations/src/
H A DMain.java30 static class NativeAllocation { class in class:Main
33 NativeAllocation(int bytes, boolean testingDeadlock) throws Exception { method in class:Main.NativeAllocation
67 NativeAllocation[] allocations = new NativeAllocation[count];
69 allocations[i % count] = new NativeAllocation(size, false);
76 allocations[i % count] = new NativeAllocation(size, true);
81 allocations[i % count] = new NativeAllocation(size, true);
/art/tools/ahat/src/
H A DNativeAllocationsHandler.java35 List<InstanceUtils.NativeAllocation> allocs = mSnapshot.getNativeAllocations();
41 for (InstanceUtils.NativeAllocation alloc : allocs) {
60 Comparator<InstanceUtils.NativeAllocation> compare
61 = new Sort.WithPriority<InstanceUtils.NativeAllocation>(
65 SubsetSelector<InstanceUtils.NativeAllocation> selector
67 for (InstanceUtils.NativeAllocation alloc : selector.selected()) {
76 List<InstanceUtils.NativeAllocation> remaining = selector.remaining();
79 for (InstanceUtils.NativeAllocation alloc : remaining) {
H A DSort.java182 * Compare AhatSnapshot.NativeAllocation by heap name.
187 implements Comparator<InstanceUtils.NativeAllocation> {
189 public int compare(InstanceUtils.NativeAllocation a, InstanceUtils.NativeAllocation b) {
195 * Compare InstanceUtils.NativeAllocation by their size.
200 public static class NativeAllocationBySize implements Comparator<InstanceUtils.NativeAllocation> {
202 public int compare(InstanceUtils.NativeAllocation a, InstanceUtils.NativeAllocation b) {
H A DOverviewHandler.java52 List<InstanceUtils.NativeAllocation> allocs = mSnapshot.getNativeAllocations();
56 for (InstanceUtils.NativeAllocation alloc : allocs) {
H A DAhatSnapshot.java65 private final List<InstanceUtils.NativeAllocation> mNativeAllocations
66 = new ArrayList<InstanceUtils.NativeAllocation>();
124 InstanceUtils.NativeAllocation alloc = InstanceUtils.getNativeAllocation(inst);
270 public List<InstanceUtils.NativeAllocation> getNativeAllocations() {
H A DInstanceUtils.java293 public static class NativeAllocation { class in class:InstanceUtils
299 public NativeAllocation(long size, Heap heap, long pointer, Instance referent) { method in class:InstanceUtils.NativeAllocation
308 * Assuming inst represents a NativeAllocation, return information about the
312 public static NativeAllocation getNativeAllocation(Instance inst) {
359 return new NativeAllocation(size, inst.getHeap(), pointer, referent);
/art/tools/ahat/test/
H A DNativeAllocationTest.java33 for (InstanceUtils.NativeAllocation alloc : snapshot.getNativeAllocations()) {

Completed in 74 milliseconds