Home
last modified time | relevance | path

Searched refs:mediaServices (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Launcher/libs/appgrid/lib/robotests/src/com/android/car/carlauncher/datasources/
DMediaTemplateAppsDataSourceImplTest.kt58 private val mediaServices: List<ResolveInfo> = listOfComponentNames.map { getResolveInfo(it) } in <lambda>() constant in com.android.car.carlauncher.datasources.MediaTemplateAppsDataSourceImplTest
86 } 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>()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppLauncherUtils.java134 @NonNull Map<ComponentName, ResolveInfo> mediaServices) { in LauncherAppsInfo() argument
136 mMediaServices = mediaServices; in LauncherAppsInfo()
183 List<ResolveInfo> mediaServices = packageManager.queryIntentServices(mediaIntent, in getMediaSource() local
186 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() local
232 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 …]
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/actuators/
DRadioActuator.java90 List<ResolveInfo> mediaServices = packageManager.queryIntentServices( in getRadioComponentName() local
92 if (mediaServices.isEmpty()) { in getRadioComponentName()
95 } else if (mediaServices.size() > 1) { in getRadioComponentName()
99 return mediaServices.get(0).serviceInfo.getComponentName(); in getRadioComponentName()
DMediaActuator.java126 List<ResolveInfo> mediaServices = mPackageManager.queryIntentServices( in getAvailableMediaSources() local
130 for (ResolveInfo info : mediaServices) { in getAvailableMediaSources()
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java1476 List<ResolveInfo> mediaServices = packageManager.queryIntentServicesAsUser(mediaIntent, in getMediaService() local
1479 for (ResolveInfo service : mediaServices) { in getMediaService()