/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
ThumbnailData.java | 28 // TODO: Make these final once the non-snapshot path is removed. 35 public static ThumbnailData createFromTaskSnapshot(TaskSnapshot snapshot) { 37 out.thumbnail = Bitmap.createHardwareBitmap(snapshot.getSnapshot()); 38 out.insets.set(snapshot.getContentInsets()); 39 out.orientation = snapshot.getOrientation(); 40 out.reducedResolution = snapshot.isReducedResolution(); 41 out.scale = snapshot.getScale();
|
/art/tools/ahat/test/ |
RootedHandlerTest.java | 26 AhatSnapshot snapshot = TestDump.getTestDump().getAhatSnapshot(); local 27 AhatHandler handler = new RootedHandler(snapshot);
|
SiteHandlerTest.java | 26 AhatSnapshot snapshot = TestDump.getTestDump().getAhatSnapshot(); local 27 AhatHandler handler = new SiteHandler(snapshot);
|
OverviewHandlerTest.java | 28 AhatSnapshot snapshot = TestDump.getTestDump().getAhatSnapshot(); local 29 AhatHandler handler = new OverviewHandler(snapshot,
|
ObjectHandlerTest.java | 42 AhatSnapshot snapshot = dump.getAhatSnapshot(); local 43 AhatHandler handler = new ObjectHandler(snapshot); 45 AhatInstance object = snapshot.findClass("Main"); 55 AhatSnapshot snapshot = dump.getAhatSnapshot(); local 56 AhatHandler handler = new ObjectHandler(snapshot); 58 AhatInstance object = snapshot.findClass("java.lang.String");
|
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/trigger/ |
trigger-snapshot.tc | 2 # description: event trigger - test snapshot-trigger 26 if [ ! -f snapshot ]; then 27 echo "snapshot is not supported" 34 FEATURE=`grep snapshot events/sched/sched_process_fork/trigger` 36 echo "snapshot trigger is not supported" 40 echo "Test snapshot tigger" 41 echo 0 > snapshot 44 echo 'snapshot:1' > events/sched/sched_process_fork/trigger 46 grep sched_process_fork snapshot > /dev/null || \ 47 fail "snapshot trigger on sched_process_fork did not work [all...] |
/frameworks/base/libs/hwui/ |
BakedOpState.h | 23 #include "Snapshot.h" 51 * Holds the resolved clip, transform, and bounds of a recordedOp, when replayed with a snapshot 55 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, 59 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, 63 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot); 107 Snapshot& snapshot, const RecordedOp& recordedOp) [all...] |
BakedOpState.cpp | 33 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, 36 transform.loadMultiply(*snapshot.transform, recordedOp.localMatrix); 55 clipState = snapshot.serializeIntersectedClip(allocator, 56 recordedOp.localClip, *(snapshot.transform)); 72 if (CC_UNLIKELY(snapshot.projectionPathMask)) { 81 snapshot.projectionPathMask->transform(skInverseTransform, localMask); 87 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, 89 transform.loadMultiply(*snapshot.transform, localTransform) [all...] |
/external/v8/src/profiler/ |
heap-snapshot-generator-inl.h | 8 #include "src/profiler/heap-snapshot-generator.h" 15 return &snapshot()->entries()[from_index()]; 20 return snapshot()->profiler()->isolate(); 24 HeapSnapshot* HeapGraphEdge::snapshot() const { function in class:v8::internal::HeapGraphEdge 25 return to_entry_->snapshot();
|
/frameworks/base/services/core/java/com/android/server/wm/ |
TaskWindowContainerListener.java | 28 /** Called when the snapshot of this task has changed. */ 29 void onSnapshotChanged(TaskSnapshot snapshot);
|
TaskSnapshotCache.java | 45 void putSnapshot(Task task, TaskSnapshot snapshot) { 52 mRunningCache.put(task.mTaskId, new CacheEntry(snapshot, task.getTopChild())); 65 return entry.snapshot; 80 final TaskSnapshot snapshot = mLoader.loadTask(taskId, userId, reducedResolution); local 81 if (snapshot == null) { 84 return snapshot; 127 pw.println(triplePrefix + "snapshot=" + entry.snapshot); 133 /** The snapshot. */ 134 final TaskSnapshot snapshot; field in class:TaskSnapshotCache.CacheEntry [all...] |
SnapshotStartingData.java | 24 * Represents starting data for snapshot starting windows. 31 SnapshotStartingData(WindowManagerService service, TaskSnapshot snapshot) { 34 mSnapshot = snapshot;
|
/art/tools/ahat/src/ |
RootedHandler.java | 28 public RootedHandler(AhatSnapshot snapshot) { 29 mSnapshot = snapshot;
|
DominatedList.java | 37 * @param snapshot the snapshot where the instances reside 43 public static void render(final AhatSnapshot snapshot, 46 Collections.sort(insts, Sort.defaultInstanceCompare(snapshot)); 47 HeapTable.render(doc, query, id, new TableConfig(), snapshot, insts);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
PerformanceCollectorTest.java | 51 Bundle snapshot = (Bundle)readPrivateField("mPerfSnapshot", mPerfCollector); local 52 assertNotNull(snapshot); 53 assertEquals(2, snapshot.size()); 60 Bundle snapshot = mPerfCollector.endSnapshot(); local 62 verifySnapshotBundle(snapshot); 111 Bundle snapshot = (Bundle)readPrivateField("mPerfSnapshot", mPerfCollector); local 112 assertNotNull(snapshot); 113 assertEquals(2, snapshot.size()); 348 * by staggering calls to snapshot and timing functions. 399 private void verifySnapshotBundle(Bundle snapshot) { [all...] |
/external/okhttp/okio/okio/src/test/java/okio/ |
SegmentSharingTest.java | 34 ByteString snapshot = new Buffer().snapshot(); local 35 assertEquivalent(snapshot, ByteString.EMPTY); 39 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); 40 assertEquivalent(byteString, concatenateBuffers(xs, ys + zs).snapshot()); 41 assertEquivalent(byteString, concatenateBuffers(xs + ys + zs).snapshot()); 46 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); 66 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); 78 ByteString snapshot = buffer.snapshot(); local 147 ByteString snapshot = bufferA.snapshot(); \/\/ Share the segment. local 156 ByteString snapshot = bufferA.snapshot(); local 164 ByteString snapshot = bufferA.snapshot(); local [all...] |
/external/libchrome/base/metrics/ |
histogram_delta_serialization_unittest.cc | 38 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); 39 EXPECT_EQ(1, snapshot->GetCount(1)); 40 EXPECT_EQ(1, snapshot->GetCount(10)); 41 EXPECT_EQ(1, snapshot->GetCount(100)); 42 EXPECT_EQ(1, snapshot->GetCount(1000));
|
histogram_flattener.h | 25 const HistogramSamples& snapshot) = 0;
|
sparse_histogram.cc | 121 std::unique_ptr<SampleMap> snapshot(new SampleMap(name_hash())); 124 snapshot->Add(*samples_); 125 return std::move(snapshot); 131 std::unique_ptr<SampleMap> snapshot(new SampleMap(name_hash())); 133 snapshot->Add(*samples_); 136 snapshot->Subtract(*logged_samples_); 137 logged_samples_->Add(*snapshot); 138 return std::move(snapshot); 145 std::unique_ptr<SampleMap> snapshot(new SampleMap(name_hash())); 147 snapshot->Add(*samples_) 230 std::unique_ptr<HistogramSamples> snapshot = SnapshotSamples(); local [all...] |
/external/webrtc/tools/cpu/ |
cpu_mon.py | 41 print 'Label for snapshot (enter to quit): ' 46 snapshot = CpuSnapshot(label) 47 snapshot.Capture(sample_count) 49 return snapshot 53 print 'How many seconds to capture per snapshot (enter for 60)?' 63 snapshot = GrabCpuSamples(sample_count) 64 if snapshot == None: 66 snapshots.append(snapshot)
|
/external/autotest/site_utils/lxc/ |
utils.py | 57 def clone(lxc_path, src_name, new_path, dst_name, snapshot): 64 @param snapshot: Whether or not to create a snapshot clone. 66 snapshot_arg = '-s' if snapshot else '' 69 aufs_arg = '-B aufs' if utils.is_vm() and snapshot else '' 71 '--orig {orig} --new {new} {snapshot} {backing}') 77 snapshot = snapshot_arg,
|
/external/valgrind/massif/ |
ms_main.c | 41 // - "show me the extra allocations since the last snapshot" 90 snapshot=0 98 snapshot=1 122 - each snapshot specifies an x-axis value and one or more y-axis values. 196 // - Detailed: these record those things in a normal snapshot, plus a very 201 // - Temporary: Massif does a temporary snapshot every so often. The idea 207 // - Permanent: Massif takes a permanent (detailed) snapshot in some 209 // - Peak snapshot: When the memory usage peak is reached, it takes a 210 // snapshot. It keeps this, unless the peak is subsequently exceeded, 211 // in which case it will overwrite the peak snapshot 731 Snapshot* snapshot = &snapshots[i]; local 970 Snapshot* snapshot; local 1782 Snapshot* snapshot = & snapshots_array[i]; local 1804 Snapshot snapshot; local [all...] |
/external/v8/src/snapshot/ |
snapshot-external.cc | 7 #include "src/snapshot/snapshot.h" 10 #include "src/snapshot/snapshot-source-sink.h" 15 #error snapshot-external.cc is used only for the external snapshot build. 32 DCHECK(Snapshot::SnapshotIsValid(snapshot_blob)); 37 const v8::StartupData* Snapshot::DefaultSnapshotBlob() {
|
/art/tools/ahat/src/heapdump/ |
AhatSnapshot.java | 28 import com.android.tools.perflib.heap.Snapshot; 68 AhatSnapshot snapshot = new AhatSnapshot(buffer, map); local 75 return snapshot; 82 Snapshot snapshot = Snapshot.createSnapshot(buffer, map); local 83 snapshot.computeDominators(); 85 // Properly label the class of class objects in the perflib snapshot. 86 final ClassObj javaLangClass = snapshot.findClass("java.lang.Class"); 88 for (Heap heap : snapshot.getHeaps()) [all...] |
/development/tools/bugreport/src/com/android/bugreport/stacks/ |
VmTracesParser.java | 72 final ProcessSnapshot snapshot = parser.parse(lines); local 73 if (snapshot != null) { 74 result.processes.add(snapshot);
|