Home
last modified time | relevance | path

Searched refs:instantApp (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DPackageUserState.java63 public boolean instantApp; field in PackageUserState
102 instantApp = o.instantApp; in PackageUserState()
250 if (instantApp != oldState.instantApp) { in equals()
DSELinuxUtil.java35 if (userState.instantApp) { in assignSeinfoUser()
DPackageParser.java7653 if (state.instantApp != p.applicationInfo.isInstantApp()) { in copyNeeded()
7696 if (state.instantApp) { in updateApplicationInfo()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastFilter.java33 final boolean instantApp; field in BroadcastFilter
45 instantApp = _instantApp; in BroadcastFilter()
DBroadcastQueue.java739 if (!skip && !visibleToInstantApps && filter.instantApp in deliverToRegisteredReceiverLocked()
DActivityManagerService.java14413 boolean instantApp; in registerReceiver()
14437 instantApp = isInstantApp(callerApp, callerPackage, callingUid); in registerReceiver()
14474 if (instantApp && in registerReceiver()
14542 permission, callingUid, userId, instantApp, visibleToInstantApps); in registerReceiver()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java418 return readUserState(userId).instantApp; in getInstantApp()
421 void setInstantApp(boolean instantApp, int userId) { in setInstantApp() argument
422 modifyUserState(userId).instantApp = instantApp; in setInstantApp()
437 PersistableBundle suspendedLauncherExtras, boolean instantApp, in setUserState() argument
461 state.instantApp = instantApp; in setUserState()
611 if (state.instantApp) { in writeUsersInfoToProto()
DInstantAppRegistry.java1100 @NonNull InstantAppInfo instantApp, @UserIdInt int userId) { in writeUninstalledInstantAppMetadata()
1101 File appDir = getInstantApplicationDir(instantApp.getPackageName(), userId); in writeUninstalledInstantAppMetadata()
1120 serializer.attribute(null, ATTR_LABEL, instantApp.loadLabel( in writeUninstalledInstantAppMetadata()
1124 for (String permission : instantApp.getRequestedPermissions()) { in writeUninstalledInstantAppMetadata()
1127 if (ArrayUtils.contains(instantApp.getGrantedPermissions(), permission)) { in writeUninstalledInstantAppMetadata()
1169 public UninstalledInstantAppState(InstantAppInfo instantApp, in UninstalledInstantAppState() argument
1171 mInstantAppInfo = instantApp; in UninstalledInstantAppState()
DComponentResolver.java1257 if (matchVisibleToInstantApp && !(componentVisible || userState.instantApp)) { in newResult()
1271 if (!matchInstantApp && userState.instantApp) { in newResult()
1279 if (userState.instantApp && ps.isUpdateAvailable()) { in newResult()
1306 res.isInstantAppAvailable = userState.instantApp; in newResult()
1510 && !(info.isVisibleToInstantApp() || userState.instantApp)) { in newResult()
1514 if (!isInstantApp && userState.instantApp) { in newResult()
1519 if (userState.instantApp && ps.isUpdateAvailable()) { in newResult()
1732 && !(info.isVisibleToInstantApp() || userState.instantApp)) { in newResult()
1736 if (!isInstantApp && userState.instantApp) { in newResult()
1741 if (userState.instantApp && ps.isUpdateAvailable()) { in newResult()
DSettings.java598 UserHandle installUser, boolean allowInstall, boolean instantApp, in createNewSetting() argument
665 instantApp, in createNewSetting()
1643 final boolean instantApp = XmlUtils.readBooleanAttribute(parser, in readPackageRestrictionsLPr()
1711 suspendedAppExtras, suspendedLauncherExtras, instantApp, virtualPreload, in readPackageRestrictionsLPr()
2041 if (ustate.instantApp) { in writePackageRestrictionsLPr()
DPackageManagerService.java11269 final boolean instantApp = (scanFlags & SCAN_AS_INSTANT_APP) != 0;
11277 user, true /*allowInstall*/, instantApp, virtualPreload,
11314 final boolean instantApp = (scanFlags & SCAN_AS_INSTANT_APP) != 0;
11316 setInstantAppForUser(pkgSetting, userId, instantApp, fullApp);
13501 final boolean instantApp =
13537 setInstantAppForUser(pkgSetting, userId, instantApp, fullApp);
13586 boolean instantApp, boolean fullApp) {
13588 if (!instantApp && !fullApp) {
13592 if (instantApp && !pkgSetting.getInstantApp(userId)) {
13599 if (instantApp && !pkgSetting.getInstantApp(currentUserId)) {
[all …]
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java307 final boolean instantApp = ps.getInstantApp(userId); in checkPermission()
310 if (instantApp) { in checkPermission()
2051 final boolean instantApp = mPackageManagerInt.isInstantApp(pkg.packageName, userId); in grantRequestedRuntimePermissionsForUser()
2059 && (!instantApp || bp.isInstant()) in grantRequestedRuntimePermissionsForUser()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt17014 Landroid/content/pm/PackageUserState;->instantApp:Z