Searched refs:launcherActivities (Results 1 – 8 of 8) sorted by relevance
380 model = createSpyDockViewModel(launcherActivities = mutableSetOf()) in <lambda>()392 launcherActivities = cmpList.toMutableSet(), in <lambda>()405 model = createSpyDockViewModel(launcherActivities = mutableSetOf(launcherAppComponent)) in <lambda>()416 val launcherActivities = createTestComponentList( in <lambda>() constant420 model = createSpyDockViewModel(launcherActivities = launcherActivities.toMutableSet()) in <lambda>()427 assertThat(launcherActivities.contains(dockList[2].component)).isTrue() in <lambda>()432 val launcherActivities = createTestComponentList( in <lambda>() constant436 model = createSpyDockViewModel(launcherActivities = launcherActivities.toMutableSet()) in <lambda>()444 assertThat(launcherActivities.contains(dockList[2].component)).isTrue() in <lambda>()449 val launcherActivities = createTestComponentList( in <lambda>() constant[all …]
85 private lateinit var launcherActivities: List<LauncherActivityInfo> variable in com.android.settings.spa.app.appcompat.UserAspectRatioAppPreferenceTest98 whenever(launcherApps.getActivityList(anyString(), any())).thenReturn(launcherActivities) in setUp()122 whenever(launcherActivities.isEmpty()).thenReturn(true) in whenCannotDisplayAspectRatioUi_notDisplayed()132 whenever(launcherActivities.isEmpty()).thenReturn(false) in whenCanDisplayAspectRatioUiAndConfigFalse_notDisplayed()143 whenever(launcherActivities.isEmpty()).thenReturn(true) in whenCannotDisplayAspectRatioUiAndConfigTrue_notDisplayed()153 whenever(launcherActivities.isEmpty()).thenReturn(false) in whenCanDisplayAspectRatioUiAndConfigTrue_Displayed()167 whenever(launcherActivities.isEmpty()).thenReturn(false) in onClick_startActivity()
104 private val launcherActivities: LauncherActivitiesDataSource, constant in com.android.car.carlauncher.repositories.AppGridRepositoryImpl185 return launcherActivities.getOnPackagesChanged().map { in getMediaAppsList()193 return launcherActivities.getOnPackagesChanged().map { in getAllLauncherAndMediaApps()194 val launcherApps = launcherActivities.getAllLauncherActivities().map { in getAllLauncherAndMediaApps()
93 val launcherActivities = launcherApps in <lambda>() constant102 launcherActivities = launcherActivities, in <lambda>()
55 private var launcherActivities: MutableSet<ComponentName>, in <lambda>() variable in com.android.car.docklib.DockViewModel200 launcherActivities.removeAll { it.packageName == packageName } in <lambda>()214 launcherActivities.addAll(components) in <lambda>()303 for (component in launcherActivities.shuffled()) { in <lambda>()
52 private val launcherActivities: List<LauncherActivityInfo> = listOf(mock(), mock()) in <lambda>() constant in com.android.car.carlauncher.datasources.LauncherActivitiesDataSourceImplTest61 on { getActivityList(null, myUserHandle) } doReturn launcherActivities in <lambda>()
392 List<ResolveInfo> launcherActivities = in getLauncherActivityCount() local395 return launcherActivities.size(); in getLauncherActivityCount()
316 LauncherActivitiesDataSource launcherActivities = new LauncherActivitiesDataSourceImpl( in initViewModel() local380 AppGridRepository repo = new AppGridRepositoryImpl(launcherActivities, mediaTemplateApps, in initViewModel()