Home | History | Annotate | Download | only in device3

Lines Matching defs:id

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