Searched refs:isPrivilegedApp (Results 1 – 7 of 7) sorted by relevance
165 boolean isPrivilegedApp = in isSystemPrivilegedOrPlatformKeyInner()166 (!checkForPrivilegedApp) || packageInfo.applicationInfo.isPrivilegedApp(); in isSystemPrivilegedOrPlatformKeyInner()170 && isPrivilegedApp)); in isSystemPrivilegedOrPlatformKeyInner()
235 boolean isPrivilegedApp) throws PackageManager.NameNotFoundException { in setApplicationInfo() argument248 if (isPrivilegedApp) { in setApplicationInfo()
447 when(applicationInfo.isPrivilegedApp()).thenReturn(isSystem); in setPackageInfo()
148 when(applicationInfo.isPrivilegedApp()).thenReturn(true); in setup()
96 && packageInfo.applicationInfo.isPrivilegedApp())); in isSystemPrivilegedOrPlatformKey()
227 when(applicationInfo.isPrivilegedApp()).thenReturn(isPrivileged); in setupPackageInfo()
171 return applicationInfo.isPrivilegedApp() && !applicationInfo.isUpdatedSystemApp(); in shouldUninstallCurrentInstall()