Home
last modified time | relevance | path

Searched refs:appInfo (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsState.java437 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/
DPackageUtil.java101 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/
DHealthService.java118 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()
172appInfo.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/
DUtil.java57 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/
DNotificationLogActivity.java97 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/
DNfcApplication.java36 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/
DUidDetailProvider.java142 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/
DApplicationsProvider.java634 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/
DAppRestrictionsFragment.java183 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/
DDownloadProvider.java440 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/
DUsageStats.java133 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/
DSettings.java303 final ApplicationInfo appInfo = context.getApplicationInfo(); in readShowSetupWizardIcon() local
305 (appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in readShowSetupWizardIcon()
/packages/apps/Launcher2/src/com/android/launcher2/
DDeleteDropTarget.java148 ApplicationInfo appInfo = (ApplicationInfo) info; in onDragStart() local
149 if ((appInfo.flags & ApplicationInfo.DOWNLOADED_FLAG) != 0) { in onDragStart()
DAppsCustomizePagedView.java507 final ApplicationInfo appInfo = (ApplicationInfo) v.getTag(); in onClick() local
518 mLauncher.startActivitySafely(v, appInfo.intent, appInfo); in onClick()
DLauncher.java2104 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()
DWorkspace.java3736 final ShortcutInfo appInfo = contents.get(k);
3737 final Intent intent = appInfo.intent;
3742 appsToRemoveFromFolder.add(appInfo);
/packages/apps/Phone/src/com/android/phone/
DRespondViaSmsManager.java479 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/
DContactsMockPackageManager.java41 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable() argument