Searched refs:isActivityDistractionOptimized (Results 1 – 9 of 9) sorted by relevance
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarPackageManagerTest.java | 102 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/ |
D | AppLauncherUtils.java | 239 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/ |
D | CarPackageManager.java | 184 public boolean isActivityDistractionOptimized(String packageName, String className) { in isActivityDistractionOptimized() method in CarPackageManager 186 return mService.isActivityDistractionOptimized(packageName, className); in isActivityDistractionOptimized()
|
D | ICarPackageManager.aidl | 26 boolean isActivityDistractionOptimized(in String packageName, in String className) = 1; in isActivityDistractionOptimized() method
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 273 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()
|
D | ActivityBlockingActivity.java | 303 boolean isDo = mCarPackageManager.isActivityDistractionOptimized( in isTopActivityBehindAbaDistractionOptimized()
|
/packages/services/Car/car-lib/api/ |
D | lint-baseline.txt | 116 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`
|
D | current.txt | 366 method public boolean isActivityDistractionOptimized(String, String);
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/ |
D | CarPackageManagerUtils.java | 52 return carPackageManager.isActivityDistractionOptimized( in isDistractionOptimized()
|