/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | TestDevicePackageFuncTest.java | 57 mTestDevice.uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); in setUp() 85 mTestDevice.uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); in testInstallListUninstall_basic() 116 mTestDevice.uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); in testIsPackageInstalled_basic() 150 mTestDevice.uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); in testInstallListUninstall_forUser()
|
D | WifiHelperTest.java | 223 when(mMockDevice.uninstallPackage(WifiHelper.INSTRUMENTATION_PKG)).thenReturn(null); in testCleanPackage()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/helper/ |
D | TelephonyHelperTest.java | 57 when(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).thenReturn(null); in testGetSimInfo() 96 when(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).thenReturn(null); in testGetSimInfo_instrumentationFailed() 116 when(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).thenReturn(null); in testGetSimInfo_simTest_not_run() 135 when(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).thenReturn(null); in testGetSimInfo_simTest_failed()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | AppSetupTest.java | 361 when(mMockDevice.uninstallPackage("com.fake1")).thenReturn(null); in testSetup_uninstallAll() 365 verify(mMockDevice, times(2)).uninstallPackage("com.fake1"); in testSetup_uninstallAll() 378 when(mMockDevice.uninstallPackage("com.fake1")).thenReturn("error"); in testSetup_uninstallAll_fails() 387 verify(mMockDevice, times(3)).uninstallPackage("com.fake1"); in testSetup_uninstallAll_fails()
|
D | InstallAllTestZipAppsSetupTest.java | 151 verify(mMockTestDevice, times(3)).uninstallPackage((String) any()); in testSuccess() 169 verify(mMockTestDevice, times(3)).uninstallPackage((String) any()); in testForceQueryableSuccess() 186 verify(mMockTestDevice, times(3)).uninstallPackage((String) any()); in testDeviceApi34ForceQueryableIsFalse()
|
D | AppSetupFuncTest.java | 60 getDevice().uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); in testSetupTeardown()
|
D | InstallApexModuleTargetPreparerTest.java | 581 when(mMockDevice.uninstallPackage(Mockito.any())).thenReturn(null); in testSetupAndTearDown_Optimize_APEXANDAPK_UnInstallAPKAndReboot() 589 verify(mMockDevice, times(2)).uninstallPackage(Mockito.any()); in testSetupAndTearDown_Optimize_APEXANDAPK_UnInstallAPKAndReboot() 614 when(mMockDevice.uninstallPackage(Mockito.any())).thenReturn(null); in testSetupAndTearDown_Optimize_APEXANDAPK_UnInstallAPEXANDReboot() 622 verify(mMockDevice, times(2)).uninstallPackage(Mockito.any()); in testSetupAndTearDown_Optimize_APEXANDAPK_UnInstallAPEXANDReboot() 694 when(mMockDevice.uninstallPackage(Mockito.any())).thenReturn(null); in testSetupAndTearDown_Optimize_MultipleAPEX_UninstallThenInstallAndReboot() 703 verify(mMockDevice, times(1)).uninstallPackage(Mockito.any()); in testSetupAndTearDown_Optimize_MultipleAPEX_UninstallThenInstallAndReboot() 733 when(mMockDevice.uninstallPackage(Mockito.any())).thenReturn(null); in testSetupAndTearDown_Optimize_MultipleAPEX_UninstallAndReboot() 740 verify(mMockDevice, times(1)).uninstallPackage(Mockito.any()); in testSetupAndTearDown_Optimize_MultipleAPEX_UninstallAndReboot() 2411 when(mMockDevice.uninstallPackage(APK_PACKAGE_NAME)).thenReturn(null); in testSetupAndTearDown_throwExceptionModulesNotPreloaded() 2422 verify(mMockDevice, times(1)).uninstallPackage(APK_PACKAGE_NAME); in testSetupAndTearDown_throwExceptionModulesNotPreloaded()
|
D | TestAppInstallSetupTest.java | 542 when(mMockTestDevice.uninstallPackage(PACKAGE_NAME)).thenReturn(null); in testInstallFailedUpdateIncompatible() 547 when(mMockTestDevice.uninstallPackage(PACKAGE_NAME)).thenReturn(null); in testInstallFailedUpdateIncompatible()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | AppSetup.java | 220 String result = device.uninstallPackage(pkgName); in tearDown() 251 String result = device.uninstallPackage(pkg); in uninstallAllApps()
|
D | InstallAllTestZipAppsSetup.java | 262 String msg = device.uninstallPackage(packageName); in tearDown()
|
D | AllTestAppsInstallSetup.java | 218 String msg = device.uninstallPackage(packageName); in tearDown()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4Test.java | 923 public final String uninstallPackage(String pkgName) throws DeviceNotAvailableException { in uninstallPackage() method in BaseHostJUnit4Test 924 return getDevice().uninstallPackage(pkgName); in uninstallPackage() 934 public final String uninstallPackage(ITestDevice device, String pkgName) in uninstallPackage() method in BaseHostJUnit4Test 936 return device.uninstallPackage(pkgName); in uninstallPackage()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | TestAppInstallSetup.java | 471 uninstallPackage(getDevice(), packageName); in tearDown() 551 uninstallPackage(testDevice, packageName); in installSinglePackage() 721 protected void uninstallPackage(ITestDevice device, String packageName) in uninstallPackage() method in TestAppInstallSetup 725 msg = device.uninstallPackage(packageName); in uninstallPackage()
|
D | InstallApexModuleTargetPreparer.java | 343 uninstallPackage(device, m); in optimizeModuleInstallation() 348 uninstallPackage(device, packageName); in optimizeModuleInstallation() 452 uninstallPackage(device, apkPkgName); in moduleTearDown()
|
/tools/tradefederation/core/src/com/android/tradefed/device/helper/ |
D | TelephonyHelper.java | 136 device.uninstallPackage(PACKAGE_NAME); in getSimInfo()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | AppIncrementalInstallTest.java | 186 mDevice.uninstallPackage(packageName); in installAndTime()
|
D | AppInstallTest.java | 236 mDevice.uninstallPackage(packageName); in installAndTime()
|
/tools/platform-compat/java/android/compat/testing/ |
D | Classpaths.java | 139 device.uninstallPackage(packageName); in runDeviceTests()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/ |
D | PerformanceTest.java | 211 mDevice.uninstallPackage(mApk.getPackageName()); in tearDown()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | ITestDevice.java | 219 public String uninstallPackage(String packageName) throws DeviceNotAvailableException; in uninstallPackage() method
|
D | StubDevice.java | 320 public String uninstallPackage(String packageName) throws InstallException { in uninstallPackage() method in StubDevice
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/ |
D | ContentProviderHandler.java | 175 mDevice.uninstallPackage(PACKAGE_NAME); in tearDown()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4TestTest.java | 413 when(mMockDevice.uninstallPackage("fakepackage")).thenReturn(null);
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | TestDevice.java | 635 public String uninstallPackage(final String packageName) throws DeviceNotAvailableException { in uninstallPackage() method in TestDevice 637 return uninstallPackage(packageName, /* extraArgs= */ null); in uninstallPackage() 640 private String uninstallPackage(String packageName, @Nullable String extraArgs) in uninstallPackage() method in TestDevice 666 return uninstallPackage(packageName, "--user " + userId); in uninstallPackageForUser()
|
D | WifiHelper.java | 892 String output = mDevice.uninstallPackage(INSTRUMENTATION_PKG); in cleanUp()
|