MCPcopy Create free account
hub / github.com/LeongAndroid/Launcher3 / cacheLocked

Method cacheLocked

src/com/android/launcher3/IconCache.java:505–560  ·  view source on GitHub ↗

Retrieves the entry from the cache. If the entry is not present, it creates a new entry. This method is not thread safe, it must be called from a synchronized method.

(
            @NonNull ComponentName componentName,
            @NonNull Provider<LauncherActivityInfo> infoProvider,
            UserHandle user, boolean usePackageIcon, boolean useLowResIcon)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

updateTitleAndIconMethod · 0.95
getTitleAndIconMethod · 0.95

Calls 15

assertWorkerThreadMethod · 0.95
getEntryFromDBMethod · 0.95
getFullResIconMethod · 0.95
getDefaultIconMethod · 0.95
getPackageNameMethod · 0.80
dMethod · 0.80
getLabelMethod · 0.65
getMethod · 0.45
putMethod · 0.45
getUserMethod · 0.45

Tested by

no test coverage detected