Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/common/
DUtilsTest.java130 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/
DDownloadPackageTask.java88 && mUtils.packageRequiresUpdate(packageName, downloadInfo.minVersion, mContext)) { in addDownloadIfNecessary()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java291 public boolean packageRequiresUpdate(String packageName, int minSupportedVersion, in packageRequiresUpdate() method in Utils