Searched refs:InstallPackageTask (Results 1 – 3 of 3) sorted by relevance
49 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()
43 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()
45 public class InstallPackageTask { class63 public InstallPackageTask (Context context, Callback callback) { in InstallPackageTask() method in InstallPackageTask