Home
last modified time | relevance | path

Searched refs:snapshotAppData (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DAppDataRollbackHelperTest.java71 helper.snapshotAppData(5, info, new int[]{10, 11}); in testSnapshotAppData()
78 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
80 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
87 when(installer.snapshotAppData(anyString(), anyInt(), anyInt(), anyInt())).thenReturn(true); in testSnapshotAppData()
90 helper.snapshotAppData(7, info2, new int[]{10, 11}); in testSnapshotAppData()
95 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
98 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
222 when(installer.snapshotAppData(anyString(), anyInt(), anyInt(), anyInt())).thenReturn(true); in commitPendingBackupAndRestoreForUser()
272 inOrder.verify(installer).snapshotAppData(eq("com.foo"), eq(37), eq(101), in commitPendingBackupAndRestoreForUser()
DRollbackUnitTest.java201 verify(mMockDataHelper).snapshotAppData(eq(123), pkgRollbackInfoFor(PKG_2), eq(userIds)); in snapshotWhenEnabling()
203 .snapshotAppData(anyInt(), pkgRollbackInfoFor(PKG_1), any()); in snapshotWhenEnabling()
222 .snapshotAppData(anyInt(), pkgRollbackInfoFor(PKG_1), any()); in snapshotWhenAvailable()
224 .snapshotAppData(anyInt(), pkgRollbackInfoFor(PKG_2), any()); in snapshotWhenAvailable()
243 .snapshotAppData(anyInt(), pkgRollbackInfoFor(PKG_1), any()); in snapshotWhenDeleted()
245 .snapshotAppData(anyInt(), pkgRollbackInfoFor(PKG_2), any()); in snapshotWhenDeleted()
258 verify(mMockDataHelper).snapshotAppData(eq(123), pkgRollbackInfoFor(PKG_2), eq(userIds)); in snapshotThenDeleteNoApex()
280 verify(mMockDataHelper).snapshotAppData(eq(123), pkgRollbackInfoFor(PKG_2), eq(userIds)); in snapshotThenDeleteWithApex()
/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java61 public void snapshotAppData( in snapshotAppData() method in AppDataRollbackHelper
131 return mInstaller.snapshotAppData( in doSnapshot()
DRollback.java472 dataHelper.snapshotAppData(info.getRollbackId(), pkgRollbackInfo, userIds); in snapshotUserData()
/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp728 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
750 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
771 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
813 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
816 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
845 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
847 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
882 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
903 EXPECT_BINDER_FAIL(service->snapshotAppData(std::make_optional<std::string>("FOO"), in TEST_F()
930 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
[all …]
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl116 long snapshotAppData(@nullable @utf8InCpp String uuid, in @utf8InCpp String packageName, in snapshotAppData() method
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java779 public boolean snapshotAppData(String pkg, @UserIdInt int userId, int snapshotId, in snapshotAppData() method in Installer
784 mInstalld.snapshotAppData(null, pkg, userId, snapshotId, storageFlags); in snapshotAppData()
/frameworks/native/cmds/installd/
DInstalldNativeService.h95 binder::Status snapshotAppData(const std::optional<std::string>& volumeUuid,
DInstalldNativeService.cpp1581 binder::Status InstalldNativeService::snapshotAppData(const std::optional<std::string>& volumeUuid, in snapshotAppData() function in android::installd::InstalldNativeService