Home
last modified time | relevance | path

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

1234567891011

/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/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()
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()
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()
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/libs/hwui/tests/microbench/
DDisplayListCanvasBench.cpp64 canvas->save(SaveFlags::MatrixClip); in BM_DisplayListCanvas_record_saverestore()
65 canvas->save(SaveFlags::MatrixClip); in BM_DisplayListCanvas_record_saverestore()
103 canvas->save(SaveFlags::MatrixClip); in BM_DisplayListCanvas_record_simpleBitmapView()
108 canvas->save(SaveFlags::MatrixClip); in BM_DisplayListCanvas_record_simpleBitmapView()
133 int clipRestoreCount = canvas->save(SaveFlags::MatrixClip); in BM_DisplayListCanvas_basicViewGroupDraw()
/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/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/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/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/base/services/autofill/java/com/android/server/autofill/
DRemoteFillService.java204 CompletableFuture<IntentSender> save = new CompletableFuture<>(); in onSaveRequest()
208 save.complete(intentSender); in onSaveRequest()
213 save.completeExceptionally(new RuntimeException(String.valueOf(message))); in onSaveRequest()
216 return save; in onSaveRequest()
/frameworks/layoutlib/bridge/src/android/view/shadow/
DHighQualityShadowPainter.java213 int save = canvas.save(); in drawScaled() local
215 canvas.restoreToCount(save); in drawScaled()
262 int save = canvas.save(); in drawScaled() local
268 canvas.restoreToCount(save); in drawScaled()
/frameworks/base/core/proto/android/server/
Dappstatetracker.proto44 // App ids that are in power-save whitelist.
47 // App ids that are in power-save user whitelist.
50 // App ids that are in temporary power-save whitelist.

1234567891011