Searched refs:getCallingAppId (Results 1 – 11 of 11) sorted by relevance
73 if (UserHandle.getCallingAppId() != Process.SHELL_UID in startDelegateShellPermissionIdentity()74 && UserHandle.getCallingAppId() != Process.ROOT_UID) { in startDelegateShellPermissionIdentity()107 if (UserHandle.getCallingAppId() != Process.SHELL_UID in stopDelegateShellPermissionIdentity()108 && UserHandle.getCallingAppId() != Process.ROOT_UID) { in stopDelegateShellPermissionIdentity()130 if (UserHandle.getCallingAppId() != Process.SHELL_UID in getDelegatedShellPermissions()131 && UserHandle.getCallingAppId() != Process.ROOT_UID) { in getDelegatedShellPermissions()145 if (UserHandle.getCallingAppId() != Process.ROOT_UID) { in addOverridePermissionState()178 if (UserHandle.getCallingAppId() != Process.ROOT_UID) { in removeOverridePermissionState()205 if (UserHandle.getCallingAppId() != Process.ROOT_UID) { in clearOverridePermissionStates()231 if (UserHandle.getCallingAppId() != Process.ROOT_UID) { in clearAllOverridePermissionStates()
301 public static @AppIdInt int getCallingAppId() { in getCallingAppId() method in UserHandle
156 if (UserHandle.getCallingAppId() == android.os.Process.SHELL_UID in enforceShellRestrictions()
1388 final int resolvedUid = UserHandle.getUid(resolvedUserId, UserHandle.getCallingAppId()); in addAccessibilityInteractionConnection()1392 packageName, UserHandle.getCallingAppId(), resolvedUserId, in addAccessibilityInteractionConnection()
1168 event.getPackageName(), UserHandle.getCallingAppId(), resolvedUserId, in sendAccessibilityEvent()
1178 if (UserHandle.getCallingAppId() == systemUIAppId) { in enforceObserveSensorPrivacyPermission()
1719 if (UserHandle.getCallingAppId() != Process.SYSTEM_UID in verifyCallerIsSystemUid()
3913 || (UserHandle.getCallingAppId() == android.os.Process.SYSTEM_UID)3914 || (UserHandle.getCallingAppId() == android.os.Process.PHONE_UID)) {3988 if (UserHandle.getCallingAppId() != android.os.Process.SYSTEM_UID) {
1627 && UserHandle.getCallingAppId() != Process.SYSTEM_UID) { in revokeRuntimePermissionInternal()
6725 if (UserHandle.getCallingAppId() >= FIRST_APPLICATION_UID) { in setBluetoothScoOn()
39375 Landroid/os/UserHandle;->getCallingAppId()I