Home | History | Annotate | Download | only in utils

Lines Matching full:container

61                    or stopped, the obj is removed from the container. Since it
65 LocTimerContainer - core of the timer service. It is a container (derived from
95 // Container of timers
97 // Container of alarms
122 // add a timer / alarm obj into the container
124 // remove a timer / alarm obj from the container
138 // having 1 fd per container of timer / alarm is such that, we may not need
154 // add a container of timers. Each contain has a unique device fd, i.e.
156 // that container would have written to the device fd with the soonest
158 // this method does is to add the fd of the input container to the poll
159 // and also add the pointer of the container to the event data ptr, such
162 // remove a fd that is assciated with a container. The expectation is that
163 // the atual timer would have been removed from the container.
173 // the container (of LocHeap), it gets placed in sorted order.
208 // A container for swTimer (timer) is created, when wakeOnExpire is true; or
237 LocTimerContainer*& container = wakeOnExpire ? mHwTimers : mSwTimers;
239 if (!container) {
242 if (!container) {
243 container = new LocTimerContainer(wakeOnExpire);
245 if (-1 == container->getTimerFd()) {
246 delete container;
247 container = NULL;
252 return container;
315 inline MsgTimerPush(LocTimerContainer& container, LocTimerDelegate& timer) :
316 LocMsg(), mTimerContainer(&container), mTimer(&timer) {}
332 inline MsgTimerRemove(LocTimerContainer& container, LocTimerDelegate& timer) :
333 LocMsg(), mTimerContainer(&container), mTimer(&timer) {}
358 inline MsgTimerExpire(LocTimerContainer& container) :
359 LocMsg(), mTimerContainer(&container) {}
400 // creates a thread, the container will make sure that there will be only
432 // timer container this is how we know which container should handle
458 // each fd has a context pointer associated with the right timer container
459 LocTimerContainer* container = (LocTimerContainer*)(ev[i].data.ptr);
460 if (container) {
461 container->expire();
480 // adding the timer into the container
492 LocTimerContainer* container = mContainer;
494 if (container) {
495 container->remove(*this);