Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/device/helper/
DTelephonyHelperTest.java58 EasyMock.expect(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).andReturn(null); in testGetSimInfo()
107 EasyMock.expect(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).andReturn(null); in testGetSimInfo_instrumentationFailed()
135 EasyMock.expect(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).andReturn(null); in testGetSimInfo_simTest_not_run()
162 EasyMock.expect(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).andReturn(null); in testGetSimInfo_simTest_failed()
/tools/tradefederation/contrib/src/com/android/framework/tests/
DPackageManagerHostTestUtils.java299 mDevice.uninstallPackage(pkgName); in installAppAndVerifyExistsOnSDCard()
330 mDevice.uninstallPackage(pkgName); in installAppAndVerifyExistsOnDevice()
361 mDevice.uninstallPackage(pkgName); in installFwdLockedAppAndVerifyExists()
384 mDevice.uninstallPackage(pkgName); in uninstallApp()
DPackageManagerHostTests.java183 getDevice().uninstallPackage(SIMPLE_PKG); in testPushAppPrivate()
DPackageManagerOTATests.java89 getDevice().uninstallPackage(PACKAGE_NAME); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTestAppInstallSetup.java283 uninstallPackage(device, packageName); in tearDown()
357 uninstallPackage(device, packageName); in installer()
427 protected void uninstallPackage(ITestDevice device, String packageName) in uninstallPackage() method in TestAppInstallSetup
429 String msg = device.uninstallPackage(packageName); in uninstallPackage()
DAppSetup.java190 String result = device.uninstallPackage(pkgName); in tearDown()
221 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()
DInstallApexModuleTargetPreparer.java150 super.uninstallPackage(device, apkPkgName); in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java737 public final String uninstallPackage(String pkgName) throws DeviceNotAvailableException { in uninstallPackage() method in BaseHostJUnit4Test
738 return getDevice().uninstallPackage(pkgName); in uninstallPackage()
748 public final String uninstallPackage(ITestDevice device, String pkgName) in uninstallPackage() method in BaseHostJUnit4Test
750 return device.uninstallPackage(pkgName); in uninstallPackage()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparerTest.java325 EasyMock.expect(mMockDevice.uninstallPackage(APK_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_SingleApk()
394 EasyMock.expect(mMockDevice.uninstallPackage(APK_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_ApkAndApks()
395 EasyMock.expect(mMockDevice.uninstallPackage(SPLIT_APK_PACKAGE_NAME)) in testSetupAndTearDown_ApkAndApks()
486 EasyMock.expect(mMockDevice.uninstallPackage(APK_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_MultiInstall()
576 EasyMock.expect(mMockDevice.uninstallPackage(SPLIT_APK_PACKAGE_NAME)) in testInstallUsingBundletool()
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.java268 EasyMock.expect(mMockTestDevice.uninstallPackage(PACKAGE_NAME)).andReturn(null); in testInstallFailedUpdateIncompatible()
275 EasyMock.expect(mMockTestDevice.uninstallPackage(PACKAGE_NAME)).andReturn(null); in testInstallFailedUpdateIncompatible()
DAppSetupFuncTest.java60 getDevice().uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); in testSetupTeardown()
DInstallAllTestZipAppsSetupTest.java145 mMockTestDevice.uninstallPackage((String) EasyMock.anyObject()); in testSuccess()
/tools/tradefederation/core/src/com/android/tradefed/device/helper/
DTelephonyHelper.java136 device.uninstallPackage(PACKAGE_NAME); in getSimInfo()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DAppInstallTest.java236 mDevice.uninstallPackage(packageName); in installAndTime()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DWifiHelperTest.java203 EasyMock.expect(mMockDevice.uninstallPackage(WifiHelper.INSTRUMENTATION_PKG)) in testCleanPackage()
/tools/tradefederation/core/src/com/android/tradefed/device/
DITestDevice.java195 public String uninstallPackage(String packageName) throws DeviceNotAvailableException; in uninstallPackage() method
DStubDevice.java386 public String uninstallPackage(String packageName) throws InstallException { in uninstallPackage() method in StubDevice
DWifiHelper.java664 String output = mDevice.uninstallPackage(INSTRUMENTATION_PKG); in cleanUp()
DTestDevice.java332 public String uninstallPackage(final String packageName) throws DeviceNotAvailableException { in uninstallPackage() method in TestDevice
339 String result = getIDevice().uninstallPackage(packageName); in uninstallPackage()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java211 mDevice.uninstallPackage(mApk.getPackageName()); in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/device/contentprovider/
DContentProviderHandler.java132 mDevice.uninstallPackage(PACKAGE_NAME); in tearDown()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java376 EasyMock.expect(mMockDevice.uninstallPackage("fakepackage")).andReturn(null);

12