Home
last modified time | relevance | path

Searched refs:callerCanQueryPackage (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DCarPackageManagerServiceUnitTest.java173 assertThat(mService.callerCanQueryPackage("blah")).isFalse(); in test_checkQueryPermission_noPermission()
180 assertThat(mService.callerCanQueryPackage("blah")).isTrue(); in test_checkQueryPermission_correctPermission()
187 assertThat(mService.callerCanQueryPackage( in test_checkQueryPermission_samePackage()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java335 if (!callerCanQueryPackage(packageName)) { in controlOneTimeActivityBlockingBypassingAsUser()
369 if (!callerCanQueryPackage(packageName)) { in getSupportedDrivingSafetyRegionsForActivityAsUser()
437 if (!callerCanQueryPackage(packageName)) return false; in isActivityDistractionOptimized()
482 boolean callerCanQueryPackage(String packageName) { in callerCanQueryPackage() method in CarPackageManagerService
531 if (!callerCanQueryPackage(packageName)) return false; in isServiceDistractionOptimized()
566 if (!callerCanQueryPackage(activityName.getPackageName())) return false; in isActivityBackedBySafeActivity()
1758 if (!callerCanQueryPackage(packageName)) { in requiresDisplayCompat()