HomeSort by relevance Sort by last modified time
    Searched refs:ApplicationInfo (Results 1 - 25 of 657) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/content/pm/
ApplicationInfo.aidl 20 parcelable ApplicationInfo;
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/instantapps/
InstantAppDataProvider.java 19 import android.content.pm.ApplicationInfo;
23 * isInstantApp method of ApplicationInfo, so we get a method not found exception when running tests
27 public boolean isInstantApp(ApplicationInfo info);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
ApplicationTestUtils.java 17 import android.content.pm.ApplicationInfo;
24 * Create and populate an {@link android.content.pm.ApplicationInfo} object that describes an
29 * @param flags Flags describing the app. See {@link android.content.pm.ApplicationInfo#flags}
33 * @see android.content.pm.ApplicationInfo
35 public static ApplicationInfo buildInfo(int uid, String packageName, int flags,
37 final ApplicationInfo info = new ApplicationInfo();
  /frameworks/base/services/core/java/com/android/server/pm/
SettingBase.java 19 import android.content.pm.ApplicationInfo;
54 & (ApplicationInfo.FLAG_SYSTEM
55 | ApplicationInfo.FLAG_EXTERNAL_STORAGE);
60 & (ApplicationInfo.PRIVATE_FLAG_PRIVILEGED
61 | ApplicationInfo.PRIVATE_FLAG_FORWARD_LOCK
62 | ApplicationInfo.PRIVATE_FLAG_REQUIRED_FOR_SYSTEM_USER);
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
TestResolveInfo.java 19 import android.content.pm.ApplicationInfo;
28 ApplicationInfo appInfo = new ApplicationInfo();
30 activityInfo.applicationInfo = appInfo;
  /packages/apps/Settings/src/com/android/settings/search/
AppSearchResult.java 20 import android.content.pm.ApplicationInfo;
25 * Installed app's ApplicationInfo for delayed loading of icons
27 public final ApplicationInfo info;
39 protected ApplicationInfo mInfo;
41 public SearchResult.Builder setAppInfo(ApplicationInfo info) {
  /packages/apps/Settings/tests/robotests/src/android/util/
IconDrawableFactory.java 19 import android.content.pm.ApplicationInfo;
33 public Drawable getBadgedIcon(ApplicationInfo appInfo) {
37 public Drawable getBadgedIcon(ApplicationInfo appInfo, int userId) {
41 public Drawable getBadgedIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo, int userId) {
  /packages/apps/StorageManager/robotests/src/android/util/
IconDrawableFactory.java 19 import android.content.pm.ApplicationInfo;
31 public Drawable getBadgedIcon(ApplicationInfo appInfo) {
35 public Drawable getBadgedIcon(ApplicationInfo appInfo, int userId) {
39 public Drawable getBadgedIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo, int userId) {
  /cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/src/com/android/cts/privilegedupdate/
PrivilegedAppDisableTest.java 23 import android.content.pm.ApplicationInfo;
38 assertEquals((getApplicationFlags() & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP),
45 assertEquals((getApplicationFlags() & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP),
52 assertEquals((getApplicationFlags() & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP),
53 ApplicationInfo.FLAG_UPDATED_SYSTEM_APP);
59 assertEquals((getApplicationFlags() & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP),
60 ApplicationInfo.FLAG_UPDATED_SYSTEM_APP);
68 ApplicationInfo aInfo = pm.getApplicationInfo(PRIVILEGED_SHIM_PKG,
  /cts/tests/tests/content/src/android/content/pm/cts/
ApplicationInfo_DisplayNameComparatorTest.java 19 import android.content.pm.ApplicationInfo;
21 import android.content.pm.ApplicationInfo.DisplayNameComparator;
47 mDisplayNameComparator = new ApplicationInfo.DisplayNameComparator(pm);
49 ApplicationInfo info1 = new ApplicationInfo();
50 ApplicationInfo info2 = new ApplicationInfo();
59 info1 = new ApplicationInfo();
ApplicationInfoTest.java 22 import android.content.pm.ApplicationInfo;
29 * Test {@link ApplicationInfo}.
32 private ApplicationInfo mApplicationInfo;
42 ApplicationInfo info = new ApplicationInfo();
46 ApplicationInfo copy = new ApplicationInfo(info);
57 ApplicationInfo info = ApplicationInfo.CREATOR.createFromParcel(p);
75 mApplicationInfo = new ApplicationInfo();
    [all...]
  /cts/tests/tests/dpi/src/android/dpi/cts/
DefaultManifestAttributesTest.java 19 import android.content.pm.ApplicationInfo;
45 private ApplicationInfo appInfo;
47 protected ApplicationInfo getAppInfo() {
73 (getAppInfo().flags & ApplicationInfo.FLAG_SUPPORTS_SMALL_SCREENS) != 0);
80 (getAppInfo().flags & ApplicationInfo.FLAG_SUPPORTS_NORMAL_SCREENS) != 0);
85 (getAppInfo().flags & ApplicationInfo.FLAG_SUPPORTS_LARGE_SCREENS) != 0);
90 (getAppInfo().flags & ApplicationInfo.FLAG_RESIZEABLE_FOR_SCREENS) != 0);
95 (getAppInfo().flags & ApplicationInfo.FLAG_SUPPORTS_SCREEN_DENSITIES) != 0);
  /packages/apps/TV/common/src/com/android/tv/common/feature/
SystemAppFeature.java 20 import android.content.pm.ApplicationInfo;
32 return (context.getApplicationInfo().flags & ApplicationInfo.FLAG_SYSTEM) != 0;
  /cts/tests/tests/permission/src/android/permission/cts/
DebuggableTest.java 19 import android.content.pm.ApplicationInfo;
36 List<ApplicationInfo> apps = getContext()
39 for (ApplicationInfo app : apps) {
41 if ((app.flags & ApplicationInfo.FLAG_DEBUGGABLE) == ApplicationInfo.FLAG_DEBUGGABLE) {
  /packages/apps/Launcher3/src/com/android/launcher3/util/
InstantAppResolver.java 20 import android.content.pm.ApplicationInfo;
38 public boolean isInstantApp(ApplicationInfo info) {
42 public List<ApplicationInfo> getInstantApps() {
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
PackageUtils.java 19 import android.content.pm.ApplicationInfo;
35 final ApplicationInfo ai = context.getPackageManager().getApplicationInfo(packageName,
39 return (ai != null) && ((ai.flags & ApplicationInfo.FLAG_INSTALLED) != 0);
  /packages/apps/Settings/tests/unit/src/com/android/settings/applications/
ManageApplicationsUnitTest.java 19 import android.content.pm.ApplicationInfo;
46 final ApplicationInfo info = new ApplicationInfo();
48 info.category = ApplicationInfo.CATEGORY_AUDIO;
62 final ApplicationInfo info = new ApplicationInfo();
64 info.category = ApplicationInfo.CATEGORY_VIDEO;
78 final ApplicationInfo info = new ApplicationInfo();
80 info.category = ApplicationInfo.CATEGORY_GAME
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
AppBackupUtilsTest.java 21 import android.content.pm.ApplicationInfo;
48 ApplicationInfo applicationInfo = new ApplicationInfo();
49 applicationInfo.flags = 0;
50 applicationInfo.uid = Process.FIRST_APPLICATION_UID;
51 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME;
52 applicationInfo.packageName = TEST_PACKAGE_NAME;
54 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo);
62 ApplicationInfo applicationInfo = new ApplicationInfo()
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
InstalledAppLister.java 19 import android.content.pm.ApplicationInfo;
30 protected boolean includeInCount(ApplicationInfo info) {
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
CarrierAppUtilsTest.java 19 import android.content.pm.ApplicationInfo;
101 ApplicationInfo appInfo = new ApplicationInfo();
122 ApplicationInfo appInfo = new ApplicationInfo();
124 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM;
142 ApplicationInfo appInfo = new ApplicationInfo();
144 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM;
162 ApplicationInfo appInfo = new ApplicationInfo()
    [all...]
  /frameworks/base/services/backup/java/com/android/server/backup/utils/
AppBackupUtils.java 23 import android.content.pm.ApplicationInfo;
32 * Utility methods wrapping operations on ApplicationInfo and PackageInfo.
47 public static boolean appIsEligibleForBackup(ApplicationInfo app) {
49 if ((app.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) == 0) {
69 public static boolean appIsStopped(ApplicationInfo app) {
70 return ((app.flags & ApplicationInfo.FLAG_STOPPED) != 0);
78 if (pkg.applicationInfo.backupAgentName != null) {
80 return (pkg.applicationInfo.flags & ApplicationInfo.FLAG_FULL_BACKUP_ONLY) != 0;
118 if ((target.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
AppsQueryHelperTests.java 108 protected List<ApplicationInfo> getAllApps(int userId) {
109 final ApplicationInfo ai1 = new ApplicationInfo();
110 ai1.flags |= ApplicationInfo.FLAG_SYSTEM;
112 final ApplicationInfo ai2 = new ApplicationInfo();
113 ai2.flags |= ApplicationInfo.FLAG_SYSTEM;
115 ai2.flags |= ApplicationInfo.FLAG_SYSTEM;
116 final ApplicationInfo ai3 = new ApplicationInfo();
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AllAppsList.java 35 public ArrayList<ApplicationInfo> data =
36 new ArrayList<ApplicationInfo>(DEFAULT_APPLICATIONS_NUMBER);
38 public ArrayList<ApplicationInfo> added =
39 new ArrayList<ApplicationInfo>(DEFAULT_APPLICATIONS_NUMBER);
41 public ArrayList<ApplicationInfo> removed = new ArrayList<ApplicationInfo>();
43 public ArrayList<ApplicationInfo> modified = new ArrayList<ApplicationInfo>();
55 * Add the supplied ApplicationInfo objects to the list, and enqueue it into the
60 public void add(ApplicationInfo info)
    [all...]
ApplicationInfo.java 35 class ApplicationInfo extends ItemInfo {
36 private static final String TAG = "Launcher2.ApplicationInfo";
60 ApplicationInfo() {
67 public ApplicationInfo(LauncherActivityInfo info, UserHandle user, IconCache iconCache,
74 if ((appFlags & android.content.pm.ApplicationInfo.FLAG_SYSTEM) == 0) {
77 if ((appFlags & android.content.pm.ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) {
91 public ApplicationInfo(ApplicationInfo info) {
102 return "ApplicationInfo(title=" + title.toString() + " P=" + user + ")";
106 ArrayList<ApplicationInfo> list)
    [all...]
  /frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/
ApplicationsStateTest.java 24 import android.content.pm.ApplicationInfo;
38 mEntry.info = mock(ApplicationInfo.class);
43 mEntry.info.flags = ApplicationInfo.FLAG_IS_GAME;
50 mEntry.info.category = ApplicationInfo.CATEGORY_GAME;
57 mEntry.info.flags = ApplicationInfo.FLAG_IS_GAME;
58 mEntry.info.category = ApplicationInfo.CATEGORY_GAME;
65 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED;
72 mEntry.info.category = ApplicationInfo.CATEGORY_AUDIO;
79 mEntry.info.category = ApplicationInfo.CATEGORY_GAME;
86 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED
    [all...]

Completed in 1227 milliseconds

1 2 3 4 5 6 7 8 91011>>