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

1 2 3 4 5 6 7

  /frameworks/base/core/java/android/content/pm/
ApplicationInfo.aidl 20 parcelable ApplicationInfo;
ApplicationInfo.java 34 public class ApplicationInfo extends PackageItemInfo implements Parcelable {
494 implements Comparator<ApplicationInfo> {
499 public final int compare(ApplicationInfo aa, ApplicationInfo ab) {
516 public ApplicationInfo() {
519 public ApplicationInfo(ApplicationInfo orig) {
548 return "ApplicationInfo{"
585 public static final Parcelable.Creator<ApplicationInfo> CREATOR
586 = new Parcelable.Creator<ApplicationInfo>() {
    [all...]
ComponentInfo.java 36 public ApplicationInfo applicationInfo;
41 * as <var>applicationInfo.processName</var>.
54 * overriden by the one in its parent {@link ApplicationInfo}.
71 applicationInfo = orig.applicationInfo;
82 ApplicationInfo ai = applicationInfo;
106 return enabled && applicationInfo.enabled;
117 return icon != 0 ? icon : applicationInfo.icon
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AllAppsView.java 34 public void setApps(ArrayList<ApplicationInfo> list);
36 public void addApps(ArrayList<ApplicationInfo> list);
38 public void removeApps(ArrayList<ApplicationInfo> list);
40 public void updateApps(ArrayList<ApplicationInfo> list);
AllAppsList.java 37 public ArrayList<ApplicationInfo> data =
38 new ArrayList<ApplicationInfo>(DEFAULT_APPLICATIONS_NUMBER);
40 public ArrayList<ApplicationInfo> added =
41 new ArrayList<ApplicationInfo>(DEFAULT_APPLICATIONS_NUMBER);
43 public ArrayList<ApplicationInfo> removed = new ArrayList<ApplicationInfo>();
45 public ArrayList<ApplicationInfo> modified = new ArrayList<ApplicationInfo>();
57 * Add the supplied ApplicationInfo objects to the list, and enqueue it into the
62 public void add(ApplicationInfo info)
    [all...]
ApplicationInfo.java 33 class ApplicationInfo extends ItemInfo {
34 private static final String TAG = "Launcher2.ApplicationInfo";
63 ApplicationInfo() {
70 public ApplicationInfo(PackageManager pm, ResolveInfo info, IconCache iconCache,
72 final String packageName = info.activityInfo.applicationInfo.packageName;
81 if ((appFlags & android.content.pm.ApplicationInfo.FLAG_SYSTEM) == 0) {
84 if ((appFlags & android.content.pm.ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) {
96 public ApplicationInfo(ApplicationInfo info) {
128 return "ApplicationInfo(title=" + title.toString() + ")"
    [all...]
  /frameworks/base/services/java/com/android/server/pm/
GrantedPermissions.java 19 import android.content.pm.ApplicationInfo;
46 & (ApplicationInfo.FLAG_SYSTEM
47 | ApplicationInfo.FLAG_FORWARD_LOCK
48 | ApplicationInfo.FLAG_EXTERNAL_STORAGE);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
TargetApplicationGetter.java 20 import android.content.pm.ApplicationInfo;
25 public class TargetApplicationGetter extends AsyncTask<String, Void, ApplicationInfo> {
28 private static LruCache<String, ApplicationInfo> sCache =
29 new LruCache<String, ApplicationInfo>(MAX_CACHE_ENTRIES);
31 public static ApplicationInfo getCachedApplicationInfo(final String packageName) {
40 public void onTargetApplicationKnown(final ApplicationInfo info);
53 protected ApplicationInfo doInBackground(final String... packageName) {
57 final ApplicationInfo targetAppInfo =
67 protected void onPostExecute(final ApplicationInfo info) {
  /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...]
ComponentInfoTest.java 19 import android.content.pm.ApplicationInfo;
44 componentInfo.applicationInfo = new ApplicationInfo();
71 mComponentInfo.applicationInfo = new ApplicationInfo();
111 ci.applicationInfo = new ApplicationInfo();
130 mComponentInfo.applicationInfo = new ApplicationInfo();
137 assertEquals(mComponentInfo.applicationInfo.icon, mComponentInfo.getIconResource())
    [all...]
ProviderInfoTest.java 20 import android.content.pm.ApplicationInfo;
40 ApplicationInfo appInfo = pm.getApplicationInfo(PACKAGE_NAME, 0);
  /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);
  /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) {
  /frameworks/base/services/java/com/android/server/am/
BackupRecord.java 21 import android.content.pm.ApplicationInfo;
33 final ApplicationInfo appInfo; // information about BackupAgent's app
39 BackupRecord(BatteryStatsImpl.Uid.Pkg.Serv _agentStats, ApplicationInfo _appInfo,
CompatModeDialog.java 22 import android.content.pm.ApplicationInfo;
33 final ApplicationInfo mAppInfo;
40 ApplicationInfo appInfo) {
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
ContactsMockPackageManager.java 19 import android.content.pm.ApplicationInfo;
41 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) {
  /cts/tests/tests/dpi2/src/android/dpi2/cts/
DefaultManifestAttributesCupcakeTest.java 19 import android.content.pm.ApplicationInfo;
  /development/samples/Home/src/com/example/android/home/
ApplicationInfo.java 27 class ApplicationInfo {
66 if (!(o instanceof ApplicationInfo)) {
70 ApplicationInfo that = (ApplicationInfo) o;
Home.java 100 private static ArrayList<ApplicationInfo> mApplications;
101 private static LinkedList<ApplicationInfo> mFavorites;
262 mFavorites = new LinkedList<ApplicationInfo>();
290 ApplicationInfo info;
361 final ArrayList<ApplicationInfo> recents = new ArrayList<ApplicationInfo>();
369 ApplicationInfo info = getApplicationInfo(manager, intent);
382 private static ApplicationInfo getApplicationInfo(PackageManager manager, Intent intent) {
389 final ApplicationInfo info = new ApplicationInfo();
    [all...]
  /packages/apps/Settings/tests/src/com/android/settings/
SettingsHookTests.java 26 import android.content.pm.ApplicationInfo;
77 ApplicationInfo applicationInfo = pm.getApplicationInfo(PACKAGE_NAME, 0);
78 assertTrue((applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsMockPackageManager.java 21 import android.content.pm.ApplicationInfo;
69 public ApplicationInfo getApplicationInfo(String packageName, int flags) {
70 ApplicationInfo info = new ApplicationInfo();
  /packages/apps/Settings/src/com/android/settings/
AppPicker.java 31 import android.content.pm.ApplicationInfo;
78 ApplicationInfo info;
89 List<ApplicationInfo> pkgs = context.getPackageManager().getInstalledApplications(0);
91 ApplicationInfo ai = pkgs.get(i);
98 if ((ai.flags&ApplicationInfo.FLAG_DEBUGGABLE) == 0
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/
PackageUtil.java 21 import android.content.pm.ApplicationInfo;
43 public static final String INTENT_ATTR_APPLICATION_INFO=PREFIX+"applicationInfo";
51 public static ApplicationInfo getApplicationInfo(File sourcePath) {
62 return pkg.applicationInfo;
97 ApplicationInfo appInfo, View snippetView) {
112 * @param appInfo ApplicationInfo object of package whose resources are to be loaded
149 * @param appInfo ApplicationInfo object of package whose resources are to be loaded
153 Activity pContext, ApplicationInfo appInfo, File sourceFile) {
  /frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DpiTestActivity.java 34 import android.content.pm.ApplicationInfo;
56 ApplicationInfo ai = app.getPackageManager().getApplicationInfo(
59 ai.flags |= ApplicationInfo.FLAG_SUPPORTS_XLARGE_SCREENS
60 | ApplicationInfo.FLAG_SUPPORTS_LARGE_SCREENS
61 | ApplicationInfo.FLAG_SUPPORTS_NORMAL_SCREENS
62 | ApplicationInfo.FLAG_SUPPORTS_SMALL_SCREENS
63 | ApplicationInfo.FLAG_RESIZEABLE_FOR_SCREENS
64 | ApplicationInfo.FLAG_SUPPORTS_SCREEN_DENSITIES;

Completed in 538 milliseconds

1 2 3 4 5 6 7