Home
last modified time | relevance | path

Searched refs:isInstantApp (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/util/
DInstantAppResolver.java37 public boolean isInstantApp(ApplicationInfo info) { in isInstantApp() method in InstantAppResolver
41 public boolean isInstantApp(AppInfo info) { in isInstantApp() method in InstantAppResolver
45 public boolean isInstantApp(Context context, String packageName) { in isInstantApp() method in InstantAppResolver
48 return isInstantApp(packageManager.getPackageInfo(packageName, 0).applicationInfo); in isInstantApp()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DInstantAppResolverImpl.java43 public boolean isInstantApp(ApplicationInfo info) { in isInstantApp() method in InstantAppResolverImpl
44 return info.isInstantApp(); in isInstantApp()
48 public boolean isInstantApp(AppInfo info) { in isInstantApp() method in InstantAppResolverImpl
DTaskIconCache.java159 activityInfo.applicationInfo.isInstantApp()); in getCacheEntry()
200 int primaryColor, boolean isInstantApp) { in getBitmapInfo() argument
207 Build.VERSION_CODES.O, isInstantApp); in getBitmapInfo()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcut.java153 boolean isInstantApp = false;
157 isInstantApp = InstantAppResolver.newInstance(activity).isInstantApp(appInfo);
159 boolean enabled = supportsWebUI || isInstantApp;
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightPackageInfo.kt46 val isInstantApp: Boolean, in <lambda>() constant in com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
56 pI.applicationInfo.isInstantApp, pI.applicationInfo.enabled, pI.applicationInfo.flags, in <lambda>()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppHeaderViewPreferenceController.java91 final boolean isInstantApp = AppUtils.isInstant(pkgInfo.applicationInfo); in setAppLabelAndIcon()
95 .setIsInstantApp(isInstantApp) in setAppLabelAndIcon()
DAppButtonsPreferenceController.java174 return mFinishing || isInstantApp() || isSystemModule() ? DISABLED_FOR_USER : AVAILABLE; in getAvailabilityStatus()
742 private boolean isInstantApp() { in isInstantApp() method in AppButtonsPreferenceController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppHeaderViewPreferenceController.java91 final boolean isInstantApp = AppUtils.isInstant(pkgInfo.applicationInfo); in setAppLabelAndIcon()
95 .setIsInstantApp(isInstantApp) in setAppLabelAndIcon()
/packages/apps/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/
DGrantRevokeTests.kt135 isInstantApp: Boolean = false in createMockPackage()
153 }, isInstantApp, isInstantApp, 0, 0L) in createMockPackage()
630 val pkg = createMockPackage(mapOf(FG_PERM_NAME to false), isInstantApp = true) in cantGrantInstantAppStandardPermTest()
673 val pkg = createMockPackage(mapOf(FG_PERM_NAME to false), isInstantApp = true) in grantInstantAppInstantPermTest()
1000 val pkg = createMockPackage(mapOf(FG_PERM_NAME to true), isInstantApp = true) in revokeInstantAppTest()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DEntityHeaderController.java220 public EntityHeaderController setIsInstantApp(boolean isInstantApp) { in setIsInstantApp() argument
221 this.mIsInstantApp = isInstantApp; in setIsInstantApp()
/packages/apps/Settings/src/com/android/settings/widget/
DEntityHeaderController.java220 public EntityHeaderController setIsInstantApp(boolean isInstantApp) { in setIsInstantApp() argument
221 this.mIsInstantApp = isInstantApp; in setIsInstantApp()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java106 protected boolean isInstantApp(ApplicationInfo info) { in isInstantApp() method in IconCache
107 return mInstantAppResolver.isInstantApp(info); in isInstantApp()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/data/
DPackagePermissionsLiveData.kt71 if (packageInfo.isInstantApp && permInfo.protectionFlags and in onUpdate()
DAppPermGroupUiInfoLiveData.kt157 val isGrantingAllowed = !packageInfo.isInstantApp && in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java234 public boolean isInstantApp(ApplicationInfo info) { in testInitHeader_HasAppEntry_BuildByAppEntry()
251 public boolean isInstantApp(ApplicationInfo info) { in testInitHeader_HasAppEntry_InstantApp()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageInstallStateChangedTask.java53 if (InstantAppResolver.newInstance(app.getContext()).isInstantApp(ai)) { in execute()
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DLoggerUtils.java86 && instantAppResolver.isInstantApp(((AppInfo) info))) in newItemTarget()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DDynamicItemCache.java187 if (!mInstantAppResolver.isInstantApp(ai)) { in loadInstantApp()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskShortcutFactory.java306 InstantAppResolver.newInstance(activity).isInstantApp(activity,
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetail.java237 boolean isInstantApp = AppUtils.isInstant(mAppEntry.info); in initHeader()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DAdvancedPowerUsageDetail.java237 boolean isInstantApp = AppUtils.isInstant(mAppEntry.info); in initHeader()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAllAppPermissionsFragment.java160 if (appInfo.isInstantApp() in updateUi()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAllAppPermissionsFragment.java145 if (appInfo.isInstantApp() in updateUi()
/packages/apps/PermissionController/src/com/android/permissioncontroller/role/model/
DRole.java669 if (applicationInfo.isInstantApp()) { in isPackageMinimallyQualifiedAsUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceControllerTest.java261 public boolean isInstantApp(ApplicationInfo info) { in isAvailable_instantApp()

12