Home
last modified time | relevance | path

Searched refs:activityInfo (Results 1 – 25 of 54) sorted by relevance

123

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppLoadingTask.java199 if (info.activityInfo.packageName.equals(packageName)) { in resolveInfoListHasPackage()
319 packageName = resolveInfo.activityInfo.packageName; in SelectableAppInfo()
320 appName = resolveInfo.activityInfo.applicationInfo.loadLabel(packageManager); in SelectableAppInfo()
321 CharSequence label = resolveInfo.activityInfo.loadLabel(packageManager); in SelectableAppInfo()
323 int activityIconRes = getIconResource(resolveInfo.activityInfo); in SelectableAppInfo()
324 info = resolveInfo.activityInfo.applicationInfo; in SelectableAppInfo()
326 : getIconResource(resolveInfo.activityInfo.applicationInfo); in SelectableAppInfo()
418 if (app.activityInfo != null && app.activityInfo.applicationInfo != null) { in addSystemApps()
419 final String packageName = app.activityInfo.packageName; in addSystemApps()
420 int flags = app.activityInfo.applicationInfo.flags; in addSystemApps()
[all …]
/packages/apps/MusicFX/src/com/android/musicfx/
DCompatibility.java157 if (foo.activityInfo.name.equals(Compatibility.Redirector.class.getName())) { in pickDefaultControlPanel()
162 if (foo.activityInfo.name.equals(savedDefName) && in pickDefaultControlPanel()
163 foo.activityInfo.packageName.equals(savedDefPackage) && in pickDefaultControlPanel()
164 foo.activityInfo.enabled) { in pickDefaultControlPanel()
168 } else if (foo.activityInfo.packageName.equals(updatedPackage)) { in pickDefaultControlPanel()
171 … } else if (otherPanel == null && !foo.activityInfo.packageName.equals(getPackageName())) { in pickDefaultControlPanel()
193 String defPackage = defPanel.activityInfo.packageName; in pickDefaultControlPanel()
194 String defName = defPanel.activityInfo.name; in pickDefaultControlPanel()
223 … ComponentName comp = new ComponentName(foo.activityInfo.packageName, foo.activityInfo.name); in setupReceivers()
224 if (foo.activityInfo.packageName.equals(defPackage)) { in setupReceivers()
DControlPanelPicker.java65 if (foo.activityInfo.name.equals(Compatibility.Redirector.class.getName())) { in onCreate()
68 CharSequence name = pmgr.getApplicationLabel(foo.activityInfo.applicationInfo); in onCreate()
69 … c.addRow(new Object [] { 0, name, foo.activityInfo.packageName, foo.activityInfo.name }); in onCreate()
71 if (foo.activityInfo.name.equals(savedDefName) && in onCreate()
72 foo.activityInfo.packageName.equals(savedDefPackage) && in onCreate()
73 foo.activityInfo.enabled) { in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/resolver/
DResolverActivity.java368 set[i] = new ComponentName(r.activityInfo.packageName, in onIntentSelected()
369 r.activityInfo.name); in onIntentSelected()
450 ActivityInfo ai = currentResolveList.get(i).activityInfo; in rebuildList()
470 r0.activityInfo.name + "=" + in rebuildList()
472 ri.activityInfo.name + "=" + in rebuildList()
502 ri.activityInfo = ai; in rebuildList()
522 r0Label = r0.activityInfo.packageName; in rebuildList()
527 riLabel = ri.activityInfo.packageName; in rebuildList()
551 CharSequence startApp = ro.activityInfo.applicationInfo.loadLabel(mPm); in processGroup()
562 CharSequence jApp = jRi.activityInfo.applicationInfo.loadLabel(mPm); in processGroup()
[all …]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DThirdPartyWallpaperPickerListAdapter.java56 mResolveInfo.activityInfo.packageName, mResolveInfo.activityInfo.name); in onClick()
81 ActivityInfo activityInfo = imagePickerActivities.get(i).activityInfo; in ThirdPartyWallpaperPickerListAdapter() local
82 imageActivities[i] = new ComponentName(activityInfo.packageName, activityInfo.name); in ThirdPartyWallpaperPickerListAdapter()
88 new ComponentName(info.activityInfo.packageName, info.activityInfo.name); in ThirdPartyWallpaperPickerListAdapter()
100 imagePickerActivityInfo.activityInfo.packageName)) { in ThirdPartyWallpaperPickerListAdapter()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAppList.java409 final ActivityInfo activityInfo = ri.activityInfo; in applyConfigActivities() local
410 final ApplicationInfo appInfo = activityInfo.applicationInfo; in applyConfigActivities()
414 + activityInfo.name + ") for unknown package " in applyConfigActivities()
415 + activityInfo.packageName); in applyConfigActivities()
420 + activityInfo.name + ") for package " in applyConfigActivities()
421 + activityInfo.packageName); in applyConfigActivities()
425 .setClassName(activityInfo.packageName, activityInfo.name); in applyConfigActivities()
455 + ri.activityInfo.packageName + "/" + ri.activityInfo.name);
456 appInfos.add(ri.activityInfo.applicationInfo);
/packages/apps/Settings/src/com/android/settings/
DWallpaperTypeSettings.java58 info.activityInfo.packageName, info.activityInfo.name)); in populateWallpaperTypes()
61 if (label == null) label = info.activityInfo.packageName; in populateWallpaperTypes()
81 if (label == null) label = info.activityInfo.packageName;
88 data.intentTargetPackage = info.activityInfo.packageName;
89 data.intentTargetClass = info.activityInfo.name;
DHomeSettings.java190 final ActivityInfo info = candidate.activityInfo; in buildHomeActivitiesList()
244 resolveInfo.activityInfo.packageName, 0 /* default flags */); in launcherHasManagedProfilesFeature()
410 final ActivityInfo activityInfo = resolveInfo.activityInfo;
414 name = activityInfo.loadLabel(pm);
419 Log.v(TAG, "Problem dealing with Home " + activityInfo.name, e);
DUtils.java166 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) in updatePreferenceToSpecificActivityOrRemove()
171 resolveInfo.activityInfo.packageName, in updatePreferenceToSpecificActivityOrRemove()
172 resolveInfo.activityInfo.name)); in updatePreferenceToSpecificActivityOrRemove()
201 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) in updateTileToSpecificActivityFromMetaDataOrRemove()
210 resolveInfo.activityInfo.packageName); in updateTileToSpecificActivityFromMetaDataOrRemove()
211 Bundle metaData = resolveInfo.activityInfo.metaData; in updateTileToSpecificActivityFromMetaDataOrRemove()
236 tile.intent = new Intent().setClassName(resolveInfo.activityInfo.packageName, in updateTileToSpecificActivityFromMetaDataOrRemove()
237 resolveInfo.activityInfo.name); in updateTileToSpecificActivityFromMetaDataOrRemove()
DDeviceAdminAdd.java172 if (ai.packageName.equals(ri.activityInfo.packageName) in onCreate()
173 && ai.name.equals(ri.activityInfo.name)) { in onCreate()
177 ri.activityInfo = ai; in onCreate()
181 Log.w(TAG, "Bad " + ri.activityInfo, e); in onCreate()
183 Log.w(TAG, "Bad " + ri.activityInfo, e); in onCreate()
196 ri.activityInfo = ai; in onCreate()
DDeviceInfoSettings.java388 if (info.activityInfo != null) { in getFeedbackReporterPackage()
389 if (!TextUtils.isEmpty(info.activityInfo.packageName)) { in getFeedbackReporterPackage()
391 … ApplicationInfo ai = pm.getApplicationInfo(info.activityInfo.packageName, 0); in getFeedbackReporterPackage()
395 info.activityInfo.packageName, feedbackReporter)) { in getFeedbackReporterPackage()
475 if ((resolveInfo.activityInfo.applicationInfo.flags &
DManagedProfileSetup.java68 if (info.filter != null && info.activityInfo != null in onReceive()
69 && info.activityInfo.metaData != null) { in onReceive()
70 boolean shouldForward = info.activityInfo.metaData.getBoolean( in onReceive()
DActivityPicker.java236 if (label == null && resolveInfo.activityInfo != null) { in Item()
237 label = resolveInfo.activityInfo.name; in Item()
241 packageName = resolveInfo.activityInfo.applicationInfo.packageName; in Item()
242 className = resolveInfo.activityInfo.name; in Item()
DDeviceAdminSettings.java389 new ComponentName(resolveInfo.activityInfo.packageName, in addDeviceAdminBroadcastReceiversForProfile()
390 resolveInfo.activityInfo.name); in addDeviceAdminBroadcastReceiversForProfile()
449 Log.w(TAG, "Skipping " + resolved.activityInfo, e); in createDeviceAdminInfo()
451 Log.w(TAG, "Skipping " + resolved.activityInfo, e); in createDeviceAdminInfo()
/packages/apps/Tag/src/com/android/apps/tag/record/
DRecordUtils.java70 if (numActivities == 0 || (numActivities == 1 && !activities.get(0).activityInfo.enabled)) { in getViewsForIntent()
86 if (!resolveInfo.activityInfo.enabled) { in getViewsForIntent()
108 ActivityInfo activityInfo = resolveInfo.activityInfo; in buildActivityView() local
111 intent.setComponent(new ComponentName(activityInfo.packageName, activityInfo.name)); in buildActivityView()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DMockPackageManager.java42 ActivityInfo activityInfo = new ActivityInfo(); in createResolveInfo() local
43 activityInfo.packageName = packageName; in createResolveInfo()
44 activityInfo.name = "FooClass"; in createResolveInfo()
46 resolveInfo.activityInfo = activityInfo; in createResolveInfo()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAbstractConversationWebViewClient.java202 final ActivityInfo activityInfo = resolveInfo.activityInfo; in generateProxyIntent() local
203 if (packageName.equals(activityInfo.packageName)) { in generateProxyIntent()
204 intent.setClassName(activityInfo.packageName, activityInfo.name); in generateProxyIntent()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java468 if (app.activityInfo != null && app.activityInfo.applicationInfo != null) { in addSystemApps()
469 final String packageName = app.activityInfo.packageName; in addSystemApps()
470 int flags = app.activityInfo.applicationInfo.flags; in addSystemApps()
488 info.packageName = app.activityInfo.packageName; in addSystemApps()
489 info.appName = app.activityInfo.applicationInfo.loadLabel(pm); in addSystemApps()
490 info.icon = app.activityInfo.loadIcon(pm); in addSystemApps()
491 info.activityName = app.activityInfo.loadLabel(pm); in addSystemApps()
744 if (info.activityInfo.packageName.equals(packageName)) { in resolveInfoListHasPackage()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java397 if ((info != null) && (info.activityInfo != null)) { in isSystemApp()
398 packageName = info.activityInfo.packageName; in isSystemApp()
503 if (info.activityInfo != null && in findSystemApk()
504 (info.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in findSystemApk()
505 final String packageName = info.activityInfo.packageName; in findSystemApk()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DUninstallerActivity.java66 if (dialogInfo.activityInfo != null) { in onCreateDialog()
67 final CharSequence activityLabel = dialogInfo.activityInfo.loadLabel(pm); in onCreateDialog()
138 ActivityInfo activityInfo; field in UninstallerActivity.DialogInfo
196 mDialogInfo.activityInfo = pm.getActivityInfo( in onCreate()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDbModifierWithNotification.java244 ActivityInfo activityInfo = resolveInfo.activityInfo; in getBroadcastReceiverComponents() local
245 receiverComponents.add(new ComponentName(activityInfo.packageName, activityInfo.name)); in getBroadcastReceiverComponents()
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DCommandRecognizerEngine.java257 if (voiceDialerClassName.equals(ri.activityInfo.name)) continue; in loadOpenEntriesTable()
265 ri.activityInfo.packageName, ri.activityInfo.name); in loadOpenEntriesTable()
281 ri.activityInfo.packageName, ri.activityInfo.name); in loadOpenEntriesTable()
/packages/apps/Nfc/src/com/android/nfc/
DNfcDispatcher.java488 dispatch.intent.setClassName(info.activityInfo.packageName, info.activityInfo.name); in tryTech()
555 info.activityInfo.packageName, info.activityInfo.name); in isComponentEnabled()
/packages/apps/SpareParts/src/com/android/spare_parts/
DSpareParts.java90 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) in updatePreferenceToSpecificActivityOrRemove()
95 resolveInfo.activityInfo.packageName, in updatePreferenceToSpecificActivityOrRemove()
96 resolveInfo.activityInfo.name)); in updatePreferenceToSpecificActivityOrRemove()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDeleteNonRequiredAppsTask.java180 if (ri.activityInfo != null) { in disableReceivers()
181 ci = ri.activityInfo; in disableReceivers()
233 apps.add(resolveInfo.activityInfo.packageName); in getCurrentAppsWithLauncher()

123