Searched refs:getCallingAppId (Results 1 – 9 of 9) sorted by relevance
263 public static @AppIdInt int getCallingAppId() { in getCallingAppId() method in UserHandle
1001 final int resolvedUid = UserHandle.getUid(resolvedUserId, UserHandle.getCallingAppId()); in addAccessibilityInteractionConnection()1005 packageName, UserHandle.getCallingAppId(), resolvedUserId, in addAccessibilityInteractionConnection()
770 event.getPackageName(), UserHandle.getCallingAppId(), resolvedUserId, in sendAccessibilityEvent()
136 if (UserHandle.getCallingAppId() == android.os.Process.SHELL_UID in enforceShellRestrictions()
3532 || (UserHandle.getCallingAppId() == android.os.Process.SYSTEM_UID)3533 || (UserHandle.getCallingAppId() == android.os.Process.PHONE_UID)) {3593 if (UserHandle.getCallingAppId() != android.os.Process.SYSTEM_UID) {
16910 if (UserHandle.getCallingAppId() != Process.SHELL_UID16911 && UserHandle.getCallingAppId() != Process.ROOT_UID) {16958 if (UserHandle.getCallingAppId() != Process.SHELL_UID16959 && UserHandle.getCallingAppId() != Process.ROOT_UID) {16970 if (UserHandle.getCallingAppId() != Process.SHELL_UID16971 && UserHandle.getCallingAppId() != Process.ROOT_UID) {
1703 && UserHandle.getCallingAppId() != Process.SYSTEM_UID) { in revokeRuntimePermissionInternal()
5302 if (UserHandle.getCallingAppId() >= FIRST_APPLICATION_UID) { in setBluetoothScoOn()
43341 Landroid/os/UserHandle;->getCallingAppId()I