Home
last modified time | relevance | path

Searched refs:assertAppOrTokenUsed (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageReportingTest.java83 assertAppOrTokenUsed(mFullToken0, true); in testUsageStartAndStopReporting()
86 assertAppOrTokenUsed(mFullToken0, false); in testUsageStartAndStopReporting()
90 assertAppOrTokenUsed(mFullToken0, true); in testUsageStartAndStopReporting()
93 assertAppOrTokenUsed(mFullToken0, false); in testUsageStartAndStopReporting()
106 assertAppOrTokenUsed(mFullToken0, true); in testUsagePastReporting()
109 assertAppOrTokenUsed(mFullToken0, false); in testUsagePastReporting()
122 assertAppOrTokenUsed(mFullToken0, true); in testUsageReportingMissingStop()
128 assertAppOrTokenUsed(mFullToken0, false); in testUsageReportingMissingStop()
141 assertAppOrTokenUsed(mFullToken0, true); in testExceptionOnRepeatReport()
149 assertAppOrTokenUsed(mFullToken0, true); in testExceptionOnRepeatReport()
[all …]
DUsageStatsTest.java1966 assertAppOrTokenUsed(TaskRootActivity.TEST_APP_PKG, true, TIMEOUT); in testUsageSourceAttribution()
1973 assertAppOrTokenUsed(mTargetPackage, true, TIMEOUT); in testUsageSourceAttribution()
1988 assertAppOrTokenUsed(TEST_APP_PKG, false, TIMEOUT); in testTaskRootAttribution_finishingTaskRoot()
1989 assertAppOrTokenUsed(TEST_APP2_PKG, true, TIMEOUT); in testTaskRootAttribution_finishingTaskRoot()
1994 assertAppOrTokenUsed(TEST_APP_PKG, false, TIMEOUT); in testTaskRootAttribution_finishingTaskRoot()
1995 assertAppOrTokenUsed(TEST_APP2_PKG, false, TIMEOUT); in testTaskRootAttribution_finishingTaskRoot()
2702 private void assertAppOrTokenUsed(String entity, boolean expected, long timeout) in assertAppOrTokenUsed() method in UsageStatsTest