Searched refs:isCallerSystem (Results 1 – 7 of 7) sorted by relevance
294 if (isCallerSystem()) { in checkCallerIsSystemOr()347 if (isCallerSystem()) { in checkUsesFeature()375 private static boolean isCallerSystem() { in isCallerSystem() method in CompanionDeviceManagerService
1510 private boolean isCallerSystem() { in isCallerSystem() method in ShortcutService1521 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()
1607 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()
15002 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()
856 final boolean isCallerSystem = UserHandle.getAppId(callingUid) == Process.SYSTEM_UID; in checkBluetoothPermissions()857 if (!isCallerSystem) { in checkBluetoothPermissions()
1862 public boolean isCallerSystem() {2977 if (!mSystemServices.isCallerSystem()) {
204 when(mSystemServices.isCallerSystem()).thenReturn(true); in setUp()