Searched refs:packageRequiresUpdate (Results 1 – 5 of 5) sorted by relevance
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | UtilsTest.java | 149 assertTrue(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME_1, 0, mockContext)); in testPackageRequiresUpdate_notPresent() 161 assertFalse(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME_1, 0, mockContext)); in testPackageRequiresUpdate() 162 assertFalse(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME_1, 1, mockContext)); in testPackageRequiresUpdate() 163 assertTrue(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME_1, 2, mockContext)); in testPackageRequiresUpdate()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | DownloadPackageTaskTest.java | 93 when(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME, PACKAGE_VERSION, mContext)) in setUp() 107 when(mUtils.packageRequiresUpdate(TEST_PACKAGE_NAME, PACKAGE_VERSION, mContext)) in testAlreadyInstalled()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | AdminIntegratedFlowPrepareActivity.java | 66 if (utils.packageRequiresUpdate( in shouldRunPrepareActivity()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DownloadPackageTask.java | 99 if (!mUtils.packageRequiresUpdate(mPackageName, mPackageDownloadInfo.minVersion, in run()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | Utils.java | 338 public boolean packageRequiresUpdate(String packageName, int minSupportedVersion, in packageRequiresUpdate() method in Utils
|