Searched refs:assertAppOrTokenUsed (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageReportingTest.java | 82 assertAppOrTokenUsed(mFullToken0, true); in testUsageStartAndStopReporting() 85 assertAppOrTokenUsed(mFullToken0, false); in testUsageStartAndStopReporting() 89 assertAppOrTokenUsed(mFullToken0, true); in testUsageStartAndStopReporting() 92 assertAppOrTokenUsed(mFullToken0, false); in testUsageStartAndStopReporting() 105 assertAppOrTokenUsed(mFullToken0, true); in testUsagePastReporting() 108 assertAppOrTokenUsed(mFullToken0, false); in testUsagePastReporting() 121 assertAppOrTokenUsed(mFullToken0, true); in testUsageReportingMissingStop() 127 assertAppOrTokenUsed(mFullToken0, false); in testUsageReportingMissingStop() 140 assertAppOrTokenUsed(mFullToken0, true); in testExceptionOnRepeatReport() 148 assertAppOrTokenUsed(mFullToken0, true); in testExceptionOnRepeatReport() [all …]
|
D | UsageStatsTest.java | 1495 assertAppOrTokenUsed(TaskRootActivity.TEST_APP_PKG, true, TIMEOUT); in testUsageSourceAttribution() 1502 assertAppOrTokenUsed(mTargetPackage, true, TIMEOUT); in testUsageSourceAttribution() 1517 assertAppOrTokenUsed(TEST_APP_PKG, false, TIMEOUT); in testTaskRootAttribution_finishingTaskRoot() 1518 assertAppOrTokenUsed(TEST_APP2_PKG, true, TIMEOUT); in testTaskRootAttribution_finishingTaskRoot() 1523 assertAppOrTokenUsed(TEST_APP_PKG, false, TIMEOUT); in testTaskRootAttribution_finishingTaskRoot() 1524 assertAppOrTokenUsed(TEST_APP2_PKG, false, TIMEOUT); in testTaskRootAttribution_finishingTaskRoot() 1791 private void assertAppOrTokenUsed(String entity, boolean expected, long timeout) in assertAppOrTokenUsed() method in UsageStatsTest
|