Lines Matching refs:it
64 Vector<SubscriberInfo>::iterator it; in requestExit() local
65 for (it = mSubscribers.begin(); it != mSubscribers.end(); ++it) { in requestExit()
66 if (inotify_rm_watch(mInotifyFd, it->WatchID) == -1) { in requestExit()
70 __FUNCTION__, it->CameraID, strerror(errno), errno); in requestExit()
74 ALOGV("%s: Removed watch for camID '%d'", __FUNCTION__, it->CameraID); in requestExit()
110 Vector<int>::const_iterator it, end; in readyToRun() local
111 it = mSubscribedCameraIds.begin(); in readyToRun()
113 for (; it != end; ++it) { in readyToRun()
114 int cameraId = *it; in readyToRun()
234 Vector<int>::const_iterator it, end; in getCameraId() local
235 it = mSubscribedCameraIds.begin(); in getCameraId()
237 for (; it != end; ++it) { in getCameraId()
238 String8 camPath = getFilePath(*it); in getCameraId()
241 return *it; in getCameraId()
300 Vector<SubscriberInfo>::iterator it; in removeWatch() local
301 for (it = mSubscribers.begin(); it != mSubscribers.end(); ++it) { in removeWatch()
302 if (it->CameraID == cameraId) { in removeWatch()
307 if (it != mSubscribers.end()) { in removeWatch()
308 mSubscribers.erase(it); in removeWatch()