Searched refs:snapshot (Results 1 – 6 of 6) sorted by relevance
159 AtomsProto.ProcessMemorySnapshot snapshot = atom.getProcessMemorySnapshot(); in testProcessMemorySnapshot() local160 if (snapshot.getUid() == uid) { in testProcessMemorySnapshot()162 assertThat(snapshot.getProcessName()).isEqualTo(DeviceUtils.STATSD_ATOM_TEST_PKG); in testProcessMemorySnapshot()163 } else if (snapshot.getProcessName().contains("/statsd")) { in testProcessMemorySnapshot()165 } else if (snapshot.getProcessName().equals("system")) { in testProcessMemorySnapshot()169 assertThat(snapshot.getPid()).isGreaterThan(0); in testProcessMemorySnapshot()170 assertThat(snapshot.getAnonRssAndSwapInKilobytes()).isAtLeast(0); in testProcessMemorySnapshot()171 assertThat(snapshot.getAnonRssAndSwapInKilobytes()).isEqualTo( in testProcessMemorySnapshot()172 snapshot.getAnonRssInKilobytes() + snapshot.getSwapInKilobytes()); in testProcessMemorySnapshot()173 assertThat(snapshot.getRssInKilobytes()).isAtLeast(0); in testProcessMemorySnapshot()[all …]
104 AtomsProto.SettingSnapshot snapshot = null; in testSettingsStatsReported() local108 snapshot = settingSnapshot; in testSettingsStatsReported()115 assertNotNull(snapshot); in testSettingsStatsReported()119 assertThat(snapshot.getType()).isEqualTo( in testSettingsStatsReported()121 assertThat(snapshot.getBoolValue()).isEqualTo(false); in testSettingsStatsReported()122 assertThat(snapshot.getIntValue()).isEqualTo(newNetworkMode); in testSettingsStatsReported()123 assertThat(snapshot.getFloatValue()).isEqualTo(0f); in testSettingsStatsReported()124 assertThat(snapshot.getStrValue()).isEqualTo(""); in testSettingsStatsReported()125 assertThat(snapshot.getUserId()).isEqualTo(0); in testSettingsStatsReported()
60 Parcelable snapshot = cb.onCaptureSharedElementSnapshot(originalView, matrix, screenBounds); in testSnapshot() local61 assertNotNull(snapshot); in testSnapshot()63 View view = cb.onCreateSnapshotView(context, snapshot); in testSnapshot()
66 TestResultTable snapshot = new TestResultTable(); in getTestResults() local74 parseAndAddTestEntry(snapshot, lines[i]); in getTestResults()77 return snapshot; in getTestResults()
645 public Bitmap generateBitmapFromVideoViewSnapshot(VideoViewSnapshot snapshot) { in generateBitmapFromVideoViewSnapshot() argument646 handler.post(snapshot); in generateBitmapFromVideoViewSnapshot()647 synchronized (snapshot.getSyncObject()) { in generateBitmapFromVideoViewSnapshot()649 snapshot.getSyncObject().wait(snapshot.SNAPSHOT_TIMEOUT_MS + 100); in generateBitmapFromVideoViewSnapshot()656 if (!snapshot.isBitmapReady()) { in generateBitmapFromVideoViewSnapshot()660 return snapshot.getBitmap(); in generateBitmapFromVideoViewSnapshot()
518 for (Map.Entry<T, T> entry : cache.snapshot().entrySet()) {