Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java132 assertTrue(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME_1, 0, mockContext)); in testPackageRequiresUpdate_notPresent()
144 assertFalse(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME_1, 0, mockContext)); in testPackageRequiresUpdate()
145 assertFalse(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME_1, 1, mockContext)); in testPackageRequiresUpdate()
146 assertTrue(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME_1, 2, mockContext)); in testPackageRequiresUpdate()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DDownloadPackageTaskTest.java94 when(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME, PACKAGE_VERSION, mContext)) in setUp()
108 when(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME, PACKAGE_VERSION, mContext)) in testAlreadyInstalled()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DAdminIntegratedFlowPrepareActivity.java58 if (utils.packageRequiresUpdate( in shouldRunPrepareActivity()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDownloadPackageTask.java103 if (!mUtils.packageRequiresUpdate(mPackageName, mPackageDownloadInfo.minVersion, in run()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java348 public boolean packageRequiresUpdate(String packageName, int minSupportedVersion, in packageRequiresUpdate() method in Utils