Searched refs:mStringCache (Results 1 – 4 of 4) sorted by relevance
311 final int size = stats.mStringCache.size(); in writeStringPool()314 proto.write(IntervalStatsProto.StringPool.STRINGS, stats.mStringCache.valueAt(i)); in writeStringPool()323 final int packageIndex = stats.mStringCache.indexOf(usageStats.mPackageName); in writeUsageStats()416 final int packageIndex = stats.mStringCache.indexOf(event.mPackage); in writeEvent()426 final int classIndex = stats.mStringCache.indexOf(event.mClass); in writeEvent()441 final int taskRootPackageIndex = stats.mStringCache.indexOf(event.mTaskRootPackage); in writeEvent()452 final int taskRootClassIndex = stats.mStringCache.indexOf(event.mTaskRootClass); in writeEvent()480 final int channelIndex = stats.mStringCache.indexOf( in writeEvent()546 statsOut.mStringCache.addAll(stringPool); in read()
75 public final ArraySet<String> mStringCache = new ArraySet<>(); field in IntervalStats417 final int index = mStringCache.indexOf(str); in getCachedStringRef()419 mStringCache.add(str); in getCachedStringRef()422 return mStringCache.valueAt(index); in getCachedStringRef()
196 for (size_t i = 0; i < mData->mStringCache.size(); i++) { in AMediaFormat_getString()197 if (strcmp(mData->mStringCache.keyAt(i).string(), name) == 0) { in AMediaFormat_getString()198 mData->mStringCache.removeItemsAt(i, 1); in AMediaFormat_getString()206 mData->mStringCache.add(String8(name), ret); in AMediaFormat_getString()
42 android::KeyedVector<android::String8, android::String8> mStringCache; member