Searched refs:getUserDataVersion (Results 1 – 3 of 3) sorted by relevance
71 setResultCode(getUserDataVersion(context)); in onReceive()176 private int getUserDataVersion(Context context) { in getUserDataVersion() method in ProcessBroadcast
475 assertThat(InstallUtils.getUserDataVersion(TestApp.A)).isEqualTo(-1); in testRollbackDataPolicy()476 assertThat(InstallUtils.getUserDataVersion(TestApp.B)).isEqualTo(1); in testRollbackDataPolicy()477 assertThat(InstallUtils.getUserDataVersion(TestApp.C)).isEqualTo(2); in testRollbackDataPolicy()506 assertThat(InstallUtils.getUserDataVersion(TestApp.A)).isEqualTo(-1); in testRollbackDataPolicy_Manifest()507 assertThat(InstallUtils.getUserDataVersion(TestApp.B)).isEqualTo(1); in testRollbackDataPolicy_Manifest()508 assertThat(InstallUtils.getUserDataVersion(TestApp.C)).isEqualTo(2); in testRollbackDataPolicy_Manifest()
272 public static int getUserDataVersion(String packageName) { in getUserDataVersion() method in InstallUtils