Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPackageManagerTest.java100 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/
DAppLauncherUtils.java237 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.java179 public boolean isActivityDistractionOptimized(String packageName, String className) { in isActivityDistractionOptimized() method in CarPackageManager
181 return mService.isActivityDistractionOptimized(packageName, className); in isActivityDistractionOptimized()
DICarPackageManager.aidl25 boolean isActivityDistractionOptimized(in String packageName, in String className) = 1; in isActivityDistractionOptimized() method
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java265 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/
DCarPackageManagerUtils.java68 return mCarPackageManager.isActivityDistractionOptimized( in isDistractionOptimized()
/packages/services/Car/car-lib/api/
Dcurrent.txt288 method public boolean isActivityDistractionOptimized(String, String);