Home
last modified time | relevance | path

Searched refs:uninstallPackage (Results 1 – 25 of 26) 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/core/tests/src/com/android/tradefed/targetprep/
DAppSetupFuncTest.java60 getDevice().uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); in testSetupTeardown()
DInstallApexModuleTargetPreparerTest.java555 EasyMock.expect(mMockDevice.uninstallPackage(APK_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_SingleApk()
589 EasyMock.expect(mMockDevice.uninstallPackage(APK_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_InstallMultipleApk()
590 EasyMock.expect(mMockDevice.uninstallPackage(APK2_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_InstallMultipleApk()
632 EasyMock.expect(mMockDevice.uninstallPackage(APK_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_InstallMultipleApkContainingPersistentApk()
633 EasyMock.expect(mMockDevice.uninstallPackage(APK2_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_InstallMultipleApkContainingPersistentApk()
634 EasyMock.expect(mMockDevice.uninstallPackage(PERSISTENT_APK_PACKAGE_NAME)) in testSetupAndTearDown_InstallMultipleApkContainingPersistentApk()
711 EasyMock.expect(mMockDevice.uninstallPackage(APK_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_ApkAndApks()
712 EasyMock.expect(mMockDevice.uninstallPackage(SPLIT_APK_PACKAGE_NAME)) in testSetupAndTearDown_ApkAndApks()
825 EasyMock.expect(mMockDevice.uninstallPackage(APK_PACKAGE_NAME)).andReturn(null).once(); in testSetupAndTearDown_MultiInstall()
926 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()
/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/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/src/com/android/tradefed/device/helper/
DTelephonyHelper.java136 device.uninstallPackage(PACKAGE_NAME); in getSimInfo()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DAppIncrementalInstallTest.java186 mDevice.uninstallPackage(packageName); in installAndTime()
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()
DNativeDeviceTest.java182 mTestDevice.uninstallPackage(""); in testUninstallPackages_exception()
/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/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java417 EasyMock.expect(mMockDevice.uninstallPackage("fakepackage")).andReturn(null);
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparer.java177 super.uninstallPackage(device, apkPkgName); 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()
DNativeDevice.java1081 public String uninstallPackage(final String packageName) throws DeviceNotAvailableException { in uninstallPackage() method in NativeDevice
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationTest.java818 mDevice.uninstallPackage(mPackageName); in run()

12