Home
last modified time | relevance | path

Searched refs:launcherActivities (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/
DDockViewModelTest.kt380 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>() constant
420 model = createSpyDockViewModel(launcherActivities = launcherActivities.toMutableSet()) in <lambda>()
427 assertThat(launcherActivities.contains(dockList[2].component)).isTrue() in <lambda>()
432 val launcherActivities = createTestComponentList( in <lambda>() constant
436 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 …]
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appcompat/
DUserAspectRatioAppPreferenceTest.kt85 private lateinit var launcherActivities: List<LauncherActivityInfo> variable in com.android.settings.spa.app.appcompat.UserAspectRatioAppPreferenceTest
98 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()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/repositories/
DAppGridRepository.kt104 private val launcherActivities: LauncherActivitiesDataSource, constant in com.android.car.carlauncher.repositories.AppGridRepositoryImpl
185 return launcherActivities.getOnPackagesChanged().map { in getMediaAppsList()
193 return launcherActivities.getOnPackagesChanged().map { in getAllLauncherAndMediaApps()
194 val launcherApps = launcherActivities.getAllLauncherActivities().map { in getAllLauncherAndMediaApps()
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/
DDockViewController.kt93 val launcherActivities = launcherApps in <lambda>() constant
102 launcherActivities = launcherActivities, in <lambda>()
DDockViewModel.kt55 private var launcherActivities: MutableSet<ComponentName>, in <lambda>() variable in com.android.car.docklib.DockViewModel
200 launcherActivities.removeAll { it.packageName == packageName } in <lambda>()
214 launcherActivities.addAll(components) in <lambda>()
303 for (component in launcherActivities.shuffled()) { in <lambda>()
/packages/apps/Car/Launcher/libs/appgrid/lib/robotests/src/com/android/car/carlauncher/datasources/
DLauncherActivitiesDataSourceImplTest.kt52 private val launcherActivities: List<LauncherActivityInfo> = listOf(mock(), mock()) in <lambda>() constant in com.android.car.carlauncher.datasources.LauncherActivitiesDataSourceImplTest
61 on { getActivityList(null, myUserHandle) } doReturn launcherActivities in <lambda>()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/CtsProvider/src/com/android/ctssdkprovider/
DCtsSdkProviderApiImpl.java392 List<ResolveInfo> launcherActivities = in getLauncherActivityCount() local
395 return launcherActivities.size(); in getLauncherActivityCount()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppGridActivity.java316 LauncherActivitiesDataSource launcherActivities = new LauncherActivitiesDataSourceImpl( in initViewModel() local
380 AppGridRepository repo = new AppGridRepositoryImpl(launcherActivities, mediaTemplateApps, in initViewModel()