Searched refs:isSystemUid (Results 1 – 2 of 2) sorted by relevance
494 boolean isSystemUid = UserHandle.isSameApp(callingUid, Process.SYSTEM_UID); in getAccountsAndVisibilityForPackage()495 List<String> managedTypes = getTypesForCaller(callingUid, userId, isSystemUid); in getAccountsAndVisibilityForPackage()498 || (accountType == null && !isSystemUid)) { in getAccountsAndVisibilityForPackage()551 && !isSystemUid(callingUid)) { in getPackagesAndVisibilityForAccount()598 && !isSystemUid(callingUid)) { in getAccountVisibility()763 && !isSystemUid(callingUid)) { in setAccountVisibility()2165 && !isSystemUid(callingUid) in removeAccountAsUser()3910 && !isSystemUid(callingUid)) { in editProperties()5650 private boolean isSystemUid(int callingUid) {
247 boolean isSystemUid = true; field in NotificationManagerServiceTest.TestableNotificationManagerService259 return isSystemUid; in isCallingUidSystem()265 return isSystemUid; in isCallerSystemOrPhone()884 mService.isSystemUid = false; in testEnqueuedRestrictedNotifications_notAutomotive()908 mService.isSystemUid = false; in testEnqueuedRestrictedNotifications_badUser()4034 mService.isSystemUid = false; in testAllowForegroundToasts()4057 mService.isSystemUid = false; in testDisallowToastsFromSuspendedPackages()4077 mService.isSystemUid = false; in testDisallowToastsFromBlockedApps()4100 mService.isSystemUid = true; in testAlwaysAllowSystemToasts()