/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | TestAppInstallSetupTest.java | 103 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()
|
D | InstallAllTestZipAppsSetupTest.java | 143 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()
|
D | InstallApkSetupTest.java | 77 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()
|
D | AppSetupTest.java | 104 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/ |
D | TestAppInstallSetup.java | 236 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()
|
D | InstallBuildEnvApkSetup.java | 61 String result = device.installPackage(apk, true); in setUp()
|
D | AllTestAppsInstallSetup.java | 127 String result = device.installPackage(appFile, true, in installApk()
|
D | InstallAllTestZipAppsSetup.java | 184 String result = device.installPackage(appFile, true, mInstallArgs.toArray(new String[] {})); in installApk()
|
D | AppSetup.java | 123 String result = device.installPackage(apkFile.getFile(), true, in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | WifiHelperTest.java | 164 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()
|
D | TestDeviceTest.java | 1254 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 …]
|
D | TestDeviceFuncTest.java | 169 assertNull(mTestDevice.installPackage(tmpFile, false)); in assertWifiApkInstall()
|
D | NativeDeviceTest.java | 150 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/ |
D | StubDevice.java | 228 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
|
D | ITestDevice.java | 100 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
|
D | TestDevice.java | 137 .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
|
D | WifiHelper.java | 114 final String error = mDevice.installPackage(mWifiUtilApkFile, true); in ensureDeviceSetup()
|
D | NativeDevice.java | 847 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/ |
D | BaseHostJUnit4Test.java | 132 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/ |
D | PackageManagerHostTestUtils.java | 188 String result = mDevice.installPackage(localFile, replace); in installFile() 202 return mDevice.installPackage(apkFile, replace, "-l"); in installFileForwardLocked()
|
D | PackageManagerOTATestUtils.java | 244 String result = mDevice.installPackage(localFile, replace, extraArgs); in installFile()
|
/tools/tradefederation/core/prod-tests/src/com/android/app/tests/ |
D | AppLaunchTest.java | 123 String result = getDevice().installPackage(apkFile, true); in performInstallTest()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4TestTest.java | 293 installPackage("apkFileName"); in testInstall() 336 EasyMock.expect(mMockDevice.installPackage(apk, true)).andReturn(null);
|
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/ |
D | Sl4aClient.java | 108 String res = device.installPackage(sl4aApkFile, true); in installSl4a()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | InstrumentationTest.java | 719 Assert.assertNull(mDevice.installPackage(mInstallFile, true, in run()
|