Home
last modified time | relevance | path

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

1234567

/frameworks/base/core/java/android/content/pm/
DComponentInfo.java38 public ApplicationInfo applicationInfo; field in ComponentInfo
84 applicationInfo = orig.applicationInfo; in ComponentInfo()
96 ApplicationInfo ai = applicationInfo; in loadLabel()
120 return enabled && applicationInfo.enabled; in isEnabled()
131 return icon != 0 ? icon : applicationInfo.icon; in getIconResource()
142 return logo != 0 ? logo : applicationInfo.logo; in getLogoResource()
153 return banner != 0 ? banner : applicationInfo.banner; in getBannerResource()
179 if (applicationInfo != null) { in dumpBack()
181 applicationInfo.dump(pw, prefix + " ", flags); in dumpBack()
195 applicationInfo.writeToParcel(dest, parcelableFlags); in writeToParcel()
[all …]
DPackageInfo.java86 public ApplicationInfo applicationInfo; field in PackageInfo
299 if (applicationInfo != null) { in writeToParcel()
301 applicationInfo.writeToParcel(dest, parcelableFlags); in writeToParcel()
352 applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source); in PackageInfo()
378 if (applicationInfo != null) { in PackageInfo()
379 propagateApplicationInfo(applicationInfo, activities); in PackageInfo()
380 propagateApplicationInfo(applicationInfo, receivers); in PackageInfo()
381 propagateApplicationInfo(applicationInfo, services); in PackageInfo()
382 propagateApplicationInfo(applicationInfo, providers); in PackageInfo()
389 ci.applicationInfo = appInfo; in propagateApplicationInfo()
DPackageParser.java496 pi.applicationInfo = generateApplicationInfo(p, flags, state, userId); in generatePackageInfo()
499 if ((pi.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0 in generatePackageInfo()
500 || (pi.applicationInfo.flags&ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) { in generatePackageInfo()
1565 childPkg.applicationInfo.targetSdkVersion = parentPkg.applicationInfo.targetSdkVersion; in parseBaseApkChild()
1566 childPkg.applicationInfo.minSdkVersion = parentPkg.applicationInfo.minSdkVersion; in parseBaseApkChild()
1623 pkg.mVersionCode = pkg.applicationInfo.versionCode = sa.getInteger( in parseBaseApk()
1691 pkg.applicationInfo.installLocation = pkg.installLocation; in parseBaseApkCommon()
1696 pkg.applicationInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_FORWARD_LOCK; in parseBaseApkCommon()
1701 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_EXTERNAL_STORAGE; in parseBaseApkCommon()
1705 pkg.applicationInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_EPHEMERAL; in parseBaseApkCommon()
[all …]
DLauncherActivityInfo.java110 = mPm.getResourcesForApplication(mActivityInfo.applicationInfo); in getIcon()
129 return mActivityInfo.applicationInfo.flags; in getApplicationFlags()
137 return mActivityInfo.applicationInfo; in getApplicationInfo()
DPackageUserState.java101 if (!componentInfo.applicationInfo.isSystemApp()) { in isMatch()
132 if (!componentInfo.applicationInfo.enabled) { in isEnabled()
/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.java284 mService.compatibilityInfoForPackageLocked(r.curReceiver.applicationInfo), in processCurBroadcastLocked()
424 || receiver.applicationInfo.uid != nextReceiver.applicationInfo.uid in finishReceiverLocked()
969 info.activityInfo.applicationInfo.packageName, in processNextBroadcast()
974 (info.activityInfo.applicationInfo.targetSdkVersion in processNextBroadcast()
976 info.activityInfo.applicationInfo.targetSdkVersion in processNextBroadcast()
981 r.callingPid, r.callingUid, info.activityInfo.applicationInfo.uid, in processNextBroadcast()
989 + " is not exported from uid " + info.activityInfo.applicationInfo.uid in processNextBroadcast()
1016 if (!skip && info.activityInfo.applicationInfo.uid != Process.SYSTEM_UID && in processNextBroadcast()
1023 info.activityInfo.applicationInfo.packageName, in processNextBroadcast()
1025 .getUserId(info.activityInfo.applicationInfo.uid)); in processNextBroadcast()
[all …]
DServiceRecord.java321 appInfo = sInfo.applicationInfo; in ServiceRecord()
322 packageName = sInfo.applicationInfo.packageName; in ServiceRecord()
337 if ((serviceInfo.applicationInfo.flags&ApplicationInfo.FLAG_PERSISTENT) == 0) { in getTracker()
339 serviceInfo.applicationInfo.uid, serviceInfo.applicationInfo.versionCode, in getTracker()
355 if ((serviceInfo.applicationInfo.flags&ApplicationInfo.FLAG_PERSISTENT) == 0) { in makeRestarting()
357 serviceInfo.applicationInfo.uid, serviceInfo.applicationInfo.versionCode, in makeRestarting()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java82 return (pkg.applicationInfo.flags & ApplicationInfo.FLAG_HAS_CODE) != 0; in canOptimizePackage()
97 mDexoptWakeLock.setWorkSource(new WorkSource(pkg.applicationInfo.uid)); in performDexOpt()
130 final String[] instructionSets = getAppDexInstructionSets(pkg.applicationInfo); in dumpDexoptState()
155 targetInstructionSets : getAppDexInstructionSets(pkg.applicationInfo); in performDexOptLI()
162 final int sharedGid = UserHandle.getSharedAppGid(pkg.applicationInfo.uid); in performDexOptLI()
188 … final boolean vmSafeMode = (pkg.applicationInfo.flags & ApplicationInfo.FLAG_VM_SAFE_MODE) != 0; in performDexOptLI()
189 … final boolean debuggable = (pkg.applicationInfo.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0; in performDexOptLI()
242 + pkg.applicationInfo.packageName + " isa=" + dexCodeInstructionSet in performDexOptLI()
DPackageManagerService.java1829 if (grantPermissions && res.pkg.applicationInfo.targetSdkVersion in handlePackagePostInstall()
1850 final String packageName = res.pkg.applicationInfo.packageName; in handlePackagePostInstall()
1921 final int[] uidArray = new int[]{res.pkg.applicationInfo.uid}; in handlePackagePostInstall()
2575 deletedPkg.applicationInfo.flags &= ~ApplicationInfo.FLAG_SYSTEM; in PackageManagerService()
2903 if (!resolveInfo.activityInfo.applicationInfo.isPrivilegedApp()) {
3102 || (info.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0
3205 if (!userKeyUnlocked && !(ps.pkg.applicationInfo.isDirectBootAware()
3206 || ps.pkg.applicationInfo.isPartiallyDirectBootAware())) {
3304 return UserHandle.getUid(userId, p.applicationInfo.uid);
3424 return pInfo.applicationInfo;
[all …]
DSELinuxMMAC.java296 pkg.applicationInfo.seinfo = seinfo; in assignSeinfoValue()
302 if (pkg.applicationInfo.isAutoPlayApp()) in assignSeinfoValue()
303 pkg.applicationInfo.seinfo += AUTOPLAY_APP_STR; in assignSeinfoValue()
305 if (pkg.applicationInfo.isPrivilegedApp()) in assignSeinfoValue()
306 pkg.applicationInfo.seinfo += PRIVILEGED_APP_STR; in assignSeinfoValue()
310 "seinfo=" + pkg.applicationInfo.seinfo); in assignSeinfoValue()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java105 ApplicationInfo applicationInfo = getApplicationInfo(context); in install() local
106 if (applicationInfo == null) { in install()
112 String apkPath = applicationInfo.sourceDir; in install()
159 File dexDir = getDexDir(context, applicationInfo); in install()
160 List<File> files = MultiDexExtractor.load(context, applicationInfo, dexDir, false); in install()
166 files = MultiDexExtractor.load(context, applicationInfo, dexDir, true); in install()
204 ApplicationInfo applicationInfo = in getApplicationInfo() local
206 return applicationInfo; in getApplicationInfo()
367 private static File getDexDir(Context context, ApplicationInfo applicationInfo) in getDexDir() argument
369 File cache = new File(applicationInfo.dataDir, CODE_CACHE_NAME); in getDexDir()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppsQueryHelperTests.java143 p1.applicationInfo = new ApplicationInfo(); in getPackagesHoldingPermission()
144 p1.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in getPackagesHoldingPermission()
154 sysApp1.serviceInfo.applicationInfo = new ApplicationInfo(); in queryIntentServicesAsUser()
155 sysApp1.serviceInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in queryIntentServicesAsUser()
160 app4.serviceInfo.applicationInfo = new ApplicationInfo(); in queryIntentServicesAsUser()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DTileUtils.java170 resolved.activityInfo.applicationInfo.packageName) ? resolved.priority : 0; in createCategory()
221 updateTileData(context, tile, activityInfo, activityInfo.applicationInfo, in getTilesForIntent()
247 ActivityInfo activityInfo, ApplicationInfo applicationInfo, PackageManager pm) { in updateTileData() argument
248 if (applicationInfo.isSystemApp()) { in updateTileData()
256 applicationInfo.packageName); in updateTileData()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java75 assertTrue(pi.applicationInfo.flags != 0); in markPackageAsInstalled()
78 pi.applicationInfo = ai; in markPackageAsInstalled()
153 aci.applicationInfo = ai; in setUpPackageManagerForFakeAdmin()
/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/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/services/core/java/com/android/server/webkit/
DWebViewUpdateServiceImpl.java593 WebViewFactory.getWebViewLibrary(packageInfo.applicationInfo) != null) { in isValidProvider()
637 return packageInfo.applicationInfo.isSystemApp(); in providerHasValidSignature()
658 return packageInfo.applicationInfo.enabled; in isEnabledPackage()
665 return (((packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) != 0) in isInstalledPackage()
666 && ((packageInfo.applicationInfo.privateFlags in isInstalledPackage()
DSystemImpl.java225 ApplicationInfo applicationInfo = pm.getApplicationInfo(packageName, 0); in uninstallAndDisablePackageForAllUsers() local
226 if (applicationInfo != null && applicationInfo.isUpdatedSystemApp()) { in uninstallAndDisablePackageForAllUsers()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java297 if (app.activityInfo != null && app.activityInfo.applicationInfo != null) { in addSystemApps()
299 int flags = app.activityInfo.applicationInfo.flags; in addSystemApps()
318 info.appName = app.activityInfo.applicationInfo.loadLabel(pm); in addSystemApps()
332 if (pi.applicationInfo == null) return false; in isSystemPackage()
333 final int flags = pi.applicationInfo.flags; in isSystemPackage()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceImpl.java152 mUser, mContext, this, mInfo.getServiceInfo().applicationInfo.uid, mHandler); in showSessionLocked()
237 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in setDisabledShowContextLocked()
246 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in getDisabledShowContextLocked()
255 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in getUserDisabledShowContextLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java143 p.applicationInfo = new ApplicationInfo(); in createPackageInfo()
144 p.applicationInfo.enabled = enabled; in createPackageInfo()
145 p.applicationInfo.metaData = new Bundle(); in createPackageInfo()
147 p.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in createPackageInfo()
149 p.applicationInfo.flags &= ~ApplicationInfo.FLAG_INSTALLED; in createPackageInfo()
153 p.applicationInfo.metaData.putString(WEBVIEW_LIBRARY_FLAG, "blah"); in createPackageInfo()
171 p.applicationInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_HIDDEN; in createPackageInfo()
173 p.applicationInfo.privateFlags &= ~ApplicationInfo.PRIVATE_FLAG_HIDDEN; in createPackageInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/
DBackupUtilsTest.java45 pi.applicationInfo = new ApplicationInfo(); in genPackage()
64 pi.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testSignaturesMatch()

1234567