Searched refs:mTargetPackage (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageReportingTest.java | 47 private String mTargetPackage; field in UsageReportingTest 67 mTargetPackage = InstrumentationRegistry.getTargetContext().getPackageName(); in setUp() 69 mFullToken0 = mTargetPackage + "/" + TOKEN_0; in setUp() 70 mFullToken1 = mTargetPackage + "/" + TOKEN_1; in setUp() 75 launchActivity(new ComponentName(mTargetPackage, Activities.ActivityOne.class.getName())); in testUsageStartAndStopReporting() 98 launchActivity(new ComponentName(mTargetPackage, Activities.ActivityOne.class.getName())); in testUsagePastReporting() 114 launchActivity(new ComponentName(mTargetPackage, Activities.ActivityOne.class.getName())); in testUsageReportingMissingStop() 133 launchActivity(new ComponentName(mTargetPackage, Activities.ActivityOne.class.getName())); in testExceptionOnRepeatReport() 172 launchActivity(new ComponentName(mTargetPackage, Activities.ActivityOne.class.getName())); in testMultipleTokenUsageReporting() 195 launchActivity(new ComponentName(mTargetPackage, Activities.ActivityOne.class.getName())); in testMultipleTokenMissingStop() [all …]
|
D | UsageStatsTest.java | 230 private String mTargetPackage; field in UsageStatsTest 247 mTargetPackage = mContext.getPackageName(); in setUp() 248 PermissionUtils.grantPermission(mTargetPackage, POST_NOTIFICATIONS); in setUp() 288 if (mContext != null && mTargetPackage != null) { in cleanUp() 292 mTargetPackage, in cleanUp() 312 executeShellCmd(MessageFormat.format(APPOPS_SET_SHELL_COMMAND, mTargetPackage, mode)); in setAppOpsMode() 316 executeShellCmd(MessageFormat.format(APPOPS_RESET_SHELL_COMMAND, mTargetPackage)); in resetAppOpsMode() 320 if (mTargetPackage != null) { in clearTestPackagesData() 321 executeShellCmd(MessageFormat.format(PRUNE_PACKAGE_DATA_SHELL_COMMAND, mTargetPackage, in clearTestPackagesData() 355 intent.setClassName(mTargetPackage, clazz.getName()); in launchSubActivity() [all …]
|
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/ |
D | AppMimeGroups.java | 44 private final String mTargetPackage; field in AppMimeGroups 48 mTargetPackage = targetPackage; in AppMimeGroups() 86 intent.setPackage(mTargetPackage); in getRequestIntent()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | LauncherAppsForHiddenProfilesTest.java | 412 private final String mTargetPackage; field in LauncherAppsForHiddenProfilesTest.TestLauncherCallback 416 mTargetPackage = targetPackageName; in TestLauncherCallback() 452 return mTargetUser.equals(user) && Objects.equals(packageName, mTargetPackage); in isTargetEvent()
|
D | PackageManagerShellCommandInstallTest.java | 2959 private final String mTargetPackage; field in PackageManagerShellCommandInstallTest.PackageBroadcastReceiver 2964 mTargetPackage = packageName; in PackageBroadcastReceiver() 2975 && (packageName == null || packageName.equals(mTargetPackage))) { in onReceive() 2985 "am wait-for-broadcast-dispatch -a %s -d package:%s", mAction, mTargetPackage)); in assertBroadcastReceived() 2993 "am wait-for-broadcast-dispatch -a %s -d package:%s", mAction, mTargetPackage)); in assertBroadcastNotReceived()
|