Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java1935 reset(mMockUsageStatsManagerInternal); in testReportShortcutUsed()
1939 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()
1945 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()
1949 verify(mMockUsageStatsManagerInternal, times(1)).reportShortcutUsage( in testReportShortcutUsed()
1955 reset(mMockUsageStatsManagerInternal); in testReportShortcutUsed()
1959 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()
1965 verify(mMockUsageStatsManagerInternal, times(0)).reportShortcutUsage( in testReportShortcutUsed()
1969 verify(mMockUsageStatsManagerInternal, times(1)).reportShortcutUsage( in testReportShortcutUsed()
DBaseShortcutManagerTest.java618 protected UsageStatsManagerInternal mMockUsageStatsManagerInternal; field in BaseShortcutManagerTest
759 mMockUsageStatsManagerInternal = mock(UsageStatsManagerInternal.class); in setUp()
766 LocalServices.addService(UsageStatsManagerInternal.class, mMockUsageStatsManagerInternal); in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java133 return mMockUsageStatsManagerInternal; in injectUsageStatsManagerInternal()
179 private UsageStatsManagerInternal mMockUsageStatsManagerInternal; field in AppStateTrackerTest
275 verify(mMockUsageStatsManagerInternal).addAppIdleStateChangeListener( in callStart()