Searched refs:appEntry (Results 1 – 5 of 5) sorted by relevance
228 if (appEntry == null || appEntry.info == null) { in getIcon()234 final int uid = appEntry.info.uid; in getIcon()238 if (appEntry.apkFile != null && appEntry.apkFile.exists()) { in getIcon()246 } else if (!appEntry.mounted && appEntry.apkFile != null && appEntry.apkFile.exists()) { in getIcon()263 return appEntry == null || appEntry.info == null ? null in getIconFromCache()265 appEntry.info.packageName, in getIconFromCache()266 appEntry.info.uid); in getIconFromCache()297 if (appEntry == null || appEntry.info == null) { in isAppInstalled()304 if (appEntry.mounted != mounted) { in setAppEntryMounted()305 synchronized (appEntry) { in setAppEntryMounted()[all …]
724 for (AppEntry appEntry : userMap.values()) { in removeUser()725 mAppEntries.remove(appEntry); in removeUser()726 mApplications.remove(appEntry.info); in removeUser()
139 final ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class); in isAppInstalled_hasAppEntryWithInstalledFlag_shouldReturnTrue() local140 appEntry.info = new ApplicationInfo(); in isAppInstalled_hasAppEntryWithInstalledFlag_shouldReturnTrue()141 appEntry.info.flags = ApplicationInfo.FLAG_INSTALLED; in isAppInstalled_hasAppEntryWithInstalledFlag_shouldReturnTrue()143 assertThat(AppUtils.isAppInstalled(appEntry)).isTrue(); in isAppInstalled_hasAppEntryWithInstalledFlag_shouldReturnTrue()148 final ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class); in isAppInstalled_hasAppEntryWithoutInstalledFlag_shouldReturnFalse() local149 appEntry.info = new ApplicationInfo(); in isAppInstalled_hasAppEntryWithoutInstalledFlag_shouldReturnFalse()151 assertThat(AppUtils.isAppInstalled(appEntry)).isFalse(); in isAppInstalled_hasAppEntryWithoutInstalledFlag_shouldReturnFalse()156 appEntry.label = "label"; in createAppEntry()157 appEntry.mounted = true; in createAppEntry()163 field.set(appEntry, apkFile); in createAppEntry()[all …]
255 appEntry.label = "label"; in createAppEntry()256 appEntry.mounted = true; in createAppEntry()257 return appEntry; in createAppEntry()267 mApplicationsState.mAppEntries.add(appEntry); in addApp()281 for (AppEntry appEntry : appEntries) { in findAppEntry()282 if (appEntry.id == id) { in findAppEntry()283 return appEntry; in findAppEntry()302 for (AppEntry appEntry : appEntries) { in testDefaultSession_isResumed_LoadsAll()304 assertThat(appEntry.icon).isNotNull(); in testDefaultSession_isResumed_LoadsAll()735 for (AppEntry appEntry : appEntries) { in testDefaultSession_enabledAppIconCache_shouldSkipPreloadIcon()[all …]
152 val appEntry = list[it] regex153 val summary = getSummary(option, appEntry.record) ?: "".toState()154 remember(appEntry) {155 AppListItemModel(appEntry.record, appEntry.label, summary)