Home
last modified time | relevance | path

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

/frameworks/ex/common/tests/src/com/android/common/
DOperationSchedulerTest.java46 TimeTravelScheduler scheduler = new TimeTravelScheduler(); in testScheduler() local
48 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler()
49 assertEquals(0, scheduler.getLastSuccessTimeMillis()); in testScheduler()
50 assertEquals(0, scheduler.getLastAttemptTimeMillis()); in testScheduler()
52 long beforeTrigger = scheduler.timeMillis; in testScheduler()
53 scheduler.setTriggerTimeMillis(beforeTrigger + 1000000); in testScheduler()
54 assertEquals(beforeTrigger + 1000000, scheduler.getNextTimeMillis(options)); in testScheduler()
57 scheduler.setMoratoriumTimeMillis(beforeTrigger + 500000); in testScheduler()
58 assertEquals(beforeTrigger + 1000000, scheduler.getNextTimeMillis(options)); in testScheduler()
59 scheduler.setMoratoriumTimeMillis(beforeTrigger + 1500000); in testScheduler()
[all …]
/frameworks/base/core/java/android/app/
DContextImpl.java124 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
999 Handler scheduler, int initialCode, String initialData, in sendOrderedBroadcast() argument
1004 if (scheduler == null) { in sendOrderedBroadcast()
1005 scheduler = mMainThread.getHandler(); in sendOrderedBroadcast()
1008 resultReceiver, getOuterContext(), scheduler, in sendOrderedBroadcast()
1011 if (scheduler == null) { in sendOrderedBroadcast()
1012 scheduler = mMainThread.getHandler(); in sendOrderedBroadcast()
1015 … resultReceiver, getOuterContext(), scheduler, null, false).getIIntentReceiver(); in sendOrderedBroadcast()
1045 Handler scheduler, int initialCode, String initialData, in sendStickyOrderedBroadcast() argument
1050 if (scheduler == null) { in sendStickyOrderedBroadcast()
[all …]
/frameworks/base/core/java/android/content/
DContextWrapper.java335 Handler scheduler, int initialCode, String initialData, in sendOrderedBroadcast() argument
338 resultReceiver, scheduler, initialCode, in sendOrderedBroadcast()
350 Handler scheduler, int initialCode, String initialData, in sendStickyOrderedBroadcast() argument
353 resultReceiver, scheduler, initialCode, in sendStickyOrderedBroadcast()
371 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
373 scheduler); in registerReceiver()
DContext.java1094 Handler scheduler, int initialCode, String initialData, in sendOrderedBroadcast() argument
1160 Handler scheduler, int initialCode, String initialData, in sendStickyOrderedBroadcast() argument
1263 Handler scheduler); in registerReceiver() argument
/frameworks/base/media/mca/effect/java/android/media/effect/
DFilterGraphEffect.java62 Class scheduler) { in FilterGraphEffect() argument
67 mSchedulerClass = scheduler; in FilterGraphEffect()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java306 … BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendOrderedBroadcast() argument
318 … BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendStickyOrderedBroadcast() argument
335 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/
DBroadcastInterceptingContext.java105 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
/frameworks/base/core/jni/
Dandroid_util_Process.cpp248 int scheduler = sched_getscheduler(t_pid); in android_os_Process_setProcessGroup() local
249 if ((scheduler == SCHED_FIFO) || (scheduler == SCHED_RR)) { in android_os_Process_setProcessGroup()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1195 … BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendStickyOrderedBroadcast() argument