Home
last modified time | relevance | path

Searched refs:requireForeground (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
H A DFingerprintService.java1096 private boolean canUseFingerprint(String opPackageName, boolean requireForeground, int uid, in canUseFingerprint() argument
1117 if (requireForeground && !Utils.isForeground(uid, pid)) { in canUseFingerprint()
/aosp12/frameworks/base/core/java/android/app/
H A DContextImpl.java1850 private ComponentName startServiceCommon(Intent service, boolean requireForeground, in startServiceCommon() argument
1857 service.resolveTypeIfNeeded(getContentResolver()), requireForeground, in startServiceCommon()
1869 throw ServiceStartNotAllowedException.newInstance(requireForeground, in startServiceCommon()
1874 if (cn != null && requireForeground) { in startServiceCommon()
H A DIActivityManager.aidl161 in String resolvedType, boolean requireForeground, in String callingPackage, in startService() argument
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DBluetoothManagerService.java934 boolean requireForeground) { in checkBluetoothPermissions() argument
947 if (requireForeground && !checkIfCallerIsForegroundUser()) { in checkBluetoothPermissions()
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java11859 String resolvedType, boolean requireForeground, String callingPackage, in startService() argument
11873 … "*** startService: " + service + " type=" + resolvedType + " fg=" + requireForeground); in startService()
11882 requireForeground, callingPackage, callingFeatureId, userId); in startService()