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 D | FingerprintService.java | 1096 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 D | ContextImpl.java | 1850 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 D | IActivityManager.aidl | 161 in String resolvedType, boolean requireForeground, in String callingPackage, in startService() argument
|
/aosp12/frameworks/base/services/core/java/com/android/server/ |
H A D | BluetoothManagerService.java | 934 boolean requireForeground) { in checkBluetoothPermissions() argument 947 if (requireForeground && !checkIfCallerIsForegroundUser()) { in checkBluetoothPermissions()
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 11859 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()
|