/frameworks/base/core/java/android/content/pm/ |
ApplicationInfo.aidl | 20 parcelable ApplicationInfo;
|
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/core/java/com/android/server/pm/ |
GrantedPermissions.java | 19 import android.content.pm.ApplicationInfo; 45 & (ApplicationInfo.FLAG_SYSTEM 46 | ApplicationInfo.FLAG_PRIVILEGED 47 | ApplicationInfo.FLAG_FORWARD_LOCK 48 | ApplicationInfo.FLAG_EXTERNAL_STORAGE);
|
/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...] |
/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/Launcher3/src/com/android/launcher3/compat/ |
LauncherActivityInfoCompat.java | 20 import android.content.pm.ApplicationInfo; 32 public abstract ApplicationInfo getApplicationInfo();
|
LauncherActivityInfoCompatVL.java | 20 import android.content.pm.ApplicationInfo; 49 public ApplicationInfo getApplicationInfo() {
|
/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 | 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/media/java/android/media/tv/ |
TvContentRatingSystemInfo.java | 21 import android.content.pm.ApplicationInfo; 36 private final ApplicationInfo mApplicationInfo; 43 * @param applicationInfo Information about the application that provides the TV content rating 47 ApplicationInfo applicationInfo) { 50 .authority(applicationInfo.packageName) 53 return new TvContentRatingSystemInfo(uri, applicationInfo); 56 private TvContentRatingSystemInfo(Uri xmlUri, ApplicationInfo applicationInfo) { 58 mApplicationInfo = applicationInfo; [all...] |
/frameworks/base/services/core/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,
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
AppInfo.java | 20 import android.content.pm.ApplicationInfo; 70 ApplicationInfo getApplicationInfo() { 78 return (mEntry.info.flags & ApplicationInfo.FLAG_STOPPED) != 0; 84 return (mEntry.info.flags & ApplicationInfo.FLAG_INSTALLED) != 0; 90 return (mEntry.info.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0; 102 return (mEntry.info.flags & ApplicationInfo.FLAG_SYSTEM) != 0;
|
/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;
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
PathUtils.java | 8 import android.content.pm.ApplicationInfo; 77 ApplicationInfo ai = appContext.getApplicationInfo(); 78 if ((ai.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0 || 79 (ai.flags & ApplicationInfo.FLAG_SYSTEM) == 0) {
|
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/teapot/ |
TeapotApplication.java | 23 import android.content.pm.ApplicationInfo; 38 ApplicationInfo ai;
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
IAppWidgetHost.aidl | 19 import android.content.pm.ApplicationInfo;
|
/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();
|
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
MainActivity.java | 21 import android.content.pm.ApplicationInfo; 41 ApplicationInfo info = packageManager.getApplicationInfo( 44 if (0 == (info.flags & ApplicationInfo.FLAG_INSTALLED)) {
|
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
MainActivity.java | 21 import android.content.pm.ApplicationInfo; 41 ApplicationInfo info = packageManager.getApplicationInfo( 44 if (0 == (info.flags & ApplicationInfo.FLAG_INSTALLED)) {
|
/packages/apps/Settings/tests/src/com/android/settings/ |
SettingsHookTests.java | 25 import android.content.pm.ApplicationInfo; 72 ApplicationInfo applicationInfo = pm.getApplicationInfo(PACKAGE_NAME, 0); 73 assertTrue((applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0);
|