Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DPackageUserState.java54 public boolean instantApp; field in PackageUserState
90 instantApp = o.instantApp; in PackageUserState()
226 if (instantApp != oldState.instantApp) { in equals()
DSELinuxUtil.java35 if (userState.instantApp) { in assignSeinfoUser()
DPackageParser.java7367 if (state.instantApp != p.applicationInfo.isInstantApp()) { in copyNeeded()
7405 if (state.instantApp) { in updateApplicationInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java410 return readUserState(userId).instantApp; in getInstantApp()
413 void setInstantApp(boolean instantApp, int userId) { in setInstantApp() argument
414 modifyUserState(userId).instantApp = instantApp; in setInstantApp()
428 PersistableBundle suspendedLauncherExtras, boolean instantApp, in setUserState() argument
451 state.instantApp = instantApp; in setUserState()
601 if (state.instantApp) { in writeUsersInfoToProto()
DInstantAppRegistry.java1082 @NonNull InstantAppInfo instantApp, @UserIdInt int userId) { in writeUninstalledInstantAppMetadata()
1083 File appDir = getInstantApplicationDir(instantApp.getPackageName(), userId); in writeUninstalledInstantAppMetadata()
1102 serializer.attribute(null, ATTR_LABEL, instantApp.loadLabel( in writeUninstalledInstantAppMetadata()
1106 for (String permission : instantApp.getRequestedPermissions()) { in writeUninstalledInstantAppMetadata()
1109 if (ArrayUtils.contains(instantApp.getGrantedPermissions(), permission)) { in writeUninstalledInstantAppMetadata()
1151 public UninstalledInstantAppState(InstantAppInfo instantApp, in UninstalledInstantAppState() argument
1153 mInstantAppInfo = instantApp; in UninstalledInstantAppState()
DPackageManagerService.java10521 final boolean instantApp = (scanFlags & SCAN_AS_INSTANT_APP) != 0;
10529 user, true /*allowInstall*/, instantApp, virtualPreload,
10562 final boolean instantApp = (scanFlags & SCAN_AS_INSTANT_APP) != 0;
10564 setInstantAppForUser(pkgSetting, userId, instantApp, fullApp);
12881 if (matchVisibleToInstantApp && !(componentVisible || userState.instantApp)) {
12885 if (!matchInstantApp && userState.instantApp) {
12890 if (userState.instantApp && ps.isUpdateAvailable()) {
12916 res.isInstantAppAvailable = userState.instantApp;
13109 && !(info.isVisibleToInstantApp() || userState.instantApp)) {
13113 if (!isInstantApp && userState.instantApp) {
[all …]
DSettings.java675 UserHandle installUser, boolean allowInstall, boolean instantApp, in createNewSetting() argument
741 instantApp, in createNewSetting()
1723 final boolean instantApp = XmlUtils.readBooleanAttribute(parser, in readPackageRestrictionsLPr()
1781 suspendedLauncherExtras, instantApp, virtualPreload, enabledCaller, in readPackageRestrictionsLPr()
2119 if (ustate.instantApp) { in writePackageRestrictionsLPr()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastFilter.java33 final boolean instantApp; field in BroadcastFilter
45 instantApp = _instantApp; in BroadcastFilter()
DBroadcastQueue.java632 if (!skip && !visibleToInstantApps && filter.instantApp in deliverToRegisteredReceiverLocked()
DActivityManagerService.java20811 boolean instantApp; in registerReceiver()
20835 instantApp = isInstantApp(callerApp, callerPackage, callingUid); in registerReceiver()
20872 if (instantApp && in registerReceiver()
20940 permission, callingUid, userId, instantApp, visibleToInstantApps); in registerReceiver()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java222 final boolean instantApp = ps.getInstantApp(userId); in checkPermission()
225 if (instantApp) { in checkPermission()
1340 final boolean instantApp = mPackageManagerInt.isInstantApp(pkg.packageName, userId); in grantRequestedRuntimePermissionsForUser()
1348 && (!instantApp || bp.isInstant()) in grantRequestedRuntimePermissionsForUser()