Home
last modified time | relevance | path

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

/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DPackageDisabler.java34 protected String mPackageName = null; field in PackageDisabler
40 if (device.getAppPackageInfo(mPackageName) != null) { in run()
41 logInfo("Package %s installed, disabling ...", mPackageName); in run()
42 device.executeShellCommand("pm disable-user " + mPackageName); in run()
DApkInstrumentationPreparer.java51 protected String mPackageName = null; field in ApkInstrumentationPreparer
115 if (device.getAppPackageInfo(mPackageName) != null) { in instrument()
116 logInfo("Package %s already present on the device, uninstalling ...", mPackageName); in instrument()
117 device.uninstallPackage(mPackageName); in instrument()
120 logInfo("Instrumenting package %s:", mPackageName); in instrument()
124 instrTest.setPackageName(mPackageName); in instrument()
/cts/tests/tests/content/src/android/content/pm/cts/
DApplicationInfoTest.java33 private String mPackageName; field in ApplicationInfoTest
38 mPackageName = getContext().getPackageName(); in setUp()
45 info.packageName = mPackageName; in testConstructor()
51 mApplicationInfo = mContext.getPackageManager().getApplicationInfo(mPackageName, 0); in testWriteToParcel()
80 mApplicationInfo = mContext.getPackageManager().getApplicationInfo(mPackageName, 0); in testDescribeContents()
99 mApplicationInfo = mContext.getPackageManager().getApplicationInfo(mPackageName, 0); in testLoadDescription()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DWrappedGTest.java49 private final String mPackageName; field in WrappedGTest
55 mPackageName = packageName; in WrappedGTest()
112 String id = AbiUtils.createId(mAbi.getName(), mPackageName); in runTest()
114 resultParser.setFakePackagePrefix(mPackageName + "."); in runTest()
DGeeTest.java58 private final String mPackageName; field in GeeTest
64 mPackageName = packageName; in GeeTest()
153 String id = AbiUtils.createId(mAbi.getName(), mPackageName); in runTest()
155 resultParser.setFakePackagePrefix(mPackageName + "."); in runTest()
DDeqpTestRunner.java68 private final String mPackageName; field in DeqpTestRunner
89 mPackageName = packageName; in DeqpTestRunner()
1130 return AbiUtils.createId(mAbi.getName(), mPackageName); in getId()
1904 … CLog.i("Package %s not supported by the device. Tests trivially pass.", mPackageName); in run()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java97 private String mPackageName; field in VpnTest
122 mPackageName = mActivity.getPackageName(); in setUp()
217 .putExtra(mPackageName + ".cmd", "connect") in startVpn()
218 .putExtra(mPackageName + ".addresses", TextUtils.join(",", addresses)) in startVpn()
219 .putExtra(mPackageName + ".routes", TextUtils.join(",", routes)) in startVpn()
220 .putExtra(mPackageName + ".allowedapplications", allowedApplications) in startVpn()
221 .putExtra(mPackageName + ".disallowedapplications", disallowedApplications); in startVpn()
263 .putExtra(mPackageName + ".cmd", "disconnect"); in stopVpn()
545 String allowedApps = mRemoteSocketFactoryClient.getPackageName() + "," + mPackageName; in testAppAllowed()
561 String disallowedApps = mRemoteSocketFactoryClient.getPackageName() + "," + mPackageName; in testAppDisallowed()
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DBaseDeviceAdminTest.java29 protected String mPackageName; field in BaseDeviceAdminTest
39 mPackageName = mContext.getPackageName(); in setUp()
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DInputMethodInfoTest.java44 private String mPackageName; field in InputMethodInfoTest
64 mPackageName = mContext.getPackageName(); in setUp()
68 mInputMethodInfo = new InputMethodInfo(mPackageName, mClassName, mLabel, mSettingsActivity); in setUp()
129 assertEquals(mPackageName, info.getPackageName()); in assertInfo()
150 InputMethodInfo inputMethodInfo = new InputMethodInfo(mPackageName, mClassName, mLabel, in testEquals()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAlwaysOnVpnTest.java77 private String mPackageName; field in AlwaysOnVpnTest
82 mPackageName = mContext.getPackageName(); in setUp()
106 restrictions.putStringArray(RESTRICTION_ALLOWED, new String[] {mPackageName}); in testAllowedApps()
115 restrictions.putStringArray(RESTRICTION_DISALLOWED, new String[] {mPackageName}); in testDisallowedApps()
/cts/tests/signature/src/android/signature/cts/
DJDiffClassDescription.java61 private String mPackageName; field in JDiffClassDescription
104 mPackageName = pkg; in JDiffClassDescription()
896 mAbsoluteClassName = mPackageName + "." + mShortClassName; in checkClassCompliance()
1026 String currentName = mPackageName + "." + classNameParts[0]; in findMatchingClass()
1049 loge("ClassNotFoundException for " + mPackageName + "." + mShortClassName, e); in findMatchingClass()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java1593 private final String mPackageName; field in AppWidgetTest.RemoteViewsMatcher
1597 mPackageName = packageName; in RemoteViewsMatcher()
1604 && remoteViews.getPackage().equals(mPackageName); in matches()
/cts/tools/dex-tools/dex/
Dclasses.out.dex8201 private final java.lang.String mPackageName