Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DAppDataRollbackHelperTest.java63 helper.snapshotAppData(5, info, new int[]{10, 11}); in testSnapshotAppData()
72 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
74 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
81 when(installer.snapshotAppData(anyString(), anyInt(), anyInt(), anyInt())).thenReturn(239L); in testSnapshotAppData()
84 helper.snapshotAppData(7, info2, new int[]{10, 11}); in testSnapshotAppData()
92 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
95 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
209 when(installer.snapshotAppData(anyString(), anyInt(), anyInt(), anyInt())).thenReturn(53L); in commitPendingBackupAndRestoreForUser()
263 inOrder.verify(installer).snapshotAppData(eq("com.foo"), eq(37), eq(101), in commitPendingBackupAndRestoreForUser()
289 helper.snapshotAppData(5, info, new int[]{10, 11}); in snapshotAddDataSavesSnapshottedUsersToInfo()
/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp324 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
346 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
367 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
409 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
412 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
441 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
443 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
478 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
499 EXPECT_BINDER_FAIL(service->snapshotAppData(std::make_optional<std::string>("FOO"), in TEST_F()
526 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_optional<std::string>("TEST"), in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java59 public void snapshotAppData( in snapshotAppData() method in AppDataRollbackHelper
74 long ceSnapshotInode = mInstaller.snapshotAppData( in snapshotAppData()
257 long ceSnapshotInode = mInstaller.snapshotAppData(info.getPackageName(), in commitPendingBackupAndRestoreForUser()
DRollbackManagerServiceImpl.java1000 mAppDataRollbackHelper.snapshotAppData( in snapshotUserDataInternal()
1012 mAppDataRollbackHelper.snapshotAppData( in snapshotUserDataInternal()
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl110 long snapshotAppData(@nullable @utf8InCpp String uuid, in @utf8InCpp String packageName, in snapshotAppData() method
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java621 public long snapshotAppData(String pkg, @UserIdInt int userId, int snapshotId, int storageFlags) in snapshotAppData() method in Installer
626 return mInstalld.snapshotAppData(null, pkg, userId, snapshotId, storageFlags); in snapshotAppData()
/frameworks/native/cmds/installd/
DInstalldNativeService.h68 binder::Status snapshotAppData(const std::optional<std::string>& volumeUuid,
DInstalldNativeService.cpp892 binder::Status InstalldNativeService::snapshotAppData( in snapshotAppData() function in android::installd::InstalldNativeService