Home
last modified time | relevance | path

Searched refs:appEntries (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java265 private AppEntry findAppEntry(List<AppEntry> appEntries, long id) { in findAppEntry() argument
266 for (AppEntry appEntry : appEntries) { in findAppEntry()
284 List<AppEntry> appEntries = mAppEntriesCaptor.getValue(); in testDefaultSession_isResumed_LoadsAll() local
285 assertThat(appEntries.size()).isEqualTo(2); in testDefaultSession_isResumed_LoadsAll()
287 for (AppEntry appEntry : appEntries) { in testDefaultSession_isResumed_LoadsAll()
292 AppEntry homeEntry = findAppEntry(appEntries, 1); in testDefaultSession_isResumed_LoadsAll()
296 AppEntry launchableEntry = findAppEntry(appEntries, 2); in testDefaultSession_isResumed_LoadsAll()
324 List<AppEntry> appEntries = mAppEntriesCaptor.getValue(); in testCustomSessionLoadsIconsOnly() local
325 assertThat(appEntries.size()).isEqualTo(1); in testCustomSessionLoadsIconsOnly()
327 AppEntry launchableEntry = findAppEntry(appEntries, 1); in testCustomSessionLoadsIconsOnly()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DAppUtils.java276 ArrayList<ApplicationsState.AppEntry> appEntries, int number) { in preloadTopIcons() argument
277 if (appEntries == null || appEntries.isEmpty() || number <= 0) { in preloadTopIcons()
281 for (int i = 0; i < Math.min(appEntries.size(), number); i++) { in preloadTopIcons()
282 final ApplicationsState.AppEntry entry = appEntries.get(i); in preloadTopIcons()