Searched refs:mNumListenersByResource (Results 1 – 1 of 1) sorted by relevance
1038 private final SparseIntArray mNumListenersByResource; field in CarWatchdogManager.IResourceOveruseListenerImpl1044 mNumListenersByResource = new SparseIntArray(); in IResourceOveruseListenerImpl()1057 return mNumListenersByResource.size() != 0; in hasListeners()1068 int value = mNumListenersByResource.get(flag, 0); in maybeAppendFlag()1070 mNumListenersByResource.put(flag, value); in maybeAppendFlag()1083 int value = mNumListenersByResource.get(flag, 0); in maybeRemoveFlag()1089 mNumListenersByResource.delete(flag); in maybeRemoveFlag()1091 mNumListenersByResource.put(flag, value); in maybeRemoveFlag()1101 for (int i = 0; i < mNumListenersByResource.size(); ++i) { in resourceOveruseFlag()1102 flag |= mNumListenersByResource.valueAt(i) > 0 ? mNumListenersByResource.keyAt( in resourceOveruseFlag()