Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DTestAppInstallSetupTest.java103 mMockTestDevice.installPackage( in testSetupAndTeardown()
116 mMockTestDevice.installPackage( in testSetup_instantMode()
136 mMockTestDevice.installPackage( in testSetup_forceMode()
148 mMockTestDevice.installPackage( in testInstallFailure()
169 mMockTestDevice.installPackage( in testInstallFailedUpdateIncompatible()
174 mMockTestDevice.installPackage( in testInstallFailedUpdateIncompatible()
262 mMockTestDevice.installPackage( in testFindApk_override()
293 mMockTestDevice.installPackage( in testFindApk_override_onlyInBuild()
DInstallAllTestZipAppsSetupTest.java143 mMockTestDevice.installPackage((File) EasyMock.anyObject(), EasyMock.anyBoolean()); in testSuccess()
165 mMockTestDevice.installPackage((File) EasyMock.anyObject(), EasyMock.anyBoolean()); in testSuccessNoTearDown()
180 mMockTestDevice.installPackage( in testInstallFailure()
203 mMockTestDevice.installPackage( in testInstallFailureNoStop()
254 mMockTestDevice.installPackage((File) EasyMock.anyObject(), EasyMock.anyBoolean()); in testAaptFail()
DInstallApkSetupTest.java77 EasyMock.expect(mMockTestDevice.installPackage((File) EasyMock.anyObject(), in testSetup()
113 EasyMock.expect(mMockTestDevice.installPackage((File) EasyMock.anyObject(), in testInstallFailureNoThrow()
131 EasyMock.expect(mMockTestDevice.installPackage((File) EasyMock.anyObject(), in testInstallFailureThrow()
DAppSetupTest.java104 EasyMock.expect(mMockDevice.installPackage(EasyMock.eq(tmpFile), EasyMock.eq(true))) in testSetup_failToInstall()
129 EasyMock.expect(mMockDevice.installPackage(EasyMock.eq(tmpFile), EasyMock.eq(true))) in testSetup_aaptCannotParse()
160 EasyMock.expect(mMockDevice.installPackage(EasyMock.eq(tmpFile), EasyMock.eq(true))) in testSetup_noPackageName()
258 EasyMock.expect(mMockDevice.installPackage(EasyMock.eq(tmpFile), EasyMock.eq(true))) in testSetup_checkMinSdk_apiOk()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTestAppInstallSetup.java236 String result = installPackage(device, testAppFile); in setUp()
241 result = installPackage(device, testAppFile); in setUp()
293 private String installPackage(ITestDevice device, File testAppFile) in installPackage() method in TestAppInstallSetup
297 return device.installPackage(testAppFile, true, mInstallArgs.toArray(new String[] {})); in installPackage()
DInstallBuildEnvApkSetup.java61 String result = device.installPackage(apk, true); in setUp()
DAllTestAppsInstallSetup.java127 String result = device.installPackage(appFile, true, in installApk()
DInstallAllTestZipAppsSetup.java184 String result = device.installPackage(appFile, true, mInstallArgs.toArray(new String[] {})); in installApk()
DAppSetup.java123 String result = device.installPackage(apkFile.getFile(), true, in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DWifiHelperTest.java164 EasyMock.expect(mMockDevice.installPackage(EasyMock.<File>anyObject(), EasyMock.eq(true))) in testEnsureDeviceSetup_lowerVersion()
177 EasyMock.expect(mMockDevice.installPackage(EasyMock.<File>anyObject(), EasyMock.eq(true))) in testEnsureDeviceSetup_alternateWifiUtilAPKPath()
191 EasyMock.expect(mMockDevice.installPackage(EasyMock.<File>anyObject(), EasyMock.eq(true))) in testEnsureDeviceSetup_deleteAPK()
DTestDeviceTest.java1254 assertNull(mTestDevice.installPackage(new File(apkFile), new File(certFile), true, "-l")); in testInstallPackages()
1349 mMockIDevice.installPackage( in testInstallPackage_default_runtimePermissionNotSupported()
1358 assertNull(mTestDevice.installPackage(new File(apkFile), true)); in testInstallPackage_default_runtimePermissionNotSupported()
1377 mMockIDevice.installPackage( in testInstallPackage_default_runtimePermissionSupported()
1387 assertNull(mTestDevice.installPackage(new File(apkFile), true)); in testInstallPackage_default_runtimePermissionSupported()
1408 mMockIDevice.installPackage( in testinstallPackageForUser_default_runtimePermissionNotSupported()
1440 mMockIDevice.installPackage( in testinstallPackageForUser_default_runtimePermissionSupported()
1465 mTestDevice.installPackage(new File(apkFile), true, true); in testInstallPackage_throw()
1490 mMockIDevice.installPackage( in testInstallPackage_grant_runtimePermissionSupported()
1500 assertNull(mTestDevice.installPackage(new File(apkFile), true, true)); in testInstallPackage_grant_runtimePermissionSupported()
[all …]
DTestDeviceFuncTest.java169 assertNull(mTestDevice.installPackage(tmpFile, false)); in assertWifiApkInstall()
DNativeDeviceTest.java150 mTestDevice.installPackage(new File(""), false); in testInstallPackages_exception()
180 mTestDevice.installPackage(new File(""), false, false); in testInstallPackagesBool_exception()
/tools/tradefederation/core/src/com/android/tradefed/device/
DStubDevice.java228 public void installPackage(String packageFilePath, boolean reinstall, String... extraArgs) in installPackage() method in StubDevice
235 public void installPackage( in installPackage() method in StubDevice
246 public void installPackage( in installPackage() method in StubDevice
DITestDevice.java100 public String installPackage(File packageFile, boolean reinstall, String... extraArgs) in installPackage() method
118 public String installPackage(File packageFile, boolean reinstall, boolean grantPermissions, in installPackage() method
DTestDevice.java137 .installPackage( in internalInstallPackage()
179 public String installPackage(final File packageFile, final boolean reinstall, in installPackage() method in TestDevice
194 public String installPackage(File packageFile, boolean reinstall, boolean grantPermissions, in installPackage() method in TestDevice
238 public String installPackage(final File packageFile, final File certFile, in installPackage() method in TestDevice
DWifiHelper.java114 final String error = mDevice.installPackage(mWifiUtilApkFile, true); in ensureDeviceSetup()
DNativeDevice.java847 public String installPackage(final File packageFile, final boolean reinstall, in installPackage() method in NativeDevice
856 public String installPackage(File packageFile, boolean reinstall, boolean grantPermissions, in installPackage() method in NativeDevice
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java132 public final void installPackage(String apkFileName, String... options) in installPackage() method in BaseHostJUnit4Test
134 installPackage(getDevice(), apkFileName, options); in installPackage()
144 public final void installPackage(ITestDevice device, String apkFileName, String... options) in installPackage() method in BaseHostJUnit4Test
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DPackageManagerHostTestUtils.java188 String result = mDevice.installPackage(localFile, replace); in installFile()
202 return mDevice.installPackage(apkFile, replace, "-l"); in installFileForwardLocked()
DPackageManagerOTATestUtils.java244 String result = mDevice.installPackage(localFile, replace, extraArgs); in installFile()
/tools/tradefederation/core/prod-tests/src/com/android/app/tests/
DAppLaunchTest.java123 String result = getDevice().installPackage(apkFile, true); in performInstallTest()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java293 installPackage("apkFileName"); in testInstall()
336 EasyMock.expect(mMockDevice.installPackage(apk, true)).andReturn(null);
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/
DSl4aClient.java108 String res = device.installPackage(sl4aApkFile, true); in installSl4a()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DInstrumentationTest.java719 Assert.assertNull(mDevice.installPackage(mInstallFile, true, in run()