Home
last modified time | relevance | path

Searched refs:mLookupTable (Results 1 – 7 of 7) sorted by relevance

/aosp12/system/hardware/interfaces/suspend/1.0/default/
H A DWakeupList.cpp46 auto it = mLookupTable.find(key); in update()
47 if (it == mLookupTable.end()) { in update()
76 mLookupTable.insert_or_assign(entry.name, mWakeups.begin()); in insert()
80 mLookupTable.erase(entry->name); in erase()
H A DWakeLockEntryList.cpp133 mLookupTable.erase(evictKey); in evictIfFull()
146 mLookupTable[key] = mStats.begin(); in insertEntry()
154 mLookupTable.erase(key); in deleteEntry()
308 auto it = mLookupTable.find(key); in updateOnAcquire()
309 if (it == mLookupTable.end()) { in updateOnAcquire()
332 auto it = mLookupTable.find(key); in updateOnRelease()
333 if (it == mLookupTable.end()) { in updateOnRelease()
H A DWakeupList.h50 std::unordered_map<std::string, std::list<WakeupInfo>::iterator> mLookupTable GUARDED_BY(mLock);
H A DWakeLockEntryList.h82 mLookupTable GUARDED_BY(mStatsLock);
/aosp12/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp7000 memset(mLookupTable, 0, sizeof(mLookupTable)); in DynamicRefTable()
7003 mLookupTable[APP_PACKAGE_ID] = APP_PACKAGE_ID; in DynamicRefTable()
7004 mLookupTable[SYS_PACKAGE_ID] = SYS_PACKAGE_ID; in DynamicRefTable()
7057 if (mLookupTable[i] != other.mLookupTable[i]) { in addMappings()
7058 if (mLookupTable[i] == 0) { in addMappings()
7059 mLookupTable[i] = other.mLookupTable[i]; in addMappings()
7060 } else if (other.mLookupTable[i] != 0) { in addMappings()
7074 mLookupTable[mEntries.valueAt(index)] = packageId; in addMapping()
7079 mLookupTable[buildPackageId] = runtimePackageId; in addMapping()
7119 uint8_t translatedId = mLookupTable[packageId]; in lookupResourceId()
[all …]
H A DAssetManager2.cpp268 if (package_group.dynamic_ref_table->mLookupTable[i] != 0) { in DumpToLog()
270 package_group.dynamic_ref_table->mLookupTable[i]); in DumpToLog()
/aosp12/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h1795 uint8_t mLookupTable[256]; variable