Home | History | Annotate | Download | only in app

Lines Matching refs:mMockContext

66     @Mock private Context mMockContext;
82 when(mMockContext.getResources()).thenReturn(mMockResources);
83 when(mMockContext.getPackageName()).thenReturn("android");
84 when(mMockContext.getUserId()).thenReturn(54321);
85 when(mMockContext.getSharedPreferences(anyString(), anyInt())).thenReturn(null);
86 when(mMockContext.getPackageManager()).thenReturn(mMockPackageManager);
113 when(mMockContext.getOpPackageName()).thenReturn(refererPackage);
114 mUsm = new UsageStatsManager(mMockContext, mMockService);
115 when(mMockContext.getSystemService(Context.USAGE_STATS_SERVICE)).thenReturn(mUsm);
116 mController = new ResolverListController(mMockContext, mMockPackageManager, sendIntent,