Home
last modified time | relevance | path

Searched refs:snapshots (Results 1 – 19 of 19) 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/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.kt72 fun wrap(taskIds: IntArray?, snapshots: Array<TaskSnapshot>?): HashMap<Int, ThumbnailData> { in <lambda>()
74 if (taskIds != null && snapshots != null && taskIds.size == snapshots.size) { in <lambda>()
75 repeat(snapshots.size) { put(taskIds[it], fromSnapshot(snapshots[it])) } in <lambda>()
/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/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
DSplitScreenUtils.kt144 val snapshots = device.wait(Until.findObjects(overviewSnapshotSelector), TIMEOUT_MS) in <lambda>() constant
145 if (snapshots == null || snapshots.size < 1) { in <lambda>()
152 snapshots.sortWith { t1: UiObject2, t2: UiObject2 -> in <lambda>()
155 snapshots.sortWith { t1: UiObject2, t2: UiObject2 -> in <lambda>()
162 snapshots[0].click() in <lambda>()
/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/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
DRecentsTransitionHandler.java355 Pair<int[], TaskSnapshot[]> snapshots = mPendingPauseSnapshotsForCancel != null in sendCancelWithSnapshots() local
358 return sendCancel(snapshots.first, snapshots.second); in sendCancelWithSnapshots()
366 TaskSnapshot[] snapshots = null; in getSnapshotsForPausingTasks() local
369 snapshots = new TaskSnapshot[mPausingTasks.size()]; in getSnapshotsForPausingTasks()
376 snapshots[i] = ActivityTaskManager.getService().takeTaskSnapshot( in getSnapshotsForPausingTasks()
381 snapshots = null; in getSnapshotsForPausingTasks()
384 return new Pair(taskIds, snapshots); in getSnapshotsForPausingTasks()
/frameworks/native/services/surfaceflinger/FrontEnd/
Dreadme.md68 - Generate a z-ordered list of snapshots.
101 like WindowInfo listeners (input and accessibility) also updated from these snapshots.
110 to composition, the goal is to clone the snapshots and consume them on a background thread.
/frameworks/av/media/libnblog/include/media/nblog/
DPerformanceAnalysis.h164 std::deque<std::pair<NBLog::Event, int64_t /*timestamp*/>> snapshots; member
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DObservableTransitionStateTest.kt22 import androidx.compose.runtime.snapshots.Snapshot in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DSceneTransitionLayoutImpl.kt25 import androidx.compose.runtime.snapshots.SnapshotStateMap in <lambda>()
DAnimateSharedAsState.kt28 import androidx.compose.runtime.snapshots.SnapshotStateMap in <lambda>()
DElement.kt23 import androidx.compose.runtime.snapshots.SnapshotStateMap in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1360 List<NetworkStateSnapshot> snapshots = null;
1372 snapshots = List.of(buildWifi());
1373 when(mConnManager.getAllNetworkStateSnapshots()).thenReturn(snapshots);
1381 when(mConnManager.getAllNetworkStateSnapshots()).thenReturn(snapshots);
1593 List<NetworkStateSnapshot> snapshots = null;
1603 snapshots = List.of(buildWifi());
1607 when(mConnManager.getAllNetworkStateSnapshots()).thenReturn(snapshots);
2804 List<NetworkStateSnapshot> snapshots = List.of(new NetworkStateSnapshot( in expectNetworkStateSnapshot() local
2808 when(mConnManager.getAllNetworkStateSnapshots()).thenReturn(snapshots); in expectNetworkStateSnapshot()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentsAnimationController.java834 TaskSnapshot[] snapshots = new TaskSnapshot[snapshotMap.size()];
837 snapshots[i] = snapshotMap.valueAt(i);
839 mRunner.onAnimationCanceled(taskIds, snapshots);
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2374 final List<NetworkStateSnapshot> snapshots = mConnManager.getAllNetworkStateSnapshots();
2380 for (final NetworkStateSnapshot snapshot : snapshots) {
2467 for (final NetworkStateSnapshot snapshot : snapshots) {
2502 for (final NetworkStateSnapshot snapshot : snapshots) {
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java5296 final ArrayList<JobSnapshot> snapshots = new ArrayList<>(mJobs.size());
5297 mJobs.forEachJob((job) -> snapshots.add(
5300 return new ParceledListSlice<>(snapshots);
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp9356 std::vector<std::unique_ptr<frontend::LayerSnapshot>>& snapshots = in moveSnapshotsFromCompositionArgs() local
9360 snapshots[i] = std::move(layerFE->mSnapshot); in moveSnapshotsFromCompositionArgs()
/frameworks/proto_logging/stats/
Datoms.proto7599 // An update is applying; snapshots may already exist.
7693 // Whether the device enabled userspace snapshots.
7696 // Whether this update attempt used userspace snapshots.
24050 // value of the bucket is the number of snapshots in this range.
24055 // value is the number of snapshots in this range.