/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppOpsState.java | 437 final String packageName, ApplicationInfo appInfo) { in getAppEntry() argument 440 if (appInfo == null) { in getAppEntry() 442 appInfo = mPm.getApplicationInfo(packageName, in getAppEntry() 450 appEntry = new AppEntry(this, appInfo); in getAppEntry() 513 PackageInfo appInfo = apps.get(i); in buildState() local 514 AppEntry appEntry = getAppEntry(context, appEntries, appInfo.packageName, in buildState() 515 appInfo.applicationInfo); in buildState() 521 if (appInfo.requestedPermissions != null) { in buildState() 522 for (int j=0; j<appInfo.requestedPermissions.length; j++) { in buildState() 523 if (appInfo.requestedPermissionsFlags != null) { in buildState() [all …]
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageUtil.java | 101 ApplicationInfo appInfo, View snippetView) { in initSnippetForInstalledApp() argument 105 appInfo.loadLabel(pm), in initSnippetForInstalledApp() 106 appInfo.loadIcon(pm)); in initSnippetForInstalledApp() 157 Activity pContext, ApplicationInfo appInfo, File sourceFile) { in getAppSnippet() argument 166 if (appInfo.labelRes != 0) { in getAppSnippet() 168 label = res.getText(appInfo.labelRes); in getAppSnippet() 173 label = (appInfo.nonLocalizedLabel != null) ? in getAppSnippet() 174 appInfo.nonLocalizedLabel : appInfo.packageName; in getAppSnippet() 179 if (appInfo.icon != 0) { in getAppSnippet() 181 icon = res.getDrawable(appInfo.icon); in getAppSnippet()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
D | HealthService.java | 118 AppInfo appInfo = entry.getValue(); in cleanupApps() local 119 if (appInfo != null) in cleanupApps() 120 appInfo.cleanup(); in cleanupApps() 156 AppInfo appInfo = mApps.get(appConfig); in handleMessage() local 157 if (appInfo == null) break; in handleMessage() 168 appInfo.cleanup(); in handleMessage() 172 … appInfo.mRcpObj = new BluetoothHealthDeathRecipient(HealthService.this,appConfig); in handleMessage() 173 IBinder binder = appInfo.mCallback.asBinder(); in handleMessage() 175 binder.linkToDeath(appInfo.mRcpObj,0); in handleMessage() 179 appInfo.mAppId = appId; in handleMessage() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | Util.java | 57 public static Uri getResourceUri(Context context, ApplicationInfo appInfo, int res) { in getResourceUri() argument 59 Resources resources = context.getPackageManager().getResourcesForApplication(appInfo); in getResourceUri() 60 return getResourceUri(resources, appInfo.packageName, res); in getResourceUri() 62 Log.e(TAG, "Resources not found for " + appInfo.packageName); in getResourceUri() 65 Log.e(TAG, "Resource not found: " + res + " in " + appInfo.packageName); in getResourceUri()
|
/packages/experimental/NotificationLog/src/com/android/notificationlog/ |
D | NotificationLogActivity.java | 97 ApplicationInfo appInfo; in bindView() local 100 appInfo = mPM.getApplicationInfo(pkg, 0); in bindView() 101 pkg = mPM.getApplicationLabel(appInfo) + " (" + pkg + ")"; in bindView() 102 appIcon = mPM.getApplicationIcon(appInfo); in bindView()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcApplication.java | 36 RunningAppProcessInfo appInfo = (RunningAppProcessInfo)(i.next()); in onCreate() local 37 if (appInfo.pid == Process.myPid()) { in onCreate() 38 isMainProcess = (NFC_PROCESS.equals(appInfo.processName)); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/net/ |
D | UidDetailProvider.java | 142 final ApplicationInfo appInfo = pm.getApplicationInfo(packageName, 0); in buildUidDetail() local 144 detail.detailLabels[i] = appInfo.loadLabel(pm).toString(); in buildUidDetail() 148 detail.icon = appInfo.loadIcon(pm); in buildUidDetail()
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
D | ApplicationsProvider.java | 634 private Uri getResourceUri(ApplicationInfo appInfo, int res) { in getResourceUri() argument 636 Resources resources = getPackageManager().getResourcesForApplication(appInfo); in getResourceUri() 637 return getResourceUri(resources, appInfo.packageName, res); in getResourceUri()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | AppRestrictionsFragment.java | 183 private SelectableAppInfo appInfo; field in AppRestrictionsFragment.AppRestrictionsPreference 224 void setSelectableAppInfo(SelectableAppInfo appInfo) { in setSelectableAppInfo() argument 225 this.appInfo = appInfo; in setSelectableAppInfo()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 440 ApplicationInfo appInfo = null; in onCreate() local 442 appInfo = getContext().getPackageManager(). in onCreate() 447 if (appInfo != null) { in onCreate() 448 mDefContainerUid = appInfo.uid; in onCreate()
|
/packages/apps/Settings/src/com/android/settings/ |
D | UsageStats.java | 133 ApplicationInfo appInfo = mPm.getApplicationInfo(ps.packageName, 0); in UsageStatsAdapter() local 134 label = appInfo.loadLabel(mPm); in UsageStatsAdapter()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | Settings.java | 303 final ApplicationInfo appInfo = context.getApplicationInfo(); in readShowSetupWizardIcon() local 305 (appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in readShowSetupWizardIcon()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DeleteDropTarget.java | 148 ApplicationInfo appInfo = (ApplicationInfo) info; in onDragStart() local 149 if ((appInfo.flags & ApplicationInfo.DOWNLOADED_FLAG) != 0) { in onDragStart()
|
D | AppsCustomizePagedView.java | 507 final ApplicationInfo appInfo = (ApplicationInfo) v.getTag(); in onClick() local 518 mLauncher.startActivitySafely(v, appInfo.intent, appInfo); in onClick()
|
D | Launcher.java | 2104 void startApplicationUninstallActivity(ApplicationInfo appInfo) { in startApplicationUninstallActivity() argument 2105 if ((appInfo.flags & ApplicationInfo.DOWNLOADED_FLAG) == 0) { in startApplicationUninstallActivity() 2111 String packageName = appInfo.componentName.getPackageName(); in startApplicationUninstallActivity() 2112 String className = appInfo.componentName.getClassName(); in startApplicationUninstallActivity()
|
D | Workspace.java | 3736 final ShortcutInfo appInfo = contents.get(k); 3737 final Intent intent = appInfo.intent; 3742 appsToRemoveFromFolder.add(appInfo);
|
/packages/apps/Phone/src/com/android/phone/ |
D | RespondViaSmsManager.java | 479 final ApplicationInfo appInfo = packageManager.getApplicationInfo(packageName, 0); in getView() local 480 final CharSequence label = packageManager.getApplicationLabel(appInfo); in getView()
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
D | ContactsMockPackageManager.java | 41 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable() argument
|