Home
last modified time | relevance | path

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

/packages/modules/StatsD/tests/src/android/cts/statsd/uidmap/
DUidMapTests.java72 final String result = getDevice().installPackage( in testChangeFromInstallation()
94 getDevice().installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), false, true); in testChangeFromReinstall()
97 getDevice().installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), true, true); in testChangeFromReinstall()
117 getDevice().installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), true, true); in testChangeFromUninstall()
/packages/modules/Connectivity/tests/cts/hostside/src/com/android/cts/net/
DHostsideNetworkTestCase.java69 installPackage(TEST_APK); in setUp()
79 protected void installPackage(String apk) throws FileNotFoundException, in installPackage() method in HostsideNetworkTestCase
82 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), in installPackage()
DHostsideRestrictBackgroundNetworkTests.java32 installPackage(TEST_APP2_APK); in setUp()
82 installPackage(TEST_APP2_APK); in testDataSaverMode_reinstall()
130 installPackage(TEST_APP2_APK); in testBatterySaverMode_reinstall()
DHostsideNetworkCallbackTests.java23 installPackage(TEST_APP2_APK); in setUp()
DHostsideNetworkPolicyManagerTests.java24 installPackage(TEST_APP2_APK); in setUp()
DHostsideVpnTests.java26 installPackage(TEST_APP2_APK); in setUp()
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/
DBaseTestCase.java116 protected void installPackage(String appFileName, boolean grantPermissions) in installPackage() method in BaseTestCase
120 final String result = getDevice().installPackage( in installPackage()
DDeviceAtomTestCase.java184 installPackage(DEVICE_SIDE_TEST_APK, true); in installTestApp()
DAtomTestCase.java171 installPackage(DEVICE_SIDE_TEST_APK, true); in checkDeviceFor()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityRoboTest.java310 .installPackage( in activity_profileOwner_adminIntegrated_returnsIntermediateResult()
339 .installPackage( in activity_deviceOwner_adminIntegrated_returnsIntermediateResult()
365 .installPackage( in activity_deviceOwner_notAdminIntegrated_returnsOk()
DAdminIntegratedFlowPrepareActivityTest.java171 shadowOf(mPackageManager).installPackage(packageInfo); in installTestPackage()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DInstallPackageTask.java154 installPackage(packageLocation, mPackageName, params, mContext, mSessionCallback); in run()
163 private void installPackage( in installPackage() method in InstallPackageTask
/packages/modules/SdkExtensions/tests/e2e/Extensions/test-src/com/android/tests/apex/sdkextensions/
DSdkExtensionsHostTest.java80 String installResult = getDevice().installPackage(testAppFile, true); in installTestApp()
130 String installResult = getDevice().installPackage(appFile, true); in canInstallApp()
/packages/apps/TimeZoneData/testing/xts/src/com/android/timezone/xts/
DTimeZoneUpdateHostTest.java197 getDevice().installPackage(appFile, true /* reinstall */); in testInstallNewerRulesVersion()
258 getDevice().installPackage(appFile, true /* reinstall */); in testInstallOlderRulesVersion()
/packages/modules/NetworkStack/tests/hostlib/src/com/android/testutils/host/
DDeflakeHostTestBase.kt97 installPackage(testApkFilename) in <lambda>()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/task/
DDownloadPackageTaskRoboTest.java130 shadowOf(mPackageManager).installPackage(packageInfo); in installTestPackage()
/packages/modules/NetworkStack/tests/hostdriven/host/src/com/android/networkstack/hosttests/
DNetworkStackHostTests.kt70 val error = mDevice.installPackage( in testInstallAndRollback()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/common/
DUtilsRoboTest.java213 shadowOf(mContext.getPackageManager()).installPackage(packageInfo); in isPackageInstalled_packageExists_returnsTrue()
/packages/modules/Gki/test/src/com/android/gki/tests/
DGkiInstallTest.java207 String result = getDevice().installPackage(mApexFile, false, in testInstallAndReboot()