Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/
DInstallPackageTaskTest.java49 private static final String PACKAGE_NAME = InstallPackageTask.class.getPackage().getName();
53 private InstallPackageTask.Callback mCallback;
54 private InstallPackageTask mTask;
78 mCallback = mock(InstallPackageTask.Callback.class); in setUp()
89 mTask = new InstallPackageTask(mContext, mCallback); in setUp()
162 verify(mCallback, times(1)).onError(InstallPackageTask.ERROR_PACKAGE_INVALID); in testPackageHasNoReceivers()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DDeviceOwnerProvisioningService.java43 import com.android.managedprovisioning.task.InstallPackageTask;
106 private InstallPackageTask mInstallPackageTask;
209 mInstallPackageTask = new InstallPackageTask(this, in startDeviceOwnerProvisioning()
210 new InstallPackageTask.Callback() { in startDeviceOwnerProvisioning()
230 case InstallPackageTask.ERROR_PACKAGE_INVALID: in startDeviceOwnerProvisioning()
233 case InstallPackageTask.ERROR_INSTALLATION_FAILED: in startDeviceOwnerProvisioning()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DInstallPackageTask.java45 public class InstallPackageTask { class
63 public InstallPackageTask (Context context, Callback callback) { in InstallPackageTask() method in InstallPackageTask