/frameworks/base/core/java/android/content/pm/ |
ApplicationInfo.aidl | 20 parcelable ApplicationInfo;
|
ApplicationInfo.java | 34 public class ApplicationInfo extends PackageItemInfo implements Parcelable { 534 implements Comparator<ApplicationInfo> { 539 public final int compare(ApplicationInfo aa, ApplicationInfo ab) { 556 public ApplicationInfo() { 559 public ApplicationInfo(ApplicationInfo orig) { 590 return "ApplicationInfo{" 628 public static final Parcelable.Creator<ApplicationInfo> CREATOR 629 = 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...] |
/frameworks/base/services/java/com/android/server/pm/ |
GrantedPermissions.java | 19 import android.content.pm.ApplicationInfo; 46 & (ApplicationInfo.FLAG_SYSTEM 47 | ApplicationInfo.FLAG_PRIVILEGED 48 | ApplicationInfo.FLAG_FORWARD_LOCK 49 | ApplicationInfo.FLAG_EXTERNAL_STORAGE);
|
PackageSetting.java | 19 import android.content.pm.ApplicationInfo; 62 return (pkgFlags & ApplicationInfo.FLAG_PRIVILEGED) != 0;
|
/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) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
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"; 58 ApplicationInfo() { 65 public ApplicationInfo(PackageManager pm, ResolveInfo info, IconCache iconCache, 67 final String packageName = info.activityInfo.applicationInfo.packageName; 76 if ((appFlags & android.content.pm.ApplicationInfo.FLAG_SYSTEM) == 0) { 79 if ((appFlags & android.content.pm.ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) { 91 public ApplicationInfo(ApplicationInfo info) { 117 return "ApplicationInfo(title=" + title.toString() + ")" [all...] |
/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/ContactsCommon/TestCommon/src/com/android/contacts/common/test/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...] |
/external/chromium_org/base/android/java/src/org/chromium/base/ |
PathUtils.java | 8 import android.content.pm.ApplicationInfo; 100 ApplicationInfo ai = appContext.getApplicationInfo(); 101 if ((ai.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0 || 102 (ai.flags & ApplicationInfo.FLAG_SYSTEM) == 0) {
|
/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 | 19 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
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/ |
StubPackageManager.java | 7 import android.content.pm.ApplicationInfo; 65 public ApplicationInfo getApplicationInfo(String packageName, int flags) throws NameNotFoundException { 124 @Override public List<ApplicationInfo> getInstalledApplications(int flags) { 182 @Override public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { 198 @Override public Drawable getApplicationIcon(ApplicationInfo info) { 214 @Override public Drawable getApplicationLogo(ApplicationInfo applicationInfo) { 222 @Override public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { 226 @Override public XmlResourceParser getXml(String packageName, int resid, ApplicationInfo appInfo) { 230 @Override public CharSequence getApplicationLabel(ApplicationInfo info) [all...] |
/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;
|