Searched refs:isActivityDistractionOptimized (Results 1 – 7 of 7) sorted by relevance
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarPackageManagerTest.java | 100 assertTrue(mCarPm.isActivityDistractionOptimized(carServicePackageName, activityAllowed)); in testSettingWhitelist() 101 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, in testSettingWhitelist() 111 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, activityAllowed)); in testSettingWhitelist() 112 assertTrue(mCarPm.isActivityDistractionOptimized(carServicePackageName, acticityAllowed2)); in testSettingWhitelist() 113 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, in testSettingWhitelist() 124 assertTrue(mCarPm.isActivityDistractionOptimized(carServicePackageName, activityAllowed)); in testSettingWhitelist() 125 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, acticityAllowed2)); in testSettingWhitelist() 126 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, in testSettingWhitelist() 137 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, activityAllowed)); in testSettingWhitelist() 138 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, acticityAllowed2)); in testSettingWhitelist() [all …]
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | AppLauncherUtils.java | 237 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 | 179 public boolean isActivityDistractionOptimized(String packageName, String className) { in isActivityDistractionOptimized() method in CarPackageManager 181 return mService.isActivityDistractionOptimized(packageName, className); in isActivityDistractionOptimized()
|
D | ICarPackageManager.aidl | 25 boolean isActivityDistractionOptimized(in String packageName, in String className) = 1; in isActivityDistractionOptimized() method
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 265 public boolean isActivityDistractionOptimized(String packageName, String className) { in isActivityDistractionOptimized() method in CarPackageManagerService 317 return isActivityDistractionOptimized(activityBehind.getPackageName(), in isActivityBackedBySafeActivity() 1032 boolean allowed = isActivityDistractionOptimized( in doBlockTopActivityIfNotAllowed() 1070 isRootDO = isActivityDistractionOptimized( in doBlockTopActivityIfNotAllowed()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/ |
D | CarPackageManagerUtils.java | 68 return mCarPackageManager.isActivityDistractionOptimized( in isDistractionOptimized()
|
/packages/services/Car/car-lib/api/ |
D | current.txt | 288 method public boolean isActivityDistractionOptimized(String, String);
|