Home
last modified time | relevance | path

Searched refs:isCallerSystem (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java294 if (isCallerSystem()) { in checkCallerIsSystemOr()
347 if (isCallerSystem()) { in checkUsesFeature()
375 private static boolean isCallerSystem() { in isCallerSystem() method in CompanionDeviceManagerService
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1510 private boolean isCallerSystem() { in isCallerSystem() method in ShortcutService
1521 if (!(isCallerSystem() || isCallerShell())) { in enforceSystemOrShell()
1533 if (!isCallerSystem()) { in enforceSystem()
1539 if (isCallerSystem()) { in enforceResetThrottlingPermission()
1548 if (isCallerSystem()) { in enforceCallingOrSelfPermission()
1567 if (isCallerSystem()) { in verifyCaller()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java1607 final boolean isCallerSystem = callerApp.info.uid == Process.SYSTEM_UID; in bindServiceLocked()
1609 if (isCallerSystem) { in bindServiceLocked()
1631 if ((flags & Context.BIND_SCHEDULE_LIKE_TOP_APP) != 0 && !isCallerSystem) { in bindServiceLocked()
1636 if ((flags & Context.BIND_ALLOW_WHITELIST_MANAGEMENT) != 0 && !isCallerSystem) { in bindServiceLocked()
1642 if ((flags & Context.BIND_ALLOW_INSTANT) != 0 && !isCallerSystem) { in bindServiceLocked()
DActivityManagerService.java15002 final boolean isCallerSystem; in broadcastIntentLocked()
15011 isCallerSystem = true; in broadcastIntentLocked()
15014 isCallerSystem = (callerApp != null) && callerApp.isPersistent(); in broadcastIntentLocked()
15020 if (!isCallerSystem) { in broadcastIntentLocked()
15426 if (isCallerSystem) { in broadcastIntentLocked()
15520 if (isCallerSystem) { in broadcastIntentLocked()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java856 final boolean isCallerSystem = UserHandle.getAppId(callingUid) == Process.SYSTEM_UID; in checkBluetoothPermissions()
857 if (!isCallerSystem) { in checkBluetoothPermissions()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1862 public boolean isCallerSystem() {
2977 if (!mSystemServices.isCallerSystem()) {
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java204 when(mSystemServices.isCallerSystem()).thenReturn(true); in setUp()