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()324 final int packageIndex = stats.mStringCache.indexOf(usageStats.mPackageName); in writeUsageStats()419 final int packageIndex = stats.mStringCache.indexOf(event.mPackage); in writeEvent()427 final int classIndex = stats.mStringCache.indexOf(event.mClass); in writeEvent()441 final int taskRootPackageIndex = stats.mStringCache.indexOf(event.mTaskRootPackage); in writeEvent()448 final int taskRootClassIndex = stats.mStringCache.indexOf(event.mTaskRootClass); in writeEvent()472 final int channelIndex = stats.mStringCache.indexOf( in writeEvent()486 final int locusIdIndex = stats.mStringCache.indexOf(event.mLocusId); in writeEvent()543 statsOut.mStringCache.addAll(stringPool); in read()
84 public final ArraySet<String> mStringCache = new ArraySet<>(); field in IntervalStats431 final int index = mStringCache.indexOf(str); in getCachedStringRef()433 mStringCache.add(str); in getCachedStringRef()436 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