Lines Matching refs:mService
44 private AttachmentDownloadService mService;
71 mService = new AttachmentDownloadService();
72 mService.mContext = mMockContext;
73 mService.addServiceIntentForTest(mAccountId, new Intent(mContext,
76 mService.mAccountManagerStub = mAccountManagerStub;
77 mService.mConnectivityManager = new MockConnectivityManager(mContext, "mock");
78 mDownloadSet = mService.mDownloadSet;
80 new MockDirectory(mService.mContext.getCacheDir().getAbsolutePath());
149 mService.dequeue(att2.mId);
151 assertTrue(mService.isQueued(att4.mId));
152 assertTrue(mService.isQueued(att3.mId));
245 assertTrue(mService.canPrefetchForAccount(mAccount, mMockDirectory));
249 assertFalse(mService.canPrefetchForAccount(mAccount, mMockDirectory));
255 mService.mAttachmentStorageMap.remove(mAccountId);
258 assertTrue(mService.canPrefetchForAccount(mAccount, mMockDirectory));
260 mService.mAttachmentStorageMap.remove(mAccountId);
263 assertFalse(mService.canPrefetchForAccount(mAccount, mMockDirectory));
280 assertFalse(mService.canPrefetchForAccount(account, mMockDirectory));