/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierAppUtilsTest.java | 76 ApplicationInfo appInfo = new ApplicationInfo(); in testDisableCarrierAppsUntilPrivileged_NonSystemApp() local 78 PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, USER_ID)).thenReturn(appInfo); in testDisableCarrierAppsUntilPrivileged_NonSystemApp() 97 ApplicationInfo appInfo = new ApplicationInfo(); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser() local 98 appInfo.packageName = CARRIER_APP; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser() 99 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser() 100 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED_USER; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser() 102 PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, USER_ID)).thenReturn(appInfo); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser() 111 new String[] {appInfo.packageName}, USER_ID); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser() 117 ApplicationInfo appInfo = new ApplicationInfo(); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled() local 118 appInfo.packageName = CARRIER_APP; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | CompatibilityInfo.java | 95 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() argument 99 if (appInfo.requiresSmallestWidthDp != 0 || appInfo.compatibleWidthLimitDp != 0 in CompatibilityInfo() 100 || appInfo.largestWidthLimitDp != 0) { in CompatibilityInfo() 102 int required = appInfo.requiresSmallestWidthDp != 0 in CompatibilityInfo() 103 ? appInfo.requiresSmallestWidthDp in CompatibilityInfo() 104 : appInfo.compatibleWidthLimitDp; in CompatibilityInfo() 106 required = appInfo.largestWidthLimitDp; in CompatibilityInfo() 108 int compat = appInfo.compatibleWidthLimitDp != 0 in CompatibilityInfo() 109 ? appInfo.compatibleWidthLimitDp : required; in CompatibilityInfo() 113 int largest = appInfo.largestWidthLimitDp; in CompatibilityInfo() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | AppsQueryHelper.java | 90 final ApplicationInfo appInfo = mAllApps.get(i); in queryApps() local 91 if (systemAppsOnly && !appInfo.isSystemApp()) { in queryApps() 94 result.add(appInfo.packageName); in queryApps() 111 final ApplicationInfo appInfo = mAllApps.get(i); in queryApps() local 112 if (systemAppsOnly && !appInfo.isSystemApp()) { in queryApps() 115 final String packageName = appInfo.packageName; in queryApps() 155 final ApplicationInfo appInfo = mAllApps.get(i); in queryApps() local 156 if (systemAppsOnly && !appInfo.isSystemApp()) { in queryApps() 159 if (appInfo.isRequiredForSystemUser()) { in queryApps() 160 result.add(appInfo.packageName); in queryApps()
|
D | EphemeralApplicationInfo.java | 39 public EphemeralApplicationInfo(ApplicationInfo appInfo, in EphemeralApplicationInfo() argument 41 mApplicationInfo = appInfo; in EphemeralApplicationInfo()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BackupRecord.java | 33 final ApplicationInfo appInfo; // information about BackupAgent's app field in BackupRecord 42 appInfo = _appInfo; in BackupRecord() 53 .append(' ').append(appInfo.packageName) in toString() 54 .append(' ').append(appInfo.name) in toString() 55 .append(' ').append(appInfo.backupAgentName).append('}'); in toString()
|
D | ServiceRecord.java | 73 final ApplicationInfo appInfo; field in ServiceRecord 218 if (appInfo != null) { in dump() 219 pw.print(prefix); pw.print("baseDir="); pw.println(appInfo.sourceDir); in dump() 220 if (!Objects.equals(appInfo.sourceDir, appInfo.publicSourceDir)) { in dump() 221 pw.print(prefix); pw.print("resDir="); pw.println(appInfo.publicSourceDir); in dump() 223 pw.print(prefix); pw.print("dataDir="); pw.println(appInfo.dataDir); in dump() 321 appInfo = sInfo.applicationInfo; in ServiceRecord() 329 userId = UserHandle.getUserId(appInfo.uid); in ServiceRecord() 443 final int appUid = appInfo.uid; in postNotification() 471 CharSequence appName = appInfo.loadLabel( in postNotification() [all …]
|
D | UnsupportedDisplaySizeDialog.java | 34 ApplicationInfo appInfo) { in UnsupportedDisplaySizeDialog() argument 35 mPackageName = appInfo.packageName; in UnsupportedDisplaySizeDialog() 38 final CharSequence label = appInfo.loadSafeLabel(pm); in UnsupportedDisplaySizeDialog()
|
D | ProviderMap.java | 101 + ", record uid = " + record.appInfo.uid); in putProviderByName() 106 final int userId = UserHandle.getUserId(record.appInfo.uid); in putProviderByName() 114 + ", record uid = " + record.appInfo.uid); in putProviderByClass() 119 final int userId = UserHandle.getUserId(record.appInfo.uid); in putProviderByClass() 249 if (dumpPackage != null && !dumpPackage.equals(r.appInfo.packageName)) { in dumpProvidersByClassLocked() 275 if (dumpPackage != null && !dumpPackage.equals(r.appInfo.packageName)) { in dumpProvidersByNameLocked()
|
D | ContentProviderRecord.java | 39 final ApplicationInfo appInfo; field in ContentProviderRecord 62 appInfo = ai; in ContentProviderRecord() 72 appInfo = cpr.appInfo; in ContentProviderRecord()
|
D | CompatModeDialog.java | 40 ApplicationInfo appInfo) { in CompatModeDialog() argument 48 mAppInfo = appInfo; in CompatModeDialog()
|
D | ActiveServices.java | 351 r.appInfo.uid, r.packageName, callingPid, true); in startServiceLocked() 391 ProcessRecord proc = mAm.getProcessRecordLocked(r.processName, r.appInfo.uid, false); in startServiceLocked() 596 if (service.appInfo.uid == uid && service.startRequested) { in stopInBackgroundLocked() 727 } else if (r.appInfo.targetSdkVersion >= Build.VERSION_CODES.LOLLIPOP) { in setServiceForegroundLocked() 986 s.appInfo.uid, s.name, s.processName); in bindServiceLocked() 1358 callingPid, callingUid, r.appInfo.uid, r.exported) in retrieveServiceLocked() 1364 + " that is not exported from uid " + r.appInfo.uid); in retrieveServiceLocked() 1366 + r.appInfo.uid); in retrieveServiceLocked() 1386 resolvedType, r.appInfo)) { in retrieveServiceLocked() 1605 if (removed || callingUid != r.appInfo.uid) { in unscheduleServiceRestartLocked() [all …]
|
/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubService.java | 292 NanoAppInstanceInfo appInfo = new NanoAppInstanceInfo(); in addAppInstance() local 294 appInfo.setAppId(appId); in addAppInstance() 295 appInfo.setAppVersion(appVersion); in addAppInstance() 296 appInfo.setName(PRE_LOADED_APP_NAME); in addAppInstance() 297 appInfo.setContexthubId(hubHandle); in addAppInstance() 298 appInfo.setHandle(appInstanceHandle); in addAppInstance() 299 appInfo.setPublisher(PRE_LOADED_APP_PUBLISHER); in addAppInstance() 300 appInfo.setNeededExecMemBytes(PRE_LOADED_APP_MEM_REQ); in addAppInstance() 301 appInfo.setNeededReadMemBytes(PRE_LOADED_APP_MEM_REQ); in addAppInstance() 302 appInfo.setNeededWriteMemBytes(PRE_LOADED_APP_MEM_REQ); in addAppInstance() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AppButtonData.java | 27 public final AppInfo appInfo; field in AppButtonData 32 public AppButtonData(AppInfo appInfo, boolean pinned) { in AppButtonData() argument 33 this.appInfo = appInfo; in AppButtonData()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | Partner.java | 121 final ApplicationInfo appInfo = info.activityInfo.applicationInfo; in get() local 122 if ((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in get() 124 final Resources res = pm.getResourcesForApplication(appInfo); in get() 125 sPartner = new Partner(appInfo.packageName, res); in get() 128 Log.w(TAG, "Failed to find resources for " + appInfo.packageName); in get()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | AndroidPackageInfoFetcher.java | 77 ApplicationInfo appInfo = packageInfo.applicationInfo; in getStatements() local 78 if (appInfo.metaData == null) { in getStatements() 81 int tokenResourceId = appInfo.metaData.getInt(ASSOCIATED_ASSETS_KEY); in getStatements()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewDelegate.java | 186 final ApplicationInfo appInfo = context.getApplicationInfo(); in addWebViewAssetPath() local 187 final String[] libs = appInfo.sharedLibraryFiles; in addWebViewAssetPath() 202 appInfo.sharedLibraryFiles = newLibAssets; in addWebViewAssetPath() 206 appInfo.getBaseResourcePath(), newAssetPath); in addWebViewAssetPath()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 140 ApplicationInfo appInfo = in getRequestFromOps() local 142 if (appInfo == null) { in getRequestFromOps() 149 Drawable appIcon = mPackageManager.getApplicationIcon(appInfo); in getRequestFromOps() 151 CharSequence appLabel = mPackageManager.getApplicationLabel(appInfo); in getRequestFromOps()
|
/frameworks/base/core/jni/ |
D | android_hardware_location_ContextHubService.cpp | 98 struct hub_app_info appInfo; // returned from the HAL member 169 if (current->second.appInfo.app_name.id == app_id) { in get_app_instance_for_app_id() 183 msg->app_name = db.appInstances[id].appInfo.app_name; in set_dest_app() 221 int add_app_instance(const hub_app_info *appInfo, uint32_t hubHandle, JNIEnv *env) { in add_app_instance() argument 226 assert(appInfo); in add_app_instance() 234 entry.appInfo = *appInfo; in add_app_instance() 236 entry.truncName = appInfo->app_name.id; in add_app_instance() 244 entry.appInfo.version); in add_app_instance()
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | PartnerTest.java | 115 ApplicationInfo appInfo = new ApplicationInfo(); in createResolveInfo() local 116 appInfo.flags = isSystem ? ApplicationInfo.FLAG_SYSTEM : 0; in createResolveInfo() 117 appInfo.packageName = packageName; in createResolveInfo() 118 activityInfo.applicationInfo = appInfo; in createResolveInfo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | UidDetailProvider.java | 166 final ApplicationInfo appInfo = ipm.getApplicationInfo(packageName, in buildUidDetail() local 169 if (appInfo != null) { in buildUidDetail() 170 detail.detailLabels[i] = appInfo.loadLabel(pm).toString(); in buildUidDetail() 176 detail.icon = um.getBadgedIconForUser(appInfo.loadIcon(pm), userHandle); in buildUidDetail()
|
/frameworks/support/v4/kitkat/android/support/v4/app/ |
D | NotificationManagerCompatKitKat.java | 32 ApplicationInfo appInfo = context.getApplicationInfo(); in areNotificationsEnabled() local 34 int uid = appInfo.uid; in areNotificationsEnabled()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ConfirmUserCreationActivity.java | 90 final ApplicationInfo appInfo; in checkUserCreationRequirements() local 92 appInfo = getPackageManager().getApplicationInfo(callingPackage, 0); in checkUserCreationRequirements() 109 final String appName = appInfo.loadLabel(getPackageManager()).toString(); in checkUserCreationRequirements()
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | ContextCompat.java | 456 ApplicationInfo appInfo = context.getApplicationInfo(); in getNoBackupFilesDir() local 457 return createFilesDir(new File(appInfo.dataDir, "no_backup")); in getNoBackupFilesDir() 481 ApplicationInfo appInfo = context.getApplicationInfo(); in getCodeCacheDir() local 482 return createFilesDir(new File(appInfo.dataDir, "code_cache")); in getCodeCacheDir()
|
/frameworks/base/core/java/android/content/ |
D | RestrictionsManager.java | 535 ApplicationInfo appInfo = null; in getManifestRestrictions() local 537 appInfo = mContext.getPackageManager().getApplicationInfo(packageName, in getManifestRestrictions() 542 if (appInfo == null || !appInfo.metaData.containsKey(META_DATA_APP_RESTRICTIONS)) { in getManifestRestrictions() 547 appInfo.loadXmlMetaData(mContext.getPackageManager(), META_DATA_APP_RESTRICTIONS); in getManifestRestrictions()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | RemotePrintServiceRecommendationService.java | 100 ApplicationInfo appInfo = mContext.getPackageManager() in getServiceIntent() local 103 if (appInfo == null) { in getServiceIntent() 107 if ((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0) { in getServiceIntent()
|