Home
last modified time | relevance | path

Searched refs:snapshots (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libnblog/
DMerger.cpp82 std::vector<std::unique_ptr<Snapshot>> snapshots(nLogs); in merge() local
86 snapshots[i] = mReaders[i]->getSnapshot(); in merge()
87 offsets.push_back(snapshots[i]->begin()); in merge()
95 if (offsets[i] != snapshots[i]->end()) { in merge()
111 if (offsets[index] != snapshots[index]->end()) { in merge()
173 data.snapshots.emplace_front(EVENT_UNDERRUN, ts); in processSnapshot()
175 if (data.snapshots.size() > ReportPerformance::PerformanceData::kMaxSnapshotsToStore) { in processSnapshot()
176 data.snapshots.pop_back(); in processSnapshot()
182 data.snapshots.emplace_front(EVENT_UNDERRUN, ts); in processSnapshot()
184 if (data.snapshots.size() > ReportPerformance::PerformanceData::kMaxSnapshotsToStore) { in processSnapshot()
[all …]
DReportPerformance.cpp120 for (const auto &item : data.snapshots) { in dumpRetroString()
143 if (data.snapshots.empty()) { in dumpRetro()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DCallQualityMetrics.java156 private void addSnapshot(CallQuality cq, ArrayList<Pair<CallQuality, Integer>> snapshots) { in addSnapshot() argument
157 if (snapshots.size() < MAX_SNAPSHOTS) { in addSnapshot()
159 snapshots.add(Pair.create(cq, ss)); in addSnapshot()
363 ArrayList<TimestampedQualitySnapshot> snapshots) { in getTotalGoodAndBadQualityTimeMs() argument
368 Collections.sort(snapshots); in getTotalGoodAndBadQualityTimeMs()
369 for (TimestampedQualitySnapshot snapshot : snapshots) { in getTotalGoodAndBadQualityTimeMs()
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java607 Bundle sharedElementState, final ArrayList<View> snapshots) { in setSharedElementState() argument
625 mListener.onSharedElementStart(mSharedElementNames, mSharedElements, snapshots); in setSharedElementState()
630 protected void notifySharedElementEnd(ArrayList<View> snapshots) { in notifySharedElementEnd() argument
632 mListener.onSharedElementEnd(mSharedElementNames, mSharedElements, snapshots); in notifySharedElementEnd()
636 protected void scheduleSetSharedElementEnd(final ArrayList<View> snapshots) { in scheduleSetSharedElementEnd() argument
640 notifySharedElementEnd(snapshots); in scheduleSetSharedElementEnd()
679 ArrayList<View> snapshots = new ArrayList<View>(numSharedElements); in createSnapshots() local
681 return snapshots; in createSnapshots()
703 snapshots.add(snapshot); in createSnapshots()
705 return snapshots; in createSnapshots()
/frameworks/base/cmds/statsd/tests/
DUidMap_test.cpp222 EXPECT_EQ("v1", results.snapshots(0).package_info(0).version_string()); in TEST()
249 EXPECT_EQ(1, results.snapshots(0).package_info_size()); in TEST()
250 EXPECT_EQ(true, results.snapshots(0).package_info(0).deleted()); in TEST()
278 EXPECT_EQ(maxDeletedApps + 10, results.snapshots(0).package_info_size()); in TEST()
290 EXPECT_EQ(maxDeletedApps, results.snapshots(0).package_info_size()); in TEST()
DStatsLogProcessor_test.cpp186 EXPECT_EQ(2, uidmap.snapshots(0).package_info_size()); in TEST()
/frameworks/av/media/libnblog/include/media/nblog/
DPerformanceAnalysis.h164 std::deque<std::pair<NBLog::Event, int64_t /*timestamp*/>> snapshots; member
/frameworks/base/cmds/statsd/src/
Dstats_log.proto255 repeated PackageInfoSnapshot snapshots = 1; field
Datoms.proto4201 // An update is applying; snapshots may already exist.
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java2955 final ArrayList<JobSnapshot> snapshots = new ArrayList<>(mJobs.size()); in getAllJobSnapshots() local
2956 mJobs.forEachJob((job) -> snapshots.add( in getAllJobSnapshots()
2959 return new ParceledListSlice<>(snapshots); in getAllJobSnapshots()