Searched refs:mTargetPackage (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageReportingTest.java | 46 private String mTargetPackage; field in UsageReportingTest 66 mTargetPackage = InstrumentationRegistry.getTargetContext().getPackageName(); in setUp() 68 mFullToken0 = mTargetPackage + "/" + TOKEN_0; in setUp() 69 mFullToken1 = mTargetPackage + "/" + TOKEN_1; in setUp() 74 launchActivity(new ComponentName(mTargetPackage, Activities.ActivityOne.class.getName())); in testUsageStartAndStopReporting() 97 launchActivity(new ComponentName(mTargetPackage, Activities.ActivityOne.class.getName())); in testUsagePastReporting() 113 launchActivity(new ComponentName(mTargetPackage, Activities.ActivityOne.class.getName())); in testUsageReportingMissingStop() 132 launchActivity(new ComponentName(mTargetPackage, Activities.ActivityOne.class.getName())); in testExceptionOnRepeatReport() 171 launchActivity(new ComponentName(mTargetPackage, Activities.ActivityOne.class.getName())); in testMultipleTokenUsageReporting() 194 launchActivity(new ComponentName(mTargetPackage, Activities.ActivityOne.class.getName())); in testMultipleTokenMissingStop() [all …]
|
D | UsageStatsTest.java | 159 private String mTargetPackage; field in UsageStatsTest 175 mTargetPackage = mContext.getPackageName(); in setUp() 214 executeShellCmd(MessageFormat.format(APPOPS_SET_SHELL_COMMAND, mTargetPackage, mode)); in setAppOpsMode() 236 intent.setClassName(mTargetPackage, clazz.getName()); in launchSubActivity() 270 verifyLastTimeAnyComponentUsedWithinRange(startTime, endTime, mTargetPackage); in testLastTimeAnyComponentUsed_launchActivityShouldBeDetected() 344 final UsageStats stats = map.get(mTargetPackage); in testLastTimeAnyComponentUsed_JobServiceShouldBeIgnored() 353 mUsageStatsManager.getLastTimeAnyComponentUsed(mTargetPackage) / DAY; in testLastTimeAnyComponentUsed_JobServiceShouldBeIgnored() 363 mUsageStatsManager.getLastTimeAnyComponentUsed(mTargetPackage); in testLastTimeAnyComponentUsedGlobal_withoutPermission() 393 if (mTargetPackage.equals(event.getPackageName())) { in testOrderedActivityLaunchSequenceInEventLog() 451 if (mTargetPackage.equals(event.getPackageName()) in testActivityOnButton() [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()
|