Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/
DApplicationsStateTest.java145 when(mEntry.info.isInstantApp()).thenReturn(true); in testDownloadAndLauncherAndInstantAcceptsCorrectApps()
150 when(mEntry.info.isInstantApp()).thenReturn(false); in testDownloadAndLauncherAndInstantAcceptsCorrectApps()
180 when(mEntry.info.isInstantApp()).thenReturn(false); in testDownloadAndLauncherAcceptsCorrectApps()
213 when(mEntry.info.isInstantApp()).thenReturn(true); in testInstantFilterAcceptsInstantApp()
219 when(mEntry.info.isInstantApp()).thenReturn(false); in testInstantFilterRejectsNonInstantApp()
227 when(mEntry.info.isInstantApp()).thenReturn(true); in testEnabledFilterRejectsInstantApp()
235 when(mEntry.info.isInstantApp()).thenReturn(false); in testFilterWithDomainUrls()
242 when(mEntry.info.isInstantApp()).thenReturn(true); in testFilterWithDomainUrls()
251 when(mEntry.info.isInstantApp()).thenReturn(true); in testDisabledFilterRejectsInstantApp()
/frameworks/base/core/java/android/util/
DIconDrawableFactory.java53 return appInfo.isInstantApp() || mUm.isManagedProfile(userId); in needsBadging()
74 if (appInfo.isInstantApp()) { in getBadgedIcon()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/instantapps/
DInstantAppDataProvider.java27 public boolean isInstantApp(ApplicationInfo info); in isInstantApp() method
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DAppUtils.java87 if (sInstantAppDataProvider.isInstantApp(info)) { in isInstant()
90 } else if (info.isInstantApp()) { in isInstant()
/frameworks/base/core/java/android/security/net/config/
DManifestConfigSource.java78 && !mApplicationInfo.isInstantApp(); in getConfigSource()
DNetworkSecurityConfig.java188 && !info.isInstantApp(); in getDefaultBuilder()
/frameworks/base/core/java/android/app/usage/
DUsageEvents.java434 public boolean isInstantApp() { in isInstantApp() method in UsageEvents.Event
564 if (!isInstantApp()) { in getObfuscatedIfInstantApp()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DAppBackupUtils.java100 if (app.isInstantApp()) { in appIsEligibleForBackup()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java1607 public void setInstallAsInstantApp(boolean isInstantApp) { in setInstallAsInstantApp() argument
1608 if (isInstantApp) { in setInstallAsInstantApp()
2189 public boolean getInstallAsInstantApp(boolean isInstantApp) { in getInstallAsInstantApp() argument
2202 public boolean getInstallAsFullApp(boolean isInstantApp) { in getInstallAsFullApp() argument
DPackageManagerInternal.java727 public abstract boolean isInstantApp(String packageName, int userId); in isInstantApp() method in PackageManagerInternal
DIPackageManager.aidl703 boolean isInstantApp(String packageName, int userId); in isInstantApp() method
DPackageManager.java4447 public abstract boolean isInstantApp(); in isInstantApp() method in PackageManager
4461 public abstract boolean isInstantApp(@NonNull String packageName); in isInstantApp() method in PackageManager
DApplicationInfo.java1983 public boolean isInstantApp() { in isInstantApp() method in ApplicationInfo
/frameworks/base/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java700 final boolean isInstantApp = info.applicationInfo.isInstantApp(); in logAppTransition()
709 builder.addTaggedData(APP_TRANSITION_IS_EPHEMERAL, isInstantApp ? 1 : 0); in logAppTransition()
742 isInstantApp, in logAppTransition()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java384 if (pi != null && !pi.applicationInfo.isInstantApp()) { in onPackageAdded()
407 if (pi != null && pi.applicationInfo.isInstantApp()) { in onPackageChanged()
448 if (pi != null && !pi.applicationInfo.isInstantApp()) { in onPackageReplaced()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java318 public boolean isInstantApp() { in isInstantApp() method in PackageManagerStub
323 public boolean isInstantApp(String packageName) { in isInstantApp() method in PackageManagerStub
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java336 public boolean isInstantApp() { in isInstantApp() method in BridgePackageManager
341 public boolean isInstantApp(String packageName) { in isInstantApp() method in BridgePackageManager
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java211 return !mContext.getPackageManager().isInstantApp() in isNotInstantAppAndKeyguardRestricted()
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java402 public boolean isInstantApp() { in isInstantApp() method in MockPackageManager
408 public boolean isInstantApp(String packageName) { in isInstantApp() method in MockPackageManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DInstantAppNotifier.java231 if (appInfo.isInstantApp()) { in checkAndPostForStack()
/frameworks/base/services/core/java/com/android/server/pm/
DComponentResolver.java1507 final boolean isInstantApp = (mFlags & PackageManager.MATCH_INSTANT) != 0; in newResult()
1514 if (!isInstantApp && userState.instantApp) { in newResult()
1729 final boolean isInstantApp = (mFlags & PackageManager.MATCH_INSTANT) != 0; in newResult()
1736 if (!isInstantApp && userState.instantApp) { in newResult()
DPackageManagerService.java1885 final boolean isInstantApp = ps.getInstantApp(newUser); in handlePackagePostInstall()
1887 if (isInstantApp) { in handlePackagePostInstall()
1902 if (isInstantApp) { in handlePackagePostInstall()
1908 if (isInstantApp) { in handlePackagePostInstall()
5661 if (isInstantApp(packageName, userId)) { in isPermissionRevokedByPolicy()
6770 if (ri.activityInfo.applicationInfo.isInstantApp()) {
7180 final boolean isInstantApp = ps.getInstantApp(UserHandle.getUserId(callingUid));
7181 return isInstantApp ? ps.pkg.packageName : null;
7592 if (blockInstant && isInstantApp(info.activityInfo.packageName, userId)) {
7638 final boolean isEphemeralApp = info.activityInfo.applicationInfo.isInstantApp();
[all …]
/frameworks/base/core/java/android/os/
DEnvironment.java1170 if (packageManager.isInstantApp()) { in isExternalStorageLegacy()
/frameworks/base/test-mock/api/
Dcurrent.txt265 method public boolean isInstantApp();
266 method public boolean isInstantApp(String);
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java964 public boolean isInstantApp() { in isInstantApp() method in ApplicationPackageManager
965 return isInstantApp(mContext.getPackageName()); in isInstantApp()
969 public boolean isInstantApp(String packageName) { in isInstantApp() method in ApplicationPackageManager
971 return mPM.isInstantApp(packageName, getUserId()); in isInstantApp()

12