Searched refs:packageRequiresUpdate (Results 1 – 3 of 3) sorted by relevance
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/common/ |
D | UtilsTest.java | 130 assertTrue(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME_1, 0, mockContext)); in testPackageRequiresUpdate_notPresent() 142 assertFalse(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME_1, 0, mockContext)); in testPackageRequiresUpdate() 143 assertFalse(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME_1, 1, mockContext)); in testPackageRequiresUpdate() 144 assertTrue(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME_1, 2, mockContext)); in testPackageRequiresUpdate()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DownloadPackageTask.java | 88 && mUtils.packageRequiresUpdate(packageName, downloadInfo.minVersion, mContext)) { in addDownloadIfNecessary()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | Utils.java | 291 public boolean packageRequiresUpdate(String packageName, int minSupportedVersion, in packageRequiresUpdate() method in Utils
|