Home
last modified time | relevance | path

Searched refs:carPackageManager (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
DCarPackageManagerUtils.java38 public static boolean isDistractionOptimized(CarPackageManager carPackageManager, in isDistractionOptimized() argument
40 if (carPackageManager != null) { in isDistractionOptimized()
41 return carPackageManager.isPendingIntentDistractionOptimized(pendingIntent); in isDistractionOptimized()
49 public static boolean isDistractionOptimized(CarPackageManager carPackageManager, in isDistractionOptimized() argument
51 if (carPackageManager != null) { in isDistractionOptimized()
52 return carPackageManager.isActivityDistractionOptimized( in isDistractionOptimized()
62 public static boolean isDistractionOptimized(CarPackageManager carPackageManager, in isDistractionOptimized() argument
66 return (info != null) ? isDistractionOptimized(carPackageManager, info.activityInfo) in isDistractionOptimized()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppLauncherUtils.java176 CarPackageManager carPackageManager, in getLauncherApps() argument
180 if (launcherApps == null || carPackageManager == null || packageManager == null in getLauncherApps()
243 isActivityDistractionOptimized(carPackageManager, packageName, in getLauncherApps()
315 CarPackageManager carPackageManager, String packageName, String activityName) { in isActivityDistractionOptimized() argument
319 if (carPackageManager != null) { in isActivityDistractionOptimized()
321 carPackageManager.isActivityDistractionOptimized(packageName, activityName); in isActivityDistractionOptimized()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarPackageManagerTest.java32 CarPackageManager carPackageManager = (CarPackageManager) getCar() in testCreate() local
34 assertThat(carPackageManager).isNotNull(); in testCreate()
/packages/apps/Car/Media/src/com/android/car/media/
DErrorScreenController.java21 CarPackageManager carPackageManager, ViewGroup container) { in ErrorScreenController() argument
22 super(activity, carPackageManager, container, R.layout.fragment_error); in ErrorScreenController()
DViewControllerBase.java69 ViewControllerBase(FragmentActivity activity, CarPackageManager carPackageManager, in ViewControllerBase() argument
88 mCarPackageManager = carPackageManager; in ViewControllerBase()
DMediaActivityController.java230 CarPackageManager carPackageManager, ViewGroup container) { in MediaActivityController() argument
231 super(callbacks.getActivity(), carPackageManager, container, R.layout.fragment_browse); in MediaActivityController() local