Searched refs:getCallingAppId (Results 1 – 9 of 9) sorted by relevance
227 public static @AppIdInt int getCallingAppId() { in getCallingAppId() method in UserHandle
123 if (UserHandle.getCallingAppId() == android.os.Process.SHELL_UID in enforceShellRestrictions()
592 event.getPackageName(), UserHandle.getCallingAppId(), resolvedUserId)); in sendAccessibilityEvent()729 final int resolvedUid = UserHandle.getUid(resolvedUserId, UserHandle.getCallingAppId()); in addAccessibilityInteractionConnection()733 packageName, UserHandle.getCallingAppId(), resolvedUserId); in addAccessibilityInteractionConnection()
3303 || (UserHandle.getCallingAppId() == android.os.Process.SYSTEM_UID)) { in getSubscriptionPlans()3362 if (UserHandle.getCallingAppId() != android.os.Process.SYSTEM_UID) { in getSubscriptionPlansOwner()
2279 && UserHandle.getCallingAppId() != Process.SYSTEM_UID) { in revokeRuntimePermission()
18951 if (UserHandle.getCallingAppId() != Process.SHELL_UID in startDelegateShellPermissionIdentity()18952 && UserHandle.getCallingAppId() != Process.ROOT_UID) { in startDelegateShellPermissionIdentity()19003 if (UserHandle.getCallingAppId() != Process.SHELL_UID in stopDelegateShellPermissionIdentity()19004 && UserHandle.getCallingAppId() != Process.ROOT_UID) { in stopDelegateShellPermissionIdentity()
3649 if (UserHandle.getCallingAppId() >= FIRST_APPLICATION_UID) { in setBluetoothScoOn()
12323 HSPLandroid/os/UserHandle;->getCallingAppId()I
53903 Landroid/os/UserHandle;->getCallingAppId()I