/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | TestDeviceTest.java | 1285 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 …]
|
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()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | TestAppInstallSetupTest.java | 147 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 …]
|
D | InstallAllTestZipAppsSetupTest.java | 144 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()
|
D | InstallApkSetupTest.java | 79 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()
|
D | AppSetupTest.java | 112 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()
|
D | AllTestAppsInstallSetupTest.java | 86 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()
|
D | InstallApexModuleTargetPreparerTest.java | 585 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/ |
D | TelephonyHelperTest.java | 56 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/ |
D | TestAppInstallSetup.java | 432 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/ |
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 | 142 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/ |
D | BaseHostJUnit4Test.java | 131 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/ |
D | TestDevice.java | 169 .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/ |
D | ContentProviderHandlerTest.java | 66 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/ |
D | BaseHostJUnit4TestTest.java | 375 installPackage("apkFileName"); in testInstall() 415 EasyMock.expect(mMockDevice.installPackage(apk, true)).andReturn(null);
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | InstallBuildEnvApkSetup.java | 60 String result = device.installPackage(apk, true); in setUp()
|
D | InstallApkSetup.java | 106 String result = device.installPackage(apk, true, mInstallArgs.toArray(new String[]{})); in setUp()
|
D | InstallAllTestZipAppsSetup.java | 192 String result = device.installPackage(appFile, true, mInstallArgs.toArray(new String[] {})); in installApk()
|
D | AllTestAppsInstallSetup.java | 142 String result = device.installPackage(appFile, true, in installApk()
|
D | AppSetup.java | 135 device.installPackage( in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/device/helper/ |
D | TelephonyHelper.java | 98 final String error = device.installPackage(apkFile, true); in getSimInfo()
|
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/ |
D | Sl4aClient.java | 108 String res = device.installPackage(sl4aApkFile, true); in installSl4a()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/ |
D | PerformanceTest.java | 160 mDevice.installPackage(apkFile, true); in setUp()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/ |
D | ContentProviderHandler.java | 116 mDevice.installPackage( in setUp()
|