void RemoteCallbackList::finishBroadcast() {
    Mutex::Autolock _l(_mutex);

	DefaultKeyedVector< wp<IBinder>, sp<RemoteCallback> >* pActiveCBs =_activeCBsList.valueFor(pthread_self());
	if(pActiveCBs == NULL) {
        ALOGW("%s called outside of a broadcast",__FUNCTION__);
        return;
	}

	pActiveCBs->clear();
	_activeCBsList.removeItem(pthread_self());

	delete pActiveCBs;
	pActiveCBs = NULL;
}
void MCameraClient::clearStat() {
    Mutex::Autolock _l(mLock);
    mNotifyCount.clear();
    mDataCount.clear();
    mDataSize.clear();
}