/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | AppDataRollbackHelperTest.java | 71 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()
|
D | RollbackUnitTest.java | 201 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/ |
D | AppDataRollbackHelper.java | 61 public void snapshotAppData( in snapshotAppData() method in AppDataRollbackHelper 131 return mInstaller.snapshotAppData( in doSnapshot()
|
D | Rollback.java | 472 dataHelper.snapshotAppData(info.getRollbackId(), pkgRollbackInfo, userIds); in snapshotUserData()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 728 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/ |
D | IInstalld.aidl | 116 long snapshotAppData(@nullable @utf8InCpp String uuid, in @utf8InCpp String packageName, in snapshotAppData() method
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 779 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/ |
D | InstalldNativeService.h | 95 binder::Status snapshotAppData(const std::optional<std::string>& volumeUuid,
|
D | InstalldNativeService.cpp | 1581 binder::Status InstalldNativeService::snapshotAppData(const std::optional<std::string>& volumeUuid, in snapshotAppData() function in android::installd::InstalldNativeService
|