/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerSnapshotTest.cpp | 110 LayerSnapshot* getSnapshot(uint32_t layerId) { return mSnapshotBuilder.getSnapshot(layerId); } in getSnapshot() function in android::surfaceflinger::frontend::LayerSnapshotTest 111 LayerSnapshot* getSnapshot(const LayerHierarchy::TraversalPath path) { in getSnapshot() function in android::surfaceflinger::frontend::LayerSnapshotTest 112 return mSnapshotBuilder.getSnapshot(path); in getSnapshot() 157 EXPECT_EQ(getSnapshot(11)->geomCrop, layerCrop); in TEST_F() 158 EXPECT_EQ(getSnapshot(111)->geomLayerBounds, layerCrop.toFloatRect()); in TEST_F() 163 EXPECT_EQ(getSnapshot(1)->geomLayerBounds, maxDisplaySize); in TEST_F() 205 EXPECT_EQ(getSnapshot(111)->geomLayerBounds, crop.toFloatRect()); in TEST_F() 217 EXPECT_EQ(getSnapshot(111)->isVisible, true); in TEST_F() 223 EXPECT_EQ(getSnapshot(111)->isVisible, false); in TEST_F() 224 EXPECT_TRUE(getSnapshot(111)->changes.test(RequestedLayerState::Changes::Visibility)); in TEST_F() [all …]
|
D | CommitTest.cpp | 112 auto parentMetadata = mFlinger.mutableLayerSnapshotBuilder().getSnapshot(1)->layerMetadata.mMap; in TEST_F() 113 auto childMetadata = mFlinger.mutableLayerSnapshotBuilder().getSnapshot(11)->layerMetadata.mMap; in TEST_F() 156 auto parentMetadata = mFlinger.mutableLayerSnapshotBuilder().getSnapshot(1)->layerMetadata.mMap; in TEST_F() 157 auto childMetadata = mFlinger.mutableLayerSnapshotBuilder().getSnapshot(11)->layerMetadata.mMap; in TEST_F()
|
D | LayerHistoryIntegrationTest.cpp | 580 mFlinger.mutableLayerSnapshotBuilder().getSnapshot(1)->changes |= in TEST_F() 1043 ASSERT_EQ(true, mFlinger.mutableLayerSnapshotBuilder().getSnapshot(1)->isSmallDirty); in TEST_F() 1061 ASSERT_EQ(false, mFlinger.mutableLayerSnapshotBuilder().getSnapshot(1)->isSmallDirty); in TEST_F() 1079 ASSERT_EQ(true, mFlinger.mutableLayerSnapshotBuilder().getSnapshot(1)->isSmallDirty); in TEST_F() 1085 ASSERT_EQ(false, mFlinger.mutableLayerSnapshotBuilder().getSnapshot(1)->isSmallDirty); in TEST_F()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotCacheTest.java | 68 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppRemoved() 71 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppRemoved() 79 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppDied() 82 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppDied() 90 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testTaskRemoved() 93 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testTaskRemoved() 102 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached() 106 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached() 110 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached() 119 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testRestoreFromDisk() [all …]
|
D | TaskSnapshotLowResDisabledTest.java | 82 assertNotNull(snapshot.getSnapshot()); in testPersistAndLoadSnapshot() 132 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached() 136 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached() 140 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached() 144 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached() 148 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
|
D | ActivitySnapshotControllerTests.java | 208 assertNull(mActivitySnapshotController.getSnapshot(singleActivityList)); in testMultipleActivitiesLoadSnapshot() 210 assertNull(mActivitySnapshotController.getSnapshot(singleActivityList)); in testMultipleActivitiesLoadSnapshot() 215 assertNull(mActivitySnapshotController.getSnapshot(activities)); in testMultipleActivitiesLoadSnapshot() 248 assertNull(mActivitySnapshotController.getSnapshot(singleActivityList)); in testMultipleActivitiesLoadSnapshot() 249 assertEquals(taskSnapshot, mActivitySnapshotController.getSnapshot(activities)); in testMultipleActivitiesLoadSnapshot()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotCache.java | 53 @Nullable TaskSnapshot getSnapshot(int taskId, int userId, boolean restoreFromDisk, in getSnapshot() method in TaskSnapshotCache 55 final TaskSnapshot snapshot = getSnapshot(taskId); in getSnapshot()
|
D | TaskSnapshotController.java | 181 TaskSnapshot getSnapshot(int taskId, int userId, boolean restoreFromDisk, in getSnapshot() method in TaskSnapshotController 183 return mCache.getSnapshot(taskId, userId, restoreFromDisk, isLowResolution in getSnapshot() 192 final TaskSnapshot snapshot = mCache.getSnapshot(taskId); in getSnapshotCaptureTime()
|
D | SnapshotCache.java | 54 final TaskSnapshot getSnapshot(Integer id) { in getSnapshot() method in SnapshotCache
|
D | ActivitySnapshotController.java | 147 TaskSnapshot getSnapshot(@NonNull ActivityRecord[] activities) { in getSnapshot() method in ActivitySnapshotController 159 return tmpUsf.mFileId == fileId ? mCache.getSnapshot(tmpUsf.mActivityIds.get(0)) : null; in getSnapshot() 326 if (getSnapshot(activities) != null) { in loadActivitySnapshot()
|
/frameworks/av/media/libnblog/include/media/nblog/ |
D | Reader.h | 54 std::unique_ptr<Snapshot> getSnapshot(bool flush = true); 102 friend std::unique_ptr<Snapshot> Reader::getSnapshot(bool flush);
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshotBuilder.h | 74 LayerSnapshot* getSnapshot(uint32_t layerId) const; 75 LayerSnapshot* getSnapshot(const LayerHierarchy::TraversalPath& id) const;
|
D | LayerSnapshotBuilder.cpp | 531 LayerSnapshot* snapshot = getSnapshot(traversalPath); in updateSnapshotsInHierarchy() 564 LayerSnapshot* LayerSnapshotBuilder::getSnapshot(uint32_t layerId) const { in getSnapshot() function in android::surfaceflinger::frontend::LayerSnapshotBuilder 569 return getSnapshot(path); in getSnapshot() 572 LayerSnapshot* LayerSnapshotBuilder::getSnapshot(const LayerHierarchy::TraversalPath& id) const { in getSnapshot() function in android::surfaceflinger::frontend::LayerSnapshotBuilder 609 LayerSnapshot* snapshot = getSnapshot(traversalPath); in sortSnapshotsByZ() 1121 auto cropLayerSnapshot = getSnapshot(requested.touchCropId); in updateInput() 1165 LayerSnapshot* snapshot = getSnapshot(traversalPath); in forEachVisibleSnapshot() 1205 frontend::LayerSnapshot* snapshot = getSnapshot(path); in updateTouchableRegionCrop() 1218 auto cropLayerSnapshot = getSnapshot(snapshot->touchCropId); in updateTouchableRegionCrop() 1221 auto clonedRootSnapshot = path.isClone() ? getSnapshot(snapshot->mirrorRootPath) : nullptr; in updateTouchableRegionCrop()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
D | SplitScreenTransitions.java | 211 } else if (mode == TRANSIT_CHANGE && change.getSnapshot() != null) { in playInternalAnimation() 212 t.reparent(change.getSnapshot(), info.getRoot(rootIdx).getLeash()); in playInternalAnimation() 214 t.setLayer(change.getSnapshot(), info.getChanges().size() + 1); in playInternalAnimation() 215 t.setPosition(change.getSnapshot(), change.getStartAbsBounds().left, in playInternalAnimation() 217 t.show(change.getSnapshot()); in playInternalAnimation() 218 startFadeAnimation(change.getSnapshot(), false /* show */); in playInternalAnimation() 292 decor.setScreenshotIfNeeded(change.getSnapshot(), startTransaction); in playResizeAnimation()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | AppIdToPackageMap.java | 40 public static AppIdToPackageMap getSnapshot() { in getSnapshot() method in AppIdToPackageMap
|
/frameworks/av/media/libnblog/ |
D | Merger.cpp | 86 snapshots[i] = mReaders[i]->getSnapshot(); in merge() 205 snapshots[i] = mReaders[i]->getSnapshot(); in getAndProcessSnapshot()
|
D | Reader.cpp | 67 std::unique_ptr<Snapshot> Reader::getSnapshot(bool flush) in getSnapshot() function in android::NBLog::Reader 235 std::unique_ptr<Snapshot> snapshot = getSnapshot(false /*flush*/); in dump()
|
/frameworks/native/services/surfaceflinger/ |
D | LayerProtoHelper.cpp | 312 frontend::LayerSnapshot* LayerProtoFromSnapshotGenerator::getSnapshot( in getSnapshot() function in android::surfaceflinger::LayerProtoFromSnapshotGenerator 314 frontend::LayerSnapshot* snapshot = mSnapshotBuilder.getSnapshot(path); in getSnapshot() 328 frontend::LayerSnapshot* snapshot = getSnapshot(path, layer); in writeHierarchyToProto() 335 frontend::LayerSnapshot* childSnapshot = getSnapshot(path, layer); in writeHierarchyToProto()
|
D | LayerProtoHelper.h | 96 frontend::LayerSnapshot* getSnapshot(frontend::LayerHierarchy::TraversalPath& path,
|
D | TransactionCallbackInvoker.cpp | 147 handle->gpuCompositionDoneFence->getSnapshot().fence, in addCallbackHandle()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | FenceTime.h | 113 Snapshot getSnapshot() const;
|
/frameworks/native/libs/ui/include/ui/ |
D | FenceTime.h | 113 Snapshot getSnapshot() const;
|
/frameworks/base/services/core/java/com/android/server/ |
D | BinderCallsStatsService.java | 379 mBinderCallsStats.dump(pw, AppIdToPackageMap.getSnapshot(), worksourceUid, verbose); in dump() 442 mWorkSourceProvider.dump(pw, AppIdToPackageMap.getSnapshot()); in onCommand()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | ScreenRotationAnimation.java | 137 if (change.getSnapshot() != null) { in ScreenRotationAnimation() 138 mScreenshotLayer = change.getSnapshot(); in ScreenRotationAnimation()
|
/frameworks/native/libs/gui/ |
D | FrameTimestamps.cpp | 584 frameTimestamps.gpuCompositionDoneFence->getSnapshot(); in FrameEventsDelta() 588 frameTimestamps.displayPresentFence->getSnapshot(); in FrameEventsDelta() 591 mReleaseFence = frameTimestamps.releaseFence->getSnapshot(); in FrameEventsDelta()
|