Home
last modified time | relevance | path

Searched refs:mStringCache (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsProto.java311 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()
DIntervalStats.java75 public final ArraySet<String> mStringCache = new ArraySet<>(); field in IntervalStats
417 final int index = mStringCache.indexOf(str); in getCachedStringRef()
419 mStringCache.add(str); in getCachedStringRef()
422 return mStringCache.valueAt(index); in getCachedStringRef()
/frameworks/av/media/ndk/
DNdkMediaFormat.cpp196 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()
/frameworks/av/include/media/
DNdkMediaFormatPriv.h42 android::KeyedVector<android::String8, android::String8> mStringCache; member