Searched refs:mMockUsageStatsManagerInternal (Results 1 – 3 of 3) sorted by relevance
2180 reset(mMockUsageStatsManagerInternal); in testReportShortcutUsed()2184 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()2190 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()2194 verify(mMockUsageStatsManagerInternal, times(1)).reportShortcutUsage( in testReportShortcutUsed()2199 reset(mMockUsageStatsManagerInternal); in testReportShortcutUsed()2203 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()2209 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()2213 verify(mMockUsageStatsManagerInternal, times(1)).reportShortcutUsage( in testReportShortcutUsed()
425 verify(mMockUsageStatsManagerInternal, times(1)).reportShortcutUsage( in testPushDynamicShortcut()429 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()438 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testPushDynamicShortcut()448 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()457 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()469 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()482 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()495 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()505 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()522 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()[all …]
705 protected UsageStatsManagerInternal mMockUsageStatsManagerInternal; field in BaseShortcutManagerTest858 mMockUsageStatsManagerInternal = mock(UsageStatsManagerInternal.class); in setUp()866 LocalServices.addService(UsageStatsManagerInternal.class, mMockUsageStatsManagerInternal); in setUp()