Home
last modified time | relevance | path

Searched refs:uninstallPackage (Results 1 – 23 of 23) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTestAppInstallSetup.java240 uninstallPackage(device, packageName); in setUp()
273 uninstallPackage(device, packageName); in tearDown()
312 private void uninstallPackage(ITestDevice device, String packageName) in uninstallPackage() method in TestAppInstallSetup
314 String msg = device.uninstallPackage(packageName); in uninstallPackage()
DAppSetup.java189 String result = device.uninstallPackage(pkgName); in tearDown()
220 String result = device.uninstallPackage(pkg); in uninstallAllApps()
DAllTestAppsInstallSetup.java188 String msg = device.uninstallPackage(packageName); in tearDown()
DInstallAllTestZipAppsSetup.java244 String msg = device.uninstallPackage(packageName); in tearDown()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DPackageManagerHostTestUtils.java301 mDevice.uninstallPackage(pkgName); in installAppAndVerifyExistsOnSDCard()
332 mDevice.uninstallPackage(pkgName); in installAppAndVerifyExistsOnDevice()
363 mDevice.uninstallPackage(pkgName); in installFwdLockedAppAndVerifyExists()
386 mDevice.uninstallPackage(pkgName); in uninstallApp()
DPackageManagerHostTests.java169 getDevice().uninstallPackage(SIMPLE_PKG); in testPushAppPrivate()
DPackageManagerOTATests.java82 getDevice().uninstallPackage(PACKAGE_NAME); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DAppSetupFuncTest.java60 getDevice().uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); in testSetupTeardown()
DAppSetupTest.java317 EasyMock.expect(mMockDevice.uninstallPackage("com.fake1")).andReturn(null).times(2); in testSetup_uninstallAll()
335 EasyMock.expect(mMockDevice.uninstallPackage("com.fake1")).andReturn("error").times(3); in testSetup_uninstallAll_fails()
DTestAppInstallSetupTest.java172 EasyMock.expect(mMockTestDevice.uninstallPackage(PACKAGE_NAME)).andReturn(null); in testInstallFailedUpdateIncompatible()
DInstallAllTestZipAppsSetupTest.java145 mMockTestDevice.uninstallPackage((String) EasyMock.anyObject()); in testSuccess()
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java630 public final String uninstallPackage(String pkgName) throws DeviceNotAvailableException { in uninstallPackage() method in BaseHostJUnit4Test
631 return getDevice().uninstallPackage(pkgName); in uninstallPackage()
641 public final String uninstallPackage(ITestDevice device, String pkgName) in uninstallPackage() method in BaseHostJUnit4Test
643 return device.uninstallPackage(pkgName); in uninstallPackage()
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DAppInstallTest.java131 mDevice.uninstallPackage(packageName); in installAndTime()
/tools/tradefederation/core/src/com/android/tradefed/device/
DITestDevice.java164 public String uninstallPackage(String packageName) throws DeviceNotAvailableException; in uninstallPackage() method
DStubDevice.java387 public String uninstallPackage(String packageName) throws InstallException { in uninstallPackage() method in StubDevice
DWifiHelper.java640 String output = mDevice.uninstallPackage(INSTRUMENTATION_PKG); in cleanUp()
DTestDevice.java300 public String uninstallPackage(final String packageName) throws DeviceNotAvailableException { in uninstallPackage() method in TestDevice
307 String result = getIDevice().uninstallPackage(packageName); in uninstallPackage()
DNativeDevice.java884 public String uninstallPackage(final String packageName) throws DeviceNotAvailableException { in uninstallPackage() method in NativeDevice
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DWifiHelperTest.java203 EasyMock.expect(mMockDevice.uninstallPackage(WifiHelper.INSTRUMENTATION_PKG)) in testCleanPackage()
DTestDeviceFuncTest.java166 mTestDevice.uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); in assertWifiApkInstall()
DNativeDeviceTest.java165 mTestDevice.uninstallPackage(""); in testUninstallPackages_exception()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java338 EasyMock.expect(mMockDevice.uninstallPackage("fakepackage")).andReturn(null);
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DInstrumentationTest.java724 mDevice.uninstallPackage(mPackageName); in run()