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.java62 helper.snapshotAppData(5, info); in testSnapshotAppData()
71 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
73 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
80 when(installer.snapshotAppData(anyString(), anyInt(), anyInt(), anyInt())).thenReturn(239L); in testSnapshotAppData()
83 helper.snapshotAppData(7, info2); in testSnapshotAppData()
91 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
94 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
208 when(installer.snapshotAppData(anyString(), anyInt(), anyInt(), anyInt())).thenReturn(53L); in commitPendingBackupAndRestoreForUser()
262 inOrder.verify(installer).snapshotAppData(eq("com.foo"), eq(37), eq(101), in commitPendingBackupAndRestoreForUser()
/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp325 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_unique<std::string>("TEST"), in TEST_F()
347 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_unique<std::string>("TEST"), in TEST_F()
368 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_unique<std::string>("TEST"), in TEST_F()
410 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_unique<std::string>("TEST"), in TEST_F()
413 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_unique<std::string>("TEST"), in TEST_F()
442 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_unique<std::string>("TEST"), in TEST_F()
444 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_unique<std::string>("TEST"), in TEST_F()
479 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_unique<std::string>("TEST"), in TEST_F()
500 EXPECT_BINDER_FAIL(service->snapshotAppData(std::make_unique<std::string>("FOO"), in TEST_F()
527 ASSERT_BINDER_SUCCESS(service->snapshotAppData(std::make_unique<std::string>("TEST"), in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java58 public void snapshotAppData(int snapshotId, PackageRollbackInfo packageRollbackInfo) { in snapshotAppData() method in AppDataRollbackHelper
73 long ceSnapshotInode = mInstaller.snapshotAppData( in snapshotAppData()
255 long ceSnapshotInode = mInstaller.snapshotAppData(info.getPackageName(), in commitPendingBackupAndRestoreForUser()
DRollbackManagerServiceImpl.java1080 mAppDataRollbackHelper.snapshotAppData(data.info.getRollbackId(), info); in snapshotUserDataInternal()
1091 mAppDataRollbackHelper.snapshotAppData(rollback.data.info.getRollbackId(), in snapshotUserDataInternal()
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl108 long snapshotAppData(@nullable @utf8InCpp String uuid, in @utf8InCpp String packageName, in snapshotAppData() method
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java628 public long snapshotAppData(String pkg, @UserIdInt int userId, int snapshotId, int storageFlags) in snapshotAppData() method in Installer
633 return mInstalld.snapshotAppData(null, pkg, userId, snapshotId, storageFlags); in snapshotAppData()
/frameworks/native/cmds/installd/
DInstalldNativeService.h63 binder::Status snapshotAppData(const std::unique_ptr<std::string>& volumeUuid,
DInstalldNativeService.cpp838 binder::Status InstalldNativeService::snapshotAppData( in snapshotAppData() function in android::installd::InstalldNativeService