Home
last modified time | relevance | path

Searched refs:save (Results 1 – 25 of 270) sorted by relevance

1234567891011

/frameworks/base/libs/hwui/tests/unit/
DCanvasFrontendTests.cpp59 skiaCanvas.save(); in TEST()
60 opCanvas.save(SaveFlags::MatrixClip); in TEST()
87 skiaCanvas.save(); in TEST()
88 opCanvas.save(SaveFlags::Matrix); in TEST()
100 skiaCanvas.save(); in TEST()
101 opCanvas.save(SaveFlags::Matrix); in TEST()
108 skiaCanvas.save(); in TEST()
109 opCanvas.save(SaveFlags::Matrix); in TEST()
141 opCanvas.save(); in TEST()
146 opCanvas.save(); in TEST()
[all …]
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/keys/
DTertiaryKeyStoreTest.java71 mTertiaryKeyStore.save(packageName, packageKey); in load_loadsAKeyThatWasSaved()
84 mTertiaryKeyStore.save(packageName, packageKey); in load_doesNotLoadAKeyForAnotherSecondary()
105 mTertiaryKeyStore.save(packageName, packageKey); in load_throwsIfHasWrongBackupKey()
133 mTertiaryKeyStore.save(packageName, oldKey); in save_overwritesPreviousKey()
136 mTertiaryKeyStore.save(packageName, newKey); in save_overwritesPreviousKey()
149 IllegalArgumentException.class, () -> mTertiaryKeyStore.save("", generateAesKey())); in save_throwsForEmptyApplicationName()
157 () -> mTertiaryKeyStore.save("com/android/example", generateAesKey())); in save_throwsForBadApplicationName()
175 mTertiaryKeyStore.save(package1, key1); in getAll_returnsAllKeysSaved()
176 mTertiaryKeyStore.save(package2, key2); in getAll_returnsAllKeysSaved()
177 mTertiaryKeyStore.save(package3, key3); in getAll_returnsAllKeysSaved()
[all …]
/frameworks/base/libs/hwui/tests/microbench/
DCanvasOpBench.cpp41 canvas.save(SaveFlags::MatrixClip); in BM_CanvasOpBuffer_record_saverestore()
42 canvas.save(SaveFlags::MatrixClip); in BM_CanvasOpBuffer_record_saverestore()
56 canvas.save(SaveFlags::MatrixClip); in BM_CanvasOpBuffer_record_saverestoreWithReuse()
57 canvas.save(SaveFlags::MatrixClip); in BM_CanvasOpBuffer_record_saverestoreWithReuse()
74 canvas.save(SaveFlags::MatrixClip); in BM_CanvasOpBuffer_record_simpleBitmapView()
82 canvas.save(SaveFlags::MatrixClip); in BM_CanvasOpBuffer_record_simpleBitmapView()
DDisplayListCanvasBench.cpp65 canvas->save(SaveFlags::MatrixClip); in BM_SkiaDisplayListCanvas_record_saverestore()
66 canvas->save(SaveFlags::MatrixClip); in BM_SkiaDisplayListCanvas_record_saverestore()
104 canvas->save(SaveFlags::MatrixClip); in BM_SkiaDisplayListCanvas_record_simpleBitmapView()
109 canvas->save(SaveFlags::MatrixClip); in BM_SkiaDisplayListCanvas_record_simpleBitmapView()
134 int clipRestoreCount = canvas->save(SaveFlags::MatrixClip); in BM_SkiaDisplayListCanvas_basicViewGroupDraw()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DColoredRectsActivity.java79 canvas.save(); in onDraw()
93 canvas.save(); in onDraw()
94 canvas.save(); in onDraw()
99 canvas.save(); in onDraw()
104 canvas.save(); in onDraw()
110 canvas.save(); in onDraw()
116 canvas.save(); in onDraw()
DShapesActivity.java82 canvas.save(); in onDraw()
93 canvas.save(); in onDraw()
104 canvas.save(); in onDraw()
115 canvas.save(); in onDraw()
126 canvas.save(); in onDraw()
137 canvas.save(); in onDraw()
148 canvas.save(); in onDraw()
DQuickRejectActivity.java57 count = canvas.save(); in onDraw()
64 canvas.save(); in onDraw()
66 canvas.save(); in onDraw()
68 canvas.save(); in onDraw()
81 canvas.save(); in onDraw()
DLines2Activity.java104 canvas.save(); in onDraw()
112 canvas.save(); in onDraw()
121 canvas.save(); in onDraw()
132 canvas.save(); in onDraw()
140 canvas.save(); in onDraw()
149 canvas.save(); in onDraw()
158 canvas.save(); in onDraw()
181 canvas.save(); in onDraw()
204 canvas.save(); in onDraw()
227 canvas.save(); in onDraw()
DAlphaLayersActivity.java86 canvas.save(); in dispatchDraw()
93 canvas.save(); in dispatchDraw()
101 canvas.save(); in dispatchDraw()
109 canvas.save(); in dispatchDraw()
121 final int restoreTo = canvas.save(); in dispatchDraw()
DXfermodeActivity.java61 canvas.save(); in onDraw()
82 canvas.save(); in onDraw()
103 canvas.save(); in onDraw()
130 canvas.save(); in drawRects()
DScaledPathsActivity.java68 canvas.save(); in onDraw()
77 canvas.save(); in onDraw()
85 canvas.save(); in drawPath()
DScaledTextActivity.java103 canvas.save(); in onDraw()
119 canvas.save(); in onDraw()
125 canvas.save(); in onDraw()
DLinesActivity.java118 canvas.save(); in onDraw()
150 canvas.save(); in onDraw()
157 canvas.save(); in onDraw()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DCanvasPerfTest.java55 int save = canvas.save(); in testBasicViewGroupDraw() local
62 canvas.restoreToCount(save); in testBasicViewGroupDraw()
83 canvas.save(); in testRecordSimpleBitmapView()
88 canvas.save(); in testRecordSimpleBitmapView()
/frameworks/base/services/core/java/com/android/server/wm/
DStrictModeFlash.java89 c.save(); in drawIfNeeded()
94 c.save(); in drawIfNeeded()
99 c.save(); in drawIfNeeded()
104 c.save(); in drawIfNeeded()
/frameworks/base/core/java/android/gesture/
DGestureLibraries.java86 public boolean save() { in save() method in GestureLibraries.FileGestureLibrary
103 mStore.save(new FileOutputStream(file), true); in save()
110 mStore.save(new FileOutputStream(mFd), true); in save()
158 public boolean save() { in save() method in GestureLibraries.ResourceGestureLibrary
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutDumpFiles.java45 public boolean save(String filename, Consumer<PrintWriter> dumper) { in save() method in ShortcutDumpFiles
71 public boolean save(String filename, byte[] utf8bytes) { in save() method in ShortcutDumpFiles
72 return save(filename, pw -> pw.println(StandardCharsets.UTF_8.decode( in save()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DPaintMeasureDrawPerfTest.java112 final int save = canvas.save(); in timeDraw() local
119 canvas.restoreToCount(save); in timeDraw()
DStaticLayoutCreateDrawPerfTest.java124 int save = canvas.save(); in timeDraw() local
131 canvas.restoreToCount(save); in timeDraw()
DBoringLayoutCreateDrawPerfTest.java125 final int save = canvas.save(); in timeDraw() local
132 canvas.restoreToCount(save); in timeDraw()
DTextViewSetTextMeasurePerfTest.java133 int save = canvas.save(); in timeDraw() local
142 canvas.restoreToCount(save); in timeDraw()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DSysUiOverlay.java103 canvas.save(); in paintRoundedBorders()
109 canvas.save(); in paintRoundedBorders()
115 canvas.save(); in paintRoundedBorders()
/frameworks/base/libs/hwui/tests/common/scenes/
DShapeAnimation.cpp68 int outerCount = canvas.save(SaveFlags::MatrixClip); in createContent()
78 int middleCount = canvas.save(SaveFlags::MatrixClip); in createContent()
80 int innerCount = canvas.save(SaveFlags::MatrixClip); in createContent()
DClippingAnimation.cpp33 canvas.save(SaveFlags::MatrixClip); in createContent()
44 canvas.save(SaveFlags::MatrixClip); in createContent()
/frameworks/native/libs/binder/tests/
DbinderAllocationLimits.cpp39 static MallocHooks save() { in save() function
52 static const MallocHooks orig_malloc_hooks = MallocHooks::save();
91 MallocHooks before = MallocHooks::save(); in OnMalloc()

1234567891011