Home
last modified time | relevance | path

Searched refs:isActivityDistractionOptimized (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPackageManagerTest.java102 assertTrue(mCarPm.isActivityDistractionOptimized(carServicePackageName, activityAllowed)); in testSettingWhitelist()
103 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, in testSettingWhitelist()
113 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, activityAllowed)); in testSettingWhitelist()
114 assertTrue(mCarPm.isActivityDistractionOptimized(carServicePackageName, acticityAllowed2)); in testSettingWhitelist()
115 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, in testSettingWhitelist()
126 assertTrue(mCarPm.isActivityDistractionOptimized(carServicePackageName, activityAllowed)); in testSettingWhitelist()
127 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, acticityAllowed2)); in testSettingWhitelist()
128 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, in testSettingWhitelist()
139 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, activityAllowed)); in testSettingWhitelist()
140 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, acticityAllowed2)); in testSettingWhitelist()
[all …]
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppLauncherUtils.java239 isActivityDistractionOptimized(carPackageManager, packageName, in getLauncherApps()
310 static boolean isActivityDistractionOptimized( in isActivityDistractionOptimized() method in AppLauncherUtils
317 carPackageManager.isActivityDistractionOptimized(packageName, activityName); in isActivityDistractionOptimized()
/packages/services/Car/car-lib/src/android/car/content/pm/
DCarPackageManager.java184 public boolean isActivityDistractionOptimized(String packageName, String className) { in isActivityDistractionOptimized() method in CarPackageManager
186 return mService.isActivityDistractionOptimized(packageName, className); in isActivityDistractionOptimized()
DICarPackageManager.aidl26 boolean isActivityDistractionOptimized(in String packageName, in String className) = 1; in isActivityDistractionOptimized() method
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java273 public boolean isActivityDistractionOptimized(String packageName, String className) { in isActivityDistractionOptimized() method in CarPackageManagerService
294 return isActivityDistractionOptimized(activityInfo.packageName, activityInfo.name); in isPendingIntentDistractionOptimized()
334 return isActivityDistractionOptimized(activityBehind.getPackageName(), in isActivityBackedBySafeActivity()
1059 boolean allowed = isActivityDistractionOptimized( in doBlockTopActivityIfNotAllowed()
1097 isRootDO = isActivityDistractionOptimized( in doBlockTopActivityIfNotAllowed()
DActivityBlockingActivity.java303 boolean isDo = mCarPackageManager.isActivityDistractionOptimized( in isTopActivityBehindAbaDistractionOptimized()
/packages/services/Car/car-lib/api/
Dlint-baseline.txt116 MissingNullability: android.car.content.pm.CarPackageManager#isActivityDistractionOptimized(String,…
117 Missing nullability on parameter `packageName` in method `isActivityDistractionOptimized`
118 MissingNullability: android.car.content.pm.CarPackageManager#isActivityDistractionOptimized(String,…
119 Missing nullability on parameter `className` in method `isActivityDistractionOptimized`
Dcurrent.txt366 method public boolean isActivityDistractionOptimized(String, String);
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
DCarPackageManagerUtils.java52 return carPackageManager.isActivityDistractionOptimized( in isDistractionOptimized()