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()
|
D | AbstractDownloadProviderFunctionalTest.java | 171 Helpers.setSystemFacade(mSystemFacade); in setUp()
|
D | PublicApiFunctionalTest.java | 546 Helpers.setSystemFacade(mSystemFacade); in testNotificationClickedBroadcast() 563 Helpers.setSystemFacade(mSystemFacade); in testNotificationCancelDownloadClicked()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadReceiver.java | 23 import static com.android.providers.downloads.Helpers.getAsyncHandler; 24 import static com.android.providers.downloads.Helpers.getDownloadNotifier; 25 import static com.android.providers.downloads.Helpers.getInt; 26 import static com.android.providers.downloads.Helpers.getString; 27 import static com.android.providers.downloads.Helpers.getSystemFacade; 132 Helpers.scheduleJob(context, info); in handleBootCompleted()
|
D | DownloadJobService.java | 90 Helpers.scheduleJob(this, DownloadInfo.queryDownloadInfo(this, id)); in onStopJob() 106 private ContentObserver mObserver = new ContentObserver(Helpers.getAsyncHandler()) { 109 Helpers.getDownloadNotifier(DownloadJobService.this).update();
|
D | DownloadThread.java | 245 mSystemFacade = Helpers.getSystemFacade(mContext); in DownloadThread() 246 mNotifier = Helpers.getDownloadNotifier(mContext); in DownloadThread() 393 Helpers.scheduleJob(mContext, DownloadInfo.queryDownloadInfo(mContext, mId)); in run() 714 final File beforeDir = Helpers.getRunningDestinationDirectory( in finalizeDestination() 716 final File afterDir = Helpers.getSuccessDestinationDirectory( in finalizeDestination() 803 mInfoDelta.mFileName = Helpers.generateSaveFile(mContext, mInfoDelta.mUri, in parseOkHeaders()
|
D | DownloadProvider.java | 697 Helpers.scheduleJob(getContext(), rowID); in insert() 737 if (Helpers.isFilenameValidInExternalPackage(getContext(), file, getCallingPackage())) { in checkFileUriDestination() 740 } else if (Helpers.isFilenameValidInExternal(getContext(), file)) { in checkFileUriDestination() 884 Helpers.validateSelection(selection, sAppReadableColumnsSet); in query() 1064 Helpers.validateSelection(where, sAppReadableColumnsSet); in update() 1133 Helpers.scheduleJob(getContext(), cursor.getInt(0)); in update() 1193 Helpers.validateSelection(where, sAppReadableColumnsSet); in delete() 1221 if (Helpers.isFilenameValid(getContext(), file)) { in delete() 1308 if (!Helpers.isFilenameValid(getContext(), file)) { in openFile() 1318 return ParcelFileDescriptor.open(file, pfdMode, Helpers.getAsyncHandler(), in openFile()
|
D | DownloadInfo.java | 194 mSystemFacade = Helpers.getSystemFacade(context); in DownloadInfo() 270 return delay + Helpers.sRandom.nextInt((int) (delay / 2)); in fuzzDelay()
|
D | DownloadIdleService.java | 75 Helpers.getAsyncHandler().post(new IdleRunnable(params)); in onStartJob()
|
D | Helpers.java | 59 public class Helpers { class 74 private Helpers() { in Helpers() method in Helpers
|
/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()
|