Lines Matching refs:id
44 int id; in addComponent() local
48 id = mNextComponentId++; in addComponent()
49 ALOGV("%s: Adding new component %d", __FUNCTION__, id); in addComponent()
51 err = mStates.add(id, IDLE); in addComponent()
53 __FUNCTION__, id, strerror(-err), err); in addComponent()
62 return err < 0 ? err : id; in addComponent()
65 void StatusTracker::removeComponent(int id) { in removeComponent() argument
69 ALOGV("%s: Removing component %d", __FUNCTION__, id); in removeComponent()
70 idx = mStates.removeItem(id); in removeComponent()
83 void StatusTracker::markComponentIdle(int id, const sp<Fence>& componentFence) { in markComponentIdle() argument
84 markComponent(id, IDLE, componentFence); in markComponentIdle()
87 void StatusTracker::markComponentActive(int id) { in markComponentActive() argument
88 markComponent(id, ACTIVE, Fence::NO_FENCE); in markComponentActive()
91 void StatusTracker::markComponent(int id, ComponentState state, in markComponent() argument
93 ALOGV("%s: Component %d is now %s", __FUNCTION__, id, in markComponent()
98 id, in markComponent()
177 ssize_t idx = mStates.indexOfKey(newState.id); in threadLoop()