Home
last modified time | relevance | path

Searched refs:getCallingAppId (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/os/
DUserHandle.java255 public static @AppIdInt int getCallingAppId() { in getCallingAppId() method in UserHandle
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java955 final int resolvedUid = UserHandle.getUid(resolvedUserId, UserHandle.getCallingAppId()); in addAccessibilityInteractionConnection()
959 packageName, UserHandle.getCallingAppId(), resolvedUserId, in addAccessibilityInteractionConnection()
DAccessibilityManagerService.java663 event.getPackageName(), UserHandle.getCallingAppId(), resolvedUserId, in sendAccessibilityEvent()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java136 if (UserHandle.getCallingAppId() == android.os.Process.SHELL_UID in enforceShellRestrictions()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java3313 || (UserHandle.getCallingAppId() == android.os.Process.SYSTEM_UID)) { in getSubscriptionPlans()
3373 if (UserHandle.getCallingAppId() != android.os.Process.SYSTEM_UID) { in getSubscriptionPlansOwner()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1629 && UserHandle.getCallingAppId() != Process.SYSTEM_UID) { in revokeRuntimePermissionInternal()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java20124 if (UserHandle.getCallingAppId() != Process.SHELL_UID in startDelegateShellPermissionIdentity()
20125 && UserHandle.getCallingAppId() != Process.ROOT_UID) { in startDelegateShellPermissionIdentity()
20176 if (UserHandle.getCallingAppId() != Process.SHELL_UID in stopDelegateShellPermissionIdentity()
20177 && UserHandle.getCallingAppId() != Process.ROOT_UID) { in stopDelegateShellPermissionIdentity()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java4129 if (UserHandle.getCallingAppId() >= FIRST_APPLICATION_UID) { in setBluetoothScoOn()