Searched refs:mMockUsageStatsManagerInternal (Results 1 – 3 of 3) sorted by relevance
2131 reset(mMockUsageStatsManagerInternal); in testReportShortcutUsed()2135 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()2141 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()2145 verify(mMockUsageStatsManagerInternal, times(1)).reportShortcutUsage( in testReportShortcutUsed()2150 reset(mMockUsageStatsManagerInternal); in testReportShortcutUsed()2154 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()2160 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()2164 verify(mMockUsageStatsManagerInternal, times(1)).reportShortcutUsage( in testReportShortcutUsed()
420 verify(mMockUsageStatsManagerInternal, times(1)).reportShortcutUsage( in testPushDynamicShortcut()424 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()433 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testPushDynamicShortcut()443 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()452 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()464 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()477 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()490 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()500 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()517 Mockito.reset(mMockUsageStatsManagerInternal); in testPushDynamicShortcut()[all …]
957 protected UsageStatsManagerInternal mMockUsageStatsManagerInternal; field in BaseShortcutManagerTest1107 mMockUsageStatsManagerInternal = mock(UsageStatsManagerInternal.class); in setUp()1115 LocalServices.addService(UsageStatsManagerInternal.class, mMockUsageStatsManagerInternal); in setUp()