Searched refs:callerCanQueryPackage (Results 1 – 2 of 2) sorted by relevance
173 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()
335 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 CarPackageManagerService531 if (!callerCanQueryPackage(packageName)) return false; in isServiceDistractionOptimized()566 if (!callerCanQueryPackage(activityName.getPackageName())) return false; in isActivityBackedBySafeActivity()1758 if (!callerCanQueryPackage(packageName)) { in requiresDisplayCompat()