Searched refs:Helpers (Results 1 – 11 of 11) sorted by relevance
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | HelpersTest.java | 44 final String actual = Helpers.generateSaveFile(getContext(), in testGenerateSaveFile() 52 final String actual1 = Helpers.generateSaveFile(getContext(), "http://example.com/file.txt", in testGenerateSaveFileDupes() 56 final String actual2 = Helpers.generateSaveFile(getContext(), "http://example.com/file.txt", in testGenerateSaveFileDupes() 65 final String actual = Helpers.generateSaveFile(getContext(), in testGenerateSaveFileNoExtension() 76 final String actual = Helpers.generateSaveFile(getContext(), "url", hint, in testGenerateSaveFileHint() 83 final String actual = Helpers.generateSaveFile(getContext(), in testGenerateSaveFileDisposition() 90 assertTrue(Helpers.isFileInExternalAndroidDirs( in testIsFileInExternalAndroidDirs() 92 assertTrue(Helpers.isFileInExternalAndroidDirs( in testIsFileInExternalAndroidDirs() 94 assertTrue(Helpers.isFileInExternalAndroidDirs( in testIsFileInExternalAndroidDirs() 96 assertTrue(Helpers.isFileInExternalAndroidDirs( in testIsFileInExternalAndroidDirs() [all …]
|
D | PublicApiFunctionalTest.java | 549 Helpers.setSystemFacade(mSystemFacade); in testNotificationClickedBroadcast() 571 Helpers.setSystemFacade(mSystemFacade); in testNotificationCancelDownloadClicked()
|
D | AbstractDownloadProviderFunctionalTest.java | 214 Helpers.setSystemFacade(mSystemFacade); in setUp()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadReceiver.java | 25 import static com.android.providers.downloads.Helpers.getAsyncHandler; 26 import static com.android.providers.downloads.Helpers.getDownloadNotifier; 27 import static com.android.providers.downloads.Helpers.getInt; 28 import static com.android.providers.downloads.Helpers.getString; 29 import static com.android.providers.downloads.Helpers.getSystemFacade; 140 Helpers.scheduleJob(context, info); in handleBootCompleted() 157 Helpers.handleRemovedUidEntries(context, cursor, idsToDelete, idsToOrphan, null); in handleUidRemoved() 166 Helpers.buildQueryWithIds(idsToOrphan), null); in handleUidRemoved() 172 Helpers.buildQueryWithIds(idsToDelete), null); in handleUidRemoved()
|
D | DownloadJobService.java | 95 Helpers.scheduleJob(this, DownloadInfo.queryDownloadInfo(this, id)); in onStopJob() 107 Helpers.scheduleJob(this, DownloadInfo.queryDownloadInfo(this, id)); in jobFinishedInternal() 117 private ContentObserver mObserver = new ContentObserver(Helpers.getAsyncHandler()) { 120 Helpers.getDownloadNotifier(DownloadJobService.this).update();
|
D | DownloadProvider.java | 634 Helpers.handleRemovedUidEntries(getContext(), cursor, in reconcileRemovedUidEntries() 648 Helpers.buildQueryWithIds(idsToOrphan), null); in reconcileRemovedUidEntries() 654 Helpers.buildQueryWithIds(idsToDelete), null); in reconcileRemovedUidEntries() 936 final String callingPackage = Helpers.getPackageForUid(getContext(), in insert() 947 Helpers.scheduleJob(getContext(), rowID); in insert() 1018 Helpers.getPackageForUid(getContext(), info.mUid)); in convertToMediaProviderValues() 1045 Helpers.getPackageForUid(getContext(), downloadValues.getAsInteger(Constants.UID))); in convertToMediaProviderValues() 1077 if (Helpers.isFileInExternalAndroidDirs(file.getAbsolutePath())) { in ensureDefaultColumns() 1080 } else if (Helpers.isFilenameValidInPublicDownloadsDir(file)) { in ensureDefaultColumns() 1125 if (Helpers.isFilenameValidInExternalPackage(getContext(), file, getCallingPackage()) in checkFileUriDestination() [all …]
|
D | DownloadThread.java | 250 mSystemFacade = Helpers.getSystemFacade(mContext); in DownloadThread() 251 mNotifier = Helpers.getDownloadNotifier(mContext); in DownloadThread() 695 final File beforeDir = Helpers.getRunningDestinationDirectory( in finalizeDestination() 697 final File afterDir = Helpers.getSuccessDestinationDirectory( in finalizeDestination() 786 mInfoDelta.mFileName = Helpers.generateSaveFile(mContext, mInfoDelta.mUri, in parseOkHeaders()
|
D | DownloadInfo.java | 199 mSystemFacade = Helpers.getSystemFacade(context); in DownloadInfo() 275 return delay + Helpers.sRandom.nextInt((int) (delay / 2)); in fuzzDelay()
|
D | Helpers.java | 72 public class Helpers { class 93 private Helpers() { in Helpers() method in Helpers
|
D | DownloadIdleService.java | 75 Helpers.getAsyncHandler().post(new IdleRunnable(params)); in onStartJob()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | EmailServiceUtils.java | 394 calendarSyncKey = SyncStateContract.Helpers.get(client, in updateAccountManagerType() 406 contactsSyncKey = SyncStateContract.Helpers.get(client, in updateAccountManagerType() 449 SyncStateContract.Helpers.set(client, in updateAccountManagerType() 466 SyncStateContract.Helpers.set(client, in updateAccountManagerType()
|