Home
last modified time | relevance | path

Searched refs:applicationInfo (Results 1 – 25 of 109) sorted by relevance

12345

/frameworks/base/core/java/android/content/pm/
DComponentInfo.java36 public ApplicationInfo applicationInfo; field in ComponentInfo
71 applicationInfo = orig.applicationInfo; in ComponentInfo()
82 ApplicationInfo ai = applicationInfo; in loadLabel()
106 return enabled && applicationInfo.enabled; in isEnabled()
117 return icon != 0 ? icon : applicationInfo.icon; in getIconResource()
128 return logo != 0 ? logo : applicationInfo.logo; in getLogoResource()
139 return banner != 0 ? banner : applicationInfo.banner; in getBannerResource()
152 if (applicationInfo != null) { in dumpBack()
154 applicationInfo.dump(pw, prefix + " "); in dumpBack()
163 applicationInfo.writeToParcel(dest, parcelableFlags); in writeToParcel()
[all …]
DLauncherActivityInfo.java118 return mActivityInfo.applicationInfo.flags; in getApplicationFlags()
126 return mActivityInfo.applicationInfo; in getApplicationInfo()
158 resources = mPm.getResourcesForApplication(mActivityInfo.applicationInfo); in getBadgedIcon()
DPackageInfo.java86 public ApplicationInfo applicationInfo; field in PackageInfo
298 if (applicationInfo != null) { in writeToParcel()
300 applicationInfo.writeToParcel(dest, parcelableFlags); in writeToParcel()
351 applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source); in PackageInfo()
DPackageParser.java426 pi.applicationInfo = generateApplicationInfo(p, flags, state, userId); in generatePackageInfo()
429 if ((pi.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0 in generatePackageInfo()
430 || (pi.applicationInfo.flags&ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) { in generatePackageInfo()
1372 pkg.mVersionCode = pkg.applicationInfo.versionCode = sa.getInteger( in parseBaseApk()
1399 pkg.applicationInfo.installLocation = pkg.installLocation; in parseBaseApk()
1407 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_FORWARD_LOCK; in parseBaseApk()
1412 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_EXTERNAL_STORAGE; in parseBaseApk()
1646 pkg.applicationInfo.targetSdkVersion in parseBaseApk()
1649 pkg.applicationInfo.targetSdkVersion = targetVers; in parseBaseApk()
1659 pkg.applicationInfo.requiresSmallestWidthDp = sa.getInteger( in parseBaseApk()
[all …]
DRegisteredServicesCache.java312 if ((packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in inSystemImage()
511 V v = parseServiceAttributes(pm.getResourcesForApplication(si.applicationInfo), in parseServiceInfo()
517 final ApplicationInfo applicationInfo = serviceInfo.applicationInfo; in parseServiceInfo() local
518 final int uid = applicationInfo.uid; in parseServiceInfo()
DActivityInfo.java594 return applicationInfo.targetSdkVersion < android.os.Build.VERSION_CODES.HONEYCOMB_MR2 in getRealConfigChanged()
671 return theme != 0 ? theme : applicationInfo.theme; in getThemeResource()
DResolveInfo.java176 ApplicationInfo ai = ci.applicationInfo; in loadLabel()
210 ApplicationInfo ai = ci.applicationInfo; in loadIcon()
/frameworks/base/core/java/android/app/
DWallpaperInfo.java101 Resources res = pm.getResourcesForApplication(si.applicationInfo); in WallpaperInfo()
215 mService.serviceInfo.applicationInfo); in loadThumbnail()
224 ApplicationInfo applicationInfo = null; in loadAuthor() local
227 applicationInfo = mService.serviceInfo.applicationInfo; in loadAuthor()
229 return pm.getText(packageName, mAuthorResource, applicationInfo); in loadAuthor()
237 ApplicationInfo applicationInfo = null; in loadDescription() local
240 applicationInfo = mService.serviceInfo.applicationInfo; in loadDescription()
244 applicationInfo); in loadDescription()
249 mService.serviceInfo.applicationInfo); in loadDescription()
/frameworks/base/media/java/android/media/tv/
DTvContentRatingSystemInfo.java47 ApplicationInfo applicationInfo) { in createTvContentRatingSystemInfo() argument
50 .authority(applicationInfo.packageName) in createTvContentRatingSystemInfo()
53 return new TvContentRatingSystemInfo(uri, applicationInfo); in createTvContentRatingSystemInfo()
56 private TvContentRatingSystemInfo(Uri xmlUri, ApplicationInfo applicationInfo) { in TvContentRatingSystemInfo() argument
58 mApplicationInfo = applicationInfo; in TvContentRatingSystemInfo()
/frameworks/base/services/core/java/com/android/server/am/
DLaunchWarningWindow.java46 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager())); in LaunchWarningWindow()
49 next.info.applicationInfo.loadLabel(context.getPackageManager()).toString())); in LaunchWarningWindow()
51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager())); in LaunchWarningWindow()
54 cur.info.applicationInfo.loadLabel(context.getPackageManager()).toString())); in LaunchWarningWindow()
DBroadcastQueue.java246 mService.compatibilityInfoForPackageLocked(r.curReceiver.applicationInfo), in processCurBroadcastLocked()
387 || receiver.applicationInfo.uid != nextReceiver.applicationInfo.uid in finishReceiverLocked()
748 info.activityInfo.applicationInfo.packageName, in processNextBroadcast()
753 r.callingPid, r.callingUid, info.activityInfo.applicationInfo.uid, in processNextBroadcast()
761 + " is not exported from uid " + info.activityInfo.applicationInfo.uid in processNextBroadcast()
773 if (info.activityInfo.applicationInfo.uid != Process.SYSTEM_UID && in processNextBroadcast()
778 info.activityInfo.applicationInfo.packageName); in processNextBroadcast()
794 info.activityInfo.applicationInfo.uid, info.activityInfo.packageName); in processNextBroadcast()
798 + info.activityInfo.applicationInfo.uid + " pkg " in processNextBroadcast()
805 r.callingPid, r.resolvedType, info.activityInfo.applicationInfo.uid); in processNextBroadcast()
[all …]
DServiceRecord.java312 appInfo = sInfo.applicationInfo; in ServiceRecord()
313 packageName = sInfo.applicationInfo.packageName; in ServiceRecord()
328 if ((serviceInfo.applicationInfo.flags&ApplicationInfo.FLAG_PERSISTENT) == 0) { in getTracker()
330 serviceInfo.applicationInfo.uid, serviceInfo.applicationInfo.versionCode, in getTracker()
346 if ((serviceInfo.applicationInfo.flags&ApplicationInfo.FLAG_PERSISTENT) == 0) { in makeRestarting()
348 serviceInfo.applicationInfo.uid, serviceInfo.applicationInfo.versionCode, in makeRestarting()
DBroadcastRecord.java146 if (curReceiver != null && curReceiver.applicationInfo != null) { in dump()
148 pw.println(curReceiver.applicationInfo.sourceDir); in dump()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java1035 res.pkg.applicationInfo.packageName, in doHandleMessage()
1042 res.pkg.applicationInfo.packageName, in doHandleMessage()
1046 res.pkg.applicationInfo.packageName, in doHandleMessage()
1050 res.pkg.applicationInfo.packageName, null, updateUsers); in doHandleMessage()
1058 int[] uidArray = new int[] { res.pkg.applicationInfo.uid }; in doHandleMessage()
1060 pkgList.add(res.pkg.applicationInfo.packageName); in doHandleMessage()
1674 deletedPkg.applicationInfo.flags &= ~ApplicationInfo.FLAG_SYSTEM; in PackageManagerService()
1995 return UserHandle.getUid(userId, p.applicationInfo.uid); in getPackageUid()
1998 if((ps == null) || (ps.pkg == null) || (ps.pkg.applicationInfo == null)) { in getPackageUid()
2002 return p != null ? UserHandle.getUid(userId, p.applicationInfo.uid) : -1; in getPackageUid()
[all …]
DSettings.java347 if((p.pkg != null) && (p.pkg.applicationInfo != null)) { in disableSystemPackageLPw()
348 p.pkg.applicationInfo.flags |= ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in disableSystemPackageLPw()
370 if((p.pkg != null) && (p.pkg.applicationInfo != null)) { in enableSystemPackageLPw()
371 p.pkg.applicationInfo.flags &= ~ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in enableSystemPackageLPw()
656 final String codePath = pkg.applicationInfo.getCodePath(); in insertPackageSettingLPw()
657 final String resourcePath = pkg.applicationInfo.getResourcePath(); in insertPackageSettingLPw()
658 final String legacyNativeLibraryPath = pkg.applicationInfo.nativeLibraryRootDir; in insertPackageSettingLPw()
679 p.primaryCpuAbiString = pkg.applicationInfo.primaryCpuAbi; in insertPackageSettingLPw()
680 p.secondaryCpuAbiString = pkg.applicationInfo.secondaryCpuAbi; in insertPackageSettingLPw()
691 if (pkg.applicationInfo.flags != p.pkgFlags) { in insertPackageSettingLPw()
[all …]
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java104 ApplicationInfo applicationInfo = getApplicationInfo(context); in install() local
105 if (applicationInfo == null) { in install()
111 String apkPath = applicationInfo.sourceDir; in install()
158 File dexDir = new File(applicationInfo.dataDir, SECONDARY_FOLDER_NAME); in install()
159 List<File> files = MultiDexExtractor.load(context, applicationInfo, dexDir, false); in install()
165 files = MultiDexExtractor.load(context, applicationInfo, dexDir, true); in install()
203 ApplicationInfo applicationInfo = in getApplicationInfo() local
205 return applicationInfo; in getApplicationInfo()
DMultiDexExtractor.java82 static List<File> load(Context context, ApplicationInfo applicationInfo, File dexDir, in load() argument
84 … Log.i(TAG, "MultiDexExtractor.load(" + applicationInfo.sourceDir + ", " + forceReload + ")"); in load()
85 final File sourceApk = new File(applicationInfo.sourceDir); in load()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsApplication.java196 applicationName, packageName, activityInfo.applicationInfo.uid); in getApplicationCollectionInternal()
391 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid, in getApplication()
395 appOps.setMode(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid, in getApplication()
406 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid, in getApplication()
410 appOps.setMode(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid, in getApplication()
420 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid, in getApplication()
424 appOps.setMode(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid, in getApplication()
483 appOps.setMode(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid, in setDefaultApplicationInternal()
506 appOps.setMode(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid, in setDefaultApplicationInternal()
516 appOps.setMode(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid, in setDefaultApplicationInternal()
[all …]
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
DGLImplHeader.java-impl70 … ApplicationInfo applicationInfo = pm.getApplicationInfo(appName, 0, UserHandle.myUserId());
71 if (applicationInfo != null) {
72 version = applicationInfo.targetSdkVersion;
/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java261 Resources res = pm.getResourcesForApplication(ai.applicationInfo); in DeviceAdminInfo()
372 ApplicationInfo applicationInfo = null; in loadDescription() local
375 applicationInfo = mReceiver.activityInfo.applicationInfo; in loadDescription()
378 mReceiver.activityInfo.descriptionRes, applicationInfo); in loadDescription()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java123 int uid = app.applicationInfo != null ? app.applicationInfo.uid : -1; in startMonitoring()
168 int flags = app.applicationInfo != null ? app.applicationInfo.flags : 0; in hasSystemPermission()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java303 return new UserHandle(UserHandle.getUserId(providerInfo.applicationInfo.uid)); in getProfile()
368 providerInfo.applicationInfo); in loadDrawable()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerInfo.java82 final Resources res = pm.getResourcesForApplication(si.applicationInfo); in SpellCheckerInfo()
209 return pm.getText(getPackageName(), mLabel, mService.serviceInfo.applicationInfo); in loadLabel()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java638 if (pkg.applicationInfo.backupAgentName != null) { in appGetsFullBackup()
640 return (pkg.applicationInfo.flags & ApplicationInfo.FLAG_FULL_BACKUP_ONLY) != 0; in appGetsFullBackup()
1868 if ((packInfo.applicationInfo.flags & ApplicationInfo.FLAG_PRIVILEGED) != 0) { in tryBindTransport()
1930 int uid = pkg.applicationInfo.uid; in addPackageParticipantsLockedInner()
1992 ApplicationInfo app = pkg.applicationInfo; in allAgentPackages()
2003 pkg.applicationInfo.sharedLibraryFiles = app.sharedLibraryFiles; in allAgentPackages()
2160 if ((info.applicationInfo.flags & ApplicationInfo.FLAG_ALLOW_CLEAR_USER_DATA) == 0) { in clearApplicationDataSynchronous()
2488 if (mCurrentPackage.applicationInfo.backupAgentName == null) { in invokeNextAgent()
2499 if ((mCurrentPackage.applicationInfo.flags & ApplicationInfo.FLAG_STOPPED) != 0) { in invokeNextAgent()
2510 mWakelock.setWorkSource(new WorkSource(mCurrentPackage.applicationInfo.uid)); in invokeNextAgent()
[all …]
/frameworks/base/core/java/android/webkit/
DWebViewDelegate.java161 WebViewFactory.getLoadedPackageInfo().applicationInfo.sourceDir); in addWebViewAssetPath()

12345