Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparerTest.java588 EasyMock.expect(mMockDevice.uninstallPackage(APK_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_SingleApk()
622 EasyMock.expect(mMockDevice.uninstallPackage(APK_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_InstallMultipleApk()
623 EasyMock.expect(mMockDevice.uninstallPackage(APK2_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_InstallMultipleApk()
665 EasyMock.expect(mMockDevice.uninstallPackage(APK_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_InstallMultipleApkContainingPersistentApk()
666 EasyMock.expect(mMockDevice.uninstallPackage(APK2_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_InstallMultipleApkContainingPersistentApk()
667 EasyMock.expect(mMockDevice.uninstallPackage(PERSISTENT_APK_PACKAGE_NAME)) in testSetupAndTearDown_InstallMultipleApkContainingPersistentApk()
744 EasyMock.expect(mMockDevice.uninstallPackage(APK_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_ApkAndApks()
745 EasyMock.expect(mMockDevice.uninstallPackage(SPLIT_APK_PACKAGE_NAME)) in testSetupAndTearDown_ApkAndApks()
858 EasyMock.expect(mMockDevice.uninstallPackage(APK_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_MultiInstall()
959 EasyMock.expect(mMockDevice.uninstallPackage(SPLIT_APK_PACKAGE_NAME)) in testInstallUsingBundletool()
[all …]
DInstallAllTestZipAppsSetupTest.java146 mMockTestDevice.uninstallPackage((String) EasyMock.anyObject()); in testSuccess()
168 mMockTestDevice.uninstallPackage((String) EasyMock.anyObject()); in testForceQueryableSuccess()
DAppSetupTest.java335 EasyMock.expect(mMockDevice.uninstallPackage("com.fake1")).andReturn(null).times(2); in testSetup_uninstallAll()
354 EasyMock.expect(mMockDevice.uninstallPackage("com.fake1")).andReturn("error").times(3); in testSetup_uninstallAll_fails()
DTestAppInstallSetupTest.java303 EasyMock.expect(mMockTestDevice.uninstallPackage(PACKAGE_NAME)).andReturn(null); in testInstallFailedUpdateIncompatible()
310 EasyMock.expect(mMockTestDevice.uninstallPackage(PACKAGE_NAME)).andReturn(null); in testInstallFailedUpdateIncompatible()
DAppSetupFuncTest.java60 getDevice().uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); in testSetupTeardown()
/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/core/src/com/android/tradefed/targetprep/
DTestAppInstallSetup.java376 uninstallPackage(getDevice(), packageName); in tearDown()
437 uninstallPackage(testDevice, packageName); in installSinglePackage()
580 protected void uninstallPackage(ITestDevice device, String packageName) in uninstallPackage() method in TestAppInstallSetup
582 String msg = device.uninstallPackage(packageName); in uninstallPackage()
DInstallApexModuleTargetPreparer.java177 super.uninstallPackage(device, apkPkgName); in tearDown()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java826 public final String uninstallPackage(String pkgName) throws DeviceNotAvailableException { in uninstallPackage() method in BaseHostJUnit4Test
827 return getDevice().uninstallPackage(pkgName); in uninstallPackage()
837 public final String uninstallPackage(ITestDevice device, String pkgName) in uninstallPackage() method in BaseHostJUnit4Test
839 return device.uninstallPackage(pkgName); in uninstallPackage()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DAppSetup.java210 String result = device.uninstallPackage(pkgName); in tearDown()
241 String result = device.uninstallPackage(pkg); in uninstallAllApps()
DInstallAllTestZipAppsSetup.java252 String msg = device.uninstallPackage(packageName); in tearDown()
DAllTestAppsInstallSetup.java209 String msg = device.uninstallPackage(packageName); in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java357 public String uninstallPackage(final String packageName) throws DeviceNotAvailableException { in uninstallPackage() method in TestDevice
364 String result = getIDevice().uninstallPackage(packageName); in uninstallPackage()
DWifiHelper.java671 String output = mDevice.uninstallPackage(INSTRUMENTATION_PKG); in cleanUp()
/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()
DTestDeviceFuncTest.java172 mTestDevice.uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); in assertWifiApkInstall()
DTestDeviceTest.java4802 doReturn(null).when(spy).uninstallPackage(Mockito.eq("android.tradefed.contentprovider")); in testPushFile_contentProvider()
4863 doReturn(null).when(spy).uninstallPackage(Mockito.eq("android.tradefed.contentprovider")); in testPushFile_contentProvider_notFound()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java211 mDevice.uninstallPackage(mApk.getPackageName()); in tearDown()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java216 public String uninstallPackage(String packageName) throws DeviceNotAvailableException; in uninstallPackage() method
DStubDevice.java387 public String uninstallPackage(String packageName) throws InstallException { in uninstallPackage() method in StubDevice
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/
DContentProviderHandler.java157 mDevice.uninstallPackage(PACKAGE_NAME); in tearDown()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java417 EasyMock.expect(mMockDevice.uninstallPackage("fakepackage")).andReturn(null);
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationTest.java818 mDevice.uninstallPackage(mPackageName); in run()

12