Home
last modified time | relevance | path

Searched refs:mPackageName (Results 1 – 7 of 7) sorted by relevance

/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DPackageDisabler.java35 protected String mPackageName = null; field in PackageDisabler
41 if (device.getAppPackageInfo(mPackageName) != null) { in run()
42 CLog.i("Package %s installed, disabling ...", mPackageName); in run()
43 device.executeShellCommand("pm disable-user " + mPackageName); in run()
DApkInstrumentationPreparer.java50 protected String mPackageName = null; field in ApkInstrumentationPreparer
119 if (device.getAppPackageInfo(mPackageName) != null) { in instrument()
120 CLog.i("Package %s already present on the device, uninstalling ...", mPackageName); in instrument()
121 device.uninstallPackage(mPackageName); in instrument()
124 CLog.i("Instrumenting package: %s", mPackageName); in instrument()
130 instrTest.setPackageName(mPackageName); in instrument()
/test/app_compat/csuite/harness/src/main/java/com/android/compatibility/testtype/
DAppLaunchTest.java64 private String mPackageName; field in AppLaunchTest
102 mPackageName = packageName; in AppLaunchTest()
107 mPackageName = packageName; in AppLaunchTest()
139 Assert.assertNotNull("Package name cannot be null", mPackageName); in run()
177 CLog.d("Started testing package: %s.", mPackageName); in testPackage()
182 result.packageName = mPackageName; in testPackage()
207 CLog.d("Completed testing package: %s.", mPackageName); in testPackage()
312 return mDevice.executeShellV2Command(String.format("pm clear %s", mPackageName)); in resetPackage()
316 mDevice.executeShellCommand(String.format("am force-stop %s", mPackageName)); in stopPackage()
349 return new TestDescription(getClass().getSimpleName(), mPackageName); in createTestDescription()
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsHalAdapterPreparer.java65 private String mPackageName = null; field in VtsHalAdapterPreparer
104 String out = device.executeShellCommand(String.format(LIST_HAL_CMD, mPackageName)); in setUp()
122 mPackageName + "::" + interfaceName + "/" + instanceName); in setUp()
131 device, mCommands, String.format(LIST_HAL_CMD, mPackageName), mCheckEmpty)) { in setUp()
152 if (!mCmdUtil.retry(device, command, String.format(LIST_HAL_CMD, mPackageName), in tearDown()
/test/app_compat/csuite/harness/src/main/java/com/android/compatibility/targetprep/
DAppSetupPreparer.java47 private String mPackageName; field in AppSetupPreparer
57 this.mPackageName = packageName; in AppSetupPreparer()
74 File packageDir = new File(apkDir.getPath(), mPackageName); in setUp()
/test/vts/harnesses/tradefed/src/com/android/tradefed/module/
DVtsHalAdapterModuleController.java39 private String mPackageName = null; field in VtsHalAdapterModuleController
48 String out = device.executeShellCommand(String.format(LIST_HAL_CMD, mPackageName)); in shouldRun()
/test/framework/harnesses/cts-tradefed/
Dtradefed-cts-prebuilt.jarMETA-INF/ META-INF/MANIFEST.MF com/android/compatibility/common/ ...