Home
last modified time | relevance | path

Searched refs:getPackageManager (Results 1 – 25 of 75) sorted by relevance

123

/packages/apps/Settings/src/com/android/settings/quicklaunch/
DBookmarkPicker.java163 new ResolveInfo.DisplayNameComparator(getPackageManager())); in updateListAndAdapter()
196 PackageManager pm = getPackageManager(); in fillResolveList()
234 CharSequence label = info.loadLabel(getPackageManager()); in getResolveInfoTitle()
321 Drawable icon = ((ResolveInfo) data).loadIcon(getPackageManager()); in setViewValue()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java96 PackageManager pm = pContext.getPackageManager(); in initSnippetForInstalledApp()
147 icon = pContext.getPackageManager().getDefaultActivityIcon(); in initSnippetForNewApp()
155 List<PackageInfo> installedList = context.getPackageManager().getInstalledPackages( in isPackageAlreadyInstalled()
DInstallAppProgress.java86 mLaunchIntent = getPackageManager().getLaunchIntentForPackage(
136 PackageManager pm = getPackageManager(); in initView()
DUninstallAppProgress.java111 getPackageManager().deletePackage(mAppInfo.packageName, observer, 0); in initView()
/packages/apps/Contacts/src/com/android/contacts/util/
DDataStatus.java99 final PackageManager pm = context.getPackageManager(); in getTimestampLabel()
129 final PackageManager pm = context.getPackageManager(); in getIcon()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageDetail.java139 final PackageManager pm = getPackageManager(); in createDetails()
151 mAppIcon = getPackageManager().getDefaultActivityIcon(); in createDetails()
247 PackageManager pm = getPackageManager(); in fillControlsSection()
346 PackageManager pm = getPackageManager(); in fillPackagesSection()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAppWidgetProvider.java89 PackageManager pm = context.getPackageManager(); in onEnabled()
107 PackageManager pm = context.getPackageManager(); in onDisabled()
/packages/apps/Stk/src/com/android/stk/
DStkAppInstaller.java44 PackageManager pm = context.getPackageManager(); in setAppState()
/packages/apps/Launcher/src/com/android/launcher/
DLauncherModel.java180 final PackageManager packageManager = launcher.getPackageManager(); in addPackage()
241 final PackageManager packageManager = launcher.getPackageManager(); in updatePackage()
294 final PackageManager packageManager = launcher.getPackageManager(); in syncLocked()
349 toAdd.add(makeAndCacheApplicationInfo(launcher.getPackageManager(), in addEnabledAndUpdateActivities()
354 launcher.getPackageManager(), info, applicationInfo, launcher); in addEnabledAndUpdateActivities()
518 final PackageManager manager = launcher.getPackageManager(); in run()
756 final PackageManager manager = launcher.getPackageManager(); in run()
1001 PackageManager packageManager = launcher.getPackageManager(); in loadLiveFolderIcon()
1248 PackageManager packageManager = context.getPackageManager(); in getApplicationInfoShortcut()
1268 packageManager = context.getPackageManager(); in getApplicationInfoShortcut()
[all …]
/packages/apps/GoogleSearch/src/com/android/googlesearch/
DLocationUtils.java56 return mContext.getPackageManager().getPackageInfo( in systemHasGoogleSettingsProvider()
/packages/apps/Contacts/src/com/android/contacts/model/
DContactsSource.java121 final PackageManager pm = context.getPackageManager(); in getDisplayLabel()
132 final PackageManager pm = context.getPackageManager(); in getDisplayIcon()
DExternalSource.java96 final PackageManager pm = context.getPackageManager(); in inflate()
/packages/apps/Settings/src/com/android/settings/
DUtils.java62 PackageManager pm = context.getPackageManager(); in updatePreferenceToSpecificActivityOrRemove()
DAccessibilitySettings.java204 .applicationInfo.loadLabel(getPackageManager()))) in handleEnableAccessibilityServiceStateChange()
273 preference.setTitle(serviceInfo.loadLabel(getPackageManager())); in addAccessibilitServicePreferences()
DLanguageSettings.java104 CharSequence label = property.loadLabel(getPackageManager()); in onCreateIMM()
239 getPackageManager()))) in onPreferenceTreeClick()
DActivityPicker.java141 PackageManager packageManager = getPackageManager(); in getItems()
182 PackageManager packageManager = getPackageManager(); in putIntentItems()
DTextToSpeechSettings.java193 PackageManager pm = getPackageManager(); in checkVoiceData()
213 PackageManager pm = getPackageManager(); in installVoiceData()
/packages/apps/Launcher2/src/com/android/launcher2/
DApplicationsAdapter.java38 mPackageManager = context.getPackageManager(); in ApplicationsAdapter()
DLauncherModel.java609 final PackageManager manager = context.getPackageManager(); in loadWorkspace()
953 final PackageManager packageManager = context.getPackageManager(); in loadAllApps()
1043 PackageManager packageManager = context.getPackageManager(); in getApplicationInfoShortcut()
1063 packageManager = context.getPackageManager(); in getApplicationInfoShortcut()
1070 info.icon = context.getPackageManager().getDefaultActivityIcon(); in getApplicationInfoShortcut()
1085 PackageManager packageManager = context.getPackageManager(); in loadLiveFolderIcon()
DActivityPicker.java139 PackageManager packageManager = getPackageManager(); in getItems()
181 PackageManager packageManager = getPackageManager(); in putIntentItems()
/packages/apps/GlobalSearch/src/com/android/globalsearch/
DSearchSettings.java124 PackageManager pm = getPackageManager(); in populateSearchEnginePreference()
163 PackageManager pm = getPackageManager(); in findWebSearchSettingsActivity()
DSearchableSuggestionSource.java91 mActivityInfo = context.getPackageManager() in SearchableSuggestionSource()
101 ProviderInfo pi = mContext.getPackageManager().resolveContentProvider( in SearchableSuggestionSource()
549 PackageManager pm = getContext().getPackageManager(); in findLabel()
DClickLogger.java131 PackageManager pm = context.getPackageManager(); in getClickLogger()
/packages/apps/Phone/src/com/android/phone/
DOtaStartupReceiver.java87 ResolveInfo resolveInfo = context.getPackageManager().resolveActivity(intent, in shouldPostpone()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DSettingsActivity.java108 PackageManager pm = getPackageManager(); in updatePreference()

123