Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java1872 reset(mMockUsageStatsManagerInternal); in testReportShortcutUsed()
1876 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()
1882 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()
1886 verify(mMockUsageStatsManagerInternal, times(1)).reportShortcutUsage( in testReportShortcutUsed()
1892 reset(mMockUsageStatsManagerInternal); in testReportShortcutUsed()
1896 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()
1902 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()
1906 verify(mMockUsageStatsManagerInternal, times(1)).reportShortcutUsage( in testReportShortcutUsed()
DBaseShortcutManagerTest.java584 protected UsageStatsManagerInternal mMockUsageStatsManagerInternal; field in BaseShortcutManagerTest
718 mMockUsageStatsManagerInternal = mock(UsageStatsManagerInternal.class); in setUp()
724 LocalServices.addService(UsageStatsManagerInternal.class, mMockUsageStatsManagerInternal); in setUp()