Home
last modified time | relevance | path

Searched refs:scheduler (Results 1 – 21 of 21) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsTaskSchedulerTest.java49 final MyContactsTaskScheduler scheduler = new MyContactsTaskScheduler(3); in testSimple() local
51 scheduler.scheduleTask(1); in testSimple()
52 scheduler.scheduleTask(10); in testSimple()
53 scheduler.scheduleTask(2, "arg"); in testSimple()
55 assertTrue(scheduler.latch.await(10, TimeUnit.SECONDS)); in testSimple()
57 assertEquals(Arrays.asList("1,null", "10,null", "2,arg"), scheduler.executed); in testSimple()
60 assertEquals(1, scheduler.getThreadSequenceNumber()); in testSimple()
64 final MyContactsTaskScheduler scheduler = new MyContactsTaskScheduler(7); in testAutoShutdown() local
66 scheduler.scheduleTask(1); in testAutoShutdown()
69 assertTrue(scheduler.isRunningForTest()); in testAutoShutdown()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DDvrStartRecordingReceiver.java33 RecordingScheduler scheduler = TvSingletons.getSingletons(context).getRecordingScheduler(); in onReceive() local
34 if (scheduler != null) { in onReceive()
35 scheduler.updateAndStartServiceIfNeeded(); in onReceive()
/packages/providers/MediaProvider/src/com/android/providers/media/
DIdleService.java58 final JobScheduler scheduler = context.getSystemService(JobScheduler.class); in scheduleIdlePass() local
59 if (scheduler.getPendingJob(IDLE_JOB_ID) == null) { in scheduleIdlePass()
66 scheduler.schedule(job); in scheduleIdlePass()
/packages/apps/TV/src/com/android/tv/receiver/
DBootCompletedReceiver.java88 RecordingScheduler scheduler = TvSingletons.getSingletons(context).getRecordingScheduler(); in onReceive() local
89 if (scheduler != null) { in onReceive()
90 scheduler.updateAndStartServiceIfNeeded(); in onReceive()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionService.java90 JobScheduler scheduler = context.getSystemService(JobScheduler.class); in scheduleNewVoicemailTranscriptionJob() local
92 return scheduler.enqueue(builder.build(), workItem) == JobScheduler.RESULT_SUCCESS; in scheduleNewVoicemailTranscriptionJob()
124 JobScheduler scheduler = context.getSystemService(JobScheduler.class); in cancelTranscriptions() local
125 scheduler.cancel(ScheduledJobIds.VVM_TRANSCRIPTION_JOB); in cancelTranscriptions()
DTranscriptionRatingService.java48 JobScheduler scheduler = context.getSystemService(JobScheduler.class); in scheduleTask() local
49 return scheduler.enqueue(builder.build(), makeWorkItem(request)) in scheduleTask()
DTranscriptionBackfillService.java50 JobScheduler scheduler = context.getSystemService(JobScheduler.class); in scheduleTask() local
51 return scheduler.enqueue(builder.build(), makeWorkItem(account)) in scheduleTask()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadIdleService.java87 final JobScheduler scheduler = context.getSystemService(JobScheduler.class); in scheduleIdlePass() local
88 if (scheduler.getPendingJob(IDLE_JOB_ID) == null) { in scheduleIdlePass()
95 scheduler.schedule(job); in scheduleIdlePass()
DMediaScanTriggerJob.java114 final JobScheduler scheduler = context.getSystemService(JobScheduler.class); in schedule() local
120 scheduler.schedule(job); in schedule()
DHelpers.java153 final JobScheduler scheduler = context.getSystemService(JobScheduler.class); in scheduleJob()
157 scheduler.cancel(jobId); in scheduleJob()
208 scheduler.scheduleAsPackage(builder.build(), packageName, UserHandle.myUserId(), TAG); in scheduleJob()
DDownloadProvider.java1709 final JobScheduler scheduler = context.getSystemService(JobScheduler.class); in delete() local
1725 scheduler.cancel((int) info.mId); in delete()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java297 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
303 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser() argument
324 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
332 Handler scheduler, int initialCode, String initialData, Bundle initialExtras) { in sendOrderedBroadcastAsUser() argument
338 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcastAsUser() argument
/packages/services/Telephony/tests/src/com/android/
DTestContext.java84 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
90 String broadcastPermission, Handler scheduler, int flags) { in registerReceiver() argument
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/
DMissingHashCodeGeneratorJobService.java60 … JobScheduler scheduler = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule() local
67 scheduler.schedule(newJob); in schedule()
/packages/apps/Contacts/tests/src/com/android/contacts/
DDynamicShortcutsTests.java69 final JobScheduler scheduler = (JobScheduler) getContext() in tearDown() local
71 scheduler.cancel(ContactsJobService.DYNAMIC_SHORTCUTS_JOB_ID); in tearDown()
/packages/apps/Contacts/src/com/android/contacts/
DDynamicShortcuts.java542 final JobScheduler scheduler = (JobScheduler) context in isJobScheduled() local
544 return scheduler.getPendingJob(ContactsJobService.DYNAMIC_SHORTCUTS_JOB_ID) != null; in isJobScheduled()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationDetailsFragmentTest.java628 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothProfileDeviceManagerTest.java148 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser() argument
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...