/frameworks/base/core/java/android/content/pm/ |
D | ComponentInfo.java | 38 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 …]
|
D | PackageInfo.java | 86 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()
|
D | PackageParser.java | 501 pi.applicationInfo = generateApplicationInfo(p, flags, state, userId); in generatePackageInfo() 504 if ((pi.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0 in generatePackageInfo() 505 || (pi.applicationInfo.flags&ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) { in generatePackageInfo() 1570 childPkg.applicationInfo.targetSdkVersion = parentPkg.applicationInfo.targetSdkVersion; in parseBaseApkChild() 1571 childPkg.applicationInfo.minSdkVersion = parentPkg.applicationInfo.minSdkVersion; in parseBaseApkChild() 1628 pkg.mVersionCode = pkg.applicationInfo.versionCode = sa.getInteger( in parseBaseApk() 1696 pkg.applicationInfo.installLocation = pkg.installLocation; in parseBaseApkCommon() 1701 pkg.applicationInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_FORWARD_LOCK; in parseBaseApkCommon() 1706 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_EXTERNAL_STORAGE; in parseBaseApkCommon() 1710 pkg.applicationInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_EPHEMERAL; in parseBaseApkCommon() [all …]
|
D | LauncherActivityInfo.java | 110 = mPm.getResourcesForApplication(mActivityInfo.applicationInfo); in getIcon() 129 return mActivityInfo.applicationInfo.flags; in getApplicationFlags() 137 return mActivityInfo.applicationInfo; in getApplicationInfo()
|
D | PackageUserState.java | 101 if (!componentInfo.applicationInfo.isSystemApp()) { in isMatch() 132 if (!componentInfo.applicationInfo.enabled) { in isEnabled()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperInfo.java | 109 Resources res = pm.getResourcesForApplication(si.applicationInfo); in WallpaperInfo() 238 mService.serviceInfo.applicationInfo); in loadThumbnail() 247 ApplicationInfo applicationInfo = null; in loadAuthor() local 250 applicationInfo = mService.serviceInfo.applicationInfo; in loadAuthor() 252 return pm.getText(packageName, mAuthorResource, applicationInfo); in loadAuthor() 260 ApplicationInfo applicationInfo = null; in loadDescription() local 263 applicationInfo = mService.serviceInfo.applicationInfo; in loadDescription() 267 applicationInfo); in loadDescription() 272 mService.serviceInfo.applicationInfo); in loadDescription() 284 ApplicationInfo applicationInfo = null; in loadContextUri() local [all …]
|
/frameworks/base/media/java/android/media/tv/ |
D | TvContentRatingSystemInfo.java | 47 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/ |
D | LaunchWarningWindow.java | 46 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()
|
D | BroadcastQueue.java | 284 mService.compatibilityInfoForPackageLocked(r.curReceiver.applicationInfo), in processCurBroadcastLocked() 429 || receiver.applicationInfo.uid != nextReceiver.applicationInfo.uid in finishReceiverLocked() 974 info.activityInfo.applicationInfo.packageName, in processNextBroadcast() 979 (info.activityInfo.applicationInfo.targetSdkVersion in processNextBroadcast() 981 info.activityInfo.applicationInfo.targetSdkVersion in processNextBroadcast() 986 r.callingPid, r.callingUid, info.activityInfo.applicationInfo.uid, in processNextBroadcast() 994 + " is not exported from uid " + info.activityInfo.applicationInfo.uid in processNextBroadcast() 1021 if (!skip && info.activityInfo.applicationInfo.uid != Process.SYSTEM_UID && in processNextBroadcast() 1028 info.activityInfo.applicationInfo.packageName, in processNextBroadcast() 1030 .getUserId(info.activityInfo.applicationInfo.uid)); in processNextBroadcast() [all …]
|
D | ServiceRecord.java | 321 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/core/java/com/android/internal/app/ |
D | AssistUtils.java | 166 return new ComponentName(info.activityInfo.applicationInfo.packageName, in getAssistComponentForUser() 176 ApplicationInfo applicationInfo; in isPreinstalledAssistant() local 178 applicationInfo = context.getPackageManager().getApplicationInfo( in isPreinstalledAssistant() 183 return applicationInfo.isSystemApp() || applicationInfo.isUpdatedSystemApp(); in isPreinstalledAssistant()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageDexOptimizer.java | 82 return (pkg.applicationInfo.flags & ApplicationInfo.FLAG_HAS_CODE) != 0; in canOptimizePackage() 98 mDexoptWakeLock.setWorkSource(new WorkSource(pkg.applicationInfo.uid)); in performDexOpt() 131 final String[] instructionSets = getAppDexInstructionSets(pkg.applicationInfo); in dumpDexoptState() 157 targetInstructionSets : getAppDexInstructionSets(pkg.applicationInfo); in performDexOptLI() 164 final int sharedGid = UserHandle.getSharedAppGid(pkg.applicationInfo.uid); in performDexOptLI() 190 … final boolean vmSafeMode = (pkg.applicationInfo.flags & ApplicationInfo.FLAG_VM_SAFE_MODE) != 0; in performDexOptLI() 191 … final boolean debuggable = (pkg.applicationInfo.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0; in performDexOptLI() 244 + pkg.applicationInfo.packageName + " isa=" + dexCodeInstructionSet in performDexOptLI()
|
D | PackageManagerService.java | 1629 if (grantPermissions && res.pkg.applicationInfo.targetSdkVersion in handlePackagePostInstall() 1650 final String packageName = res.pkg.applicationInfo.packageName; in handlePackagePostInstall() 1721 final int[] uidArray = new int[]{res.pkg.applicationInfo.uid}; in handlePackagePostInstall() 2407 deletedPkg.applicationInfo.flags &= ~ApplicationInfo.FLAG_SYSTEM; in PackageManagerService() 2736 if (!resolveInfo.activityInfo.applicationInfo.isPrivilegedApp()) { 2941 || (info.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0 3048 if (!userKeyUnlocked && !(ps.pkg.applicationInfo.isDirectBootAware() 3049 || ps.pkg.applicationInfo.isPartiallyDirectBootAware())) { 3147 return UserHandle.getUid(userId, p.applicationInfo.uid); 3267 return pInfo.applicationInfo; [all …]
|
D | SELinuxMMAC.java | 299 pkg.applicationInfo.seinfo = seinfo; in assignSeinfoValue() 305 if (pkg.applicationInfo.isAutoPlayApp()) in assignSeinfoValue() 306 pkg.applicationInfo.seinfo += AUTOPLAY_APP_STR; in assignSeinfoValue() 308 if (pkg.applicationInfo.isPrivilegedApp()) in assignSeinfoValue() 309 pkg.applicationInfo.seinfo += PRIVILEGED_APP_STR; in assignSeinfoValue() 313 "seinfo=" + pkg.applicationInfo.seinfo); in assignSeinfoValue()
|
/frameworks/multidex/library/src/android/support/multidex/ |
D | MultiDex.java | 105 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/ |
D | AppsQueryHelperTests.java | 143 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/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
D | ResourceHelper.java | 41 ApplicationInfo applicationInfo = in getThemeColor() local 43 packageContext.setTheme(applicationInfo.theme); in getThemeColor()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
D | TileUtils.java | 175 resolved.activityInfo.applicationInfo.packageName) ? resolved.priority : 0; in createCategory() 226 updateTileData(context, tile, activityInfo, activityInfo.applicationInfo, in getTilesForIntent() 252 ActivityInfo activityInfo, ApplicationInfo applicationInfo, PackageManager pm) { in updateTileData() argument 253 if (applicationInfo.isSystemApp()) { in updateTileData() 261 applicationInfo.packageName); in updateTileData()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 75 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/ |
D | GLImplHeader.java-impl | 70 … ApplicationInfo applicationInfo = pm.getApplicationInfo(appName, 0, UserHandle.myUserId()); 71 if (applicationInfo != null) { 72 version = applicationInfo.targetSdkVersion;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 273 return getInjectedPackageInfo(packageName, userId, false).applicationInfo.uid; in injectGetPackageUid() 317 return pi != null ? pi.applicationInfo : null; in injectApplicationInfoWithUninstalled() 670 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in setUp() 672 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in setUp() 892 pi.applicationInfo = new ApplicationInfo(); in genPackage() 893 pi.applicationInfo.uid = uid; in genPackage() 894 pi.applicationInfo.flags = ApplicationInfo.FLAG_INSTALLED in genPackage() 897 pi.applicationInfo.versionCode = version; in genPackage() 914 pi.applicationInfo.versionCode += increment; in updatePackageVersion() 948 ret.applicationInfo = new ApplicationInfo(pi.applicationInfo); in getInjectedPackageInfo() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 124 int uid = app.applicationInfo != null ? app.applicationInfo.uid : -1; in startMonitoring() 169 int flags = app.applicationInfo != null ? app.applicationInfo.flags : 0; in hasRestrictedNetworkPermission()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateServiceImpl.java | 593 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()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 297 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/ |
D | VoiceInteractionManagerServiceImpl.java | 155 mInfo.getServiceInfo().applicationInfo.uid, mHandler); in showSessionLocked() 240 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in setDisabledShowContextLocked() 249 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in getDisabledShowContextLocked() 258 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in getUserDisabledShowContextLocked()
|