Lines Matching refs:RUNNING
43 assertFalse(service.running);
46 assertEquals(Service.State.RUNNING, service.state());
48 assertTrue(service.running);
53 assertFalse(service.running);
60 assertEquals(Service.State.RUNNING, service.state());
71 assertEquals(Service.State.RUNNING, service.state());
83 assertEquals(Service.State.RUNNING, service.state());
95 assertEquals(Service.State.RUNNING, service.state());
109 assertEquals(Service.State.RUNNING, service.state());
121 boolean running = false;
124 assertFalse(running);
125 running = true;
130 assertTrue(running);
131 running = false;
145 assertEquals(Service.State.RUNNING, service.state());
187 assertEquals(Service.State.RUNNING, service.state());
220 assertEquals(Service.State.RUNNING, service.state());
235 assertEquals(Service.State.RUNNING, service.state());
252 assertEquals(Service.State.RUNNING, service.state());
271 assertEquals(Service.State.RUNNING, service.state());
287 * confirming that it is running. Meanwhile, the service itself is trying
288 * to confirm that it is running. If the main thread's stop() call happens
291 * its own "running" check.
305 assertEquals(State.RUNNING, state());