Searched refs:isActivityDistractionOptimized (Results 1 – 10 of 10) sorted by relevance
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarPackageManagerTest.java | 102 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/ |
D | AppLauncherUtils.java | 243 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/ |
D | CarPackageManager.java | 206 public boolean isActivityDistractionOptimized(String packageName, String className) { in isActivityDistractionOptimized() method in CarPackageManager 208 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 | 277 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()
|
D | ActivityBlockingActivity.java | 305 boolean isDo = mCarPackageManager.isActivityDistractionOptimized( in isTopActivityBehindAbaDistractionOptimized()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/ |
D | CarPackageManagerUtils.java | 52 return carPackageManager.isActivityDistractionOptimized( in isDistractionOptimized()
|
/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 | 374 method public boolean isActivityDistractionOptimized(String, String);
|
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/content/pm/ |
D | CarPackageManagerPermissionTest.java | 69 assertThat(mPm.isActivityDistractionOptimized("blah", "someClass")).isFalse(); in testIsActivityDistractionOptimized()
|