Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java1285 assertNull(mTestDevice.installPackage(new File(apkFile), new File(certFile), true, "-l")); in testInstallPackages()
1331 .installPackage(new File(apkFile), new File(certFile), true, "-l") in testInstallPackages_timeout()
1429 mMockIDevice.installPackage( in testInstallPackage_default_runtimePermissionNotSupported()
1438 assertNull(mTestDevice.installPackage(new File(apkFile), true)); in testInstallPackage_default_runtimePermissionNotSupported()
1446 mMockIDevice.installPackage( in testInstallPackage_default_timeout()
1457 .installPackage(new File(apkFile), true) in testInstallPackage_default_timeout()
1480 mMockIDevice.installPackage( in testInstallPackage_default_runtimePermissionSupported()
1490 assertNull(mTestDevice.installPackage(new File(apkFile), true)); in testInstallPackage_default_runtimePermissionSupported()
1512 mMockIDevice.installPackage( in testinstallPackageForUser_default_runtimePermissionNotSupported()
1545 mMockIDevice.installPackage( in testinstallPackageForUser_default_runtimePermissionSupported()
[all …]
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()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DTestAppInstallSetupTest.java147 EasyMock.expect(mMockTestDevice.installPackage(EasyMock.eq(fakeApk), EasyMock.eq(true))) in testSetupAndTeardown()
177 EasyMock.expect(mMockTestDevice.installPackage(EasyMock.eq(fakeApk), EasyMock.eq(true))) in testSetupAndTeardown_install_package_only()
202 mMockTestDevice.installPackage( in testSetup_instantMode()
227 mMockTestDevice.installPackage( in testSetup_abi()
253 EasyMock.expect(mMockTestDevice.installPackage(EasyMock.eq(fakeApk), EasyMock.eq(true))) in testSetup_forceMode()
267 EasyMock.expect(mMockTestDevice.installPackage( in testSetup_forceQueryable()
283 EasyMock.expect(mMockTestDevice.installPackage(EasyMock.eq(fakeApk), EasyMock.eq(true))) in testInstallFailure()
301 EasyMock.expect(mMockTestDevice.installPackage(EasyMock.eq(fakeApk), EasyMock.eq(true))) in testInstallFailedUpdateIncompatible()
304 EasyMock.expect(mMockTestDevice.installPackage(EasyMock.eq(fakeApk), EasyMock.eq(true))) in testInstallFailedUpdateIncompatible()
406 mMockTestDevice.installPackage( in testFindApk_override()
[all …]
DInstallAllTestZipAppsSetupTest.java144 mMockTestDevice.installPackage((File) EasyMock.anyObject(), EasyMock.anyBoolean()); in testSuccess()
165 mMockTestDevice.installPackage( in testForceQueryableSuccess()
188 mMockTestDevice.installPackage((File) EasyMock.anyObject(), EasyMock.anyBoolean()); in testSuccessNoTearDown()
203 mMockTestDevice.installPackage( in testInstallFailure()
225 mMockTestDevice.installPackage( in testInstallFailureNoStop()
276 mMockTestDevice.installPackage((File) EasyMock.anyObject(), EasyMock.anyBoolean()); in testAaptFail()
DInstallApkSetupTest.java79 EasyMock.expect(mMockTestDevice.installPackage((File) EasyMock.anyObject(), in testSetup()
97 EasyMock.expect(mMockTestDevice.installPackage((File) EasyMock.anyObject(), in testSetupForceQueryable()
133 EasyMock.expect(mMockTestDevice.installPackage((File) EasyMock.anyObject(), in testInstallFailureNoThrow()
151 EasyMock.expect(mMockTestDevice.installPackage((File) EasyMock.anyObject(), in testInstallFailureThrow()
DAppSetupTest.java112 EasyMock.expect(mMockDevice.installPackage(EasyMock.eq(tmpFile), EasyMock.eq(true))) in testSetup_failToInstall()
137 EasyMock.expect(mMockDevice.installPackage(EasyMock.eq(tmpFile), EasyMock.eq(true))) in testSetup_aaptCannotParse()
171 EasyMock.expect(mMockDevice.installPackage(EasyMock.eq(tmpFile), EasyMock.eq(true))) in testSetup_noPackageName()
273 EasyMock.expect(mMockDevice.installPackage(EasyMock.eq(tmpFile), EasyMock.eq(true))) in testSetup_checkMinSdk_apiOk()
DAllTestAppsInstallSetupTest.java86 EasyMock.expect(mMockTestDevice.installPackage((File)EasyMock.anyObject(), in testSetup()
102 EasyMock.expect(mMockTestDevice.installPackage((File)EasyMock.anyObject(), in testSetupForceQueryable()
115 EasyMock.expect(mMockTestDevice.installPackage((File)EasyMock.anyObject(), in testInstallFailure()
DInstallApexModuleTargetPreparerTest.java585 EasyMock.expect(mMockDevice.installPackage((File) EasyMock.anyObject(), EasyMock.eq(true))) in testSetupAndTearDown_SingleApk()
1121 EasyMock.expect(mMockDevice.installPackage((File) EasyMock.anyObject(), EasyMock.eq(true))) in mockSuccessfulInstallPackageAndReboot()
1307 EasyMock.expect(mMockDevice.installPackage((File) EasyMock.anyObject(), EasyMock.eq(true))) in testSetupAndTearDown_skipModulesThatFailToExtract()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/helper/
DTelephonyHelperTest.java56 EasyMock.expect(mDevice.installPackage(EasyMock.anyObject(), EasyMock.eq(true))) in testGetSimInfo()
95 EasyMock.expect(mDevice.installPackage(EasyMock.anyObject(), EasyMock.eq(true))) in testGetSimInfo_installFail()
105 EasyMock.expect(mDevice.installPackage(EasyMock.anyObject(), EasyMock.eq(true))) in testGetSimInfo_instrumentationFailed()
133 EasyMock.expect(mDevice.installPackage(EasyMock.anyObject(), EasyMock.eq(true))) in testGetSimInfo_simTest_not_run()
160 EasyMock.expect(mDevice.installPackage(EasyMock.anyObject(), EasyMock.eq(true))) in testGetSimInfo_simTest_failed()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTestAppInstallSetup.java432 String result = installPackage(testDevice, apkFiles); in installSinglePackage()
438 result = installPackage(testDevice, apkFiles); in installSinglePackage()
541 private String installPackage(ITestDevice device, List<File> appFiles) in installPackage() method in TestAppInstallSetup
546 return device.installPackage( in installPackage()
/tools/tradefederation/core/device_build_interfaces/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.java142 public String installPackage(File packageFile, boolean reinstall, String... extraArgs) in installPackage() method
162 public String installPackage( in installPackage() method
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java131 public final void installPackage(String apkFileName, String... options) in installPackage() method in BaseHostJUnit4Test
133 installPackage(getDevice(), apkFileName, options); in installPackage()
143 public final void installPackage(ITestDevice device, String apkFileName, String... options) in installPackage() method in BaseHostJUnit4Test
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java169 .installPackage( in internalInstallPackage()
225 public String installPackage(final File packageFile, final boolean reinstall, in installPackage() method in TestDevice
240 public String installPackage(File packageFile, boolean reinstall, boolean grantPermissions, in installPackage() method in TestDevice
284 public String installPackage(final File packageFile, final File certFile, in installPackage() method in TestDevice
/tools/tradefederation/core/tests/src/com/android/tradefed/device/contentprovider/
DContentProviderHandlerTest.java66 doReturn(null).when(mMockDevice).installPackage(any(), eq(true), eq(true)); in testSetUp_install()
97 doReturn("fail").when(mMockDevice).installPackage(any(), eq(true), eq(true)); in testSetUp_installFail()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java375 installPackage("apkFileName"); in testInstall()
415 EasyMock.expect(mMockDevice.installPackage(apk, true)).andReturn(null);
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DInstallBuildEnvApkSetup.java60 String result = device.installPackage(apk, true); in setUp()
DInstallApkSetup.java106 String result = device.installPackage(apk, true, mInstallArgs.toArray(new String[]{})); in setUp()
DInstallAllTestZipAppsSetup.java192 String result = device.installPackage(appFile, true, mInstallArgs.toArray(new String[] {})); in installApk()
DAllTestAppsInstallSetup.java142 String result = device.installPackage(appFile, true, in installApk()
DAppSetup.java135 device.installPackage( in setUp()
/tools/tradefederation/core/src/com/android/tradefed/device/helper/
DTelephonyHelper.java98 final String error = device.installPackage(apkFile, true); in getSimInfo()
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/
DSl4aClient.java108 String res = device.installPackage(sl4aApkFile, true); in installSl4a()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java160 mDevice.installPackage(apkFile, true); in setUp()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/
DContentProviderHandler.java116 mDevice.installPackage( in setUp()

12