Searched refs:getCallingAppId (Results 1 – 7 of 7) sorted by relevance
226 public static @AppIdInt int getCallingAppId() { in getCallingAppId() method in UserHandle
123 if (UserHandle.getCallingAppId() == android.os.Process.SHELL_UID in enforceShellRestrictions()
591 event.getPackageName(), UserHandle.getCallingAppId(), resolvedUserId)); in sendAccessibilityEvent()728 final int resolvedUid = UserHandle.getUid(resolvedUserId, UserHandle.getCallingAppId()); in addAccessibilityInteractionConnection()732 packageName, UserHandle.getCallingAppId(), resolvedUserId); in addAccessibilityInteractionConnection()
3215 || (UserHandle.getCallingAppId() == android.os.Process.SYSTEM_UID)) { in getSubscriptionPlans()3271 if (UserHandle.getCallingAppId() != android.os.Process.SYSTEM_UID) { in getSubscriptionPlansOwner()
2269 && UserHandle.getCallingAppId() != Process.SYSTEM_UID) { in revokeRuntimePermission()
18830 if (UserHandle.getCallingAppId() != Process.SHELL_UID in startDelegateShellPermissionIdentity()18831 && UserHandle.getCallingAppId() != Process.ROOT_UID) { in startDelegateShellPermissionIdentity()18882 if (UserHandle.getCallingAppId() != Process.SHELL_UID in stopDelegateShellPermissionIdentity()18883 && UserHandle.getCallingAppId() != Process.ROOT_UID) { in stopDelegateShellPermissionIdentity()
3685 if (UserHandle.getCallingAppId() >= FIRST_APPLICATION_UID) { in setBluetoothScoOn()