Searched refs:mPkg (Results 1 – 5 of 5) sorted by relevance
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/ |
D | DeviceAdminLockTaskModeEnteringEvent.java | 60 StringQueryHelper<DeviceAdminLockTaskModeEnteringEventQuery> mPkg = field in DeviceAdminLockTaskModeEnteringEvent.DeviceAdminLockTaskModeEnteringEventQuery 87 return mPkg; in wherePkg() 98 if (!mPkg.matches(event.pkg())) { in filter() 109 .field("pkg", mPkg) in describeQuery() 129 mEvent.mPkg = pkg; in DeviceAdminLockTaskModeEnteringEventLogger() 162 mEvent.mPkg = pkg; in setPkg() 168 protected String mPkg; field in DeviceAdminLockTaskModeEnteringEvent 187 return mPkg; in pkg() 199 + ", pkg=" + mPkg in toString()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | RestrictedStoragePermissionSharedUidTest.java | 82 private final String mPkg; field in RestrictedStoragePermissionSharedUidTest.TestApp 90 mPkg = pkg; in TestApp() 103 isGranted(mPkg, READ_EXTERNAL_STORAGE)).isEqualTo(expectGranted)); in assertStoragePermGranted() 113 int uid = sContext.getPackageManager().getPackageUid(mPkg, 0); in assertHasNotIsolatedStorage() 117 mPkg)).isEqualTo(MODE_ALLOWED); in assertHasNotIsolatedStorage() 121 mPkg)).isNotEqualTo(MODE_ALLOWED); in assertHasNotIsolatedStorage() 127 return sPackageManager.getApplicationInfo(mPkg, 0).targetSdkVersion; in getTargetSDK() 139 runShellCommand("pm uninstall " + mPkg); in uninstall() 144 return mPkg.substring(PKG_PREFIX.length()); in toString()
|
/cts/tests/tests/sharesheet/src/android/sharesheet/cts/ |
D | CtsSharesheetDeviceTest.java | 90 private String mPkg, mExcludePkg, mActivityLabelTesterPkg, mIntentFilterLabelTesterPkg; field in CtsSharesheetDeviceTest 128 mPkg = mContext.getPackageName(); in init() 129 mExcludePkg = mPkg + ".packages.excludetester"; in init() 130 mActivityLabelTesterPkg = mPkg + ".packages.activitylabeltester"; in init() 131 mIntentFilterLabelTesterPkg = mPkg + ".packages.intentfilterlabeltester"; in init() 180 boolean isInternalPkg = pkg.equals(mPkg) || in init() 544 list.add(new ComponentName(mPkg, mPkg + ".BlacklistTestActivity")); in createShareIntent() 552 eii.setComponent(new ComponentName(mPkg, in createShareIntent() 553 mPkg + ".ExtraInitialIntentTestActivity")); in createShareIntent() 555 LabeledIntent labeledEii = new LabeledIntent(eii, mPkg, in createShareIntent() [all …]
|
/cts/hostsidetests/jvmti/base/host/src/android/jvmti/cts/ |
D | JvmtiHostTest.java | 156 private String mPkg; field in JvmtiHostTest.AttachAgent 163 this.mPkg = pkg; in AttachAgent() 170 "run-as " + mPkg + " --user " + mCurrentUser + " pwd"); in prepare() 191 String attachCmd = "cmd activity attach-agent " + mPkg + " " + mAgentInDataData; in run() 222 "run-as " + mPkg + " --user " + mCurrentUser + in installLibToDataData() 229 "run-as " + mPkg + " --user " + mCurrentUser + in installLibToDataData()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | NetworkUsageStatsTest.java | 161 private String mPkg; field in NetworkUsageStatsTest 234 mPkg = getInstrumentation().getContext().getPackageName(); in setUp() 253 final String command = MessageFormat.format(APPOPS_SET_SHELL_COMMAND, mPkg, appop, mode); in setAppOpsMode() 258 final String command = MessageFormat.format(APPOPS_GET_SHELL_COMMAND, mPkg, appop); in getAppOpsMode()
|