Searched refs:packageRequiresUpdate (Results 1 – 5 of 5) sorted by relevance
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | UtilsTest.java | 132 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/ |
D | DownloadPackageTaskTest.java | 94 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/ |
D | AdminIntegratedFlowPrepareActivity.java | 58 if (utils.packageRequiresUpdate( in shouldRunPrepareActivity()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DownloadPackageTask.java | 103 if (!mUtils.packageRequiresUpdate(mPackageName, mPackageDownloadInfo.minVersion, in run()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | Utils.java | 348 public boolean packageRequiresUpdate(String packageName, int minSupportedVersion, in packageRequiresUpdate() method in Utils
|