Home
last modified time | relevance | path

Searched refs:getUserDataVersion (Results 1 – 3 of 3) sorted by relevance

/cts/libs/install/testapp/src/com/android/cts/install/lib/testapp/
DProcessBroadcast.java71 setResultCode(getUserDataVersion(context)); in onReceive()
176 private int getUserDataVersion(Context context) { in getUserDataVersion() method in ProcessBroadcast
/cts/tests/rollback/src/com/android/cts/rollback/
DRollbackManagerTest.java475 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()
/cts/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java272 public static int getUserDataVersion(String packageName) { in getUserDataVersion() method in InstallUtils