Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPackageManagerTest.java102 assertTrue(mCarPm.isActivityDistractionOptimized(carServicePackageName, activityAllowed)); in testSettingAllowlist()
103 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, in testSettingAllowlist()
113 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, activityAllowed)); in testSettingAllowlist()
114 assertTrue(mCarPm.isActivityDistractionOptimized(carServicePackageName, acticityAllowed2)); in testSettingAllowlist()
115 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, in testSettingAllowlist()
126 assertTrue(mCarPm.isActivityDistractionOptimized(carServicePackageName, activityAllowed)); in testSettingAllowlist()
127 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, acticityAllowed2)); in testSettingAllowlist()
128 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, in testSettingAllowlist()
139 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, activityAllowed)); in testSettingAllowlist()
140 assertFalse(mCarPm.isActivityDistractionOptimized(carServicePackageName, acticityAllowed2)); in testSettingAllowlist()
[all …]
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppLauncherUtils.java243 isActivityDistractionOptimized(carPackageManager, packageName, in getLauncherApps()
314 static boolean isActivityDistractionOptimized( in isActivityDistractionOptimized() method in AppLauncherUtils
321 carPackageManager.isActivityDistractionOptimized(packageName, activityName); in isActivityDistractionOptimized()
/packages/services/Car/car-lib/src/android/car/content/pm/
DCarPackageManager.java206 public boolean isActivityDistractionOptimized(String packageName, String className) { in isActivityDistractionOptimized() method in CarPackageManager
208 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.java277 public boolean isActivityDistractionOptimized(String packageName, String className) { in isActivityDistractionOptimized() method in CarPackageManagerService
344 return isActivityDistractionOptimized(activityInfo.packageName, activityInfo.name); in isPendingIntentDistractionOptimized()
403 return isActivityDistractionOptimized(activityBehind.getPackageName(), in isActivityBackedBySafeActivity()
1115 boolean allowed = isActivityDistractionOptimized( in doBlockTopActivityIfNotAllowed()
1153 isRootDO = isActivityDistractionOptimized( in doBlockTopActivityIfNotAllowed()
DActivityBlockingActivity.java305 boolean isDo = mCarPackageManager.isActivityDistractionOptimized( in isTopActivityBehindAbaDistractionOptimized()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
DCarPackageManagerUtils.java52 return carPackageManager.isActivityDistractionOptimized( in isDistractionOptimized()
/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.txt374 method public boolean isActivityDistractionOptimized(String, String);
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/content/pm/
DCarPackageManagerPermissionTest.java69 assertThat(mPm.isActivityDistractionOptimized("blah", "someClass")).isFalse(); in testIsActivityDistractionOptimized()