Searched refs:mediaServices (Results 1 – 5 of 5) sorted by relevance
58 private val mediaServices: List<ResolveInfo> = listOfComponentNames.map { getResolveInfo(it) } in <lambda>() constant in com.android.car.carlauncher.datasources.MediaTemplateAppsDataSourceImplTest86 } doReturn mediaServices in <lambda>()98 mediaServices.filterIndexed { index, _ -> index != 2 && index != 3 } in <lambda>()117 } doReturn mediaServices in <lambda>()128 val expectedMediaList = mediaServices.dropLast(1) in <lambda>()
134 @NonNull Map<ComponentName, ResolveInfo> mediaServices) { in LauncherAppsInfo() argument136 mMediaServices = mediaServices; in LauncherAppsInfo()183 List<ResolveInfo> mediaServices = packageManager.queryIntentServices(mediaIntent, in getMediaSource() local186 if (mediaServices == null || mediaServices.isEmpty()) { in getMediaSource()189 String defaultService = mediaServices.get(0).serviceInfo.name; in getMediaSource()231 List<ResolveInfo> mediaServices = new ArrayList<>(); in getLauncherApps() local232 mediaServices.addAll( in getLauncherApps()240 int launchablesSize = mediaServices.size() + availableActivities.size(); in getLauncherApps()242 Map<ComponentName, ResolveInfo> mediaServicesMap = new HashMap<>(mediaServices.size()); in getLauncherApps()245 Set<ComponentName> mediaServiceComponents = mediaServices.stream() in getLauncherApps()[all …]
90 List<ResolveInfo> mediaServices = packageManager.queryIntentServices( in getRadioComponentName() local92 if (mediaServices.isEmpty()) { in getRadioComponentName()95 } else if (mediaServices.size() > 1) { in getRadioComponentName()99 return mediaServices.get(0).serviceInfo.getComponentName(); in getRadioComponentName()
126 List<ResolveInfo> mediaServices = mPackageManager.queryIntentServices( in getAvailableMediaSources() local130 for (ResolveInfo info : mediaServices) { in getAvailableMediaSources()
1476 List<ResolveInfo> mediaServices = packageManager.queryIntentServicesAsUser(mediaIntent, in getMediaService() local1479 for (ResolveInfo service : mediaServices) { in getMediaService()