/frameworks/base/services/java/com/android/server/am/ |
LaunchWarningWindow.java | 46 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager())); 49 next.info.applicationInfo.loadLabel(context.getPackageManager()).toString())); 51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager())); 54 cur.info.applicationInfo.loadLabel(context.getPackageManager()).toString()));
|
/frameworks/base/core/java/android/content/pm/ |
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...] |
PackageInfo.java | 65 public ApplicationInfo applicationInfo; 249 if (applicationInfo != null) { 251 applicationInfo.writeToParcel(dest, parcelableFlags); 294 applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source);
|
RegisteredServicesCache.java | 280 if ((packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { 456 V v = parseServiceAttributes(pm.getResourcesForApplication(si.applicationInfo), 462 final ApplicationInfo applicationInfo = serviceInfo.applicationInfo; 463 final int uid = applicationInfo.uid;
|
PackageParser.java | 302 pi.applicationInfo = generateApplicationInfo(p, flags, state, userId); 304 if ((pi.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0 305 || (pi.applicationInfo.flags&ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) { 580 //pkg.applicationInfo.sourceDir = destCodePath; 581 //pkg.applicationInfo.publicSourceDir = destRes; [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);
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
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...] |
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-SearchView/src/main/src/com/example/android/actionbarcompat/searchview/ |
AppListFragment.java | 19 import android.content.pm.ApplicationInfo; 170 final ApplicationInfo applicationInfo; 174 ApplicationItem(PackageManager packageManager, ApplicationInfo applicationInfo) { 175 this.applicationInfo = applicationInfo; 178 this.label = applicationInfo.loadLabel(packageManager); 191 List<ApplicationInfo> apps = mPackageManager.getInstalledApplications(0); 197 for (ApplicationInfo info : apps) [all...] |
/development/apps/Development/src/com/android/development/ |
PackageBrowser.java | 64 info.label = info.info.applicationInfo.loadLabel(getPackageManager()).toString(); 78 icon.setImageDrawable(info.info.applicationInfo.loadIcon(getPackageManager())); 158 final String dataPath = packageInfo.info.applicationInfo.dataDir;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
RobolectricPackageManager.java | 11 import android.content.pm.ApplicationInfo; 29 private ApplicationInfo applicationInfo; 47 public ApplicationInfo getApplicationInfo(String packageName, int flags) throws NameNotFoundException { 50 if (applicationInfo == null) { 51 applicationInfo = new ApplicationInfo(); 52 applicationInfo.flags = config.getApplicationFlags(); 53 applicationInfo.targetSdkVersion = config.getSdkVersion(); 54 applicationInfo.packageName = config.getPackageName() [all...] |
/frameworks/base/core/java/android/app/ |
WallpaperInfo.java | 24 import android.content.pm.ApplicationInfo; 101 Resources res = pm.getResourcesForApplication(si.applicationInfo); 215 mService.serviceInfo.applicationInfo); 224 ApplicationInfo applicationInfo = null; 227 applicationInfo = mService.serviceInfo.applicationInfo; 229 return pm.getText(packageName, mAuthorResource, applicationInfo); 237 ApplicationInfo applicationInfo = null [all...] |
/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...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
AllAppsList.java | 60 * Add the supplied ApplicationInfo objects to the list, and enqueue it into the 130 final AppInfo applicationInfo = data.get(i); 131 final ComponentName component = applicationInfo.intent.getComponent(); 134 removed.add(applicationInfo); 146 AppInfo applicationInfo = findApplicationInfoLocked( 147 info.activityInfo.applicationInfo.packageName, 149 if (applicationInfo == null) { 152 mIconCache.remove(applicationInfo.componentName); 153 mIconCache.getTitleAndIcon(applicationInfo, info, null); 154 modified.add(applicationInfo); [all...] |
/frameworks/base/core/java/android/app/admin/ |
DeviceAdminInfo.java | 26 import android.content.pm.ApplicationInfo; 245 Resources res = pm.getResourcesForApplication(ai.applicationInfo); 356 ApplicationInfo applicationInfo = null; 359 applicationInfo = mReceiver.activityInfo.applicationInfo; 362 mReceiver.activityInfo.descriptionRes, applicationInfo);
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
GLImpl.java | 23 import android.content.pm.ApplicationInfo; 71 ApplicationInfo applicationInfo = pm.getApplicationInfo(appName, 0, UserHandle.myUserId()); 72 if (applicationInfo != null) { 73 version = applicationInfo.targetSdkVersion; [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
Settings.java | 46 import android.content.pm.ApplicationInfo; 274 if((p.pkg != null) && (p.pkg.applicationInfo != null)) { 275 p.pkg.applicationInfo.flags |= ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; 296 // Reset flag in ApplicationInfo object 297 if((p.pkg != null) && (p.pkg.applicationInfo != null)) { 298 p.pkg.applicationInfo.flags &= ~ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; 400 if ((p.pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0) { 433 & (ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_PRIVILEGED) [all...] |
PackageManagerService.java | 65 import android.content.pm.ApplicationInfo; 430 ApplicationInfo mAndroidApplication; [all...] |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |