Home
last modified time | relevance | path

Searched refs:ApplicationInfo (Results 1 – 25 of 433) sorted by relevance

12345678910>>...18

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java19 import android.content.pm.ApplicationInfo;
111 ApplicationInfo appInfo = new ApplicationInfo(); in testDisableCarrierAppsUntilPrivileged_NonSystemApp()
135 ApplicationInfo appInfo = new ApplicationInfo(); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser()
137 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser()
158 ApplicationInfo appInfo = new ApplicationInfo(); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled()
160 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled()
181 ApplicationInfo appInfo = new ApplicationInfo(); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
183 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
204 ApplicationInfo appInfo = new ApplicationInfo(); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp()
206 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_UPDATED_SYSTEM_APP in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DAppBackupUtilsTest.java25 import android.content.pm.ApplicationInfo;
70 ApplicationInfo applicationInfo = new ApplicationInfo(); in appIsEligibleForBackup_backupNotAllowed_returnsFalse()
85 ApplicationInfo applicationInfo = new ApplicationInfo(); in appIsEligibleForBackup_systemAppWithoutCustomBackupAgent_returnsFalse()
86 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_systemAppWithoutCustomBackupAgent_returnsFalse()
99 ApplicationInfo applicationInfo = new ApplicationInfo(); in appIsEligibleForBackup_sharedStorageBackupPackage_returnsFalse()
100 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_sharedStorageBackupPackage_returnsFalse()
114 ApplicationInfo applicationInfo = new ApplicationInfo(); in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue()
115 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue()
131 ApplicationInfo applicationInfo = new ApplicationInfo(); in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue()
132 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue()
[all …]
DTarBackupReaderTest.java39 import android.content.pm.ApplicationInfo;
320 packageInfo.applicationInfo = new ApplicationInfo(); in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore()
321 packageInfo.applicationInfo.flags = ~ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore()
345 packageInfo.applicationInfo = new ApplicationInfo(); in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore()
346 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore()
374 packageInfo.applicationInfo = new ApplicationInfo(); in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore()
375 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore()
410 packageInfo.applicationInfo = new ApplicationInfo(); in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept()
412 ApplicationInfo.FLAG_ALLOW_BACKUP | ApplicationInfo.FLAG_RESTORE_ANY_VERSION; in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept()
448 packageInfo.applicationInfo = new ApplicationInfo(); in chooseRestorePolicy_restoreAnyVersion_returnsAccept()
[all …]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/
DApplicationsStateTest.java24 import android.content.pm.ApplicationInfo;
38 mEntry.info = mock(ApplicationInfo.class); in setUp()
43 mEntry.info.flags = ApplicationInfo.FLAG_IS_GAME; in testGamesFilterAcceptsGameDeprecated()
50 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testGameFilterAcceptsCategorizedGame()
57 mEntry.info.flags = ApplicationInfo.FLAG_IS_GAME; in testGameFilterAcceptsCategorizedGameAndDeprecatedIsGame()
58 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testGameFilterAcceptsCategorizedGameAndDeprecatedIsGame()
65 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED; in testGamesFilterRejectsNotGame()
72 mEntry.info.category = ApplicationInfo.CATEGORY_AUDIO; in testAudioFilterAcceptsCategorizedAudio()
79 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testAudiosFilterRejectsNotAudio()
86 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED; in testAudiosFilterRejectsDefaultCategory()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppsQueryHelperTests.java108 protected List<ApplicationInfo> getAllApps(int userId) { in getAllApps()
109 final ApplicationInfo ai1 = new ApplicationInfo(); in getAllApps()
110 ai1.flags |= ApplicationInfo.FLAG_SYSTEM; in getAllApps()
112 final ApplicationInfo ai2 = new ApplicationInfo(); in getAllApps()
113 ai2.flags |= ApplicationInfo.FLAG_SYSTEM; in getAllApps()
115 ai2.flags |= ApplicationInfo.FLAG_SYSTEM; in getAllApps()
116 final ApplicationInfo ai3 = new ApplicationInfo(); in getAllApps()
118 ai3.flags |= ApplicationInfo.FLAG_SYSTEM; in getAllApps()
119 ai3.privateFlags |= ApplicationInfo.PRIVATE_FLAG_REQUIRED_FOR_SYSTEM_USER; in getAllApps()
120 final ApplicationInfo ai4 = new ApplicationInfo(); in getAllApps()
[all …]
DPackageHelperTests.java107 private ApplicationInfo mApplicationInfo = null;
109 public void setMockValues(ApplicationInfo applicationInfo, in setMockValues()
132 public ApplicationInfo getExistingAppInfo(Context context, String packagename) { in getExistingAppInfo()
157 ApplicationInfo systemAppInfo = new ApplicationInfo(); in testResolveInstallVolumeInternal_SystemApp()
158 systemAppInfo.flags = ApplicationInfo.FLAG_SYSTEM; in testResolveInstallVolumeInternal_SystemApp()
235 ApplicationInfo appInfo = new ApplicationInfo(); in testResolveInstallVolumeInternal_3rdParty_existing_not_too_big()
255 ApplicationInfo appInfo = new ApplicationInfo(); in testResolveInstallVolumeInternal_3rdParty_existing_not_too_big_adopted()
286 ApplicationInfo appInfo = new ApplicationInfo(); in testResolveInstallVolumeAdopted_3rdParty_existing_too_big()
332 ApplicationInfo appInfo = null; in testResolveInstallVolumeInternal_3rdParty_auto()
367 ApplicationInfo appInfo = null; in testResolveInstallVolumeInternal_3rdParty_internal_only()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DSettingBase.java19 import android.content.pm.ApplicationInfo;
56 & (ApplicationInfo.FLAG_SYSTEM in setFlags()
57 | ApplicationInfo.FLAG_EXTERNAL_STORAGE); in setFlags()
62 & (ApplicationInfo.PRIVATE_FLAG_PRIVILEGED in setPrivateFlags()
63 | ApplicationInfo.PRIVATE_FLAG_OEM in setPrivateFlags()
64 | ApplicationInfo.PRIVATE_FLAG_VENDOR in setPrivateFlags()
65 | ApplicationInfo.PRIVATE_FLAG_PRODUCT in setPrivateFlags()
66 | ApplicationInfo.PRIVATE_FLAG_PRODUCT_SERVICES in setPrivateFlags()
67 | ApplicationInfo.PRIVATE_FLAG_REQUIRED_FOR_SYSTEM_USER in setPrivateFlags()
68 | ApplicationInfo.PRIVATE_FLAG_ODM); in setPrivateFlags()
DPackageSetting.java19 import android.content.pm.ApplicationInfo;
136 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isPrivileged()
140 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_OEM) != 0; in isOem()
144 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_VENDOR) != 0; in isVendor()
148 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRODUCT) != 0; in isProduct()
152 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRODUCT_SERVICES) != 0; in isProductServices()
156 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_ODM) != 0; in isOdm()
160 return (pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystem()
164 return (pkgFlags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0; in isUpdatedSystem()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCarrierAppUtils.java21 import android.content.pm.ApplicationInfo;
127 List<ApplicationInfo> candidates = getDefaultCarrierAppCandidatesHelper(packageManager, in disableCarrierAppsUntilPrivileged()
133 Map<String, List<ApplicationInfo>> associatedApps = getDefaultCarrierAssociatedAppsHelper( in disableCarrierAppsUntilPrivileged()
144 for (ApplicationInfo ai : candidates) { in disableCarrierAppsUntilPrivileged()
155 List<ApplicationInfo> associatedAppList = associatedApps.get(packageName); in disableCarrierAppsUntilPrivileged()
157 for (ApplicationInfo associatedApp : associatedAppList) { in disableCarrierAppsUntilPrivileged()
173 || (ai.flags & ApplicationInfo.FLAG_INSTALLED) == 0)) { in disableCarrierAppsUntilPrivileged()
190 for (ApplicationInfo associatedApp : associatedAppList) { in disableCarrierAppsUntilPrivileged()
196 & ApplicationInfo.FLAG_INSTALLED) == 0) { in disableCarrierAppsUntilPrivileged()
221 && (ai.flags & ApplicationInfo.FLAG_INSTALLED) != 0) { in disableCarrierAppsUntilPrivileged()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java23 import android.content.pm.ApplicationInfo;
115 ApplicationInfo info = mIPm.getApplicationInfo(packageName, in applyUserAppState()
118 || (info.flags&ApplicationInfo.FLAG_INSTALLED) == 0) { in applyUserAppState()
126 if (info != null && (info.privateFlags&ApplicationInfo.PRIVATE_FLAG_HIDDEN) != 0 in applyUserAppState()
127 && (info.flags&ApplicationInfo.FLAG_INSTALLED) != 0) { in applyUserAppState()
140 ApplicationInfo info = mIPm.getApplicationInfo(packageName, 0, userId); in applyUserAppState()
183 List<ApplicationInfo> installedApps = pm.getInstalledApplications( in fetchAndMergeApps()
185 for (ApplicationInfo app : installedApps) { in fetchAndMergeApps()
187 if ((app.flags & ApplicationInfo.FLAG_INSTALLED) == 0) continue; in fetchAndMergeApps()
189 if ((app.flags & ApplicationInfo.FLAG_SYSTEM) == 0 in fetchAndMergeApps()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java43 import android.content.pm.ApplicationInfo;
126 protected Drawable getBadgedIcon(ApplicationInfo appInfo) { in getBadgedIcon()
201 final List<ApplicationInfo> infos = new ArrayList<>(); in setUp()
221 private ApplicationInfo createApplicationInfo(String packageName) { in createApplicationInfo()
225 private ApplicationInfo createApplicationInfo(String packageName, int uid) { in createApplicationInfo()
226 ApplicationInfo appInfo = new ApplicationInfo(); in createApplicationInfo()
228 appInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in createApplicationInfo()
235 private AppEntry createAppEntry(ApplicationInfo appInfo, int id) { in createAppEntry()
247 ApplicationInfo appInfo = createApplicationInfo(packageName, id); in addApp()
381 final List<ApplicationInfo> mApplications = mApplicationsState.mApplications; in onResume_shouldNotIncludeSystemHiddenModule()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DAppBackupUtils.java27 import android.content.pm.ApplicationInfo;
67 public static boolean appIsEligibleForBackup(ApplicationInfo app, int userId) { in appIsEligibleForBackup()
74 ApplicationInfo app, PackageManagerInternal packageManager, int userId) { in appIsEligibleForBackup()
76 if ((app.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) == 0) { in appIsEligibleForBackup()
125 ApplicationInfo applicationInfo = packageInfo.applicationInfo; in appIsRunningAndEligibleForBackupWithTransport()
150 static boolean appIsDisabled(ApplicationInfo app, int userId) { in appIsDisabled()
156 ApplicationInfo app, PackageManagerInternal packageManager, int userId) { in appIsDisabled()
183 public static boolean appIsStopped(ApplicationInfo app) { in appIsStopped()
184 return ((app.flags & ApplicationInfo.FLAG_STOPPED) != 0); in appIsStopped()
194 return (pkg.applicationInfo.flags & ApplicationInfo.FLAG_FULL_BACKUP_ONLY) != 0; in appGetsFullBackup()
[all …]
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java58 public class ApplicationInfo extends PackageItemInfo implements Parcelable { class
1222 case ApplicationInfo.CATEGORY_GAME: in getCategoryTitle()
1224 case ApplicationInfo.CATEGORY_AUDIO: in getCategoryTitle()
1226 case ApplicationInfo.CATEGORY_VIDEO: in getCategoryTitle()
1228 case ApplicationInfo.CATEGORY_IMAGE: in getCategoryTitle()
1230 case ApplicationInfo.CATEGORY_SOCIAL: in getCategoryTitle()
1232 case ApplicationInfo.CATEGORY_NEWS: in getCategoryTitle()
1234 case ApplicationInfo.CATEGORY_MAPS: in getCategoryTitle()
1236 case ApplicationInfo.CATEGORY_PRODUCTIVITY: in getCategoryTitle()
1513 implements Comparator<ApplicationInfo> {
[all …]
/frameworks/base/core/java/android/security/net/config/
DManifestConfigSource.java20 import android.content.pm.ApplicationInfo;
33 private final ApplicationInfo mApplicationInfo;
40 mApplicationInfo = new ApplicationInfo(context.getApplicationInfo()); in ManifestConfigSource()
62 (mApplicationInfo.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0; in getConfigSource()
77 (mApplicationInfo.flags & ApplicationInfo.FLAG_USES_CLEARTEXT_TRAFFIC) != 0 in getConfigSource()
90 DefaultConfigSource(boolean usesCleartextTraffic, ApplicationInfo info) { in DefaultConfigSource()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/
DBackupUtilsTest.java25 import android.content.pm.ApplicationInfo;
81 packageInfo.applicationInfo = new ApplicationInfo(); in signaturesMatch_systemApplication_returnsTrue()
82 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in signaturesMatch_systemApplication_returnsTrue()
103 packageInfo.applicationInfo = new ApplicationInfo(); in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse()
122 packageInfo.applicationInfo = new ApplicationInfo(); in signaturesMatch_disallowsUnsignedApps_storedSignatureEmpty_returnsFalse()
139 packageInfo.applicationInfo = new ApplicationInfo(); in signaturesMatch_disallowsUnsignedApps_targetSignatureEmpty_returnsFalse()
156 packageInfo.applicationInfo = new ApplicationInfo(); in signaturesMatch_disallowsUnsignedApps_targetSignatureNull_returnsFalse()
172 packageInfo.applicationInfo = new ApplicationInfo(); in signaturesMatch_disallowsUnsignedApps_bothSignaturesNull_returnsFalse()
186 packageInfo.applicationInfo = new ApplicationInfo(); in signaturesMatch_disallowsUnsignedApps_bothSignaturesEmpty_returnsFalse()
205 packageInfo.applicationInfo = new ApplicationInfo(); in signaturesMatch_equalSignatures_returnsTrue()
[all …]
/frameworks/base/media/java/android/media/tv/
DTvContentRatingSystemInfo.java21 import android.content.pm.ApplicationInfo;
36 private final ApplicationInfo mApplicationInfo;
47 ApplicationInfo applicationInfo) { in createTvContentRatingSystemInfo()
56 private TvContentRatingSystemInfo(Uri xmlUri, ApplicationInfo applicationInfo) { in TvContentRatingSystemInfo()
66 return (mApplicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystemDefined()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppRestrictionsHelperTest.java32 import android.content.pm.ApplicationInfo;
67 private ArrayList<ApplicationInfo> mInstalledAppInfos;
133 ApplicationInfo info = new ApplicationInfo(); in testApplyUserAppsStates()
134 info.privateFlags |= ApplicationInfo.PRIVATE_FLAG_HIDDEN; in testApplyUserAppsStates()
135 info.flags |= ApplicationInfo.FLAG_INSTALLED; in testApplyUserAppsStates()
140 info = new ApplicationInfo(); in testApplyUserAppsStates()
194 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in addSystemAppsWithRequiredAccounts()
216 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in addInstalledApp()
223 ri.activityInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in createResolveInfoForSystemApp()
224 ri.serviceInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in createResolveInfoForSystemApp()
[all …]
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DTestUtils.java19 import android.content.pm.ApplicationInfo;
83 public static ApplicationInfo makeApplicationInfo() { in makeApplicationInfo()
84 ApplicationInfo info = new ApplicationInfo(); in makeApplicationInfo()
90 public static ApplicationInfo makeApplicationInfo(int targetSdkVersion) { in makeApplicationInfo()
91 ApplicationInfo info = makeApplicationInfo(); in makeApplicationInfo()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverDataProvider.java23 import android.content.pm.ApplicationInfo;
72 static ApplicationInfo createApplicationInfo() { in createApplicationInfo()
73 ApplicationInfo ai = new ApplicationInfo(); in createApplicationInfo()
82 public ApplicationInfo appInfo;
121 ApplicationInfo appInfo = new ApplicationInfo() { in createPackageManagerMockedInfo()
/frameworks/base/core/tests/coretests/src/android/app/
DApplicationPackageManagerTest.java23 import android.content.pm.ApplicationInfo;
149 ApplicationInfo sysAppInfo = new ApplicationInfo(); in testGetCandidateVolumes_systemApp()
150 sysAppInfo.flags = ApplicationInfo.FLAG_SYSTEM; in testGetCandidateVolumes_systemApp()
180 ApplicationInfo appInfo = new ApplicationInfo(); in testGetCandidateVolumes_3rdParty_internalOnly()
209 ApplicationInfo appInfo = new ApplicationInfo(); in testGetCandidateVolumes_3rdParty_auto()
238 appInfo.flags = ApplicationInfo.FLAG_EXTERNAL_STORAGE; in testGetCandidateVolumes_3rdParty_auto()
/frameworks/base/core/java/android/os/
DAppZygote.java19 import android.content.pm.ApplicationInfo;
55 private final ApplicationInfo mAppInfo;
57 public AppZygote(ApplicationInfo appInfo, int zygoteUid, int uidGidMin, int uidGidMax) { in AppZygote()
86 public ApplicationInfo getAppInfo() { in getAppInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DWatchlistLoggingHandlerTests.java29 import android.content.pm.ApplicationInfo;
113 final List<ApplicationInfo> result = new ArrayList<>(); in setUp()
114 ApplicationInfo info1 = new ApplicationInfo(); in setUp()
117 ApplicationInfo info2 = new ApplicationInfo(); in setUp()
149 result.applicationInfo = new ApplicationInfo(); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java8 import android.content.pm.ApplicationInfo;
158 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo()
164 public ApplicationInfo getApplicationInfoAsUser(String packageName, int flags, int userId) in getApplicationInfoAsUser()
298 public List<ApplicationInfo> getInstalledApplications(int flags) { in getInstalledApplications()
303 public List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId) { in getInstalledApplicationsAsUser()
498 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable()
530 public Drawable getApplicationIcon(ApplicationInfo info) { in getApplicationIcon()
541 public Drawable getApplicationBanner(ApplicationInfo info) { in getApplicationBanner()
563 public Drawable getApplicationLogo(ApplicationInfo info) { in getApplicationLogo()
600 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { in getText()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java26 import android.content.pm.ApplicationInfo;
176 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo()
182 public ApplicationInfo getApplicationInfoAsUser(String packageName, int flags, int userId) in getApplicationInfoAsUser()
310 public List<ApplicationInfo> getInstalledApplications(int flags) { in getInstalledApplications()
315 public List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId) { in getInstalledApplicationsAsUser()
494 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable()
524 public Drawable getApplicationIcon(ApplicationInfo info) { in getApplicationIcon()
534 public Drawable getApplicationBanner(ApplicationInfo info) { in getApplicationBanner()
554 public Drawable getApplicationLogo(ApplicationInfo info) { in getApplicationLogo()
590 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { in getText()
[all …]
/frameworks/base/core/java/android/util/
DIconDrawableFactory.java21 import android.content.pm.ApplicationInfo;
52 protected boolean needsBadging(ApplicationInfo appInfo, @UserIdInt int userId) { in needsBadging()
57 public Drawable getBadgedIcon(ApplicationInfo appInfo) { in getBadgedIcon()
61 public Drawable getBadgedIcon(ApplicationInfo appInfo, @UserIdInt int userId) { in getBadgedIcon()
66 public Drawable getBadgedIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo, in getBadgedIcon()

12345678910>>...18