Home
last modified time | relevance | path

Searched refs:isInstant (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionSettings.java120 return (bp != null && (bp.isRuntime() || bp.isDevelopment()) && bp.isInstant()); in canPropagatePermissionToInstantApp()
255 return (bp != null && bp.isInstant()); in isPermissionInstant()
DPermissionManagerService.java313 if (bp != null && bp.isInstant()) { in checkPermission()
992 if (pkg.applicationInfo.isInstantApp() && !bp.isInstant()) { in restorePermissionState()
2059 && (!instantApp || bp.isInstant()) in grantRequestedRuntimePermissionsForUser()
2169 if (ps.getInstantApp(userId) && !bp.isInstant()) { in grantRuntimePermission()
DBasePermission.java232 public boolean isInstant() { in isInstant() method in BasePermission
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java314 if (!mHaveInstantApps && AppUtils.isInstant(info)) { in doResumeIfNeededLocked()
596 if (AppUtils.isInstant(info)) { in addPackage()
635 if (AppUtils.isInstant(info)) { in removePackage()
638 if (AppUtils.isInstant(otherInfo)) { in removePackage()
1736 if (AppUtils.isInstant(entry.info)) {
1762 return AppUtils.isInstant(entry.info)
1791 return !entry.info.enabled && !AppUtils.isInstant(entry.info);
1802 return AppUtils.isInstant(entry.info);
1813 return entry.info.enabled && !AppUtils.isInstant(entry.info);
1835 return !AppUtils.isInstant(entry.info)
DAppUtils.java85 public static boolean isInstant(ApplicationInfo info) { in isInstant() method in AppUtils